public static final class DisableRapidCacheMetadata.Builder extends GeneratedMessage.Builder<DisableRapidCacheMetadata.Builder> implements DisableRapidCacheMetadataOrBuilderMessage returned in the metadata field of the Operation resource for DeleteRapidCache operation.
Protobuf type google.storage.control.v2.DisableRapidCacheMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DisableRapidCacheMetadata.BuilderImplements
DisableRapidCacheMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DisableRapidCacheMetadata build()| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata |
|
buildPartial()
public DisableRapidCacheMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata |
|
clear()
public DisableRapidCacheMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
|
clearCacheType()
public DisableRapidCacheMetadata.Builder clearCacheType()Optional. The type of cache. Either rapid cache or rapid cache ultra.
optional string cache_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
clearCommonMetadata()
public DisableRapidCacheMetadata.Builder clearCommonMetadata()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
|
clearRapidCacheId()
public DisableRapidCacheMetadata.Builder clearRapidCacheId()Rapid Cache ID.
optional string rapid_cache_id = 2;
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
clearZone()
public DisableRapidCacheMetadata.Builder clearZone()The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 3;
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
getCacheType()
public String getCacheType()Optional. The type of cache. Either rapid cache or rapid cache ultra.
optional string cache_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The cacheType. |
getCacheTypeBytes()
public ByteString getCacheTypeBytes()Optional. The type of cache. Either rapid cache or rapid cache ultra.
optional string cache_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cacheType. |
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 DisableRapidCacheMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRapidCacheId()
public String getRapidCacheId()Rapid Cache ID.
optional string rapid_cache_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The rapidCacheId. |
getRapidCacheIdBytes()
public ByteString getRapidCacheIdBytes()Rapid Cache ID.
optional string rapid_cache_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rapidCacheId. |
getZone()
public String getZone()The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 3;
| 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 = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasCacheType()
public boolean hasCacheType()Optional. The type of cache. Either rapid cache or rapid cache ultra.
optional string cache_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cacheType 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. |
hasRapidCacheId()
public boolean hasRapidCacheId()Rapid Cache ID.
optional string rapid_cache_id = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rapidCacheId field is set. |
hasZone()
public boolean hasZone()The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the zone field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommonMetadata(CommonLongRunningOperationMetadata value)
public DisableRapidCacheMetadata.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 |
DisableRapidCacheMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisableRapidCacheMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DisableRapidCacheMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
|
mergeFrom(DisableRapidCacheMetadata other)
public DisableRapidCacheMetadata.Builder mergeFrom(DisableRapidCacheMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
DisableRapidCacheMetadata |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
|
setCacheType(String value)
public DisableRapidCacheMetadata.Builder setCacheType(String value)Optional. The type of cache. Either rapid cache or rapid cache ultra.
optional string cache_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cacheType to set. |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
setCacheTypeBytes(ByteString value)
public DisableRapidCacheMetadata.Builder setCacheTypeBytes(ByteString value)Optional. The type of cache. Either rapid cache or rapid cache ultra.
optional string cache_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cacheType to set. |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
setCommonMetadata(CommonLongRunningOperationMetadata value)
public DisableRapidCacheMetadata.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 |
DisableRapidCacheMetadata.Builder |
|
setCommonMetadata(CommonLongRunningOperationMetadata.Builder builderForValue)
public DisableRapidCacheMetadata.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 |
DisableRapidCacheMetadata.Builder |
|
setRapidCacheId(String value)
public DisableRapidCacheMetadata.Builder setRapidCacheId(String value)Rapid Cache ID.
optional string rapid_cache_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rapidCacheId to set. |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
setRapidCacheIdBytes(ByteString value)
public DisableRapidCacheMetadata.Builder setRapidCacheIdBytes(ByteString value)Rapid Cache ID.
optional string rapid_cache_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rapidCacheId to set. |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
setZone(String value)
public DisableRapidCacheMetadata.Builder setZone(String value)The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public DisableRapidCacheMetadata.Builder setZoneBytes(ByteString value)The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
DisableRapidCacheMetadata.Builder |
This builder for chaining. |