All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.BackendBucketCdnPolicyNegativeCachingPolicyOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 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!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface BackendBucketCdnPolicyNegativeCachingPolicyOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendBucketCdnPolicyNegativeCachingPolicy)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.
   * 
* * optional int32 code = 3059181; * * @return Whether the code field is set. */ boolean hasCode(); /** * * *
   * The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.
   * 
* * optional int32 code = 3059181; * * @return The code. */ int getCode(); /** * * *
   * The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
   * 
* * optional int32 ttl = 115180; * * @return Whether the ttl field is set. */ boolean hasTtl(); /** * * *
   * The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
   * 
* * optional int32 ttl = 115180; * * @return The ttl. */ int getTtl(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy