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 |
| 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 <any> |
PARSER
Deprecated.
|
static int |
POSITION_FIELD_NUMBER |
static int |
SENTENCEINDEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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; |
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; |
String |
getMentionType()
optional string mentionType = 2; |
com.google.protobuf.ByteString |
getMentionTypeBytes()
optional string mentionType = 2; |
String |
getNumber()
optional string number = 3; |
com.google.protobuf.ByteString |
getNumberBytes()
optional string number = 3; |
<any> |
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) |
static CoreNLPProtos.CorefChain.CorefMention |
parseDelimitedFrom(InputStream input) |
static CoreNLPProtos.CorefChain.CorefMention |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.CorefChain.CorefMention |
parseFrom(byte[] 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(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
CoreNLPProtos.CorefChain.CorefMention.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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 <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public 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 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 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 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 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()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CoreNLPProtos.CorefChain.CorefMention parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CoreNLPProtos.CorefChain.CorefMention.Builder newBuilderForType()
public static CoreNLPProtos.CorefChain.CorefMention.Builder newBuilder()
public static CoreNLPProtos.CorefChain.CorefMention.Builder newBuilder(CoreNLPProtos.CorefChain.CorefMention prototype)
public CoreNLPProtos.CorefChain.CorefMention.Builder toBuilder()
protected CoreNLPProtos.CorefChain.CorefMention.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static CoreNLPProtos.CorefChain.CorefMention getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public CoreNLPProtos.CorefChain.CorefMention getDefaultInstanceForType()