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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.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 java.util.List<CoreNLPProtos.DependencyGraph.Node> getNodeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;getNodeList in interface CoreNLPProtos.DependencyGraphOrBuilderpublic java.util.List<? extends CoreNLPProtos.DependencyGraph.NodeOrBuilder> getNodeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;getNodeOrBuilderList in interface CoreNLPProtos.DependencyGraphOrBuilderpublic int getNodeCount()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;getNodeCount in interface CoreNLPProtos.DependencyGraphOrBuilderpublic CoreNLPProtos.DependencyGraph.Node getNode(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;getNode in interface CoreNLPProtos.DependencyGraphOrBuilderpublic CoreNLPProtos.DependencyGraph.NodeOrBuilder getNodeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1;getNodeOrBuilder in interface CoreNLPProtos.DependencyGraphOrBuilderpublic java.util.List<CoreNLPProtos.DependencyGraph.Edge> getEdgeList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;getEdgeList in interface CoreNLPProtos.DependencyGraphOrBuilderpublic java.util.List<? extends CoreNLPProtos.DependencyGraph.EdgeOrBuilder> getEdgeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;getEdgeOrBuilderList in interface CoreNLPProtos.DependencyGraphOrBuilderpublic int getEdgeCount()
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;getEdgeCount in interface CoreNLPProtos.DependencyGraphOrBuilderpublic CoreNLPProtos.DependencyGraph.Edge getEdge(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;getEdge in interface CoreNLPProtos.DependencyGraphOrBuilderpublic CoreNLPProtos.DependencyGraph.EdgeOrBuilder getEdgeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2;getEdgeOrBuilder in interface CoreNLPProtos.DependencyGraphOrBuilderpublic java.util.List<java.lang.Integer> getRootList()
repeated uint32 root = 3 [packed = true];getRootList in interface CoreNLPProtos.DependencyGraphOrBuilderpublic int getRootCount()
repeated uint32 root = 3 [packed = true];getRootCount in interface CoreNLPProtos.DependencyGraphOrBuilderpublic int getRoot(int index)
repeated uint32 root = 3 [packed = true];getRoot in interface CoreNLPProtos.DependencyGraphOrBuilderindex - 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.DependencyGraphOrBuilderpublic 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.DependencyGraphOrBuilderpublic 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.DependencyGraphOrBuilderpublic 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.DependencyGraphOrBuilderpublic 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.DependencyGraphOrBuilderpublic 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.DependencyGraph parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.DependencyGraph parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.DependencyGraph parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.DependencyGraph parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CoreNLPProtos.DependencyGraph.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CoreNLPProtos.DependencyGraph.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CoreNLPProtos.DependencyGraph getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder