public static final class CoreNLPProtos.CorefChain.Builder extends com.google.protobuf.GeneratedMessage.Builder<CoreNLPProtos.CorefChain.Builder> implements CoreNLPProtos.CorefChainOrBuilder
edu.stanford.nlp.pipeline.CorefChain
A coreference chain. These fields are not *really* optional. CoreNLP will crash without them.
| Modifier and Type | Method and Description |
|---|---|
CoreNLPProtos.CorefChain.Builder |
addAllMention(Iterable<? extends CoreNLPProtos.CorefChain.CorefMention> values)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
addMention(CoreNLPProtos.CorefChain.CorefMention.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
addMention(CoreNLPProtos.CorefChain.CorefMention value)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
addMention(int index,
CoreNLPProtos.CorefChain.CorefMention.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
addMention(int index,
CoreNLPProtos.CorefChain.CorefMention value)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.CorefMention.Builder |
addMentionBuilder()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.CorefMention.Builder |
addMentionBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain |
build() |
CoreNLPProtos.CorefChain |
buildPartial() |
CoreNLPProtos.CorefChain.Builder |
clear() |
CoreNLPProtos.CorefChain.Builder |
clearChainID()
required int32 chainID = 1; |
CoreNLPProtos.CorefChain.Builder |
clearMention()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
clearRepresentative()
required uint32 representative = 3; |
CoreNLPProtos.CorefChain.Builder |
clone() |
int |
getChainID()
required int32 chainID = 1; |
CoreNLPProtos.CorefChain |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CoreNLPProtos.CorefChain.CorefMention |
getMention(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.CorefMention.Builder |
getMentionBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
List<CoreNLPProtos.CorefChain.CorefMention.Builder> |
getMentionBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
int |
getMentionCount()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
List<CoreNLPProtos.CorefChain.CorefMention> |
getMentionList()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.CorefMentionOrBuilder |
getMentionOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
List<? extends CoreNLPProtos.CorefChain.CorefMentionOrBuilder> |
getMentionOrBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
int |
getRepresentative()
required uint32 representative = 3; |
boolean |
hasChainID()
required int32 chainID = 1; |
boolean |
hasRepresentative()
required uint32 representative = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.CorefChain.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.CorefChain.Builder |
mergeFrom(CoreNLPProtos.CorefChain other) |
CoreNLPProtos.CorefChain.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.CorefChain.Builder |
removeMention(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
setChainID(int value)
required int32 chainID = 1; |
CoreNLPProtos.CorefChain.Builder |
setMention(int index,
CoreNLPProtos.CorefChain.CorefMention.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
setMention(int index,
CoreNLPProtos.CorefChain.CorefMention value)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
setRepresentative(int value)
required uint32 representative = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<CoreNLPProtos.CorefChain.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CoreNLPProtos.CorefChain build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CoreNLPProtos.CorefChain buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CoreNLPProtos.CorefChain.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder mergeFrom(CoreNLPProtos.CorefChain other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.CorefChain.Builder>IOExceptionpublic boolean hasChainID()
required int32 chainID = 1;hasChainID in interface CoreNLPProtos.CorefChainOrBuilderpublic int getChainID()
required int32 chainID = 1;getChainID in interface CoreNLPProtos.CorefChainOrBuilderpublic CoreNLPProtos.CorefChain.Builder setChainID(int value)
required int32 chainID = 1;public CoreNLPProtos.CorefChain.Builder clearChainID()
required int32 chainID = 1;public List<CoreNLPProtos.CorefChain.CorefMention> getMentionList()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;getMentionList in interface CoreNLPProtos.CorefChainOrBuilderpublic int getMentionCount()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;getMentionCount in interface CoreNLPProtos.CorefChainOrBuilderpublic CoreNLPProtos.CorefChain.CorefMention getMention(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;getMention in interface CoreNLPProtos.CorefChainOrBuilderpublic CoreNLPProtos.CorefChain.Builder setMention(int index, CoreNLPProtos.CorefChain.CorefMention value)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder setMention(int index, CoreNLPProtos.CorefChain.CorefMention.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder addMention(CoreNLPProtos.CorefChain.CorefMention value)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder addMention(int index, CoreNLPProtos.CorefChain.CorefMention value)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder addMention(CoreNLPProtos.CorefChain.CorefMention.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder addMention(int index, CoreNLPProtos.CorefChain.CorefMention.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder addAllMention(Iterable<? extends CoreNLPProtos.CorefChain.CorefMention> values)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder clearMention()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.Builder removeMention(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.CorefMention.Builder getMentionBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.CorefMentionOrBuilder getMentionOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;getMentionOrBuilder in interface CoreNLPProtos.CorefChainOrBuilderpublic List<? extends CoreNLPProtos.CorefChain.CorefMentionOrBuilder> getMentionOrBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;getMentionOrBuilderList in interface CoreNLPProtos.CorefChainOrBuilderpublic CoreNLPProtos.CorefChain.CorefMention.Builder addMentionBuilder()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public CoreNLPProtos.CorefChain.CorefMention.Builder addMentionBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public List<CoreNLPProtos.CorefChain.CorefMention.Builder> getMentionBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;public boolean hasRepresentative()
required uint32 representative = 3;hasRepresentative in interface CoreNLPProtos.CorefChainOrBuilderpublic int getRepresentative()
required uint32 representative = 3;getRepresentative in interface CoreNLPProtos.CorefChainOrBuilderpublic CoreNLPProtos.CorefChain.Builder setRepresentative(int value)
required uint32 representative = 3;public CoreNLPProtos.CorefChain.Builder clearRepresentative()
required uint32 representative = 3;