- 2.58.1 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class UpdateBucketRequest.Builder extends GeneratedMessageV3.Builder<UpdateBucketRequest.Builder> implements UpdateBucketRequestOrBuilderRequest for UpdateBucket method.
Protobuf type google.storage.v2.UpdateBucketRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateBucketRequest.BuilderImplements
UpdateBucketRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBucketRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| UpdateBucketRequest.Builder |
build()
public UpdateBucketRequest build()| Type | Description |
| UpdateBucketRequest |
buildPartial()
public UpdateBucketRequest buildPartial()| Type | Description |
| UpdateBucketRequest |
clear()
public UpdateBucketRequest.Builder clear()| Type | Description |
| UpdateBucketRequest.Builder |
clearBucket()
public UpdateBucketRequest.Builder clearBucket() The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Type | Description |
| UpdateBucketRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateBucketRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| UpdateBucketRequest.Builder |
clearIfMetagenerationMatch()
public UpdateBucketRequest.Builder clearIfMetagenerationMatch()If set, will only modify the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
clearIfMetagenerationNotMatch()
public UpdateBucketRequest.Builder clearIfMetagenerationNotMatch()If set, will only modify the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBucketRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| UpdateBucketRequest.Builder |
clearPredefinedAcl()
public UpdateBucketRequest.Builder clearPredefinedAcl()Apply a predefined set of access controls to this bucket. Valid values are "authenticatedRead", "private", "projectPrivate", "publicRead", or "publicReadWrite".
string predefined_acl = 8;
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
clearPredefinedDefaultObjectAcl()
public UpdateBucketRequest.Builder clearPredefinedDefaultObjectAcl()Apply a predefined set of default object access controls to this bucket. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string predefined_default_object_acl = 9;
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
clearUpdateMask()
public UpdateBucketRequest.Builder clearUpdateMask() List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Type | Description |
| UpdateBucketRequest.Builder |
clone()
public UpdateBucketRequest.Builder clone()| Type | Description |
| UpdateBucketRequest.Builder |
getBucket()
public Bucket getBucket() The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Type | Description |
| Bucket | The bucket. |
getBucketBuilder()
public Bucket.Builder getBucketBuilder() The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Type | Description |
| Bucket.Builder |
getBucketOrBuilder()
public BucketOrBuilder getBucketOrBuilder() The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Type | Description |
| BucketOrBuilder |
getDefaultInstanceForType()
public UpdateBucketRequest getDefaultInstanceForType()| Type | Description |
| UpdateBucketRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getIfMetagenerationMatch()
public long getIfMetagenerationMatch()If set, will only modify the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
| Type | Description |
| long | The ifMetagenerationMatch. |
getIfMetagenerationNotMatch()
public long getIfMetagenerationNotMatch()If set, will only modify the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
| Type | Description |
| long | The ifMetagenerationNotMatch. |
getPredefinedAcl()
public String getPredefinedAcl()Apply a predefined set of access controls to this bucket. Valid values are "authenticatedRead", "private", "projectPrivate", "publicRead", or "publicReadWrite".
string predefined_acl = 8;
| Type | Description |
| String | The predefinedAcl. |
getPredefinedAclBytes()
public ByteString getPredefinedAclBytes()Apply a predefined set of access controls to this bucket. Valid values are "authenticatedRead", "private", "projectPrivate", "publicRead", or "publicReadWrite".
string predefined_acl = 8;
| Type | Description |
| ByteString | The bytes for predefinedAcl. |
getPredefinedDefaultObjectAcl()
public String getPredefinedDefaultObjectAcl()Apply a predefined set of default object access controls to this bucket. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string predefined_default_object_acl = 9;
| Type | Description |
| String | The predefinedDefaultObjectAcl. |
getPredefinedDefaultObjectAclBytes()
public ByteString getPredefinedDefaultObjectAclBytes()Apply a predefined set of default object access controls to this bucket. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string predefined_default_object_acl = 9;
| Type | Description |
| ByteString | The bytes for predefinedDefaultObjectAcl. |
getUpdateMask()
public FieldMask getUpdateMask() List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Type | Description |
| FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder() List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Type | Description |
| Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder() List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Type | Description |
| FieldMaskOrBuilder |
hasBucket()
public boolean hasBucket() The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Type | Description |
| boolean | Whether the bucket field is set. |
hasIfMetagenerationMatch()
public boolean hasIfMetagenerationMatch()If set, will only modify the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
| Type | Description |
| boolean | Whether the ifMetagenerationMatch field is set. |
hasIfMetagenerationNotMatch()
public boolean hasIfMetagenerationNotMatch()If set, will only modify the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
| Type | Description |
| boolean | Whether the ifMetagenerationNotMatch field is set. |
hasUpdateMask()
public boolean hasUpdateMask() List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Type | Description |
| boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeBucket(Bucket value)
public UpdateBucketRequest.Builder mergeBucket(Bucket value) The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Name | Description |
| value | Bucket |
| Type | Description |
| UpdateBucketRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateBucketRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| UpdateBucketRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public UpdateBucketRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| UpdateBucketRequest.Builder |
mergeFrom(UpdateBucketRequest other)
public UpdateBucketRequest.Builder mergeFrom(UpdateBucketRequest other)| Name | Description |
| other | UpdateBucketRequest |
| Type | Description |
| UpdateBucketRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBucketRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| UpdateBucketRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateBucketRequest.Builder mergeUpdateMask(FieldMask value) List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Name | Description |
| value | FieldMask |
| Type | Description |
| UpdateBucketRequest.Builder |
setBucket(Bucket value)
public UpdateBucketRequest.Builder setBucket(Bucket value) The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Name | Description |
| value | Bucket |
| Type | Description |
| UpdateBucketRequest.Builder |
setBucket(Bucket.Builder builderForValue)
public UpdateBucketRequest.Builder setBucket(Bucket.Builder builderForValue) The bucket to update.
The bucket's name field will be used to identify the bucket.
.google.storage.v2.Bucket bucket = 1;
| Name | Description |
| builderForValue | Bucket.Builder |
| Type | Description |
| UpdateBucketRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBucketRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| UpdateBucketRequest.Builder |
setIfMetagenerationMatch(long value)
public UpdateBucketRequest.Builder setIfMetagenerationMatch(long value)If set, will only modify the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
| Name | Description |
| value | longThe ifMetagenerationMatch to set. |
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
setIfMetagenerationNotMatch(long value)
public UpdateBucketRequest.Builder setIfMetagenerationNotMatch(long value)If set, will only modify the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
| Name | Description |
| value | longThe ifMetagenerationNotMatch to set. |
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
setPredefinedAcl(String value)
public UpdateBucketRequest.Builder setPredefinedAcl(String value)Apply a predefined set of access controls to this bucket. Valid values are "authenticatedRead", "private", "projectPrivate", "publicRead", or "publicReadWrite".
string predefined_acl = 8;
| Name | Description |
| value | StringThe predefinedAcl to set. |
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
setPredefinedAclBytes(ByteString value)
public UpdateBucketRequest.Builder setPredefinedAclBytes(ByteString value)Apply a predefined set of access controls to this bucket. Valid values are "authenticatedRead", "private", "projectPrivate", "publicRead", or "publicReadWrite".
string predefined_acl = 8;
| Name | Description |
| value | ByteStringThe bytes for predefinedAcl to set. |
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
setPredefinedDefaultObjectAcl(String value)
public UpdateBucketRequest.Builder setPredefinedDefaultObjectAcl(String value)Apply a predefined set of default object access controls to this bucket. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string predefined_default_object_acl = 9;
| Name | Description |
| value | StringThe predefinedDefaultObjectAcl to set. |
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
setPredefinedDefaultObjectAclBytes(ByteString value)
public UpdateBucketRequest.Builder setPredefinedDefaultObjectAclBytes(ByteString value)Apply a predefined set of default object access controls to this bucket. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string predefined_default_object_acl = 9;
| Name | Description |
| value | ByteStringThe bytes for predefinedDefaultObjectAcl to set. |
| Type | Description |
| UpdateBucketRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBucketRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| UpdateBucketRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBucketRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| UpdateBucketRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateBucketRequest.Builder setUpdateMask(FieldMask value) List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Name | Description |
| value | FieldMask |
| Type | Description |
| UpdateBucketRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateBucketRequest.Builder setUpdateMask(FieldMask.Builder builderForValue) List of fields to be updated.
To specify ALL fields, equivalent to the JSON API's "update" function,
specify a single field with the value . Note: not recommended. If a new
field is introduced at a later time, an older client updating with the
may accidentally reset the new field's value.
Not specifying any fields is an error.
Not specifying a field while setting that field to a non-default value is
an error.
.google.protobuf.FieldMask update_mask = 6;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| UpdateBucketRequest.Builder |