Interface ImportAssetsRequestOrBuilder (0.3.0)

public interface ImportAssetsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetsGcsUri()

public abstract 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
Type Description
String

The assetsGcsUri.

getAssetsGcsUriBytes()

public abstract 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
Type Description
ByteString

The bytes for assetsGcsUri.

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportAssetsRequest.SourceCase getSourceCase()
Returns
Type Description
ImportAssetsRequest.SourceCase

hasAssetsGcsUri()

public abstract 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
Type Description
boolean

Whether the assetsGcsUri field is set.