Class Document.Page.Symbol

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.Document.Page.Symbol
All Implemented Interfaces:
Document.Page.SymbolOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Document.Page

public static final class Document.Page.Symbol extends com.google.protobuf.GeneratedMessage implements Document.Page.SymbolOrBuilder
 A detected symbol.
 
Protobuf type google.cloud.documentai.v1.Document.Page.Symbol
See Also:
  • Field Details

    • LAYOUT_FIELD_NUMBER

      public static final int LAYOUT_FIELD_NUMBER
      See Also:
    • DETECTED_LANGUAGES_FIELD_NUMBER

      public static final int DETECTED_LANGUAGES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasLayout

      public boolean hasLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
       [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
      Specified by:
      hasLayout in interface Document.Page.SymbolOrBuilder
      Returns:
      Whether the layout field is set.
    • getLayout

      public Document.Page.Layout getLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
       [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
      Specified by:
      getLayout in interface Document.Page.SymbolOrBuilder
      Returns:
      The layout.
    • getLayoutOrBuilder

      public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
       [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
      Specified by:
      getLayoutOrBuilder in interface Document.Page.SymbolOrBuilder
    • getDetectedLanguagesList

      public List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;
      Specified by:
      getDetectedLanguagesList in interface Document.Page.SymbolOrBuilder
    • getDetectedLanguagesOrBuilderList

      public List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;
      Specified by:
      getDetectedLanguagesOrBuilderList in interface Document.Page.SymbolOrBuilder
    • getDetectedLanguagesCount

      public int getDetectedLanguagesCount()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;
      Specified by:
      getDetectedLanguagesCount in interface Document.Page.SymbolOrBuilder
    • getDetectedLanguages

      public Document.Page.DetectedLanguage getDetectedLanguages(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;
      Specified by:
      getDetectedLanguages in interface Document.Page.SymbolOrBuilder
    • getDetectedLanguagesOrBuilder

      public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2;
      Specified by:
      getDetectedLanguagesOrBuilder in interface Document.Page.SymbolOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Document.Page.Symbol parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Symbol parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Symbol parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Symbol parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Symbol parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Symbol parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Symbol parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page.Symbol parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document.Page.Symbol parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document.Page.Symbol parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page.Symbol parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page.Symbol parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Document.Page.Symbol.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Document.Page.Symbol.Builder newBuilder()
    • newBuilder

      public static Document.Page.Symbol.Builder newBuilder(Document.Page.Symbol prototype)
    • toBuilder

      public Document.Page.Symbol.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Document.Page.Symbol.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Document.Page.Symbol getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Document.Page.Symbol> parser()
    • getParserForType

      public com.google.protobuf.Parser<Document.Page.Symbol> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Document.Page.Symbol getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder