/*
 * Copyright 2026 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/storage/control/v2/storage_control.proto
// Protobuf Java Version: 4.33.2

package com.google.storage.control.v2;

@com.google.protobuf.Generated
public interface CreateAnywhereCacheMetadataOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.storage.control.v2.CreateAnywhereCacheMetadata)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Generic metadata for the long running operation.
   * </pre>
   *
   * <code>.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;</code>
   *
   * @return Whether the commonMetadata field is set.
   */
  boolean hasCommonMetadata();

  /**
   *
   *
   * <pre>
   * Generic metadata for the long running operation.
   * </pre>
   *
   * <code>.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;</code>
   *
   * @return The commonMetadata.
   */
  com.google.storage.control.v2.CommonLongRunningOperationMetadata getCommonMetadata();

  /**
   *
   *
   * <pre>
   * Generic metadata for the long running operation.
   * </pre>
   *
   * <code>.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;</code>
   */
  com.google.storage.control.v2.CommonLongRunningOperationMetadataOrBuilder
      getCommonMetadataOrBuilder();

  /**
   *
   *
   * <pre>
   * Anywhere Cache ID.
   * </pre>
   *
   * <code>optional string anywhere_cache_id = 2;</code>
   *
   * @return Whether the anywhereCacheId field is set.
   */
  boolean hasAnywhereCacheId();

  /**
   *
   *
   * <pre>
   * Anywhere Cache ID.
   * </pre>
   *
   * <code>optional string anywhere_cache_id = 2;</code>
   *
   * @return The anywhereCacheId.
   */
  java.lang.String getAnywhereCacheId();

  /**
   *
   *
   * <pre>
   * Anywhere Cache ID.
   * </pre>
   *
   * <code>optional string anywhere_cache_id = 2;</code>
   *
   * @return The bytes for anywhereCacheId.
   */
  com.google.protobuf.ByteString getAnywhereCacheIdBytes();

  /**
   *
   *
   * <pre>
   * The zone in which the cache instance is running. For example,
   * us-central1-a.
   * </pre>
   *
   * <code>optional string zone = 6;</code>
   *
   * @return Whether the zone field is set.
   */
  boolean hasZone();

  /**
   *
   *
   * <pre>
   * The zone in which the cache instance is running. For example,
   * us-central1-a.
   * </pre>
   *
   * <code>optional string zone = 6;</code>
   *
   * @return The zone.
   */
  java.lang.String getZone();

  /**
   *
   *
   * <pre>
   * The zone in which the cache instance is running. For example,
   * us-central1-a.
   * </pre>
   *
   * <code>optional string zone = 6;</code>
   *
   * @return The bytes for zone.
   */
  com.google.protobuf.ByteString getZoneBytes();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>optional .google.protobuf.Duration ttl = 3;</code>
   *
   * @return Whether the ttl field is set.
   */
  boolean hasTtl();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>optional .google.protobuf.Duration ttl = 3;</code>
   *
   * @return The ttl.
   */
  com.google.protobuf.Duration getTtl();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>optional .google.protobuf.Duration ttl = 3;</code>
   */
  com.google.protobuf.DurationOrBuilder getTtlOrBuilder();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>optional string admission_policy = 5;</code>
   *
   * @return Whether the admissionPolicy field is set.
   */
  boolean hasAdmissionPolicy();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>optional string admission_policy = 5;</code>
   *
   * @return The admissionPolicy.
   */
  java.lang.String getAdmissionPolicy();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>optional string admission_policy = 5;</code>
   *
   * @return The bytes for admissionPolicy.
   */
  com.google.protobuf.ByteString getAdmissionPolicyBytes();
}
