Interface UpdateAnywhereCacheMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateAnywhereCacheMetadata, UpdateAnywhereCacheMetadata.Builder

public interface UpdateAnywhereCacheMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    L4 Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss").
    com.google.protobuf.ByteString
    L4 Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss").
    Anywhere Cache ID.
    com.google.protobuf.ByteString
    Anywhere Cache ID.
    Generic metadata for the long running operation.
    Generic metadata for the long running operation.
    com.google.protobuf.Duration
    Anywhere Cache entry's TTL between 1h and 7days.
    com.google.protobuf.DurationOrBuilder
    Anywhere Cache entry's TTL between 1h and 7days.
    The zone in which the cache instance is running.
    com.google.protobuf.ByteString
    The zone in which the cache instance is running.
    boolean
    L4 Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss").
    boolean
    Anywhere Cache ID.
    boolean
    Generic metadata for the long running operation.
    boolean
    Anywhere Cache entry's TTL between 1h and 7days.
    boolean
    The zone in which the cache instance is running.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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 = 5;
      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 = 5;
      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 = 5;
      Returns:
      The bytes for zone.
    • hasTtl

      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:
      Whether the ttl field is set.
    • getTtl

      com.google.protobuf.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:
      The ttl.
    • getTtlOrBuilder

      com.google.protobuf.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;
    • hasAdmissionPolicy

      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:
      Whether the admissionPolicy field is set.
    • getAdmissionPolicy

      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:
      The admissionPolicy.
    • getAdmissionPolicyBytes

      com.google.protobuf.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:
      The bytes for admissionPolicy.