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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.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 com.google.protobuf.ProtocolStringList getArgNameList()
repeated string argName = 6;getArgNameList in interface CoreNLPProtos.RelationOrBuilderpublic int getArgNameCount()
repeated string argName = 6;getArgNameCount in interface CoreNLPProtos.RelationOrBuilderpublic java.lang.String getArgName(int index)
repeated string argName = 6;getArgName in interface CoreNLPProtos.RelationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getArgNameBytes(int index)
repeated string argName = 6;getArgNameBytes in interface CoreNLPProtos.RelationOrBuilderindex - 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.RelationOrBuilderpublic java.util.List<? extends CoreNLPProtos.EntityOrBuilder> getArgOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;getArgOrBuilderList in interface CoreNLPProtos.RelationOrBuilderpublic int getArgCount()
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;getArgCount in interface CoreNLPProtos.RelationOrBuilderpublic CoreNLPProtos.Entity getArg(int index)
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;getArg in interface CoreNLPProtos.RelationOrBuilderpublic CoreNLPProtos.EntityOrBuilder getArgOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Entity arg = 7;getArgOrBuilder in interface CoreNLPProtos.RelationOrBuilderpublic boolean hasSignature()
optional string signature = 8;hasSignature in interface CoreNLPProtos.RelationOrBuilderpublic java.lang.String getSignature()
optional string signature = 8;getSignature in interface CoreNLPProtos.RelationOrBuilderpublic com.google.protobuf.ByteString getSignatureBytes()
optional string signature = 8;getSignatureBytes in interface CoreNLPProtos.RelationOrBuilderpublic boolean hasObjectID()
inherited from ExtractionObject
optional string objectID = 1;hasObjectID in interface CoreNLPProtos.RelationOrBuilderpublic java.lang.String getObjectID()
inherited from ExtractionObject
optional string objectID = 1;getObjectID in interface CoreNLPProtos.RelationOrBuilderpublic com.google.protobuf.ByteString getObjectIDBytes()
inherited from ExtractionObject
optional string objectID = 1;getObjectIDBytes in interface CoreNLPProtos.RelationOrBuilderpublic boolean hasExtentStart()
optional uint32 extentStart = 2;hasExtentStart in interface CoreNLPProtos.RelationOrBuilderpublic int getExtentStart()
optional uint32 extentStart = 2;getExtentStart in interface CoreNLPProtos.RelationOrBuilderpublic boolean hasExtentEnd()
optional uint32 extentEnd = 3;hasExtentEnd in interface CoreNLPProtos.RelationOrBuilderpublic int getExtentEnd()
optional uint32 extentEnd = 3;getExtentEnd in interface CoreNLPProtos.RelationOrBuilderpublic boolean hasType()
optional string type = 4;hasType in interface CoreNLPProtos.RelationOrBuilderpublic java.lang.String getType()
optional string type = 4;getType in interface CoreNLPProtos.RelationOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
optional string type = 4;getTypeBytes in interface CoreNLPProtos.RelationOrBuilderpublic boolean hasSubtype()
Implicit
uint32 sentence @see implicit in sentence
optional string subtype = 5;hasSubtype in interface CoreNLPProtos.RelationOrBuilderpublic java.lang.String getSubtype()
Implicit
uint32 sentence @see implicit in sentence
optional string subtype = 5;getSubtype in interface CoreNLPProtos.RelationOrBuilderpublic com.google.protobuf.ByteString getSubtypeBytes()
Implicit
uint32 sentence @see implicit in sentence
optional string subtype = 5;getSubtypeBytes in interface CoreNLPProtos.RelationOrBuilderpublic 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.Relation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Relation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Relation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Relation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Relation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Relation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Relation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Relation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Relation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Relation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Relation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Relation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CoreNLPProtos.Relation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CoreNLPProtos.Relation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CoreNLPProtos.Relation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder