public static final class UpdateAnywhereCacheRequest.Builder extends GeneratedMessage.Builder<UpdateAnywhereCacheRequest.Builder> implements UpdateAnywhereCacheRequestOrBuilderRequest message for UpdateAnywhereCache.
Protobuf type google.storage.control.v2.UpdateAnywhereCacheRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAnywhereCacheRequest.BuilderImplements
UpdateAnywhereCacheRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAnywhereCacheRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest |
|
buildPartial()
public UpdateAnywhereCacheRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest |
|
clear()
public UpdateAnywhereCacheRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
clearAnywhereCache()
public UpdateAnywhereCacheRequest.Builder clearAnywhereCache()Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
clearRequestId()
public UpdateAnywhereCacheRequest.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 |
UpdateAnywhereCacheRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateAnywhereCacheRequest.Builder clearUpdateMask() 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 |
UpdateAnywhereCacheRequest.Builder |
|
getAnywhereCache()
public 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. |
getAnywhereCacheBuilder()
public AnywhereCache.Builder getAnywhereCacheBuilder()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.Builder |
|
getAnywhereCacheOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public UpdateAnywhereCacheRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 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. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder() 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 |
Builder |
|
getUpdateMaskOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnywhereCache(AnywhereCache value)
public UpdateAnywhereCacheRequest.Builder mergeAnywhereCache(AnywhereCache value)Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAnywhereCacheRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAnywhereCacheRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
mergeFrom(UpdateAnywhereCacheRequest other)
public UpdateAnywhereCacheRequest.Builder mergeFrom(UpdateAnywhereCacheRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAnywhereCacheRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAnywhereCacheRequest.Builder mergeUpdateMask(FieldMask value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
setAnywhereCache(AnywhereCache value)
public UpdateAnywhereCacheRequest.Builder setAnywhereCache(AnywhereCache value)Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
setAnywhereCache(AnywhereCache.Builder builderForValue)
public UpdateAnywhereCacheRequest.Builder setAnywhereCache(AnywhereCache.Builder builderForValue)Required. The Anywhere Cache instance to be updated.
.google.storage.control.v2.AnywhereCache anywhere_cache = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnywhereCache.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
setRequestId(String value)
public UpdateAnywhereCacheRequest.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 |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpdateAnywhereCacheRequest.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 |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public UpdateAnywhereCacheRequest.Builder setUpdateMask(FieldMask value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAnywhereCacheRequest.Builder setUpdateMask(FieldMask.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAnywhereCacheRequest.Builder |
|