public static final class CoreNLPProtos.RelationTriple.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder> implements CoreNLPProtos.RelationTripleOrBuilder
An OpenIE relation triple. Created by the openie annotator.Protobuf type
edu.stanford.nlp.pipeline.RelationTriple
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.RelationTriple.Builder |
addAllObjectTokens(java.lang.Iterable<? extends CoreNLPProtos.TokenLocation> values)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addAllRelationTokens(java.lang.Iterable<? extends CoreNLPProtos.TokenLocation> values)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addAllSubjectTokens(java.lang.Iterable<? extends CoreNLPProtos.TokenLocation> values)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addObjectTokens(CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addObjectTokens(CoreNLPProtos.TokenLocation value)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addObjectTokens(int index,
CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addObjectTokens(int index,
CoreNLPProtos.TokenLocation value)
The tokens comprising the object of the triple
|
CoreNLPProtos.TokenLocation.Builder |
addObjectTokensBuilder()
The tokens comprising the object of the triple
|
CoreNLPProtos.TokenLocation.Builder |
addObjectTokensBuilder(int index)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addRelationTokens(CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addRelationTokens(CoreNLPProtos.TokenLocation value)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addRelationTokens(int index,
CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addRelationTokens(int index,
CoreNLPProtos.TokenLocation value)
The tokens comprising the relation of the triple
|
CoreNLPProtos.TokenLocation.Builder |
addRelationTokensBuilder()
The tokens comprising the relation of the triple
|
CoreNLPProtos.TokenLocation.Builder |
addRelationTokensBuilder(int index)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.RelationTriple.Builder |
addSubjectTokens(CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addSubjectTokens(CoreNLPProtos.TokenLocation value)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addSubjectTokens(int index,
CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
addSubjectTokens(int index,
CoreNLPProtos.TokenLocation value)
The tokens comprising the subject of the triple
|
CoreNLPProtos.TokenLocation.Builder |
addSubjectTokensBuilder()
The tokens comprising the subject of the triple
|
CoreNLPProtos.TokenLocation.Builder |
addSubjectTokensBuilder(int index)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple |
build() |
CoreNLPProtos.RelationTriple |
buildPartial() |
CoreNLPProtos.RelationTriple.Builder |
clear() |
CoreNLPProtos.RelationTriple.Builder |
clearConfidence()
The [optional] confidence of the extraction
|
CoreNLPProtos.RelationTriple.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.RelationTriple.Builder |
clearIstmod()
If true, this expresses an implicit tmod relation
|
CoreNLPProtos.RelationTriple.Builder |
clearObject()
The surface form of the object
|
CoreNLPProtos.RelationTriple.Builder |
clearObjectTokens()
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.RelationTriple.Builder |
clearPrefixBe()
If true, this relation string is missing a 'be' prefix
|
CoreNLPProtos.RelationTriple.Builder |
clearRelation()
The surface form of the relation (required)
|
CoreNLPProtos.RelationTriple.Builder |
clearRelationTokens()
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
clearSubject()
The surface form of the subject
|
CoreNLPProtos.RelationTriple.Builder |
clearSubjectTokens()
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
clearSuffixBe()
If true, this relation string is missing a 'be' suffix
|
CoreNLPProtos.RelationTriple.Builder |
clearSuffixOf()
If true, this relation string is missing a 'of' prefix
|
CoreNLPProtos.RelationTriple.Builder |
clearTree()
The dependency graph fragment for this triple
|
CoreNLPProtos.RelationTriple.Builder |
clone() |
double |
getConfidence()
The [optional] confidence of the extraction
|
CoreNLPProtos.RelationTriple |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIstmod()
If true, this expresses an implicit tmod relation
|
java.lang.String |
getObject()
The surface form of the object
|
com.google.protobuf.ByteString |
getObjectBytes()
The surface form of the object
|
CoreNLPProtos.TokenLocation |
getObjectTokens(int index)
The tokens comprising the object of the triple
|
CoreNLPProtos.TokenLocation.Builder |
getObjectTokensBuilder(int index)
The tokens comprising the object of the triple
|
java.util.List<CoreNLPProtos.TokenLocation.Builder> |
getObjectTokensBuilderList()
The tokens comprising the object of the triple
|
int |
getObjectTokensCount()
The tokens comprising the object of the triple
|
java.util.List<CoreNLPProtos.TokenLocation> |
getObjectTokensList()
The tokens comprising the object of the triple
|
CoreNLPProtos.TokenLocationOrBuilder |
getObjectTokensOrBuilder(int index)
The tokens comprising the object of the triple
|
java.util.List<? extends CoreNLPProtos.TokenLocationOrBuilder> |
getObjectTokensOrBuilderList()
The tokens comprising the object of the triple
|
boolean |
getPrefixBe()
If true, this relation string is missing a 'be' prefix
|
java.lang.String |
getRelation()
The surface form of the relation (required)
|
com.google.protobuf.ByteString |
getRelationBytes()
The surface form of the relation (required)
|
CoreNLPProtos.TokenLocation |
getRelationTokens(int index)
The tokens comprising the relation of the triple
|
CoreNLPProtos.TokenLocation.Builder |
getRelationTokensBuilder(int index)
The tokens comprising the relation of the triple
|
java.util.List<CoreNLPProtos.TokenLocation.Builder> |
getRelationTokensBuilderList()
The tokens comprising the relation of the triple
|
int |
getRelationTokensCount()
The tokens comprising the relation of the triple
|
java.util.List<CoreNLPProtos.TokenLocation> |
getRelationTokensList()
The tokens comprising the relation of the triple
|
CoreNLPProtos.TokenLocationOrBuilder |
getRelationTokensOrBuilder(int index)
The tokens comprising the relation of the triple
|
java.util.List<? extends CoreNLPProtos.TokenLocationOrBuilder> |
getRelationTokensOrBuilderList()
The tokens comprising the relation of the triple
|
java.lang.String |
getSubject()
The surface form of the subject
|
com.google.protobuf.ByteString |
getSubjectBytes()
The surface form of the subject
|
CoreNLPProtos.TokenLocation |
getSubjectTokens(int index)
The tokens comprising the subject of the triple
|
CoreNLPProtos.TokenLocation.Builder |
getSubjectTokensBuilder(int index)
The tokens comprising the subject of the triple
|
java.util.List<CoreNLPProtos.TokenLocation.Builder> |
getSubjectTokensBuilderList()
The tokens comprising the subject of the triple
|
int |
getSubjectTokensCount()
The tokens comprising the subject of the triple
|
java.util.List<CoreNLPProtos.TokenLocation> |
getSubjectTokensList()
The tokens comprising the subject of the triple
|
CoreNLPProtos.TokenLocationOrBuilder |
getSubjectTokensOrBuilder(int index)
The tokens comprising the subject of the triple
|
java.util.List<? extends CoreNLPProtos.TokenLocationOrBuilder> |
getSubjectTokensOrBuilderList()
The tokens comprising the subject of the triple
|
boolean |
getSuffixBe()
If true, this relation string is missing a 'be' suffix
|
boolean |
getSuffixOf()
If true, this relation string is missing a 'of' prefix
|
CoreNLPProtos.DependencyGraph |
getTree()
The dependency graph fragment for this triple
|
CoreNLPProtos.DependencyGraph.Builder |
getTreeBuilder()
The dependency graph fragment for this triple
|
CoreNLPProtos.DependencyGraphOrBuilder |
getTreeOrBuilder()
The dependency graph fragment for this triple
|
boolean |
hasConfidence()
The [optional] confidence of the extraction
|
boolean |
hasIstmod()
If true, this expresses an implicit tmod relation
|
boolean |
hasObject()
The surface form of the object
|
boolean |
hasPrefixBe()
If true, this relation string is missing a 'be' prefix
|
boolean |
hasRelation()
The surface form of the relation (required)
|
boolean |
hasSubject()
The surface form of the subject
|
boolean |
hasSuffixBe()
If true, this relation string is missing a 'be' suffix
|
boolean |
hasSuffixOf()
If true, this relation string is missing a 'of' prefix
|
boolean |
hasTree()
The dependency graph fragment for this triple
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.RelationTriple.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.RelationTriple.Builder |
mergeFrom(CoreNLPProtos.RelationTriple other) |
CoreNLPProtos.RelationTriple.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.RelationTriple.Builder |
mergeTree(CoreNLPProtos.DependencyGraph value)
The dependency graph fragment for this triple
|
CoreNLPProtos.RelationTriple.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.RelationTriple.Builder |
removeObjectTokens(int index)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
removeRelationTokens(int index)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
removeSubjectTokens(int index)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setConfidence(double value)
The [optional] confidence of the extraction
|
CoreNLPProtos.RelationTriple.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.RelationTriple.Builder |
setIstmod(boolean value)
If true, this expresses an implicit tmod relation
|
CoreNLPProtos.RelationTriple.Builder |
setObject(java.lang.String value)
The surface form of the object
|
CoreNLPProtos.RelationTriple.Builder |
setObjectBytes(com.google.protobuf.ByteString value)
The surface form of the object
|
CoreNLPProtos.RelationTriple.Builder |
setObjectTokens(int index,
CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setObjectTokens(int index,
CoreNLPProtos.TokenLocation value)
The tokens comprising the object of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setPrefixBe(boolean value)
If true, this relation string is missing a 'be' prefix
|
CoreNLPProtos.RelationTriple.Builder |
setRelation(java.lang.String value)
The surface form of the relation (required)
|
CoreNLPProtos.RelationTriple.Builder |
setRelationBytes(com.google.protobuf.ByteString value)
The surface form of the relation (required)
|
CoreNLPProtos.RelationTriple.Builder |
setRelationTokens(int index,
CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setRelationTokens(int index,
CoreNLPProtos.TokenLocation value)
The tokens comprising the relation of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.RelationTriple.Builder |
setSubject(java.lang.String value)
The surface form of the subject
|
CoreNLPProtos.RelationTriple.Builder |
setSubjectBytes(com.google.protobuf.ByteString value)
The surface form of the subject
|
CoreNLPProtos.RelationTriple.Builder |
setSubjectTokens(int index,
CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setSubjectTokens(int index,
CoreNLPProtos.TokenLocation value)
The tokens comprising the subject of the triple
|
CoreNLPProtos.RelationTriple.Builder |
setSuffixBe(boolean value)
If true, this relation string is missing a 'be' suffix
|
CoreNLPProtos.RelationTriple.Builder |
setSuffixOf(boolean value)
If true, this relation string is missing a 'of' prefix
|
CoreNLPProtos.RelationTriple.Builder |
setTree(CoreNLPProtos.DependencyGraph.Builder builderForValue)
The dependency graph fragment for this triple
|
CoreNLPProtos.RelationTriple.Builder |
setTree(CoreNLPProtos.DependencyGraph value)
The dependency graph fragment for this triple
|
CoreNLPProtos.RelationTriple.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.RelationTriple build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.RelationTriple buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.RelationTriple.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder mergeFrom(CoreNLPProtos.RelationTriple other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public CoreNLPProtos.RelationTriple.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.RelationTriple.Builder>
java.io.IOException
public boolean hasSubject()
The surface form of the subject
optional string subject = 1;
hasSubject
in interface CoreNLPProtos.RelationTripleOrBuilder
public java.lang.String getSubject()
The surface form of the subject
optional string subject = 1;
getSubject
in interface CoreNLPProtos.RelationTripleOrBuilder
public com.google.protobuf.ByteString getSubjectBytes()
The surface form of the subject
optional string subject = 1;
getSubjectBytes
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setSubject(java.lang.String value)
The surface form of the subject
optional string subject = 1;
value
- The subject to set.public CoreNLPProtos.RelationTriple.Builder clearSubject()
The surface form of the subject
optional string subject = 1;
public CoreNLPProtos.RelationTriple.Builder setSubjectBytes(com.google.protobuf.ByteString value)
The surface form of the subject
optional string subject = 1;
value
- The bytes for subject to set.public boolean hasRelation()
The surface form of the relation (required)
optional string relation = 2;
hasRelation
in interface CoreNLPProtos.RelationTripleOrBuilder
public java.lang.String getRelation()
The surface form of the relation (required)
optional string relation = 2;
getRelation
in interface CoreNLPProtos.RelationTripleOrBuilder
public com.google.protobuf.ByteString getRelationBytes()
The surface form of the relation (required)
optional string relation = 2;
getRelationBytes
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setRelation(java.lang.String value)
The surface form of the relation (required)
optional string relation = 2;
value
- The relation to set.public CoreNLPProtos.RelationTriple.Builder clearRelation()
The surface form of the relation (required)
optional string relation = 2;
public CoreNLPProtos.RelationTriple.Builder setRelationBytes(com.google.protobuf.ByteString value)
The surface form of the relation (required)
optional string relation = 2;
value
- The bytes for relation to set.public boolean hasObject()
The surface form of the object
optional string object = 3;
hasObject
in interface CoreNLPProtos.RelationTripleOrBuilder
public java.lang.String getObject()
The surface form of the object
optional string object = 3;
getObject
in interface CoreNLPProtos.RelationTripleOrBuilder
public com.google.protobuf.ByteString getObjectBytes()
The surface form of the object
optional string object = 3;
getObjectBytes
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setObject(java.lang.String value)
The surface form of the object
optional string object = 3;
value
- The object to set.public CoreNLPProtos.RelationTriple.Builder clearObject()
The surface form of the object
optional string object = 3;
public CoreNLPProtos.RelationTriple.Builder setObjectBytes(com.google.protobuf.ByteString value)
The surface form of the object
optional string object = 3;
value
- The bytes for object to set.public boolean hasConfidence()
The [optional] confidence of the extraction
optional double confidence = 4;
hasConfidence
in interface CoreNLPProtos.RelationTripleOrBuilder
public double getConfidence()
The [optional] confidence of the extraction
optional double confidence = 4;
getConfidence
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setConfidence(double value)
The [optional] confidence of the extraction
optional double confidence = 4;
value
- The confidence to set.public CoreNLPProtos.RelationTriple.Builder clearConfidence()
The [optional] confidence of the extraction
optional double confidence = 4;
public java.util.List<CoreNLPProtos.TokenLocation> getSubjectTokensList()
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
getSubjectTokensList
in interface CoreNLPProtos.RelationTripleOrBuilder
public int getSubjectTokensCount()
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
getSubjectTokensCount
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.TokenLocation getSubjectTokens(int index)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
getSubjectTokens
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setSubjectTokens(int index, CoreNLPProtos.TokenLocation value)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder setSubjectTokens(int index, CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder addSubjectTokens(CoreNLPProtos.TokenLocation value)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder addSubjectTokens(int index, CoreNLPProtos.TokenLocation value)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder addSubjectTokens(CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder addSubjectTokens(int index, CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder addAllSubjectTokens(java.lang.Iterable<? extends CoreNLPProtos.TokenLocation> values)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder clearSubjectTokens()
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.RelationTriple.Builder removeSubjectTokens(int index)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.TokenLocation.Builder getSubjectTokensBuilder(int index)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.TokenLocationOrBuilder getSubjectTokensOrBuilder(int index)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
getSubjectTokensOrBuilder
in interface CoreNLPProtos.RelationTripleOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenLocationOrBuilder> getSubjectTokensOrBuilderList()
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
getSubjectTokensOrBuilderList
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.TokenLocation.Builder addSubjectTokensBuilder()
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public CoreNLPProtos.TokenLocation.Builder addSubjectTokensBuilder(int index)
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public java.util.List<CoreNLPProtos.TokenLocation.Builder> getSubjectTokensBuilderList()
The tokens comprising the subject of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation subjectTokens = 13;
public java.util.List<CoreNLPProtos.TokenLocation> getRelationTokensList()
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
getRelationTokensList
in interface CoreNLPProtos.RelationTripleOrBuilder
public int getRelationTokensCount()
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
getRelationTokensCount
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.TokenLocation getRelationTokens(int index)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
getRelationTokens
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setRelationTokens(int index, CoreNLPProtos.TokenLocation value)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder setRelationTokens(int index, CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder addRelationTokens(CoreNLPProtos.TokenLocation value)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder addRelationTokens(int index, CoreNLPProtos.TokenLocation value)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder addRelationTokens(CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder addRelationTokens(int index, CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder addAllRelationTokens(java.lang.Iterable<? extends CoreNLPProtos.TokenLocation> values)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder clearRelationTokens()
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.RelationTriple.Builder removeRelationTokens(int index)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.TokenLocation.Builder getRelationTokensBuilder(int index)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.TokenLocationOrBuilder getRelationTokensOrBuilder(int index)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
getRelationTokensOrBuilder
in interface CoreNLPProtos.RelationTripleOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenLocationOrBuilder> getRelationTokensOrBuilderList()
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
getRelationTokensOrBuilderList
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.TokenLocation.Builder addRelationTokensBuilder()
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public CoreNLPProtos.TokenLocation.Builder addRelationTokensBuilder(int index)
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public java.util.List<CoreNLPProtos.TokenLocation.Builder> getRelationTokensBuilderList()
The tokens comprising the relation of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation relationTokens = 14;
public java.util.List<CoreNLPProtos.TokenLocation> getObjectTokensList()
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
getObjectTokensList
in interface CoreNLPProtos.RelationTripleOrBuilder
public int getObjectTokensCount()
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
getObjectTokensCount
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.TokenLocation getObjectTokens(int index)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
getObjectTokens
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setObjectTokens(int index, CoreNLPProtos.TokenLocation value)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder setObjectTokens(int index, CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder addObjectTokens(CoreNLPProtos.TokenLocation value)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder addObjectTokens(int index, CoreNLPProtos.TokenLocation value)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder addObjectTokens(CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder addObjectTokens(int index, CoreNLPProtos.TokenLocation.Builder builderForValue)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder addAllObjectTokens(java.lang.Iterable<? extends CoreNLPProtos.TokenLocation> values)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder clearObjectTokens()
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.RelationTriple.Builder removeObjectTokens(int index)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.TokenLocation.Builder getObjectTokensBuilder(int index)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.TokenLocationOrBuilder getObjectTokensOrBuilder(int index)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
getObjectTokensOrBuilder
in interface CoreNLPProtos.RelationTripleOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenLocationOrBuilder> getObjectTokensOrBuilderList()
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
getObjectTokensOrBuilderList
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.TokenLocation.Builder addObjectTokensBuilder()
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public CoreNLPProtos.TokenLocation.Builder addObjectTokensBuilder(int index)
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public java.util.List<CoreNLPProtos.TokenLocation.Builder> getObjectTokensBuilderList()
The tokens comprising the object of the triple
repeated .edu.stanford.nlp.pipeline.TokenLocation objectTokens = 15;
public boolean hasTree()
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
hasTree
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.DependencyGraph getTree()
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
getTree
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setTree(CoreNLPProtos.DependencyGraph value)
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
public CoreNLPProtos.RelationTriple.Builder setTree(CoreNLPProtos.DependencyGraph.Builder builderForValue)
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
public CoreNLPProtos.RelationTriple.Builder mergeTree(CoreNLPProtos.DependencyGraph value)
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
public CoreNLPProtos.RelationTriple.Builder clearTree()
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
public CoreNLPProtos.DependencyGraph.Builder getTreeBuilder()
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
public CoreNLPProtos.DependencyGraphOrBuilder getTreeOrBuilder()
The dependency graph fragment for this triple
optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8;
getTreeOrBuilder
in interface CoreNLPProtos.RelationTripleOrBuilder
public boolean hasIstmod()
If true, this expresses an implicit tmod relation
optional bool istmod = 9;
hasIstmod
in interface CoreNLPProtos.RelationTripleOrBuilder
public boolean getIstmod()
If true, this expresses an implicit tmod relation
optional bool istmod = 9;
getIstmod
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setIstmod(boolean value)
If true, this expresses an implicit tmod relation
optional bool istmod = 9;
value
- The istmod to set.public CoreNLPProtos.RelationTriple.Builder clearIstmod()
If true, this expresses an implicit tmod relation
optional bool istmod = 9;
public boolean hasPrefixBe()
If true, this relation string is missing a 'be' prefix
optional bool prefixBe = 10;
hasPrefixBe
in interface CoreNLPProtos.RelationTripleOrBuilder
public boolean getPrefixBe()
If true, this relation string is missing a 'be' prefix
optional bool prefixBe = 10;
getPrefixBe
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setPrefixBe(boolean value)
If true, this relation string is missing a 'be' prefix
optional bool prefixBe = 10;
value
- The prefixBe to set.public CoreNLPProtos.RelationTriple.Builder clearPrefixBe()
If true, this relation string is missing a 'be' prefix
optional bool prefixBe = 10;
public boolean hasSuffixBe()
If true, this relation string is missing a 'be' suffix
optional bool suffixBe = 11;
hasSuffixBe
in interface CoreNLPProtos.RelationTripleOrBuilder
public boolean getSuffixBe()
If true, this relation string is missing a 'be' suffix
optional bool suffixBe = 11;
getSuffixBe
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setSuffixBe(boolean value)
If true, this relation string is missing a 'be' suffix
optional bool suffixBe = 11;
value
- The suffixBe to set.public CoreNLPProtos.RelationTriple.Builder clearSuffixBe()
If true, this relation string is missing a 'be' suffix
optional bool suffixBe = 11;
public boolean hasSuffixOf()
If true, this relation string is missing a 'of' prefix
optional bool suffixOf = 12;
hasSuffixOf
in interface CoreNLPProtos.RelationTripleOrBuilder
public boolean getSuffixOf()
If true, this relation string is missing a 'of' prefix
optional bool suffixOf = 12;
getSuffixOf
in interface CoreNLPProtos.RelationTripleOrBuilder
public CoreNLPProtos.RelationTriple.Builder setSuffixOf(boolean value)
If true, this relation string is missing a 'of' prefix
optional bool suffixOf = 12;
value
- The suffixOf to set.public CoreNLPProtos.RelationTriple.Builder clearSuffixOf()
If true, this relation string is missing a 'of' prefix
optional bool suffixOf = 12;
public final CoreNLPProtos.RelationTriple.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>
public final CoreNLPProtos.RelationTriple.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.RelationTriple.Builder>