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, 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 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.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 hasMentionID()
optional int32 mentionID = 1;
hasMentionID
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public int getMentionID()
optional int32 mentionID = 1;
getMentionID
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasMentionType()
optional string mentionType = 2;
hasMentionType
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public java.lang.String getMentionType()
optional string mentionType = 2;
getMentionType
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public com.google.protobuf.ByteString getMentionTypeBytes()
optional string mentionType = 2;
getMentionTypeBytes
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasNumber()
optional string number = 3;
hasNumber
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public java.lang.String getNumber()
optional string number = 3;
getNumber
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public com.google.protobuf.ByteString getNumberBytes()
optional string number = 3;
getNumberBytes
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasGender()
optional string gender = 4;
hasGender
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public java.lang.String getGender()
optional string gender = 4;
getGender
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public com.google.protobuf.ByteString getGenderBytes()
optional string gender = 4;
getGenderBytes
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasAnimacy()
optional string animacy = 5;
hasAnimacy
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public java.lang.String getAnimacy()
optional string animacy = 5;
getAnimacy
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public com.google.protobuf.ByteString getAnimacyBytes()
optional string animacy = 5;
getAnimacyBytes
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasBeginIndex()
optional uint32 beginIndex = 6;
hasBeginIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public int getBeginIndex()
optional uint32 beginIndex = 6;
getBeginIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasEndIndex()
optional uint32 endIndex = 7;
hasEndIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public int getEndIndex()
optional uint32 endIndex = 7;
getEndIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasHeadIndex()
optional uint32 headIndex = 9;
hasHeadIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public int getHeadIndex()
optional uint32 headIndex = 9;
getHeadIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasSentenceIndex()
optional uint32 sentenceIndex = 10;
hasSentenceIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public int getSentenceIndex()
optional uint32 sentenceIndex = 10;
getSentenceIndex
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public boolean hasPosition()
the second element of position
optional uint32 position = 11;
hasPosition
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
public int getPosition()
the second element of position
optional uint32 position = 11;
getPosition
in interface CoreNLPProtos.CorefChain.CorefMentionOrBuilder
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.CorefChain.CorefMention parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.CorefChain.CorefMention.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.CorefChain.CorefMention.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CoreNLPProtos.CorefChain.CorefMention getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder