public static final class CoreNLPProtos.Relation extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.RelationOrBuilder
A representation of a relation, mirroring RelationMentionProtobuf type
edu.stanford.nlp.pipeline.Relation
Modifier and Type | Class and Description |
---|---|
static class |
CoreNLPProtos.Relation.Builder
A representation of a relation, mirroring RelationMention
|
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 |
ARG_FIELD_NUMBER |
static int |
ARGNAME_FIELD_NUMBER |
static int |
EXTENTEND_FIELD_NUMBER |
static int |
EXTENTSTART_FIELD_NUMBER |
static int |
OBJECTID_FIELD_NUMBER |
static com.google.protobuf.Parser<CoreNLPProtos.Relation> |
PARSER
Deprecated.
|
static int |
SIGNATURE_FIELD_NUMBER |
static int |
SUBTYPE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CoreNLPProtos.Entity |
getArg(int index)
repeated .edu.stanford.nlp.pipeline.Entity arg = 7; |
int |
getArgCount()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7; |
java.util.List<CoreNLPProtos.Entity> |
getArgList()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7; |
java.lang.String |
getArgName(int index)
repeated string argName = 6; |
com.google.protobuf.ByteString |
getArgNameBytes(int index)
repeated string argName = 6; |
int |
getArgNameCount()
repeated string argName = 6; |
com.google.protobuf.ProtocolStringList |
getArgNameList()
repeated string argName = 6; |
CoreNLPProtos.EntityOrBuilder |
getArgOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Entity arg = 7; |
java.util.List<? extends CoreNLPProtos.EntityOrBuilder> |
getArgOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7; |
static CoreNLPProtos.Relation |
getDefaultInstance() |
CoreNLPProtos.Relation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExtentEnd()
optional uint32 extentEnd = 3; |
int |
getExtentStart()
optional uint32 extentStart = 2; |
java.lang.String |
getObjectID()
inherited from ExtractionObject
|
com.google.protobuf.ByteString |
getObjectIDBytes()
inherited from ExtractionObject
|
com.google.protobuf.Parser<CoreNLPProtos.Relation> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getSignature()
optional string signature = 8; |
com.google.protobuf.ByteString |
getSignatureBytes()
optional string signature = 8; |
java.lang.String |
getSubtype()
Implicit
uint32 sentence @see implicit in sentence
|
com.google.protobuf.ByteString |
getSubtypeBytes()
Implicit
uint32 sentence @see implicit in sentence
|
java.lang.String |
getType()
optional string type = 4; |
com.google.protobuf.ByteString |
getTypeBytes()
optional string type = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExtentEnd()
optional uint32 extentEnd = 3; |
boolean |
hasExtentStart()
optional uint32 extentStart = 2; |
int |
hashCode() |
boolean |
hasObjectID()
inherited from ExtractionObject
|
boolean |
hasSignature()
optional string signature = 8; |
boolean |
hasSubtype()
Implicit
uint32 sentence @see implicit in sentence
|
boolean |
hasType()
optional string type = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.Relation.Builder |
newBuilder() |
static CoreNLPProtos.Relation.Builder |
newBuilder(CoreNLPProtos.Relation prototype) |
CoreNLPProtos.Relation.Builder |
newBuilderForType() |
protected CoreNLPProtos.Relation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.Relation |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.Relation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Relation |
parseFrom(byte[] data) |
static CoreNLPProtos.Relation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Relation |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.Relation |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Relation |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.Relation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Relation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.Relation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Relation |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.Relation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.Relation> |
parser() |
CoreNLPProtos.Relation.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 ARGNAME_FIELD_NUMBER
public static final int ARG_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
public static final int OBJECTID_FIELD_NUMBER
public static final int EXTENTSTART_FIELD_NUMBER
public static final int EXTENTEND_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int SUBTYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.Relation> 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 com.google.protobuf.ProtocolStringList getArgNameList()
repeated string argName = 6;
getArgNameList
in interface CoreNLPProtos.RelationOrBuilder
public int getArgNameCount()
repeated string argName = 6;
getArgNameCount
in interface CoreNLPProtos.RelationOrBuilder
public java.lang.String getArgName(int index)
repeated string argName = 6;
getArgName
in interface CoreNLPProtos.RelationOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getArgNameBytes(int index)
repeated string argName = 6;
getArgNameBytes
in interface CoreNLPProtos.RelationOrBuilder
index
- The index of the value to return.public java.util.List<CoreNLPProtos.Entity> getArgList()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;
getArgList
in interface CoreNLPProtos.RelationOrBuilder
public java.util.List<? extends CoreNLPProtos.EntityOrBuilder> getArgOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;
getArgOrBuilderList
in interface CoreNLPProtos.RelationOrBuilder
public int getArgCount()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;
getArgCount
in interface CoreNLPProtos.RelationOrBuilder
public CoreNLPProtos.Entity getArg(int index)
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;
getArg
in interface CoreNLPProtos.RelationOrBuilder
public CoreNLPProtos.EntityOrBuilder getArgOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;
getArgOrBuilder
in interface CoreNLPProtos.RelationOrBuilder
public boolean hasSignature()
optional string signature = 8;
hasSignature
in interface CoreNLPProtos.RelationOrBuilder
public java.lang.String getSignature()
optional string signature = 8;
getSignature
in interface CoreNLPProtos.RelationOrBuilder
public com.google.protobuf.ByteString getSignatureBytes()
optional string signature = 8;
getSignatureBytes
in interface CoreNLPProtos.RelationOrBuilder
public boolean hasObjectID()
inherited from ExtractionObject
optional string objectID = 1;
hasObjectID
in interface CoreNLPProtos.RelationOrBuilder
public java.lang.String getObjectID()
inherited from ExtractionObject
optional string objectID = 1;
getObjectID
in interface CoreNLPProtos.RelationOrBuilder
public com.google.protobuf.ByteString getObjectIDBytes()
inherited from ExtractionObject
optional string objectID = 1;
getObjectIDBytes
in interface CoreNLPProtos.RelationOrBuilder
public boolean hasExtentStart()
optional uint32 extentStart = 2;
hasExtentStart
in interface CoreNLPProtos.RelationOrBuilder
public int getExtentStart()
optional uint32 extentStart = 2;
getExtentStart
in interface CoreNLPProtos.RelationOrBuilder
public boolean hasExtentEnd()
optional uint32 extentEnd = 3;
hasExtentEnd
in interface CoreNLPProtos.RelationOrBuilder
public int getExtentEnd()
optional uint32 extentEnd = 3;
getExtentEnd
in interface CoreNLPProtos.RelationOrBuilder
public boolean hasType()
optional string type = 4;
hasType
in interface CoreNLPProtos.RelationOrBuilder
public java.lang.String getType()
optional string type = 4;
getType
in interface CoreNLPProtos.RelationOrBuilder
public com.google.protobuf.ByteString getTypeBytes()
optional string type = 4;
getTypeBytes
in interface CoreNLPProtos.RelationOrBuilder
public boolean hasSubtype()
Implicit uint32 sentence @see implicit in sentence
optional string subtype = 5;
hasSubtype
in interface CoreNLPProtos.RelationOrBuilder
public java.lang.String getSubtype()
Implicit uint32 sentence @see implicit in sentence
optional string subtype = 5;
getSubtype
in interface CoreNLPProtos.RelationOrBuilder
public com.google.protobuf.ByteString getSubtypeBytes()
Implicit uint32 sentence @see implicit in sentence
optional string subtype = 5;
getSubtypeBytes
in interface CoreNLPProtos.RelationOrBuilder
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.Relation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Relation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Relation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Relation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Relation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Relation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Relation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Relation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Relation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Relation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Relation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Relation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.Relation.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CoreNLPProtos.Relation.Builder newBuilder()
public static CoreNLPProtos.Relation.Builder newBuilder(CoreNLPProtos.Relation prototype)
public CoreNLPProtos.Relation.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.Relation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CoreNLPProtos.Relation getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.Relation> parser()
public com.google.protobuf.Parser<CoreNLPProtos.Relation> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CoreNLPProtos.Relation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder