Interface GcsDestinationOrBuilder (3.6.0)

public interface GcsDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getObjectUriCase()

public abstract GcsDestination.ObjectUriCase getObjectUriCase()
Returns
Type Description
GcsDestination.ObjectUriCase

getUri()

public abstract String getUri()

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

getUriPrefix()

public abstract String getUriPrefix()

The uri prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only contains assets for that type. <shard number> starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.

string uri_prefix = 2;

Returns
Type Description
String

The uriPrefix.

getUriPrefixBytes()

public abstract ByteString getUriPrefixBytes()

The uri prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only contains assets for that type. <shard number> starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.

string uri_prefix = 2;

Returns
Type Description
ByteString

The bytes for uriPrefix.

hasUri()

public abstract boolean hasUri()

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information.

string uri = 1;

Returns
Type Description
boolean

Whether the uri field is set.

hasUriPrefix()

public abstract boolean hasUriPrefix()

The uri prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only contains assets for that type. <shard number> starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.

string uri_prefix = 2;

Returns
Type Description
boolean

Whether the uriPrefix field is set.