- 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 UpdateAnywhereCacheMetadata.Builder extends GeneratedMessageV3.Builder<UpdateAnywhereCacheMetadata.Builder> implements UpdateAnywhereCacheMetadataOrBuilder
Message returned in the metadata field of the Operation resource for UpdateAnywhereCache operation.
Protobuf type google.storage.control.v2.UpdateAnywhereCacheMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateAnywhereCacheMetadata.BuilderImplements
UpdateAnywhereCacheMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnywhereCacheMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
build()
public UpdateAnywhereCacheMetadata build()
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata |
buildPartial()
public UpdateAnywhereCacheMetadata buildPartial()
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata |
clear()
public UpdateAnywhereCacheMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
clearAdmissionPolicy()
public UpdateAnywhereCacheMetadata.Builder clearAdmissionPolicy()
L4 Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If admission_policy
is pending
update, this field equals to the new value specified in the Update request.
optional string admission_policy = 4;
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
clearAnywhereCacheId()
public UpdateAnywhereCacheMetadata.Builder clearAnywhereCacheId()
Anywhere Cache ID.
optional string anywhere_cache_id = 2;
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
clearCommonMetadata()
public UpdateAnywhereCacheMetadata.Builder clearCommonMetadata()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateAnywhereCacheMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAnywhereCacheMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
clearTtl()
public UpdateAnywhereCacheMetadata.Builder clearTtl()
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
clearZone()
public UpdateAnywhereCacheMetadata.Builder clearZone()
The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 5;
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
clone()
public UpdateAnywhereCacheMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
getAdmissionPolicy()
public String getAdmissionPolicy()
L4 Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If admission_policy
is pending
update, this field equals to the new value specified in the Update request.
optional string admission_policy = 4;
Returns | |
---|---|
Type | Description |
String |
The admissionPolicy. |
getAdmissionPolicyBytes()
public ByteString getAdmissionPolicyBytes()
L4 Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If admission_policy
is pending
update, this field equals to the new value specified in the Update request.
optional string admission_policy = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for admissionPolicy. |
getAnywhereCacheId()
public String getAnywhereCacheId()
Anywhere Cache ID.
optional string anywhere_cache_id = 2;
Returns | |
---|---|
Type | Description |
String |
The anywhereCacheId. |
getAnywhereCacheIdBytes()
public ByteString getAnywhereCacheIdBytes()
Anywhere Cache ID.
optional string anywhere_cache_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for anywhereCacheId. |
getCommonMetadata()
public CommonLongRunningOperationMetadata getCommonMetadata()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Returns | |
---|---|
Type | Description |
CommonLongRunningOperationMetadata |
The commonMetadata. |
getCommonMetadataBuilder()
public CommonLongRunningOperationMetadata.Builder getCommonMetadataBuilder()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Returns | |
---|---|
Type | Description |
CommonLongRunningOperationMetadata.Builder |
getCommonMetadataOrBuilder()
public CommonLongRunningOperationMetadataOrBuilder getCommonMetadataOrBuilder()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Returns | |
---|---|
Type | Description |
CommonLongRunningOperationMetadataOrBuilder |
getDefaultInstanceForType()
public UpdateAnywhereCacheMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTtl()
public Duration getTtl()
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Returns | |
---|---|
Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Returns | |
---|---|
Type | Description |
Builder |
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getZone()
public String getZone()
The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 5;
Returns | |
---|---|
Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()
The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for zone. |
hasAdmissionPolicy()
public boolean hasAdmissionPolicy()
L4 Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If admission_policy
is pending
update, this field equals to the new value specified in the Update request.
optional string admission_policy = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the admissionPolicy field is set. |
hasAnywhereCacheId()
public boolean hasAnywhereCacheId()
Anywhere Cache ID.
optional string anywhere_cache_id = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the anywhereCacheId field is set. |
hasCommonMetadata()
public boolean hasCommonMetadata()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the commonMetadata field is set. |
hasTtl()
public boolean hasTtl()
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ttl field is set. |
hasZone()
public boolean hasZone()
The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the zone field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCommonMetadata(CommonLongRunningOperationMetadata value)
public UpdateAnywhereCacheMetadata.Builder mergeCommonMetadata(CommonLongRunningOperationMetadata value)
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Parameter | |
---|---|
Name | Description |
value |
CommonLongRunningOperationMetadata |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAnywhereCacheMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateAnywhereCacheMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
mergeFrom(UpdateAnywhereCacheMetadata other)
public UpdateAnywhereCacheMetadata.Builder mergeFrom(UpdateAnywhereCacheMetadata other)
Parameter | |
---|---|
Name | Description |
other |
UpdateAnywhereCacheMetadata |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
mergeTtl(Duration value)
public UpdateAnywhereCacheMetadata.Builder mergeTtl(Duration value)
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnywhereCacheMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setAdmissionPolicy(String value)
public UpdateAnywhereCacheMetadata.Builder setAdmissionPolicy(String value)
L4 Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If admission_policy
is pending
update, this field equals to the new value specified in the Update request.
optional string admission_policy = 4;
Parameter | |
---|---|
Name | Description |
value |
String The admissionPolicy to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
setAdmissionPolicyBytes(ByteString value)
public UpdateAnywhereCacheMetadata.Builder setAdmissionPolicyBytes(ByteString value)
L4 Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If admission_policy
is pending
update, this field equals to the new value specified in the Update request.
optional string admission_policy = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for admissionPolicy to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
setAnywhereCacheId(String value)
public UpdateAnywhereCacheMetadata.Builder setAnywhereCacheId(String value)
Anywhere Cache ID.
optional string anywhere_cache_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The anywhereCacheId to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
setAnywhereCacheIdBytes(ByteString value)
public UpdateAnywhereCacheMetadata.Builder setAnywhereCacheIdBytes(ByteString value)
Anywhere Cache ID.
optional string anywhere_cache_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for anywhereCacheId to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
setCommonMetadata(CommonLongRunningOperationMetadata value)
public UpdateAnywhereCacheMetadata.Builder setCommonMetadata(CommonLongRunningOperationMetadata value)
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Parameter | |
---|---|
Name | Description |
value |
CommonLongRunningOperationMetadata |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setCommonMetadata(CommonLongRunningOperationMetadata.Builder builderForValue)
public UpdateAnywhereCacheMetadata.Builder setCommonMetadata(CommonLongRunningOperationMetadata.Builder builderForValue)
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
CommonLongRunningOperationMetadata.Builder |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnywhereCacheMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAnywhereCacheMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setTtl(Duration value)
public UpdateAnywhereCacheMetadata.Builder setTtl(Duration value)
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setTtl(Duration.Builder builderForValue)
public UpdateAnywhereCacheMetadata.Builder setTtl(Duration.Builder builderForValue)
Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If ttl
is pending
update, this field equals to the new value specified in the Update request.
optional .google.protobuf.Duration ttl = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnywhereCacheMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
setZone(String value)
public UpdateAnywhereCacheMetadata.Builder setZone(String value)
The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 5;
Parameter | |
---|---|
Name | Description |
value |
String The zone to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public UpdateAnywhereCacheMetadata.Builder setZoneBytes(ByteString value)
The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for zone to set. |
Returns | |
---|---|
Type | Description |
UpdateAnywhereCacheMetadata.Builder |
This builder for chaining. |