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

com.google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsOrBuilder 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 SnapshotSettingsStorageLocationSettingsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SnapshotSettingsStorageLocationSettings)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
   * 
* * * map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454; * */ int getLocationsCount(); /** * * *
   * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
   * 
* * * map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454; * */ boolean containsLocations(java.lang.String key); /** Use {@link #getLocationsMap()} instead. */ @java.lang.Deprecated java.util.Map< java.lang.String, com.google.cloud.compute.v1 .SnapshotSettingsStorageLocationSettingsStorageLocationPreference> getLocations(); /** * * *
   * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
   * 
* * * map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454; * */ java.util.Map< java.lang.String, com.google.cloud.compute.v1 .SnapshotSettingsStorageLocationSettingsStorageLocationPreference> getLocationsMap(); /** * * *
   * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
   * 
* * * map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454; * */ /* nullable */ com.google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference getLocationsOrDefault( java.lang.String key, /* nullable */ com.google.cloud.compute.v1 .SnapshotSettingsStorageLocationSettingsStorageLocationPreference defaultValue); /** * * *
   * When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
   * 
* * * map<string, .google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference> locations = 413423454; * */ com.google.cloud.compute.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference getLocationsOrThrow(java.lang.String key); /** * * *
   * The chosen location policy.
   * Check the Policy enum for the list of possible values.
   * 
* * optional string policy = 91071794; * * @return Whether the policy field is set. */ boolean hasPolicy(); /** * * *
   * The chosen location policy.
   * Check the Policy enum for the list of possible values.
   * 
* * optional string policy = 91071794; * * @return The policy. */ java.lang.String getPolicy(); /** * * *
   * The chosen location policy.
   * Check the Policy enum for the list of possible values.
   * 
* * optional string policy = 91071794; * * @return The bytes for policy. */ com.google.protobuf.ByteString getPolicyBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy