public static final class CoreNLPProtos.CorefChain.CorefMention extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.CorefChain.CorefMentionOrBuilder
edu.stanford.nlp.pipeline.CorefChain.CorefMention| Modifier and Type | Class and Description |
|---|---|
static class |
CoreNLPProtos.CorefChain.CorefMention.Builder
Protobuf type
edu.stanford.nlp.pipeline.CorefChain.CorefMention |
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 |
ANIMACY_FIELD_NUMBER |
static int |
BEGININDEX_FIELD_NUMBER |
static int |
ENDINDEX_FIELD_NUMBER |
static int |
GENDER_FIELD_NUMBER |
static int |
HEADINDEX_FIELD_NUMBER |
static int |
MENTIONID_FIELD_NUMBER |
static int |
MENTIONTYPE_FIELD_NUMBER |
static int |
NUMBER_FIELD_NUMBER |
static com.google.protobuf.Parser<CoreNLPProtos.CorefChain.CorefMention> |
PARSER
Deprecated.
|
static int |
POSITION_FIELD_NUMBER |
static int |
SENTENCEINDEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnimacy()
optional string animacy = 5; |
com.google.protobuf.ByteString |
getAnimacyBytes()
optional string animacy = 5; |
int |
getBeginIndex()
optional uint32 beginIndex = 6; |
static CoreNLPProtos.CorefChain.CorefMention |
getDefaultInstance() |
CoreNLPProtos.CorefChain.CorefMention |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getEndIndex()
optional uint32 endIndex = 7; |
java.lang.String |
getGender()
optional string gender = 4; |
com.google.protobuf.ByteString |
getGenderBytes()
optional string gender = 4; |
int |
getHeadIndex()
optional uint32 headIndex = 9; |
int |
getMentionID()
optional int32 mentionID = 1; |
java.lang.String |
getMentionType()
optional string mentionType = 2; |
com.google.protobuf.ByteString |
getMentionTypeBytes()
optional string mentionType = 2; |
java.lang.String |
getNumber()
optional string number = 3; |
com.google.protobuf.ByteString |
getNumberBytes()
optional string number = 3; |
com.google.protobuf.Parser<CoreNLPProtos.CorefChain.CorefMention> |
getParserForType() |
int |
getPosition()
the second element of position
|
int |
getSentenceIndex()
optional uint32 sentenceIndex = 10; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAnimacy()
optional string animacy = 5; |
boolean |
hasBeginIndex()
optional uint32 beginIndex = 6; |
boolean |
hasEndIndex()
optional uint32 endIndex = 7; |
boolean |
hasGender()
optional string gender = 4; |
int |
hashCode() |
boolean |
hasHeadIndex()
optional uint32 headIndex = 9; |
boolean |
hasMentionID()
optional int32 mentionID = 1; |
boolean |
hasMentionType()
optional string mentionType = 2; |
boolean |
hasNumber()
optional string number = 3; |
boolean |
hasPosition()
the second element of position
|
boolean |
hasSentenceIndex()
optional uint32 sentenceIndex = 10; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.CorefChain.CorefMention.Builder |
newBuilder() |
static CoreNLPProtos.CorefChain.CorefMention.Builder |
newBuilder(CoreNLPProtos.CorefChain.CorefMention prototype) |
CoreNLPProtos.CorefChain.CorefMention.Builder |
newBuilderForType() |
protected CoreNLPProtos.CorefChain.CorefMention.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.CorefChain.CorefMention |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.CorefChain.CorefMention |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(byte[] data) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.CorefChain.CorefMention> |
parser() |
CoreNLPProtos.CorefChain.CorefMention.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MENTIONID_FIELD_NUMBER
public static final int MENTIONTYPE_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER
public static final int GENDER_FIELD_NUMBER
public static final int ANIMACY_FIELD_NUMBER
public static final int BEGININDEX_FIELD_NUMBER
public static final int ENDINDEX_FIELD_NUMBER
public static final int HEADINDEX_FIELD_NUMBER
public static final int SENTENCEINDEX_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.CorefChain.CorefMention> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasMentionID()
optional int32 mentionID = 1;hasMentionID in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic int getMentionID()
optional int32 mentionID = 1;getMentionID in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasMentionType()
optional string mentionType = 2;hasMentionType in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic java.lang.String getMentionType()
optional string mentionType = 2;getMentionType in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic com.google.protobuf.ByteString getMentionTypeBytes()
optional string mentionType = 2;getMentionTypeBytes in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasNumber()
optional string number = 3;hasNumber in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic java.lang.String getNumber()
optional string number = 3;getNumber in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic com.google.protobuf.ByteString getNumberBytes()
optional string number = 3;getNumberBytes in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasGender()
optional string gender = 4;hasGender in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic java.lang.String getGender()
optional string gender = 4;getGender in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic com.google.protobuf.ByteString getGenderBytes()
optional string gender = 4;getGenderBytes in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasAnimacy()
optional string animacy = 5;hasAnimacy in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic java.lang.String getAnimacy()
optional string animacy = 5;getAnimacy in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic com.google.protobuf.ByteString getAnimacyBytes()
optional string animacy = 5;getAnimacyBytes in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasBeginIndex()
optional uint32 beginIndex = 6;hasBeginIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic int getBeginIndex()
optional uint32 beginIndex = 6;getBeginIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasEndIndex()
optional uint32 endIndex = 7;hasEndIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic int getEndIndex()
optional uint32 endIndex = 7;getEndIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasHeadIndex()
optional uint32 headIndex = 9;hasHeadIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic int getHeadIndex()
optional uint32 headIndex = 9;getHeadIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasSentenceIndex()
optional uint32 sentenceIndex = 10;hasSentenceIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic int getSentenceIndex()
optional uint32 sentenceIndex = 10;getSentenceIndex in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic boolean hasPosition()
the second element of position
optional uint32 position = 11;hasPosition in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic int getPosition()
the second element of position
optional uint32 position = 11;getPosition in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CoreNLPProtos.CorefChain.CorefMention.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CoreNLPProtos.CorefChain.CorefMention.Builder newBuilder()
public static CoreNLPProtos.CorefChain.CorefMention.Builder newBuilder(CoreNLPProtos.CorefChain.CorefMention prototype)
public CoreNLPProtos.CorefChain.CorefMention.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CoreNLPProtos.CorefChain.CorefMention.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CoreNLPProtos.CorefChain.CorefMention getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.CorefChain.CorefMention> parser()
public com.google.protobuf.Parser<CoreNLPProtos.CorefChain.CorefMention> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CoreNLPProtos.CorefChain.CorefMention getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder