public static final class CoreNLPProtos.CorefChain.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder> implements CoreNLPProtos.CorefChainOrBuilder
A coreference chain. These fields are not *really* optional. CoreNLP will crash without them.Protobuf type
edu.stanford.nlp.pipeline.CorefChain| Modifier and Type | Method and Description |
|---|---|
CoreNLPProtos.CorefChain.Builder |
addAllMention(java.lang.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.CorefChain |
build() |
CoreNLPProtos.CorefChain |
buildPartial() |
CoreNLPProtos.CorefChain.Builder |
clear() |
CoreNLPProtos.CorefChain.Builder |
clearChainID()
required int32 chainID = 1; |
CoreNLPProtos.CorefChain.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.CorefChain.Builder |
clearMention()
repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2; |
CoreNLPProtos.CorefChain.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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; |
java.util.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; |
java.util.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; |
java.util.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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.CorefChain.Builder |
setRepresentative(int value)
required uint32 representative = 3; |
CoreNLPProtos.CorefChain.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public 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.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public CoreNLPProtos.CorefChain.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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>java.io.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;value - The chainID to set.public CoreNLPProtos.CorefChain.Builder clearChainID()
required int32 chainID = 1;public java.util.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(java.lang.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 java.util.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 java.util.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;value - The representative to set.public CoreNLPProtos.CorefChain.Builder clearRepresentative()
required uint32 representative = 3;public final CoreNLPProtos.CorefChain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>public final CoreNLPProtos.CorefChain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.CorefChain.Builder>