public static final class CoreNLPProtos.Section.Builder extends <any> implements CoreNLPProtos.SectionOrBuilder
edu.stanford.nlp.pipeline.Section| Modifier and Type | Method and Description |
|---|---|
CoreNLPProtos.Section.Builder |
addAllQuotes(Iterable<? extends CoreNLPProtos.Quote> values)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
addAllSentenceIndexes(Iterable<? extends Integer> values)
repeated uint32 sentenceIndexes = 4; |
CoreNLPProtos.Section.Builder |
addQuotes(CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
addQuotes(CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
addQuotes(int index,
CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
addQuotes(int index,
CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Quote.Builder |
addQuotesBuilder()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Quote.Builder |
addQuotesBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CoreNLPProtos.Section.Builder |
addSentenceIndexes(int value)
repeated uint32 sentenceIndexes = 4; |
CoreNLPProtos.Section |
build() |
CoreNLPProtos.Section |
buildPartial() |
CoreNLPProtos.Section.Builder |
clear() |
CoreNLPProtos.Section.Builder |
clearAuthor()
optional string author = 3; |
CoreNLPProtos.Section.Builder |
clearAuthorCharBegin()
optional uint32 authorCharBegin = 7; |
CoreNLPProtos.Section.Builder |
clearAuthorCharEnd()
optional uint32 authorCharEnd = 8; |
CoreNLPProtos.Section.Builder |
clearCharBegin()
required uint32 charBegin = 1; |
CoreNLPProtos.Section.Builder |
clearCharEnd()
required uint32 charEnd = 2; |
CoreNLPProtos.Section.Builder |
clearDatetime()
optional string datetime = 5; |
CoreNLPProtos.Section.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.Section.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.Section.Builder |
clearQuotes()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
clearSentenceIndexes()
repeated uint32 sentenceIndexes = 4; |
CoreNLPProtos.Section.Builder |
clearXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
CoreNLPProtos.Section.Builder |
clone() |
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; |
String |
getDatetime()
optional string datetime = 5; |
com.google.protobuf.ByteString |
getDatetimeBytes()
optional string datetime = 5; |
CoreNLPProtos.Section |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CoreNLPProtos.Quote |
getQuotes(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Quote.Builder |
getQuotesBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
List<CoreNLPProtos.Quote.Builder> |
getQuotesBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
int |
getQuotesCount()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
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; |
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; |
List<Integer> |
getSentenceIndexesList()
repeated uint32 sentenceIndexes = 4; |
CoreNLPProtos.Token |
getXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
CoreNLPProtos.Token.Builder |
getXmlTagBuilder()
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; |
boolean |
hasXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.Section.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.Section.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.Section.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Section.Builder |
mergeXmlTag(CoreNLPProtos.Token value)
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
CoreNLPProtos.Section.Builder |
removeQuotes(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
setAuthor(String value)
optional string author = 3; |
CoreNLPProtos.Section.Builder |
setAuthorBytes(com.google.protobuf.ByteString value)
optional string author = 3; |
CoreNLPProtos.Section.Builder |
setAuthorCharBegin(int value)
optional uint32 authorCharBegin = 7; |
CoreNLPProtos.Section.Builder |
setAuthorCharEnd(int value)
optional uint32 authorCharEnd = 8; |
CoreNLPProtos.Section.Builder |
setCharBegin(int value)
required uint32 charBegin = 1; |
CoreNLPProtos.Section.Builder |
setCharEnd(int value)
required uint32 charEnd = 2; |
CoreNLPProtos.Section.Builder |
setDatetime(String value)
optional string datetime = 5; |
CoreNLPProtos.Section.Builder |
setDatetimeBytes(com.google.protobuf.ByteString value)
optional string datetime = 5; |
CoreNLPProtos.Section.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CoreNLPProtos.Section.Builder |
setQuotes(int index,
CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
setQuotes(int index,
CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; |
CoreNLPProtos.Section.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CoreNLPProtos.Section.Builder |
setSentenceIndexes(int index,
int value)
repeated uint32 sentenceIndexes = 4; |
CoreNLPProtos.Section.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Section.Builder |
setXmlTag(CoreNLPProtos.Token.Builder builderForValue)
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
CoreNLPProtos.Section.Builder |
setXmlTag(CoreNLPProtos.Token value)
required .edu.stanford.nlp.pipeline.Token xmlTag = 9; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public CoreNLPProtos.Section.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public CoreNLPProtos.Section getDefaultInstanceForType()
public CoreNLPProtos.Section build()
public CoreNLPProtos.Section buildPartial()
public CoreNLPProtos.Section.Builder clone()
public CoreNLPProtos.Section.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public CoreNLPProtos.Section.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public CoreNLPProtos.Section.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public CoreNLPProtos.Section.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public CoreNLPProtos.Section.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public CoreNLPProtos.Section.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public CoreNLPProtos.Section.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic boolean hasCharBegin()
required uint32 charBegin = 1;hasCharBegin in interface CoreNLPProtos.SectionOrBuilderpublic int getCharBegin()
required uint32 charBegin = 1;getCharBegin in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setCharBegin(int value)
required uint32 charBegin = 1;public CoreNLPProtos.Section.Builder clearCharBegin()
required uint32 charBegin = 1;public boolean hasCharEnd()
required uint32 charEnd = 2;hasCharEnd in interface CoreNLPProtos.SectionOrBuilderpublic int getCharEnd()
required uint32 charEnd = 2;getCharEnd in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setCharEnd(int value)
required uint32 charEnd = 2;public CoreNLPProtos.Section.Builder clearCharEnd()
required uint32 charEnd = 2;public boolean hasAuthor()
optional string author = 3;hasAuthor in interface CoreNLPProtos.SectionOrBuilderpublic String getAuthor()
optional string author = 3;getAuthor in interface CoreNLPProtos.SectionOrBuilderpublic com.google.protobuf.ByteString getAuthorBytes()
optional string author = 3;getAuthorBytes in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setAuthor(String value)
optional string author = 3;public CoreNLPProtos.Section.Builder clearAuthor()
optional string author = 3;public CoreNLPProtos.Section.Builder setAuthorBytes(com.google.protobuf.ByteString value)
optional string author = 3;public List<Integer> getSentenceIndexesList()
repeated uint32 sentenceIndexes = 4;getSentenceIndexesList in interface CoreNLPProtos.SectionOrBuilderpublic int getSentenceIndexesCount()
repeated uint32 sentenceIndexes = 4;getSentenceIndexesCount in interface CoreNLPProtos.SectionOrBuilderpublic int getSentenceIndexes(int index)
repeated uint32 sentenceIndexes = 4;getSentenceIndexes in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setSentenceIndexes(int index, int value)
repeated uint32 sentenceIndexes = 4;public CoreNLPProtos.Section.Builder addSentenceIndexes(int value)
repeated uint32 sentenceIndexes = 4;public CoreNLPProtos.Section.Builder addAllSentenceIndexes(Iterable<? extends Integer> values)
repeated uint32 sentenceIndexes = 4;public CoreNLPProtos.Section.Builder clearSentenceIndexes()
repeated uint32 sentenceIndexes = 4;public boolean hasDatetime()
optional string datetime = 5;hasDatetime in interface CoreNLPProtos.SectionOrBuilderpublic String getDatetime()
optional string datetime = 5;getDatetime in interface CoreNLPProtos.SectionOrBuilderpublic com.google.protobuf.ByteString getDatetimeBytes()
optional string datetime = 5;getDatetimeBytes in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setDatetime(String value)
optional string datetime = 5;public CoreNLPProtos.Section.Builder clearDatetime()
optional string datetime = 5;public CoreNLPProtos.Section.Builder setDatetimeBytes(com.google.protobuf.ByteString value)
optional string datetime = 5;public List<CoreNLPProtos.Quote> getQuotesList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;getQuotesList in interface CoreNLPProtos.SectionOrBuilderpublic int getQuotesCount()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;getQuotesCount in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Quote getQuotes(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;getQuotes in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setQuotes(int index, CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder setQuotes(int index, CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder addQuotes(CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder addQuotes(int index, CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder addQuotes(CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder addQuotes(int index, CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder addAllQuotes(Iterable<? extends CoreNLPProtos.Quote> values)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder clearQuotes()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Section.Builder removeQuotes(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Quote.Builder getQuotesBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.QuoteOrBuilder getQuotesOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;getQuotesOrBuilder in interface CoreNLPProtos.SectionOrBuilderpublic List<? extends CoreNLPProtos.QuoteOrBuilder> getQuotesOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;getQuotesOrBuilderList in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Quote.Builder addQuotesBuilder()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public CoreNLPProtos.Quote.Builder addQuotesBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public List<CoreNLPProtos.Quote.Builder> getQuotesBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quotes = 6;public boolean hasAuthorCharBegin()
optional uint32 authorCharBegin = 7;hasAuthorCharBegin in interface CoreNLPProtos.SectionOrBuilderpublic int getAuthorCharBegin()
optional uint32 authorCharBegin = 7;getAuthorCharBegin in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setAuthorCharBegin(int value)
optional uint32 authorCharBegin = 7;public CoreNLPProtos.Section.Builder clearAuthorCharBegin()
optional uint32 authorCharBegin = 7;public boolean hasAuthorCharEnd()
optional uint32 authorCharEnd = 8;hasAuthorCharEnd in interface CoreNLPProtos.SectionOrBuilderpublic int getAuthorCharEnd()
optional uint32 authorCharEnd = 8;getAuthorCharEnd in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setAuthorCharEnd(int value)
optional uint32 authorCharEnd = 8;public CoreNLPProtos.Section.Builder clearAuthorCharEnd()
optional uint32 authorCharEnd = 8;public boolean hasXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;hasXmlTag in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Token getXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;getXmlTag in interface CoreNLPProtos.SectionOrBuilderpublic CoreNLPProtos.Section.Builder setXmlTag(CoreNLPProtos.Token value)
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;public CoreNLPProtos.Section.Builder setXmlTag(CoreNLPProtos.Token.Builder builderForValue)
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;public CoreNLPProtos.Section.Builder mergeXmlTag(CoreNLPProtos.Token value)
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;public CoreNLPProtos.Section.Builder clearXmlTag()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;public CoreNLPProtos.Token.Builder getXmlTagBuilder()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;public CoreNLPProtos.TokenOrBuilder getXmlTagOrBuilder()
required .edu.stanford.nlp.pipeline.Token xmlTag = 9;getXmlTagOrBuilder in interface CoreNLPProtos.SectionOrBuilderpublic final CoreNLPProtos.Section.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final CoreNLPProtos.Section.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)