Interface ImportAssetsRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The file contains all assets information to be imported
    com.google.protobuf.ByteString
    The file contains all assets information to be imported
    Required.
    com.google.protobuf.ByteString
    Required.
     
    boolean
    The file contains all assets information to be imported

    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

    • hasAssetsGcsUri

      boolean hasAssetsGcsUri()
       The file contains all assets information to be imported.
       * The file is in JSONL format.
       * Each line corresponding to one asset.
       * Each line will be converted into InputImageAsset proto.
       
      string assets_gcs_uri = 2;
      Returns:
      Whether the assetsGcsUri field is set.
    • getAssetsGcsUri

      String getAssetsGcsUri()
       The file contains all assets information to be imported.
       * The file is in JSONL format.
       * Each line corresponding to one asset.
       * Each line will be converted into InputImageAsset proto.
       
      string assets_gcs_uri = 2;
      Returns:
      The assetsGcsUri.
    • getAssetsGcsUriBytes

      com.google.protobuf.ByteString getAssetsGcsUriBytes()
       The file contains all assets information to be imported.
       * The file is in JSONL format.
       * Each line corresponding to one asset.
       * Each line will be converted into InputImageAsset proto.
       
      string assets_gcs_uri = 2;
      Returns:
      The bytes for assetsGcsUri.
    • getParent

      String getParent()
       Required. The parent corpus resource where the assets will be imported.
       Format:
       `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent corpus resource where the assets will be imported.
       Format:
       `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getSourceCase