Class UpdateRapidCacheRequest (2.71.0)

public final class UpdateRapidCacheRequest extends GeneratedMessage implements UpdateRapidCacheRequestOrBuilder

Request message for UpdateRapidCache.

Protobuf type google.storage.control.v2.UpdateRapidCacheRequest

Static Fields

RAPID_CACHE_FIELD_NUMBER

public static final int RAPID_CACHE_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateRapidCacheRequest getDefaultInstance()
Returns
Type Description
UpdateRapidCacheRequest

getDescriptor()

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

newBuilder()

public static UpdateRapidCacheRequest.Builder newBuilder()
Returns
Type Description
UpdateRapidCacheRequest.Builder

newBuilder(UpdateRapidCacheRequest prototype)

public static UpdateRapidCacheRequest.Builder newBuilder(UpdateRapidCacheRequest prototype)
Parameter
Name Description
prototype UpdateRapidCacheRequest
Returns
Type Description
UpdateRapidCacheRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateRapidCacheRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateRapidCacheRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateRapidCacheRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateRapidCacheRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateRapidCacheRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateRapidCacheRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateRapidCacheRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateRapidCacheRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateRapidCacheRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateRapidCacheRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateRapidCacheRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateRapidCacheRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRapidCacheRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateRapidCacheRequest> parser()
Returns
Type Description
Parser<UpdateRapidCacheRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateRapidCacheRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRapidCacheRequest

getParserForType()

public Parser<UpdateRapidCacheRequest> getParserForType()
Returns
Type Description
Parser<UpdateRapidCacheRequest>
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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateRapidCacheRequest.Builder newBuilderForType()
Returns
Type Description
UpdateRapidCacheRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateRapidCacheRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateRapidCacheRequest.Builder
Overrides

toBuilder()

public UpdateRapidCacheRequest.Builder toBuilder()
Returns
Type Description
UpdateRapidCacheRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException