Package com.google.cloud.visionai.v1
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 TypeMethodDescriptionThe file contains all assets information to be importedcom.google.protobuf.ByteStringThe file contains all assets information to be importedRequired.com.google.protobuf.ByteStringRequired.booleanThe file contains all assets information to be importedMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
ImportAssetsRequest.SourceCase getSourceCase()
-