public static final class CoreNLPProtos.DependencyGraph extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.DependencyGraphOrBuilder
A dependency graph representation.Protobuf type
edu.stanford.nlp.pipeline.DependencyGraph
Modifier and Type | Class and Description |
---|---|
static class |
CoreNLPProtos.DependencyGraph.Builder
A dependency graph representation.
|
static class |
CoreNLPProtos.DependencyGraph.Edge
Protobuf type
edu.stanford.nlp.pipeline.DependencyGraph.Edge |
static interface |
CoreNLPProtos.DependencyGraph.EdgeOrBuilder |
static class |
CoreNLPProtos.DependencyGraph.Node
Protobuf type
edu.stanford.nlp.pipeline.DependencyGraph.Node |
static interface |
CoreNLPProtos.DependencyGraph.NodeOrBuilder |
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 |
EDGE_FIELD_NUMBER |
static int |
NODE_FIELD_NUMBER |
static com.google.protobuf.Parser<CoreNLPProtos.DependencyGraph> |
PARSER
Deprecated.
|
static int |
ROOT_FIELD_NUMBER |
static int |
TOKEN_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static CoreNLPProtos.DependencyGraph |
getDefaultInstance() |
CoreNLPProtos.DependencyGraph |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CoreNLPProtos.DependencyGraph.Edge |
getEdge(int index)
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; |
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; |
com.google.protobuf.Parser<CoreNLPProtos.DependencyGraph> |
getParserForType() |
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]; |
int |
getSerializedSize() |
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
|
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
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.DependencyGraph.Builder |
newBuilder() |
static CoreNLPProtos.DependencyGraph.Builder |
newBuilder(CoreNLPProtos.DependencyGraph prototype) |
CoreNLPProtos.DependencyGraph.Builder |
newBuilderForType() |
protected CoreNLPProtos.DependencyGraph.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.DependencyGraph |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.DependencyGraph |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.DependencyGraph |
parseFrom(byte[] data) |
static CoreNLPProtos.DependencyGraph |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.DependencyGraph |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.DependencyGraph |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.DependencyGraph |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.DependencyGraph |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.DependencyGraph |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.DependencyGraph |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.DependencyGraph |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.DependencyGraph |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.DependencyGraph> |
parser() |
CoreNLPProtos.DependencyGraph.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 NODE_FIELD_NUMBER
public static final int EDGE_FIELD_NUMBER
public static final int ROOT_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.DependencyGraph> 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 java.util.List<CoreNLPProtos.DependencyGraph.Node> getNodeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNodeList
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 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.NodeOrBuilder getNodeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;
getNodeOrBuilder
in interface CoreNLPProtos.DependencyGraphOrBuilder
public java.util.List<CoreNLPProtos.DependencyGraph.Edge> getEdgeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdgeList
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 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.EdgeOrBuilder getEdgeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;
getEdgeOrBuilder
in interface CoreNLPProtos.DependencyGraphOrBuilder
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 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 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 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.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 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.DependencyGraph parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.DependencyGraph parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.DependencyGraph parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.DependencyGraph parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.DependencyGraph parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.DependencyGraph parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.DependencyGraph parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.DependencyGraph parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.DependencyGraph.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CoreNLPProtos.DependencyGraph.Builder newBuilder()
public static CoreNLPProtos.DependencyGraph.Builder newBuilder(CoreNLPProtos.DependencyGraph prototype)
public CoreNLPProtos.DependencyGraph.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.DependencyGraph.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CoreNLPProtos.DependencyGraph getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.DependencyGraph> parser()
public com.google.protobuf.Parser<CoreNLPProtos.DependencyGraph> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CoreNLPProtos.DependencyGraph getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder