public static final class CoreNLPProtos.DependencyGraph.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Builder> implements CoreNLPProtos.DependencyGraphOrBuilder
A dependency graph representation.Protobuf type
edu.stanford.nlp.pipeline.DependencyGraph
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.DependencyGraph.Builder |
addAllEdge(java.lang.Iterable<? extends CoreNLPProtos.DependencyGraph.Edge> values)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
addAllNode(java.lang.Iterable<? extends CoreNLPProtos.DependencyGraph.Node> values)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
addAllRoot(java.lang.Iterable<? extends java.lang.Integer> values)
repeated uint32 root = 3 [packed = true]; |
CoreNLPProtos.DependencyGraph.Builder |
addAllToken(java.lang.Iterable<? extends CoreNLPProtos.Token> values)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
addEdge(CoreNLPProtos.DependencyGraph.Edge.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
addEdge(CoreNLPProtos.DependencyGraph.Edge value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
addEdge(int index,
CoreNLPProtos.DependencyGraph.Edge.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
addEdge(int index,
CoreNLPProtos.DependencyGraph.Edge value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
addEdgeBuilder()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
addEdgeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
addNode(CoreNLPProtos.DependencyGraph.Node.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
addNode(CoreNLPProtos.DependencyGraph.Node value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
addNode(int index,
CoreNLPProtos.DependencyGraph.Node.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
addNode(int index,
CoreNLPProtos.DependencyGraph.Node value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Node.Builder |
addNodeBuilder()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Node.Builder |
addNodeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.DependencyGraph.Builder |
addRoot(int value)
repeated uint32 root = 3 [packed = true]; |
CoreNLPProtos.DependencyGraph.Builder |
addToken(CoreNLPProtos.Token.Builder builderForValue)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
addToken(CoreNLPProtos.Token value)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
addToken(int index,
CoreNLPProtos.Token.Builder builderForValue)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
addToken(int index,
CoreNLPProtos.Token value)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.Token.Builder |
addTokenBuilder()
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.Token.Builder |
addTokenBuilder(int index)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph |
build() |
CoreNLPProtos.DependencyGraph |
buildPartial() |
CoreNLPProtos.DependencyGraph.Builder |
clear() |
CoreNLPProtos.DependencyGraph.Builder |
clearEdge()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.DependencyGraph.Builder |
clearNode()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.DependencyGraph.Builder |
clearRoot()
repeated uint32 root = 3 [packed = true]; |
CoreNLPProtos.DependencyGraph.Builder |
clearToken()
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
clone() |
CoreNLPProtos.DependencyGraph |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CoreNLPProtos.DependencyGraph.Edge |
getEdge(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
getEdgeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
java.util.List<CoreNLPProtos.DependencyGraph.Edge.Builder> |
getEdgeBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
int |
getEdgeCount()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
java.util.List<CoreNLPProtos.DependencyGraph.Edge> |
getEdgeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.EdgeOrBuilder |
getEdgeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
java.util.List<? extends CoreNLPProtos.DependencyGraph.EdgeOrBuilder> |
getEdgeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Node |
getNode(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Node.Builder |
getNodeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
java.util.List<CoreNLPProtos.DependencyGraph.Node.Builder> |
getNodeBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
int |
getNodeCount()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
java.util.List<CoreNLPProtos.DependencyGraph.Node> |
getNodeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.NodeOrBuilder |
getNodeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
java.util.List<? extends CoreNLPProtos.DependencyGraph.NodeOrBuilder> |
getNodeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
int |
getRoot(int index)
repeated uint32 root = 3 [packed = true]; |
int |
getRootCount()
repeated uint32 root = 3 [packed = true]; |
java.util.List<java.lang.Integer> |
getRootList()
repeated uint32 root = 3 [packed = true]; |
CoreNLPProtos.Token |
getToken(int index)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.Token.Builder |
getTokenBuilder(int index)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
java.util.List<CoreNLPProtos.Token.Builder> |
getTokenBuilderList()
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
int |
getTokenCount()
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
java.util.List<CoreNLPProtos.Token> |
getTokenList()
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.TokenOrBuilder |
getTokenOrBuilder(int index)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> |
getTokenOrBuilderList()
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.DependencyGraph.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.DependencyGraph.Builder |
mergeFrom(CoreNLPProtos.DependencyGraph other) |
CoreNLPProtos.DependencyGraph.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.DependencyGraph.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.DependencyGraph.Builder |
removeEdge(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
removeNode(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
removeToken(int index)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
setEdge(int index,
CoreNLPProtos.DependencyGraph.Edge.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
setEdge(int index,
CoreNLPProtos.DependencyGraph.Edge value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; |
CoreNLPProtos.DependencyGraph.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.DependencyGraph.Builder |
setNode(int index,
CoreNLPProtos.DependencyGraph.Node.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
setNode(int index,
CoreNLPProtos.DependencyGraph.Node value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; |
CoreNLPProtos.DependencyGraph.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.DependencyGraph.Builder |
setRoot(int index,
int value)
repeated uint32 root = 3 [packed = true]; |
CoreNLPProtos.DependencyGraph.Builder |
setToken(int index,
CoreNLPProtos.Token.Builder builderForValue)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.Builder |
setToken(int index,
CoreNLPProtos.Token value)
optional: if this graph message is not part of a larger context,
the tokens will help reconstruct the actual sentence
|
CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.DependencyGraph build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.DependencyGraph buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.Builder mergeFrom(CoreNLPProtos.DependencyGraph other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Builder>
public CoreNLPProtos.DependencyGraph.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.DependencyGraph.Builder>
java.io.IOException
public java.util.List<CoreNLPProtos.DependencyGraph.Node> getNodeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNodeList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public int getNodeCount()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNodeCount
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Node getNode(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNode
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Builder setNode(int index, CoreNLPProtos.DependencyGraph.Node value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder setNode(int index, CoreNLPProtos.DependencyGraph.Node.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder addNode(CoreNLPProtos.DependencyGraph.Node value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder addNode(int index, CoreNLPProtos.DependencyGraph.Node value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder addNode(CoreNLPProtos.DependencyGraph.Node.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder addNode(int index, CoreNLPProtos.DependencyGraph.Node.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder addAllNode(java.lang.Iterable<? extends CoreNLPProtos.DependencyGraph.Node> values)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder clearNode()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Builder removeNode(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Node.Builder getNodeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.NodeOrBuilder getNodeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNodeOrBuilder
in interface CoreNLPProtos.DependencyGraphOrBuilder
public java.util.List<? extends CoreNLPProtos.DependencyGraph.NodeOrBuilder> getNodeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNodeOrBuilderList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Node.Builder addNodeBuilder()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public CoreNLPProtos.DependencyGraph.Node.Builder addNodeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public java.util.List<CoreNLPProtos.DependencyGraph.Node.Builder> getNodeBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
public java.util.List<CoreNLPProtos.DependencyGraph.Edge> getEdgeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdgeList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public int getEdgeCount()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdgeCount
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Edge getEdge(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdge
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Builder setEdge(int index, CoreNLPProtos.DependencyGraph.Edge value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder setEdge(int index, CoreNLPProtos.DependencyGraph.Edge.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder addEdge(CoreNLPProtos.DependencyGraph.Edge value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder addEdge(int index, CoreNLPProtos.DependencyGraph.Edge value)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder addEdge(CoreNLPProtos.DependencyGraph.Edge.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder addEdge(int index, CoreNLPProtos.DependencyGraph.Edge.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder addAllEdge(java.lang.Iterable<? extends CoreNLPProtos.DependencyGraph.Edge> values)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder clearEdge()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Builder removeEdge(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Edge.Builder getEdgeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.EdgeOrBuilder getEdgeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdgeOrBuilder
in interface CoreNLPProtos.DependencyGraphOrBuilder
public java.util.List<? extends CoreNLPProtos.DependencyGraph.EdgeOrBuilder> getEdgeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdgeOrBuilderList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder addEdgeBuilder()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public CoreNLPProtos.DependencyGraph.Edge.Builder addEdgeBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public java.util.List<CoreNLPProtos.DependencyGraph.Edge.Builder> getEdgeBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
public java.util.List<java.lang.Integer> getRootList()
repeated uint32 root = 3 [packed = true];
getRootList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public int getRootCount()
repeated uint32 root = 3 [packed = true];
getRootCount
in interface CoreNLPProtos.DependencyGraphOrBuilder
public int getRoot(int index)
repeated uint32 root = 3 [packed = true];
getRoot
in interface CoreNLPProtos.DependencyGraphOrBuilder
index
- The index of the element to return.public CoreNLPProtos.DependencyGraph.Builder setRoot(int index, int value)
repeated uint32 root = 3 [packed = true];
index
- The index to set the value at.value
- The root to set.public CoreNLPProtos.DependencyGraph.Builder addRoot(int value)
repeated uint32 root = 3 [packed = true];
value
- The root to add.public CoreNLPProtos.DependencyGraph.Builder addAllRoot(java.lang.Iterable<? extends java.lang.Integer> values)
repeated uint32 root = 3 [packed = true];
values
- The root to add.public CoreNLPProtos.DependencyGraph.Builder clearRoot()
repeated uint32 root = 3 [packed = true];
public java.util.List<CoreNLPProtos.Token> getTokenList()
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
getTokenList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public int getTokenCount()
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
getTokenCount
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.Token getToken(int index)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
getToken
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.DependencyGraph.Builder setToken(int index, CoreNLPProtos.Token value)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder setToken(int index, CoreNLPProtos.Token.Builder builderForValue)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder addToken(CoreNLPProtos.Token value)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder addToken(int index, CoreNLPProtos.Token value)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder addToken(CoreNLPProtos.Token.Builder builderForValue)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder addToken(int index, CoreNLPProtos.Token.Builder builderForValue)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder addAllToken(java.lang.Iterable<? extends CoreNLPProtos.Token> values)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder clearToken()
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.DependencyGraph.Builder removeToken(int index)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.Token.Builder getTokenBuilder(int index)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.TokenOrBuilder getTokenOrBuilder(int index)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
getTokenOrBuilder
in interface CoreNLPProtos.DependencyGraphOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getTokenOrBuilderList()
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
getTokenOrBuilderList
in interface CoreNLPProtos.DependencyGraphOrBuilder
public CoreNLPProtos.Token.Builder addTokenBuilder()
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public CoreNLPProtos.Token.Builder addTokenBuilder(int index)
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public java.util.List<CoreNLPProtos.Token.Builder> getTokenBuilderList()
optional: if this graph message is not part of a larger context, the tokens will help reconstruct the actual sentence
repeated .edu.stanford.nlp.pipeline.Token token = 4;
public final CoreNLPProtos.DependencyGraph.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Builder>
public final CoreNLPProtos.DependencyGraph.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Builder>