Package com.google.storage.control.v2
Interface CreateAnywhereCacheMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAnywhereCacheMetadata,CreateAnywhereCacheMetadata.Builder
public interface CreateAnywhereCacheMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAnywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss").com.google.protobuf.ByteStringAnywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss").Anywhere Cache ID.com.google.protobuf.ByteStringAnywhere Cache ID.Generic metadata for the long running operation.Generic metadata for the long running operation.com.google.protobuf.DurationgetTtl()Anywhere Cache entry's TTL.com.google.protobuf.DurationOrBuilderAnywhere Cache entry's TTL.getZone()The zone in which the cache instance is running.com.google.protobuf.ByteStringThe zone in which the cache instance is running.booleanAnywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss").booleanAnywhere Cache ID.booleanGeneric metadata for the long running operation.booleanhasTtl()Anywhere Cache entry's TTL.booleanhasZone()The zone in which the cache instance is running.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
-
hasCommonMetadata
boolean hasCommonMetadata()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;- Returns:
- Whether the commonMetadata field is set.
-
getCommonMetadata
CommonLongRunningOperationMetadata getCommonMetadata()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;- Returns:
- The commonMetadata.
-
getCommonMetadataOrBuilder
CommonLongRunningOperationMetadataOrBuilder getCommonMetadataOrBuilder()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1; -
hasAnywhereCacheId
boolean hasAnywhereCacheId()Anywhere Cache ID.
optional string anywhere_cache_id = 2;- Returns:
- Whether the anywhereCacheId field is set.
-
getAnywhereCacheId
String getAnywhereCacheId()Anywhere Cache ID.
optional string anywhere_cache_id = 2;- Returns:
- The anywhereCacheId.
-
getAnywhereCacheIdBytes
com.google.protobuf.ByteString getAnywhereCacheIdBytes()Anywhere Cache ID.
optional string anywhere_cache_id = 2;- Returns:
- The bytes for anywhereCacheId.
-
hasZone
boolean hasZone()The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 6;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 6;- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()The zone in which the cache instance is running. For example, us-central1-a.
optional string zone = 6;- Returns:
- The bytes for zone.
-
hasTtl
boolean hasTtl()Anywhere Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.
optional .google.protobuf.Duration ttl = 3;- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()Anywhere Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.
optional .google.protobuf.Duration ttl = 3;- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()Anywhere Cache entry's TTL. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create request.
optional .google.protobuf.Duration ttl = 3; -
hasAdmissionPolicy
boolean hasAdmissionPolicy()Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.
optional string admission_policy = 5;- Returns:
- Whether the admissionPolicy field is set.
-
getAdmissionPolicy
String getAdmissionPolicy()Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.
optional string admission_policy = 5;- Returns:
- The admissionPolicy.
-
getAdmissionPolicyBytes
com.google.protobuf.ByteString getAdmissionPolicyBytes()Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create request.
optional string admission_policy = 5;- Returns:
- The bytes for admissionPolicy.
-