Package com.google.cloud.asset.v1p7beta1
Interface GcsDestinationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GcsDestination,GcsDestination.Builder
public interface GcsDestinationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GcsDestination.ObjectUriCasegetObjectUriCase()StringgetUri()The URI of the Cloud Storage object.com.google.protobuf.ByteStringgetUriBytes()The URI of the Cloud Storage object.StringgetUriPrefix()The URI prefix of all generated Cloud Storage objects.com.google.protobuf.ByteStringgetUriPrefixBytes()The URI prefix of all generated Cloud Storage objects.booleanhasUri()The URI of the Cloud Storage object.booleanhasUriPrefix()The URI prefix of all generated Cloud Storage objects.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasUri
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](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.
string uri = 1;- Returns:
- Whether the uri field is set.
-
getUri
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](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.
string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.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](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.
string uri = 1;- Returns:
- The bytes for uri.
-
hasUriPrefix
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:
- Whether the uriPrefix field is set.
-
getUriPrefix
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:
- The uriPrefix.
-
getUriPrefixBytes
com.google.protobuf.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:
- The bytes for uriPrefix.
-
getObjectUriCase
GcsDestination.ObjectUriCase getObjectUriCase()
-
-