Interface UpdateAnywhereCacheRequestOrBuilder (2.53.0)

public interface UpdateAnywhereCacheRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnywhereCache()

public abstract AnywhereCache getAnywhereCache()

Required. The Anywhere Cache instance to be updated.

.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnywhereCache

The anywhereCache.

getAnywhereCacheOrBuilder()

public abstract AnywhereCacheOrBuilder getAnywhereCacheOrBuilder()

Required. The Anywhere Cache instance to be updated.

.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnywhereCacheOrBuilder

getRequestId()

public abstract 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 abstract 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 abstract FieldMask getUpdateMask()

Required. List of fields to be updated. Mutable fields of AnywhereCache include ttl and admission_policy.

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 abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. List of fields to be updated. Mutable fields of AnywhereCache include ttl and admission_policy.

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

hasAnywhereCache()

public abstract boolean hasAnywhereCache()

Required. The Anywhere Cache instance to be updated.

.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the anywhereCache field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. List of fields to be updated. Mutable fields of AnywhereCache include ttl and admission_policy.

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.