public static final class Bucket.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder> implements BucketOrBuilder
A bucket.Protobuf type
google.storage.v2.Bucket| Modifier and Type | Method and Description |
|---|---|
Bucket.Builder |
addAcl(BucketAccessControl.Builder builderForValue)
Access controls on the bucket.
|
Bucket.Builder |
addAcl(BucketAccessControl value)
Access controls on the bucket.
|
Bucket.Builder |
addAcl(int index,
BucketAccessControl.Builder builderForValue)
Access controls on the bucket.
|
Bucket.Builder |
addAcl(int index,
BucketAccessControl value)
Access controls on the bucket.
|
BucketAccessControl.Builder |
addAclBuilder()
Access controls on the bucket.
|
BucketAccessControl.Builder |
addAclBuilder(int index)
Access controls on the bucket.
|
Bucket.Builder |
addAllAcl(Iterable<? extends BucketAccessControl> values)
Access controls on the bucket.
|
Bucket.Builder |
addAllCors(Iterable<? extends Bucket.Cors> values)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
addAllDefaultObjectAcl(Iterable<? extends ObjectAccessControl> values)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
addCors(Bucket.Cors.Builder builderForValue)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
addCors(Bucket.Cors value)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
addCors(int index,
Bucket.Cors.Builder builderForValue)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
addCors(int index,
Bucket.Cors value)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Cors.Builder |
addCorsBuilder()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Cors.Builder |
addCorsBuilder(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
addDefaultObjectAcl(int index,
ObjectAccessControl.Builder builderForValue)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
addDefaultObjectAcl(int index,
ObjectAccessControl value)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
addDefaultObjectAcl(ObjectAccessControl.Builder builderForValue)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
addDefaultObjectAcl(ObjectAccessControl value)
Default access controls to apply to new objects when no ACL is provided.
|
ObjectAccessControl.Builder |
addDefaultObjectAclBuilder()
Default access controls to apply to new objects when no ACL is provided.
|
ObjectAccessControl.Builder |
addDefaultObjectAclBuilder(int index)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket |
build() |
Bucket |
buildPartial() |
Bucket.Builder |
clear() |
Bucket.Builder |
clearAcl()
Access controls on the bucket.
|
Bucket.Builder |
clearAutoclass()
The bucket's Autoclass configuration.
|
Bucket.Builder |
clearBilling()
The bucket's billing config.
|
Bucket.Builder |
clearBucketId()
Output only.
|
Bucket.Builder |
clearCors()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
clearCreateTime()
Output only.
|
Bucket.Builder |
clearCustomPlacementConfig()
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
Bucket.Builder |
clearDefaultEventBasedHold()
The default value for event-based hold on newly created objects in this
bucket.
|
Bucket.Builder |
clearDefaultObjectAcl()
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
clearEncryption()
Encryption config for a bucket.
|
Bucket.Builder |
clearEtag()
The etag of the bucket.
|
Bucket.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Bucket.Builder |
clearIamConfig()
The bucket's IAM config.
|
Bucket.Builder |
clearLabels() |
Bucket.Builder |
clearLifecycle()
The bucket's lifecycle config.
|
Bucket.Builder |
clearLocation()
Immutable.
|
Bucket.Builder |
clearLocationType()
Output only.
|
Bucket.Builder |
clearLogging()
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
Bucket.Builder |
clearMetageneration()
Output only.
|
Bucket.Builder |
clearName()
Immutable.
|
Bucket.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Bucket.Builder |
clearOwner()
Output only.
|
Bucket.Builder |
clearProject()
Immutable.
|
Bucket.Builder |
clearRetentionPolicy()
The bucket's retention policy.
|
Bucket.Builder |
clearRpo()
The recovery point objective for cross-region replication of the bucket.
|
Bucket.Builder |
clearSatisfiesPzs()
Reserved for future use.
|
Bucket.Builder |
clearStorageClass()
The bucket's default storage class, used whenever no storageClass is
specified for a newly-created object.
|
Bucket.Builder |
clearUpdateTime()
Output only.
|
Bucket.Builder |
clearVersioning()
The bucket's versioning config.
|
Bucket.Builder |
clearWebsite()
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
Bucket.Builder |
clone() |
boolean |
containsLabels(String key)
User-provided labels, in key/value pairs.
|
BucketAccessControl |
getAcl(int index)
Access controls on the bucket.
|
BucketAccessControl.Builder |
getAclBuilder(int index)
Access controls on the bucket.
|
List<BucketAccessControl.Builder> |
getAclBuilderList()
Access controls on the bucket.
|
int |
getAclCount()
Access controls on the bucket.
|
List<BucketAccessControl> |
getAclList()
Access controls on the bucket.
|
BucketAccessControlOrBuilder |
getAclOrBuilder(int index)
Access controls on the bucket.
|
List<? extends BucketAccessControlOrBuilder> |
getAclOrBuilderList()
Access controls on the bucket.
|
Bucket.Autoclass |
getAutoclass()
The bucket's Autoclass configuration.
|
Bucket.Autoclass.Builder |
getAutoclassBuilder()
The bucket's Autoclass configuration.
|
Bucket.AutoclassOrBuilder |
getAutoclassOrBuilder()
The bucket's Autoclass configuration.
|
Bucket.Billing |
getBilling()
The bucket's billing config.
|
Bucket.Billing.Builder |
getBillingBuilder()
The bucket's billing config.
|
Bucket.BillingOrBuilder |
getBillingOrBuilder()
The bucket's billing config.
|
String |
getBucketId()
Output only.
|
com.google.protobuf.ByteString |
getBucketIdBytes()
Output only.
|
Bucket.Cors |
getCors(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Cors.Builder |
getCorsBuilder(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
List<Bucket.Cors.Builder> |
getCorsBuilderList()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
int |
getCorsCount()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
List<Bucket.Cors> |
getCorsList()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.CorsOrBuilder |
getCorsOrBuilder(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
List<? extends Bucket.CorsOrBuilder> |
getCorsOrBuilderList()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Bucket.CustomPlacementConfig |
getCustomPlacementConfig()
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
Bucket.CustomPlacementConfig.Builder |
getCustomPlacementConfigBuilder()
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
Bucket.CustomPlacementConfigOrBuilder |
getCustomPlacementConfigOrBuilder()
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
boolean |
getDefaultEventBasedHold()
The default value for event-based hold on newly created objects in this
bucket.
|
Bucket |
getDefaultInstanceForType() |
ObjectAccessControl |
getDefaultObjectAcl(int index)
Default access controls to apply to new objects when no ACL is provided.
|
ObjectAccessControl.Builder |
getDefaultObjectAclBuilder(int index)
Default access controls to apply to new objects when no ACL is provided.
|
List<ObjectAccessControl.Builder> |
getDefaultObjectAclBuilderList()
Default access controls to apply to new objects when no ACL is provided.
|
int |
getDefaultObjectAclCount()
Default access controls to apply to new objects when no ACL is provided.
|
List<ObjectAccessControl> |
getDefaultObjectAclList()
Default access controls to apply to new objects when no ACL is provided.
|
ObjectAccessControlOrBuilder |
getDefaultObjectAclOrBuilder(int index)
Default access controls to apply to new objects when no ACL is provided.
|
List<? extends ObjectAccessControlOrBuilder> |
getDefaultObjectAclOrBuilderList()
Default access controls to apply to new objects when no ACL is provided.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Bucket.Encryption |
getEncryption()
Encryption config for a bucket.
|
Bucket.Encryption.Builder |
getEncryptionBuilder()
Encryption config for a bucket.
|
Bucket.EncryptionOrBuilder |
getEncryptionOrBuilder()
Encryption config for a bucket.
|
String |
getEtag()
The etag of the bucket.
|
com.google.protobuf.ByteString |
getEtagBytes()
The etag of the bucket.
|
Bucket.IamConfig |
getIamConfig()
The bucket's IAM config.
|
Bucket.IamConfig.Builder |
getIamConfigBuilder()
The bucket's IAM config.
|
Bucket.IamConfigOrBuilder |
getIamConfigOrBuilder()
The bucket's IAM config.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
User-provided labels, in key/value pairs.
|
Map<String,String> |
getLabelsMap()
User-provided labels, in key/value pairs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
User-provided labels, in key/value pairs.
|
String |
getLabelsOrThrow(String key)
User-provided labels, in key/value pairs.
|
Bucket.Lifecycle |
getLifecycle()
The bucket's lifecycle config.
|
Bucket.Lifecycle.Builder |
getLifecycleBuilder()
The bucket's lifecycle config.
|
Bucket.LifecycleOrBuilder |
getLifecycleOrBuilder()
The bucket's lifecycle config.
|
String |
getLocation()
Immutable.
|
com.google.protobuf.ByteString |
getLocationBytes()
Immutable.
|
String |
getLocationType()
Output only.
|
com.google.protobuf.ByteString |
getLocationTypeBytes()
Output only.
|
Bucket.Logging |
getLogging()
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
Bucket.Logging.Builder |
getLoggingBuilder()
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
Bucket.LoggingOrBuilder |
getLoggingOrBuilder()
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
long |
getMetageneration()
Output only.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
Owner |
getOwner()
Output only.
|
Owner.Builder |
getOwnerBuilder()
Output only.
|
OwnerOrBuilder |
getOwnerOrBuilder()
Output only.
|
String |
getProject()
Immutable.
|
com.google.protobuf.ByteString |
getProjectBytes()
Immutable.
|
Bucket.RetentionPolicy |
getRetentionPolicy()
The bucket's retention policy.
|
Bucket.RetentionPolicy.Builder |
getRetentionPolicyBuilder()
The bucket's retention policy.
|
Bucket.RetentionPolicyOrBuilder |
getRetentionPolicyOrBuilder()
The bucket's retention policy.
|
String |
getRpo()
The recovery point objective for cross-region replication of the bucket.
|
com.google.protobuf.ByteString |
getRpoBytes()
The recovery point objective for cross-region replication of the bucket.
|
boolean |
getSatisfiesPzs()
Reserved for future use.
|
String |
getStorageClass()
The bucket's default storage class, used whenever no storageClass is
specified for a newly-created object.
|
com.google.protobuf.ByteString |
getStorageClassBytes()
The bucket's default storage class, used whenever no storageClass is
specified for a newly-created object.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
Bucket.Versioning |
getVersioning()
The bucket's versioning config.
|
Bucket.Versioning.Builder |
getVersioningBuilder()
The bucket's versioning config.
|
Bucket.VersioningOrBuilder |
getVersioningOrBuilder()
The bucket's versioning config.
|
Bucket.Website |
getWebsite()
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
Bucket.Website.Builder |
getWebsiteBuilder()
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
Bucket.WebsiteOrBuilder |
getWebsiteOrBuilder()
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
boolean |
hasAutoclass()
The bucket's Autoclass configuration.
|
boolean |
hasBilling()
The bucket's billing config.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasCustomPlacementConfig()
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
boolean |
hasEncryption()
Encryption config for a bucket.
|
boolean |
hasIamConfig()
The bucket's IAM config.
|
boolean |
hasLifecycle()
The bucket's lifecycle config.
|
boolean |
hasLogging()
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
boolean |
hasOwner()
Output only.
|
boolean |
hasRetentionPolicy()
The bucket's retention policy.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVersioning()
The bucket's versioning config.
|
boolean |
hasWebsite()
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Bucket.Builder |
mergeAutoclass(Bucket.Autoclass value)
The bucket's Autoclass configuration.
|
Bucket.Builder |
mergeBilling(Bucket.Billing value)
The bucket's billing config.
|
Bucket.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Bucket.Builder |
mergeCustomPlacementConfig(Bucket.CustomPlacementConfig value)
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
Bucket.Builder |
mergeEncryption(Bucket.Encryption value)
Encryption config for a bucket.
|
Bucket.Builder |
mergeFrom(Bucket other) |
Bucket.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Bucket.Builder |
mergeFrom(com.google.protobuf.Message other) |
Bucket.Builder |
mergeIamConfig(Bucket.IamConfig value)
The bucket's IAM config.
|
Bucket.Builder |
mergeLifecycle(Bucket.Lifecycle value)
The bucket's lifecycle config.
|
Bucket.Builder |
mergeLogging(Bucket.Logging value)
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
Bucket.Builder |
mergeOwner(Owner value)
Output only.
|
Bucket.Builder |
mergeRetentionPolicy(Bucket.RetentionPolicy value)
The bucket's retention policy.
|
Bucket.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Bucket.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Bucket.Builder |
mergeVersioning(Bucket.Versioning value)
The bucket's versioning config.
|
Bucket.Builder |
mergeWebsite(Bucket.Website value)
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
Bucket.Builder |
putAllLabels(Map<String,String> values)
User-provided labels, in key/value pairs.
|
Bucket.Builder |
putLabels(String key,
String value)
User-provided labels, in key/value pairs.
|
Bucket.Builder |
removeAcl(int index)
Access controls on the bucket.
|
Bucket.Builder |
removeCors(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
removeDefaultObjectAcl(int index)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
removeLabels(String key)
User-provided labels, in key/value pairs.
|
Bucket.Builder |
setAcl(int index,
BucketAccessControl.Builder builderForValue)
Access controls on the bucket.
|
Bucket.Builder |
setAcl(int index,
BucketAccessControl value)
Access controls on the bucket.
|
Bucket.Builder |
setAutoclass(Bucket.Autoclass.Builder builderForValue)
The bucket's Autoclass configuration.
|
Bucket.Builder |
setAutoclass(Bucket.Autoclass value)
The bucket's Autoclass configuration.
|
Bucket.Builder |
setBilling(Bucket.Billing.Builder builderForValue)
The bucket's billing config.
|
Bucket.Builder |
setBilling(Bucket.Billing value)
The bucket's billing config.
|
Bucket.Builder |
setBucketId(String value)
Output only.
|
Bucket.Builder |
setBucketIdBytes(com.google.protobuf.ByteString value)
Output only.
|
Bucket.Builder |
setCors(int index,
Bucket.Cors.Builder builderForValue)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
setCors(int index,
Bucket.Cors value)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
(CORS) config.
|
Bucket.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Bucket.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Bucket.Builder |
setCustomPlacementConfig(Bucket.CustomPlacementConfig.Builder builderForValue)
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
Bucket.Builder |
setCustomPlacementConfig(Bucket.CustomPlacementConfig value)
Configuration that, if present, specifies the data placement for a
[https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
|
Bucket.Builder |
setDefaultEventBasedHold(boolean value)
The default value for event-based hold on newly created objects in this
bucket.
|
Bucket.Builder |
setDefaultObjectAcl(int index,
ObjectAccessControl.Builder builderForValue)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
setDefaultObjectAcl(int index,
ObjectAccessControl value)
Default access controls to apply to new objects when no ACL is provided.
|
Bucket.Builder |
setEncryption(Bucket.Encryption.Builder builderForValue)
Encryption config for a bucket.
|
Bucket.Builder |
setEncryption(Bucket.Encryption value)
Encryption config for a bucket.
|
Bucket.Builder |
setEtag(String value)
The etag of the bucket.
|
Bucket.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
The etag of the bucket.
|
Bucket.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket.Builder |
setIamConfig(Bucket.IamConfig.Builder builderForValue)
The bucket's IAM config.
|
Bucket.Builder |
setIamConfig(Bucket.IamConfig value)
The bucket's IAM config.
|
Bucket.Builder |
setLifecycle(Bucket.Lifecycle.Builder builderForValue)
The bucket's lifecycle config.
|
Bucket.Builder |
setLifecycle(Bucket.Lifecycle value)
The bucket's lifecycle config.
|
Bucket.Builder |
setLocation(String value)
Immutable.
|
Bucket.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
Immutable.
|
Bucket.Builder |
setLocationType(String value)
Output only.
|
Bucket.Builder |
setLocationTypeBytes(com.google.protobuf.ByteString value)
Output only.
|
Bucket.Builder |
setLogging(Bucket.Logging.Builder builderForValue)
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
Bucket.Builder |
setLogging(Bucket.Logging value)
The bucket's logging config, which defines the destination bucket
and name prefix (if any) for the current bucket's logs.
|
Bucket.Builder |
setMetageneration(long value)
Output only.
|
Bucket.Builder |
setName(String value)
Immutable.
|
Bucket.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
Bucket.Builder |
setOwner(Owner.Builder builderForValue)
Output only.
|
Bucket.Builder |
setOwner(Owner value)
Output only.
|
Bucket.Builder |
setProject(String value)
Immutable.
|
Bucket.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Immutable.
|
Bucket.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Bucket.Builder |
setRetentionPolicy(Bucket.RetentionPolicy.Builder builderForValue)
The bucket's retention policy.
|
Bucket.Builder |
setRetentionPolicy(Bucket.RetentionPolicy value)
The bucket's retention policy.
|
Bucket.Builder |
setRpo(String value)
The recovery point objective for cross-region replication of the bucket.
|
Bucket.Builder |
setRpoBytes(com.google.protobuf.ByteString value)
The recovery point objective for cross-region replication of the bucket.
|
Bucket.Builder |
setSatisfiesPzs(boolean value)
Reserved for future use.
|
Bucket.Builder |
setStorageClass(String value)
The bucket's default storage class, used whenever no storageClass is
specified for a newly-created object.
|
Bucket.Builder |
setStorageClassBytes(com.google.protobuf.ByteString value)
The bucket's default storage class, used whenever no storageClass is
specified for a newly-created object.
|
Bucket.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Bucket.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Bucket.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Bucket.Builder |
setVersioning(Bucket.Versioning.Builder builderForValue)
The bucket's versioning config.
|
Bucket.Builder |
setVersioning(Bucket.Versioning value)
The bucket's versioning config.
|
Bucket.Builder |
setWebsite(Bucket.Website.Builder builderForValue)
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
Bucket.Builder |
setWebsite(Bucket.Website value)
The bucket's website config, controlling how the service behaves
when accessing bucket contents as a web site.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Bucket build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Bucket buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Bucket.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Bucket.Builder>public Bucket.Builder mergeFrom(Bucket other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public Bucket.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Bucket.Builder>IOExceptionpublic String getName()
Immutable. The name of the bucket.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface BucketOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The name of the bucket.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface BucketOrBuilderpublic Bucket.Builder setName(String value)
Immutable. The name of the bucket.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public Bucket.Builder clearName()
Immutable. The name of the bucket.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public Bucket.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. The name of the bucket.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public String getBucketId()
Output only. The user-chosen part of the bucket name. The `{bucket}`
portion of the `name` field. For globally unique buckets, this is equal to
the "bucket name" of other Cloud Storage APIs. Example: "pub".
string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getBucketId in interface BucketOrBuilderpublic com.google.protobuf.ByteString getBucketIdBytes()
Output only. The user-chosen part of the bucket name. The `{bucket}`
portion of the `name` field. For globally unique buckets, this is equal to
the "bucket name" of other Cloud Storage APIs. Example: "pub".
string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getBucketIdBytes in interface BucketOrBuilderpublic Bucket.Builder setBucketId(String value)
Output only. The user-chosen part of the bucket name. The `{bucket}`
portion of the `name` field. For globally unique buckets, this is equal to
the "bucket name" of other Cloud Storage APIs. Example: "pub".
string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bucketId to set.public Bucket.Builder clearBucketId()
Output only. The user-chosen part of the bucket name. The `{bucket}`
portion of the `name` field. For globally unique buckets, this is equal to
the "bucket name" of other Cloud Storage APIs. Example: "pub".
string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Bucket.Builder setBucketIdBytes(com.google.protobuf.ByteString value)
Output only. The user-chosen part of the bucket name. The `{bucket}`
portion of the `name` field. For globally unique buckets, this is equal to
the "bucket name" of other Cloud Storage APIs. Example: "pub".
string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for bucketId to set.public String getEtag()
The etag of the bucket. If included in the metadata of an UpdateBucketRequest, the operation will only be performed if the etag matches that of the bucket.
string etag = 29;getEtag in interface BucketOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
The etag of the bucket. If included in the metadata of an UpdateBucketRequest, the operation will only be performed if the etag matches that of the bucket.
string etag = 29;getEtagBytes in interface BucketOrBuilderpublic Bucket.Builder setEtag(String value)
The etag of the bucket. If included in the metadata of an UpdateBucketRequest, the operation will only be performed if the etag matches that of the bucket.
string etag = 29;value - The etag to set.public Bucket.Builder clearEtag()
The etag of the bucket. If included in the metadata of an UpdateBucketRequest, the operation will only be performed if the etag matches that of the bucket.
string etag = 29;public Bucket.Builder setEtagBytes(com.google.protobuf.ByteString value)
The etag of the bucket. If included in the metadata of an UpdateBucketRequest, the operation will only be performed if the etag matches that of the bucket.
string etag = 29;value - The bytes for etag to set.public String getProject()
Immutable. The project which owns this bucket, in the format of
"projects/{projectIdentifier}".
{projectIdentifier} can be the project ID or project number.
string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getProject in interface BucketOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
Immutable. The project which owns this bucket, in the format of
"projects/{projectIdentifier}".
{projectIdentifier} can be the project ID or project number.
string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getProjectBytes in interface BucketOrBuilderpublic Bucket.Builder setProject(String value)
Immutable. The project which owns this bucket, in the format of
"projects/{projectIdentifier}".
{projectIdentifier} can be the project ID or project number.
string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value - The project to set.public Bucket.Builder clearProject()
Immutable. The project which owns this bucket, in the format of
"projects/{projectIdentifier}".
{projectIdentifier} can be the project ID or project number.
string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
public Bucket.Builder setProjectBytes(com.google.protobuf.ByteString value)
Immutable. The project which owns this bucket, in the format of
"projects/{projectIdentifier}".
{projectIdentifier} can be the project ID or project number.
string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value - The bytes for project to set.public long getMetageneration()
Output only. The metadata generation of this bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getMetageneration in interface BucketOrBuilderpublic Bucket.Builder setMetageneration(long value)
Output only. The metadata generation of this bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The metageneration to set.public Bucket.Builder clearMetageneration()
Output only. The metadata generation of this bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getLocation()
Immutable. The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to `US`. See the [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's guide] for the authoritative list. Attempting to update this field after the bucket is created will result in an error.
string location = 5 [(.google.api.field_behavior) = IMMUTABLE];getLocation in interface BucketOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
Immutable. The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to `US`. See the [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's guide] for the authoritative list. Attempting to update this field after the bucket is created will result in an error.
string location = 5 [(.google.api.field_behavior) = IMMUTABLE];getLocationBytes in interface BucketOrBuilderpublic Bucket.Builder setLocation(String value)
Immutable. The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to `US`. See the [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's guide] for the authoritative list. Attempting to update this field after the bucket is created will result in an error.
string location = 5 [(.google.api.field_behavior) = IMMUTABLE];value - The location to set.public Bucket.Builder clearLocation()
Immutable. The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to `US`. See the [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's guide] for the authoritative list. Attempting to update this field after the bucket is created will result in an error.
string location = 5 [(.google.api.field_behavior) = IMMUTABLE];public Bucket.Builder setLocationBytes(com.google.protobuf.ByteString value)
Immutable. The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to `US`. See the [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's guide] for the authoritative list. Attempting to update this field after the bucket is created will result in an error.
string location = 5 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for location to set.public String getLocationType()
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getLocationType in interface BucketOrBuilderpublic com.google.protobuf.ByteString getLocationTypeBytes()
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getLocationTypeBytes in interface BucketOrBuilderpublic Bucket.Builder setLocationType(String value)
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The locationType to set.public Bucket.Builder clearLocationType()
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public Bucket.Builder setLocationTypeBytes(com.google.protobuf.ByteString value)
Output only. The location type of the bucket (region, dual-region, multi-region, etc).
string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for locationType to set.public String getStorageClass()
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. If this value is not specified when the bucket is created, it will default to `STANDARD`. For more information, see https://developers.google.com/storage/docs/storage-classes.
string storage_class = 7;getStorageClass in interface BucketOrBuilderpublic com.google.protobuf.ByteString getStorageClassBytes()
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. If this value is not specified when the bucket is created, it will default to `STANDARD`. For more information, see https://developers.google.com/storage/docs/storage-classes.
string storage_class = 7;getStorageClassBytes in interface BucketOrBuilderpublic Bucket.Builder setStorageClass(String value)
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. If this value is not specified when the bucket is created, it will default to `STANDARD`. For more information, see https://developers.google.com/storage/docs/storage-classes.
string storage_class = 7;value - The storageClass to set.public Bucket.Builder clearStorageClass()
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. If this value is not specified when the bucket is created, it will default to `STANDARD`. For more information, see https://developers.google.com/storage/docs/storage-classes.
string storage_class = 7;public Bucket.Builder setStorageClassBytes(com.google.protobuf.ByteString value)
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. If this value is not specified when the bucket is created, it will default to `STANDARD`. For more information, see https://developers.google.com/storage/docs/storage-classes.
string storage_class = 7;value - The bytes for storageClass to set.public String getRpo()
The recovery point objective for cross-region replication of the bucket. Applicable only for dual- and multi-region buckets. "DEFAULT" uses default replication. "ASYNC_TURBO" enables turbo replication, valid for dual-region buckets only. If rpo is not specified when the bucket is created, it defaults to "DEFAULT". For more information, see https://cloud.google.com/storage/docs/turbo-replication.
string rpo = 27;getRpo in interface BucketOrBuilderpublic com.google.protobuf.ByteString getRpoBytes()
The recovery point objective for cross-region replication of the bucket. Applicable only for dual- and multi-region buckets. "DEFAULT" uses default replication. "ASYNC_TURBO" enables turbo replication, valid for dual-region buckets only. If rpo is not specified when the bucket is created, it defaults to "DEFAULT". For more information, see https://cloud.google.com/storage/docs/turbo-replication.
string rpo = 27;getRpoBytes in interface BucketOrBuilderpublic Bucket.Builder setRpo(String value)
The recovery point objective for cross-region replication of the bucket. Applicable only for dual- and multi-region buckets. "DEFAULT" uses default replication. "ASYNC_TURBO" enables turbo replication, valid for dual-region buckets only. If rpo is not specified when the bucket is created, it defaults to "DEFAULT". For more information, see https://cloud.google.com/storage/docs/turbo-replication.
string rpo = 27;value - The rpo to set.public Bucket.Builder clearRpo()
The recovery point objective for cross-region replication of the bucket. Applicable only for dual- and multi-region buckets. "DEFAULT" uses default replication. "ASYNC_TURBO" enables turbo replication, valid for dual-region buckets only. If rpo is not specified when the bucket is created, it defaults to "DEFAULT". For more information, see https://cloud.google.com/storage/docs/turbo-replication.
string rpo = 27;public Bucket.Builder setRpoBytes(com.google.protobuf.ByteString value)
The recovery point objective for cross-region replication of the bucket. Applicable only for dual- and multi-region buckets. "DEFAULT" uses default replication. "ASYNC_TURBO" enables turbo replication, valid for dual-region buckets only. If rpo is not specified when the bucket is created, it defaults to "DEFAULT". For more information, see https://cloud.google.com/storage/docs/turbo-replication.
string rpo = 27;value - The bytes for rpo to set.public List<BucketAccessControl> getAclList()
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;getAclList in interface BucketOrBuilderpublic int getAclCount()
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;getAclCount in interface BucketOrBuilderpublic BucketAccessControl getAcl(int index)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;getAcl in interface BucketOrBuilderpublic Bucket.Builder setAcl(int index, BucketAccessControl value)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder setAcl(int index, BucketAccessControl.Builder builderForValue)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder addAcl(BucketAccessControl value)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder addAcl(int index, BucketAccessControl value)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder addAcl(BucketAccessControl.Builder builderForValue)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder addAcl(int index, BucketAccessControl.Builder builderForValue)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder addAllAcl(Iterable<? extends BucketAccessControl> values)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder clearAcl()
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public Bucket.Builder removeAcl(int index)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public BucketAccessControl.Builder getAclBuilder(int index)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public BucketAccessControlOrBuilder getAclOrBuilder(int index)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;getAclOrBuilder in interface BucketOrBuilderpublic List<? extends BucketAccessControlOrBuilder> getAclOrBuilderList()
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;getAclOrBuilderList in interface BucketOrBuilderpublic BucketAccessControl.Builder addAclBuilder()
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public BucketAccessControl.Builder addAclBuilder(int index)
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public List<BucketAccessControl.Builder> getAclBuilderList()
Access controls on the bucket. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.BucketAccessControl acl = 8;public List<ObjectAccessControl> getDefaultObjectAclList()
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;getDefaultObjectAclList in interface BucketOrBuilderpublic int getDefaultObjectAclCount()
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;getDefaultObjectAclCount in interface BucketOrBuilderpublic ObjectAccessControl getDefaultObjectAcl(int index)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;getDefaultObjectAcl in interface BucketOrBuilderpublic Bucket.Builder setDefaultObjectAcl(int index, ObjectAccessControl value)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder setDefaultObjectAcl(int index, ObjectAccessControl.Builder builderForValue)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder addDefaultObjectAcl(ObjectAccessControl value)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder addDefaultObjectAcl(int index, ObjectAccessControl value)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder addDefaultObjectAcl(ObjectAccessControl.Builder builderForValue)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder addDefaultObjectAcl(int index, ObjectAccessControl.Builder builderForValue)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder addAllDefaultObjectAcl(Iterable<? extends ObjectAccessControl> values)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder clearDefaultObjectAcl()
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public Bucket.Builder removeDefaultObjectAcl(int index)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public ObjectAccessControl.Builder getDefaultObjectAclBuilder(int index)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public ObjectAccessControlOrBuilder getDefaultObjectAclOrBuilder(int index)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;getDefaultObjectAclOrBuilder in interface BucketOrBuilderpublic List<? extends ObjectAccessControlOrBuilder> getDefaultObjectAclOrBuilderList()
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;getDefaultObjectAclOrBuilderList in interface BucketOrBuilderpublic ObjectAccessControl.Builder addDefaultObjectAclBuilder()
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public ObjectAccessControl.Builder addDefaultObjectAclBuilder(int index)
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public List<ObjectAccessControl.Builder> getDefaultObjectAclBuilderList()
Default access controls to apply to new objects when no ACL is provided. If iam_config.uniform_bucket_level_access is enabled on this bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl default_object_acl = 9;public boolean hasLifecycle()
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;hasLifecycle in interface BucketOrBuilderpublic Bucket.Lifecycle getLifecycle()
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;getLifecycle in interface BucketOrBuilderpublic Bucket.Builder setLifecycle(Bucket.Lifecycle value)
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;public Bucket.Builder setLifecycle(Bucket.Lifecycle.Builder builderForValue)
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;public Bucket.Builder mergeLifecycle(Bucket.Lifecycle value)
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;public Bucket.Builder clearLifecycle()
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;public Bucket.Lifecycle.Builder getLifecycleBuilder()
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;public Bucket.LifecycleOrBuilder getLifecycleOrBuilder()
The bucket's lifecycle config. See [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] for more information.
.google.storage.v2.Bucket.Lifecycle lifecycle = 10;getLifecycleOrBuilder in interface BucketOrBuilderpublic boolean hasCreateTime()
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface BucketOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface BucketOrBuilderpublic Bucket.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder clearCreateTime()
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface BucketOrBuilderpublic List<Bucket.Cors> getCorsList()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;getCorsList in interface BucketOrBuilderpublic int getCorsCount()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;getCorsCount in interface BucketOrBuilderpublic Bucket.Cors getCors(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;getCors in interface BucketOrBuilderpublic Bucket.Builder setCors(int index, Bucket.Cors value)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder setCors(int index, Bucket.Cors.Builder builderForValue)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder addCors(Bucket.Cors value)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder addCors(int index, Bucket.Cors value)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder addCors(Bucket.Cors.Builder builderForValue)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder addCors(int index, Bucket.Cors.Builder builderForValue)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder addAllCors(Iterable<? extends Bucket.Cors> values)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder clearCors()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Builder removeCors(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Cors.Builder getCorsBuilder(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.CorsOrBuilder getCorsOrBuilder(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;getCorsOrBuilder in interface BucketOrBuilderpublic List<? extends Bucket.CorsOrBuilder> getCorsOrBuilderList()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;getCorsOrBuilderList in interface BucketOrBuilderpublic Bucket.Cors.Builder addCorsBuilder()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public Bucket.Cors.Builder addCorsBuilder(int index)
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public List<Bucket.Cors.Builder> getCorsBuilderList()
The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] (CORS) config.
repeated .google.storage.v2.Bucket.Cors cors = 12;public boolean hasUpdateTime()
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface BucketOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface BucketOrBuilderpublic Bucket.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder clearUpdateTime()
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The modification time of the bucket. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface BucketOrBuilderpublic boolean getDefaultEventBasedHold()
The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold's release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
bool default_event_based_hold = 14;getDefaultEventBasedHold in interface BucketOrBuilderpublic Bucket.Builder setDefaultEventBasedHold(boolean value)
The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold's release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
bool default_event_based_hold = 14;value - The defaultEventBasedHold to set.public Bucket.Builder clearDefaultEventBasedHold()
The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold's release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
bool default_event_based_hold = 14;public int getLabelsCount()
BucketOrBuilderUser-provided labels, in key/value pairs.
map<string, string> labels = 15;getLabelsCount in interface BucketOrBuilderpublic boolean containsLabels(String key)
User-provided labels, in key/value pairs.
map<string, string> labels = 15;containsLabels in interface BucketOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface BucketOrBuilderpublic Map<String,String> getLabelsMap()
User-provided labels, in key/value pairs.
map<string, string> labels = 15;getLabelsMap in interface BucketOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
User-provided labels, in key/value pairs.
map<string, string> labels = 15;getLabelsOrDefault in interface BucketOrBuilderpublic String getLabelsOrThrow(String key)
User-provided labels, in key/value pairs.
map<string, string> labels = 15;getLabelsOrThrow in interface BucketOrBuilderpublic Bucket.Builder clearLabels()
public Bucket.Builder removeLabels(String key)
User-provided labels, in key/value pairs.
map<string, string> labels = 15;@Deprecated public Map<String,String> getMutableLabels()
public Bucket.Builder putLabels(String key, String value)
User-provided labels, in key/value pairs.
map<string, string> labels = 15;public Bucket.Builder putAllLabels(Map<String,String> values)
User-provided labels, in key/value pairs.
map<string, string> labels = 15;public boolean hasWebsite()
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;hasWebsite in interface BucketOrBuilderpublic Bucket.Website getWebsite()
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;getWebsite in interface BucketOrBuilderpublic Bucket.Builder setWebsite(Bucket.Website value)
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;public Bucket.Builder setWebsite(Bucket.Website.Builder builderForValue)
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;public Bucket.Builder mergeWebsite(Bucket.Website value)
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;public Bucket.Builder clearWebsite()
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;public Bucket.Website.Builder getWebsiteBuilder()
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;public Bucket.WebsiteOrBuilder getWebsiteOrBuilder()
The bucket's website config, controlling how the service behaves when accessing bucket contents as a web site. See the [https://cloud.google.com/storage/docs/static-website][Static Website Examples] for more information.
.google.storage.v2.Bucket.Website website = 16;getWebsiteOrBuilder in interface BucketOrBuilderpublic boolean hasVersioning()
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;hasVersioning in interface BucketOrBuilderpublic Bucket.Versioning getVersioning()
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;getVersioning in interface BucketOrBuilderpublic Bucket.Builder setVersioning(Bucket.Versioning value)
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;public Bucket.Builder setVersioning(Bucket.Versioning.Builder builderForValue)
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;public Bucket.Builder mergeVersioning(Bucket.Versioning value)
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;public Bucket.Builder clearVersioning()
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;public Bucket.Versioning.Builder getVersioningBuilder()
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;public Bucket.VersioningOrBuilder getVersioningOrBuilder()
The bucket's versioning config.
.google.storage.v2.Bucket.Versioning versioning = 17;getVersioningOrBuilder in interface BucketOrBuilderpublic boolean hasLogging()
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;hasLogging in interface BucketOrBuilderpublic Bucket.Logging getLogging()
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;getLogging in interface BucketOrBuilderpublic Bucket.Builder setLogging(Bucket.Logging value)
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;public Bucket.Builder setLogging(Bucket.Logging.Builder builderForValue)
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;public Bucket.Builder mergeLogging(Bucket.Logging value)
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;public Bucket.Builder clearLogging()
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;public Bucket.Logging.Builder getLoggingBuilder()
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;public Bucket.LoggingOrBuilder getLoggingOrBuilder()
The bucket's logging config, which defines the destination bucket and name prefix (if any) for the current bucket's logs.
.google.storage.v2.Bucket.Logging logging = 18;getLoggingOrBuilder in interface BucketOrBuilderpublic boolean hasOwner()
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasOwner in interface BucketOrBuilderpublic Owner getOwner()
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOwner in interface BucketOrBuilderpublic Bucket.Builder setOwner(Owner value)
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder setOwner(Owner.Builder builderForValue)
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder mergeOwner(Owner value)
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Bucket.Builder clearOwner()
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Owner.Builder getOwnerBuilder()
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OwnerOrBuilder getOwnerOrBuilder()
Output only. The owner of the bucket. This is always the project team's owner group.
.google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOwnerOrBuilder in interface BucketOrBuilderpublic boolean hasEncryption()
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;hasEncryption in interface BucketOrBuilderpublic Bucket.Encryption getEncryption()
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;getEncryption in interface BucketOrBuilderpublic Bucket.Builder setEncryption(Bucket.Encryption value)
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;public Bucket.Builder setEncryption(Bucket.Encryption.Builder builderForValue)
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;public Bucket.Builder mergeEncryption(Bucket.Encryption value)
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;public Bucket.Builder clearEncryption()
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;public Bucket.Encryption.Builder getEncryptionBuilder()
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;public Bucket.EncryptionOrBuilder getEncryptionOrBuilder()
Encryption config for a bucket.
.google.storage.v2.Bucket.Encryption encryption = 20;getEncryptionOrBuilder in interface BucketOrBuilderpublic boolean hasBilling()
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;hasBilling in interface BucketOrBuilderpublic Bucket.Billing getBilling()
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;getBilling in interface BucketOrBuilderpublic Bucket.Builder setBilling(Bucket.Billing value)
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;public Bucket.Builder setBilling(Bucket.Billing.Builder builderForValue)
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;public Bucket.Builder mergeBilling(Bucket.Billing value)
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;public Bucket.Builder clearBilling()
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;public Bucket.Billing.Builder getBillingBuilder()
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;public Bucket.BillingOrBuilder getBillingOrBuilder()
The bucket's billing config.
.google.storage.v2.Bucket.Billing billing = 21;getBillingOrBuilder in interface BucketOrBuilderpublic boolean hasRetentionPolicy()
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;hasRetentionPolicy in interface BucketOrBuilderpublic Bucket.RetentionPolicy getRetentionPolicy()
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;getRetentionPolicy in interface BucketOrBuilderpublic Bucket.Builder setRetentionPolicy(Bucket.RetentionPolicy value)
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;public Bucket.Builder setRetentionPolicy(Bucket.RetentionPolicy.Builder builderForValue)
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;public Bucket.Builder mergeRetentionPolicy(Bucket.RetentionPolicy value)
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;public Bucket.Builder clearRetentionPolicy()
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;public Bucket.RetentionPolicy.Builder getRetentionPolicyBuilder()
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;public Bucket.RetentionPolicyOrBuilder getRetentionPolicyOrBuilder()
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
.google.storage.v2.Bucket.RetentionPolicy retention_policy = 22;getRetentionPolicyOrBuilder in interface BucketOrBuilderpublic boolean hasIamConfig()
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;hasIamConfig in interface BucketOrBuilderpublic Bucket.IamConfig getIamConfig()
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;getIamConfig in interface BucketOrBuilderpublic Bucket.Builder setIamConfig(Bucket.IamConfig value)
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;public Bucket.Builder setIamConfig(Bucket.IamConfig.Builder builderForValue)
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;public Bucket.Builder mergeIamConfig(Bucket.IamConfig value)
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;public Bucket.Builder clearIamConfig()
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;public Bucket.IamConfig.Builder getIamConfigBuilder()
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;public Bucket.IamConfigOrBuilder getIamConfigOrBuilder()
The bucket's IAM config.
.google.storage.v2.Bucket.IamConfig iam_config = 23;getIamConfigOrBuilder in interface BucketOrBuilderpublic boolean getSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 25;getSatisfiesPzs in interface BucketOrBuilderpublic Bucket.Builder setSatisfiesPzs(boolean value)
Reserved for future use.
bool satisfies_pzs = 25;value - The satisfiesPzs to set.public Bucket.Builder clearSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 25;public boolean hasCustomPlacementConfig()
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;hasCustomPlacementConfig in interface BucketOrBuilderpublic Bucket.CustomPlacementConfig getCustomPlacementConfig()
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;getCustomPlacementConfig in interface BucketOrBuilderpublic Bucket.Builder setCustomPlacementConfig(Bucket.CustomPlacementConfig value)
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;public Bucket.Builder setCustomPlacementConfig(Bucket.CustomPlacementConfig.Builder builderForValue)
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;public Bucket.Builder mergeCustomPlacementConfig(Bucket.CustomPlacementConfig value)
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;public Bucket.Builder clearCustomPlacementConfig()
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;public Bucket.CustomPlacementConfig.Builder getCustomPlacementConfigBuilder()
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;public Bucket.CustomPlacementConfigOrBuilder getCustomPlacementConfigOrBuilder()
Configuration that, if present, specifies the data placement for a [https://cloud.google.com/storage/docs/use-dual-regions][Dual Region].
.google.storage.v2.Bucket.CustomPlacementConfig custom_placement_config = 26;getCustomPlacementConfigOrBuilder in interface BucketOrBuilderpublic boolean hasAutoclass()
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;hasAutoclass in interface BucketOrBuilderpublic Bucket.Autoclass getAutoclass()
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;getAutoclass in interface BucketOrBuilderpublic Bucket.Builder setAutoclass(Bucket.Autoclass value)
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;public Bucket.Builder setAutoclass(Bucket.Autoclass.Builder builderForValue)
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;public Bucket.Builder mergeAutoclass(Bucket.Autoclass value)
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;public Bucket.Builder clearAutoclass()
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;public Bucket.Autoclass.Builder getAutoclassBuilder()
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;public Bucket.AutoclassOrBuilder getAutoclassOrBuilder()
The bucket's Autoclass configuration. If there is no configuration, the Autoclass feature will be disabled and have no effect on the bucket.
.google.storage.v2.Bucket.Autoclass autoclass = 28;getAutoclassOrBuilder in interface BucketOrBuilderpublic final Bucket.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>public final Bucket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>Copyright © 2023 Google LLC. All rights reserved.