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

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

The newest version!
/*
 * 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 LocationPolicyOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.LocationPolicy)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
   * 
* * map<string, .google.cloud.compute.v1.LocationPolicyLocation> locations = 413423454; * */ int getLocationsCount(); /** * * *
   * Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
   * 
* * map<string, .google.cloud.compute.v1.LocationPolicyLocation> locations = 413423454; * */ boolean containsLocations(java.lang.String key); /** Use {@link #getLocationsMap()} instead. */ @java.lang.Deprecated java.util.Map getLocations(); /** * * *
   * Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
   * 
* * map<string, .google.cloud.compute.v1.LocationPolicyLocation> locations = 413423454; * */ java.util.Map getLocationsMap(); /** * * *
   * Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
   * 
* * map<string, .google.cloud.compute.v1.LocationPolicyLocation> locations = 413423454; * */ /* nullable */ com.google.cloud.compute.v1.LocationPolicyLocation getLocationsOrDefault( java.lang.String key, /* nullable */ com.google.cloud.compute.v1.LocationPolicyLocation defaultValue); /** * * *
   * Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
   * 
* * map<string, .google.cloud.compute.v1.LocationPolicyLocation> locations = 413423454; * */ com.google.cloud.compute.v1.LocationPolicyLocation getLocationsOrThrow(java.lang.String key); /** * * *
   * Strategy for distributing VMs across zones in a region.
   * Check the TargetShape enum for the list of possible values.
   * 
* * optional string target_shape = 338621299; * * @return Whether the targetShape field is set. */ boolean hasTargetShape(); /** * * *
   * Strategy for distributing VMs across zones in a region.
   * Check the TargetShape enum for the list of possible values.
   * 
* * optional string target_shape = 338621299; * * @return The targetShape. */ java.lang.String getTargetShape(); /** * * *
   * Strategy for distributing VMs across zones in a region.
   * Check the TargetShape enum for the list of possible values.
   * 
* * optional string target_shape = 338621299; * * @return The bytes for targetShape. */ com.google.protobuf.ByteString getTargetShapeBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy