Class UpdateRapidCacheRequest.Builder (2.71.0)

public static final class UpdateRapidCacheRequest.Builder extends GeneratedMessage.Builder<UpdateRapidCacheRequest.Builder> implements UpdateRapidCacheRequestOrBuilder

Request message for UpdateRapidCache.

Protobuf type google.storage.control.v2.UpdateRapidCacheRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateRapidCacheRequest build()
Returns
Type Description
UpdateRapidCacheRequest

buildPartial()

public UpdateRapidCacheRequest buildPartial()
Returns
Type Description
UpdateRapidCacheRequest

clear()

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

clearRapidCache()

public UpdateRapidCacheRequest.Builder clearRapidCache()

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateRapidCacheRequest.Builder

clearRequestId()

public UpdateRapidCacheRequest.Builder clearRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

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

Returns
Type Description
UpdateRapidCacheRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateRapidCacheRequest.Builder clearUpdateMask()

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Returns
Type Description
UpdateRapidCacheRequest.Builder

getDefaultInstanceForType()

public UpdateRapidCacheRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRapidCacheRequest

getDescriptorForType()

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

getRapidCache()

public RapidCache getRapidCache()

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RapidCache

The rapidCache.

getRapidCacheBuilder()

public RapidCache.Builder getRapidCacheBuilder()

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RapidCache.Builder

getRapidCacheOrBuilder()

public RapidCacheOrBuilder getRapidCacheOrBuilder()

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RapidCacheOrBuilder

getRequestId()

public String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

string request_id = 3 [(.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. This request is only idempotent if a request_id is provided.

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

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Returns
Type Description
FieldMaskOrBuilder

hasRapidCache()

public boolean hasRapidCache()

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the rapidCache field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

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 UpdateRapidCacheRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(UpdateRapidCacheRequest other)

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

mergeRapidCache(RapidCache value)

public UpdateRapidCacheRequest.Builder mergeRapidCache(RapidCache value)

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RapidCache
Returns
Type Description
UpdateRapidCacheRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateRapidCacheRequest.Builder mergeUpdateMask(FieldMask value)

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRapidCacheRequest.Builder

setRapidCache(RapidCache value)

public UpdateRapidCacheRequest.Builder setRapidCache(RapidCache value)

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RapidCache
Returns
Type Description
UpdateRapidCacheRequest.Builder

setRapidCache(RapidCache.Builder builderForValue)

public UpdateRapidCacheRequest.Builder setRapidCache(RapidCache.Builder builderForValue)

Required. The RapidCache to update.

.google.storage.control.v2.RapidCache rapid_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RapidCache.Builder
Returns
Type Description
UpdateRapidCacheRequest.Builder

setRequestId(String value)

public UpdateRapidCacheRequest.Builder setRequestId(String value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

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

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateRapidCacheRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateRapidCacheRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

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

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateRapidCacheRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateRapidCacheRequest.Builder setUpdateMask(FieldMask value)

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRapidCacheRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRapidCacheRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value . Note: We recommend against doing this. 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.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateRapidCacheRequest.Builder