public static final class CoreNLPProtos.Section extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.SectionOrBuilder
edu.stanford.nlp.pipeline.Section
Modifier and Type | Class and Description |
---|---|
static class |
CoreNLPProtos.Section.Builder
Protobuf type
edu.stanford.nlp.pipeline.Section |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
AUTHOR_FIELD_NUMBER |
static int |
AUTHORCHARBEGIN_FIELD_NUMBER |
static int |
AUTHORCHAREND_FIELD_NUMBER |
static int |
CHARBEGIN_FIELD_NUMBER |
static int |
CHAREND_FIELD_NUMBER |
static int |
DATETIME_FIELD_NUMBER |
static com.google.protobuf.Parser<CoreNLPProtos.Section> |
PARSER
Deprecated.
|
static int |
QUOTES_FIELD_NUMBER |
static int |
SENTENCEINDEXES_FIELD_NUMBER |
static int |
XMLTAG_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthor()
optional string author = 3; |
com.google.protobuf.ByteString |
getAuthorBytes()
optional string author = 3; |
int |
getAuthorCharBegin()
optional uint32 authorCharBegin = 7; |
int |
getAuthorCharEnd()
optional uint32 authorCharEnd = 8; |
int |
getCharBegin()
required uint32 charBegin = 1; |
int |
getCharEnd()
required uint32 charEnd = 2; |
java.lang.String |
getDatetime()
optional string datetime = 5; |
com.google.protobuf.ByteString |
getDatetimeBytes()
optional string datetime = 5; |
static CoreNLPProtos.Section |
getDefaultInstance() |
CoreNLPProtos.Section |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CoreNLPProtos.Section> |
getParserForType() |
CoreNLPProtos.Quote |
getQuotes(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
int |
getQuotesCount()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
java.util.List<CoreNLPProtos.Quote> |
getQuotesList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.QuoteOrBuilder |
getQuotesOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
java.util.List<? extends CoreNLPProtos.QuoteOrBuilder> |
getQuotesOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
int |
getSentenceIndexes(int index)
repeated uint32 sentenceIndexes = 4; |
int |
getSentenceIndexesCount()
repeated uint32 sentenceIndexes = 4; |
java.util.List<java.lang.Integer> |
getSentenceIndexesList()
repeated uint32 sentenceIndexes = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
CoreNLPProtos.Token |
getXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
CoreNLPProtos.TokenOrBuilder |
getXmlTagOrBuilder()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
boolean |
hasAuthor()
optional string author = 3; |
boolean |
hasAuthorCharBegin()
optional uint32 authorCharBegin = 7; |
boolean |
hasAuthorCharEnd()
optional uint32 authorCharEnd = 8; |
boolean |
hasCharBegin()
required uint32 charBegin = 1; |
boolean |
hasCharEnd()
required uint32 charEnd = 2; |
boolean |
hasDatetime()
optional string datetime = 5; |
int |
hashCode() |
boolean |
hasXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.Section.Builder |
newBuilder() |
static CoreNLPProtos.Section.Builder |
newBuilder(CoreNLPProtos.Section prototype) |
CoreNLPProtos.Section.Builder |
newBuilderForType() |
protected CoreNLPProtos.Section.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.Section |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.Section |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Section |
parseFrom(byte[] data) |
static CoreNLPProtos.Section |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Section |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.Section |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Section |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.Section |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Section |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.Section |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Section |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.Section |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.Section> |
parser() |
CoreNLPProtos.Section.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int CHARBEGIN_FIELD_NUMBER
public static final int CHAREND_FIELD_NUMBER
public static final int AUTHOR_FIELD_NUMBER
public static final int SENTENCEINDEXES_FIELD_NUMBER
public static final int DATETIME_FIELD_NUMBER
public static final int QUOTES_FIELD_NUMBER
public static final int AUTHORCHARBEGIN_FIELD_NUMBER
public static final int AUTHORCHAREND_FIELD_NUMBER
public static final int XMLTAG_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.Section> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasCharBegin()
required uint32 charBegin = 1;
hasCharBegin
in interface CoreNLPProtos.SectionOrBuilder
public int getCharBegin()
required uint32 charBegin = 1;
getCharBegin
in interface CoreNLPProtos.SectionOrBuilder
public boolean hasCharEnd()
required uint32 charEnd = 2;
hasCharEnd
in interface CoreNLPProtos.SectionOrBuilder
public int getCharEnd()
required uint32 charEnd = 2;
getCharEnd
in interface CoreNLPProtos.SectionOrBuilder
public boolean hasAuthor()
optional string author = 3;
hasAuthor
in interface CoreNLPProtos.SectionOrBuilder
public java.lang.String getAuthor()
optional string author = 3;
getAuthor
in interface CoreNLPProtos.SectionOrBuilder
public com.google.protobuf.ByteString getAuthorBytes()
optional string author = 3;
getAuthorBytes
in interface CoreNLPProtos.SectionOrBuilder
public java.util.List<java.lang.Integer> getSentenceIndexesList()
repeated uint32 sentenceIndexes = 4;
getSentenceIndexesList
in interface CoreNLPProtos.SectionOrBuilder
public int getSentenceIndexesCount()
repeated uint32 sentenceIndexes = 4;
getSentenceIndexesCount
in interface CoreNLPProtos.SectionOrBuilder
public int getSentenceIndexes(int index)
repeated uint32 sentenceIndexes = 4;
getSentenceIndexes
in interface CoreNLPProtos.SectionOrBuilder
index
- The index of the element to return.public boolean hasDatetime()
optional string datetime = 5;
hasDatetime
in interface CoreNLPProtos.SectionOrBuilder
public java.lang.String getDatetime()
optional string datetime = 5;
getDatetime
in interface CoreNLPProtos.SectionOrBuilder
public com.google.protobuf.ByteString getDatetimeBytes()
optional string datetime = 5;
getDatetimeBytes
in interface CoreNLPProtos.SectionOrBuilder
public java.util.List<CoreNLPProtos.Quote> getQuotesList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;
getQuotesList
in interface CoreNLPProtos.SectionOrBuilder
public java.util.List<? extends CoreNLPProtos.QuoteOrBuilder> getQuotesOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;
getQuotesOrBuilderList
in interface CoreNLPProtos.SectionOrBuilder
public int getQuotesCount()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;
getQuotesCount
in interface CoreNLPProtos.SectionOrBuilder
public CoreNLPProtos.Quote getQuotes(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;
getQuotes
in interface CoreNLPProtos.SectionOrBuilder
public CoreNLPProtos.QuoteOrBuilder getQuotesOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;
getQuotesOrBuilder
in interface CoreNLPProtos.SectionOrBuilder
public boolean hasAuthorCharBegin()
optional uint32 authorCharBegin = 7;
hasAuthorCharBegin
in interface CoreNLPProtos.SectionOrBuilder
public int getAuthorCharBegin()
optional uint32 authorCharBegin = 7;
getAuthorCharBegin
in interface CoreNLPProtos.SectionOrBuilder
public boolean hasAuthorCharEnd()
optional uint32 authorCharEnd = 8;
hasAuthorCharEnd
in interface CoreNLPProtos.SectionOrBuilder
public int getAuthorCharEnd()
optional uint32 authorCharEnd = 8;
getAuthorCharEnd
in interface CoreNLPProtos.SectionOrBuilder
public boolean hasXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;
hasXmlTag
in interface CoreNLPProtos.SectionOrBuilder
public CoreNLPProtos.Token getXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;
getXmlTag
in interface CoreNLPProtos.SectionOrBuilder
public CoreNLPProtos.TokenOrBuilder getXmlTagOrBuilder()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;
getXmlTagOrBuilder
in interface CoreNLPProtos.SectionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static CoreNLPProtos.Section parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Section parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Section parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Section parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Section parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Section parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Section parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Section parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Section parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Section parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Section parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Section parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.Section.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CoreNLPProtos.Section.Builder newBuilder()
public static CoreNLPProtos.Section.Builder newBuilder(CoreNLPProtos.Section prototype)
public CoreNLPProtos.Section.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.Section.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CoreNLPProtos.Section getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.Section> parser()
public com.google.protobuf.Parser<CoreNLPProtos.Section> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CoreNLPProtos.Section getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder