Class DocumentOutputConfig.GcsOutputConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig
All Implemented Interfaces:
DocumentOutputConfig.GcsOutputConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DocumentOutputConfig

public static final class DocumentOutputConfig.GcsOutputConfig extends com.google.protobuf.GeneratedMessage implements DocumentOutputConfig.GcsOutputConfigOrBuilder
 The configuration used when outputting documents.
 
Protobuf type google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig
See Also:
  • Field Details

    • GCS_URI_FIELD_NUMBER

      public static final int GCS_URI_FIELD_NUMBER
      See Also:
    • FIELD_MASK_FIELD_NUMBER

      public static final int FIELD_MASK_FIELD_NUMBER
      See Also:
    • SHARDING_CONFIG_FIELD_NUMBER

      public static final int SHARDING_CONFIG_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
    • getGcsUri

      public String getGcsUri()
       The Cloud Storage uri (a directory) of the output.
       
      string gcs_uri = 1;
      Specified by:
      getGcsUri in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
      Returns:
      The gcsUri.
    • getGcsUriBytes

      public com.google.protobuf.ByteString getGcsUriBytes()
       The Cloud Storage uri (a directory) of the output.
       
      string gcs_uri = 1;
      Specified by:
      getGcsUriBytes in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
      Returns:
      The bytes for gcsUri.
    • hasFieldMask

      public boolean hasFieldMask()
       Specifies which fields to include in the output documents.
       Only supports top level document and pages field so it must be in the
       form of `{document_field_name}` or `pages.{page_field_name}`.
       
      .google.protobuf.FieldMask field_mask = 2;
      Specified by:
      hasFieldMask in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
      Returns:
      Whether the fieldMask field is set.
    • getFieldMask

      public com.google.protobuf.FieldMask getFieldMask()
       Specifies which fields to include in the output documents.
       Only supports top level document and pages field so it must be in the
       form of `{document_field_name}` or `pages.{page_field_name}`.
       
      .google.protobuf.FieldMask field_mask = 2;
      Specified by:
      getFieldMask in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
      Returns:
      The fieldMask.
    • getFieldMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder()
       Specifies which fields to include in the output documents.
       Only supports top level document and pages field so it must be in the
       form of `{document_field_name}` or `pages.{page_field_name}`.
       
      .google.protobuf.FieldMask field_mask = 2;
      Specified by:
      getFieldMaskOrBuilder in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
    • hasShardingConfig

      public boolean hasShardingConfig()
       Specifies the sharding config for the output document.
       
      .google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
      Specified by:
      hasShardingConfig in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
      Returns:
      Whether the shardingConfig field is set.
    • getShardingConfig

       Specifies the sharding config for the output document.
       
      .google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
      Specified by:
      getShardingConfig in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
      Returns:
      The shardingConfig.
    • getShardingConfigOrBuilder

       Specifies the sharding config for the output document.
       
      .google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
      Specified by:
      getShardingConfigOrBuilder in interface DocumentOutputConfig.GcsOutputConfigOrBuilder
    • 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 DocumentOutputConfig.GcsOutputConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DocumentOutputConfig.GcsOutputConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DocumentOutputConfig.GcsOutputConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DocumentOutputConfig.GcsOutputConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DocumentOutputConfig.GcsOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static DocumentOutputConfig.GcsOutputConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static DocumentOutputConfig.GcsOutputConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static DocumentOutputConfig.GcsOutputConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DocumentOutputConfig.GcsOutputConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DocumentOutputConfig.GcsOutputConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DocumentOutputConfig.GcsOutputConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<DocumentOutputConfig.GcsOutputConfig> 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 DocumentOutputConfig.GcsOutputConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder