Class UpdateManagedFolderRequest.Builder (2.71.0)

public static final class UpdateManagedFolderRequest.Builder extends GeneratedMessage.Builder<UpdateManagedFolderRequest.Builder> implements UpdateManagedFolderRequestOrBuilder

Request message for UpdateManagedFolder.

Protobuf type google.storage.control.v2.UpdateManagedFolderRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateManagedFolderRequest build()
Returns
Type Description
UpdateManagedFolderRequest

buildPartial()

public UpdateManagedFolderRequest buildPartial()
Returns
Type Description
UpdateManagedFolderRequest

clear()

public UpdateManagedFolderRequest.Builder clear()
Returns
Type Description
UpdateManagedFolderRequest.Builder
Overrides

clearIfMetagenerationMatch()

public UpdateManagedFolderRequest.Builder clearIfMetagenerationMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

clearIfMetagenerationNotMatch()

public UpdateManagedFolderRequest.Builder clearIfMetagenerationNotMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

clearManagedFolder()

public UpdateManagedFolderRequest.Builder clearManagedFolder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateManagedFolderRequest.Builder

clearRequestId()

public UpdateManagedFolderRequest.Builder clearRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateManagedFolderRequest.Builder clearUpdateMask()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateManagedFolderRequest.Builder

getDefaultInstanceForType()

public UpdateManagedFolderRequest getDefaultInstanceForType()
Returns
Type Description
UpdateManagedFolderRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIfMetagenerationMatch()

public long getIfMetagenerationMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public long getIfMetagenerationNotMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The ifMetagenerationNotMatch.

getManagedFolder()

public ManagedFolder getManagedFolder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedFolder

The managedFolder.

getManagedFolderBuilder()

public ManagedFolder.Builder getManagedFolderBuilder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedFolder.Builder

getManagedFolderOrBuilder()

public ManagedFolderOrBuilder getManagedFolderOrBuilder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedFolderOrBuilder

getRequestId()

public String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasIfMetagenerationMatch()

public boolean hasIfMetagenerationMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public boolean hasIfMetagenerationNotMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ifMetagenerationNotMatch field is set.

hasManagedFolder()

public boolean hasManagedFolder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the managedFolder field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateManagedFolderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateManagedFolderRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateManagedFolderRequest.Builder
Overrides

mergeFrom(UpdateManagedFolderRequest other)

public UpdateManagedFolderRequest.Builder mergeFrom(UpdateManagedFolderRequest other)
Parameter
Name Description
other UpdateManagedFolderRequest
Returns
Type Description
UpdateManagedFolderRequest.Builder

mergeManagedFolder(ManagedFolder value)

public UpdateManagedFolderRequest.Builder mergeManagedFolder(ManagedFolder value)

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ManagedFolder
Returns
Type Description
UpdateManagedFolderRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateManagedFolderRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateManagedFolderRequest.Builder

setIfMetagenerationMatch(long value)

public UpdateManagedFolderRequest.Builder setIfMetagenerationMatch(long value)

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The ifMetagenerationMatch to set.

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

setIfMetagenerationNotMatch(long value)

public UpdateManagedFolderRequest.Builder setIfMetagenerationNotMatch(long value)

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The ifMetagenerationNotMatch to set.

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

setManagedFolder(ManagedFolder value)

public UpdateManagedFolderRequest.Builder setManagedFolder(ManagedFolder value)

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ManagedFolder
Returns
Type Description
UpdateManagedFolderRequest.Builder

setManagedFolder(ManagedFolder.Builder builderForValue)

public UpdateManagedFolderRequest.Builder setManagedFolder(ManagedFolder.Builder builderForValue)

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ManagedFolder.Builder
Returns
Type Description
UpdateManagedFolderRequest.Builder

setRequestId(String value)

public UpdateManagedFolderRequest.Builder setRequestId(String value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateManagedFolderRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateManagedFolderRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateManagedFolderRequest.Builder setUpdateMask(FieldMask value)

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateManagedFolderRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateManagedFolderRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateManagedFolderRequest.Builder