- 2.53.0 (latest)
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class UpdateAnywhereCacheRequest.Builder extends GeneratedMessageV3.Builder<UpdateAnywhereCacheRequest.Builder> implements UpdateAnywhereCacheRequestOrBuilder
Request message for UpdateAnywhereCache.
Protobuf type google.storage.control.v2.UpdateAnywhereCacheRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateAnywhereCacheRequest.BuilderImplements
UpdateAnywhereCacheRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnywhereCacheRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheRequest.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public UpdateAnywhereCacheRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAnywhereCacheRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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 |
clone()
public UpdateAnywhereCacheRequest.Builder clone()
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnywhereCacheRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnywhereCacheRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAnywhereCacheRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
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 |
String The 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 |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnywhereCacheRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheRequest.Builder |
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 |