Interface RawDocumentOrBuilder

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

    public interface RawDocumentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getContent()
      Inline document content.
      String getMimeType()
      An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1.RawDocument.content].
      com.google.protobuf.ByteString getMimeTypeBytes()
      An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1.RawDocument.content].
      • 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 Detail

      • getContent

        com.google.protobuf.ByteString getContent()
         Inline document content.
         
        bytes content = 1;
        Returns:
        The content.
      • getMimeType

        String getMimeType()
         An IANA MIME type (RFC6838) indicating the nature and format of the
         [content][google.cloud.documentai.v1.RawDocument.content].
         
        string mime_type = 2;
        Returns:
        The mimeType.
      • getMimeTypeBytes

        com.google.protobuf.ByteString getMimeTypeBytes()
         An IANA MIME type (RFC6838) indicating the nature and format of the
         [content][google.cloud.documentai.v1.RawDocument.content].
         
        string mime_type = 2;
        Returns:
        The bytes for mimeType.