Package com.google.storage.control.v2
Interface UpdateAnywhereCacheRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateAnywhereCacheRequest,UpdateAnywhereCacheRequest.Builder
public interface UpdateAnywhereCacheRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.FieldMaskRequired.com.google.protobuf.FieldMaskOrBuilderRequired.booleanRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAnywhereCache
boolean hasAnywhereCache()Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the anywhereCache field is set.
-
getAnywhereCache
AnywhereCache getAnywhereCache()Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The anywhereCache.
-
getAnywhereCacheOrBuilder
AnywhereCacheOrBuilder getAnywhereCacheOrBuilder()Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
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:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.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:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.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]; -
getRequestId
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:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.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:
- The bytes for requestId.
-