Interface InputConfigOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      GcsSource getGcsSource()
      The Google Cloud Storage location to read the input from.
      GcsSourceOrBuilder getGcsSourceOrBuilder()
      The Google Cloud Storage location to read the input from.
      String getMimeType()
      Required.
      com.google.protobuf.ByteString getMimeTypeBytes()
      Required.
      InputConfig.SourceCase getSourceCase()  
      boolean hasGcsSource()
      The Google Cloud Storage location to read the input from.
      • 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

      • hasGcsSource

        boolean hasGcsSource()
         The Google Cloud Storage location to read the input from. This must be a
         single file.
         
        .google.cloud.documentai.v1beta1.GcsSource gcs_source = 1;
        Returns:
        Whether the gcsSource field is set.
      • getGcsSource

        GcsSource getGcsSource()
         The Google Cloud Storage location to read the input from. This must be a
         single file.
         
        .google.cloud.documentai.v1beta1.GcsSource gcs_source = 1;
        Returns:
        The gcsSource.
      • getGcsSourceOrBuilder

        GcsSourceOrBuilder getGcsSourceOrBuilder()
         The Google Cloud Storage location to read the input from. This must be a
         single file.
         
        .google.cloud.documentai.v1beta1.GcsSource gcs_source = 1;
      • getMimeType

        String getMimeType()
         Required. Mimetype of the input. Current supported mimetypes are
         application/pdf, image/tiff, and image/gif.
         
        string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The mimeType.
      • getMimeTypeBytes

        com.google.protobuf.ByteString getMimeTypeBytes()
         Required. Mimetype of the input. Current supported mimetypes are
         application/pdf, image/tiff, and image/gif.
         
        string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for mimeType.