Interface DependencyEdgeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DependencyEdge, DependencyEdge.Builder

@Generated public interface DependencyEdgeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Represents the head of this token in the dependency tree.
    The parse label for the token.
    int
    The parse label for the token.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getHeadTokenIndex

      int getHeadTokenIndex()
       Represents the head of this token in the dependency tree.
       This is the index of the token which has an arc going to this token.
       The index is the position of the token in the array of tokens returned
       by the API method. If this token is a root token, then the
       `head_token_index` is its own index.
       
      int32 head_token_index = 1;
      Returns:
      The headTokenIndex.
    • getLabelValue

      int getLabelValue()
       The parse label for the token.
       
      .google.cloud.language.v1.DependencyEdge.Label label = 2;
      Returns:
      The enum numeric value on the wire for label.
    • getLabel

       The parse label for the token.
       
      .google.cloud.language.v1.DependencyEdge.Label label = 2;
      Returns:
      The label.