public interface GcsDestinationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |