1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface DistributionPolicyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DistributionPolicy) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). 31 * Check the TargetShape enum for the list of possible values. 32 * </pre> 33 * 34 * <code>optional string target_shape = 338621299;</code> 35 * 36 * @return Whether the targetShape field is set. 37 */ hasTargetShape()38 boolean hasTargetShape(); 39 /** 40 * 41 * 42 * <pre> 43 * The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). 44 * Check the TargetShape enum for the list of possible values. 45 * </pre> 46 * 47 * <code>optional string target_shape = 338621299;</code> 48 * 49 * @return The targetShape. 50 */ getTargetShape()51 java.lang.String getTargetShape(); 52 /** 53 * 54 * 55 * <pre> 56 * The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). 57 * Check the TargetShape enum for the list of possible values. 58 * </pre> 59 * 60 * <code>optional string target_shape = 338621299;</code> 61 * 62 * @return The bytes for targetShape. 63 */ getTargetShapeBytes()64 com.google.protobuf.ByteString getTargetShapeBytes(); 65 66 /** 67 * 68 * 69 * <pre> 70 * Zones where the regional managed instance group will create and manage its instances. 71 * </pre> 72 * 73 * <code>repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; 74 * </code> 75 */ getZonesList()76 java.util.List<com.google.cloud.compute.v1.DistributionPolicyZoneConfiguration> getZonesList(); 77 /** 78 * 79 * 80 * <pre> 81 * Zones where the regional managed instance group will create and manage its instances. 82 * </pre> 83 * 84 * <code>repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; 85 * </code> 86 */ getZones(int index)87 com.google.cloud.compute.v1.DistributionPolicyZoneConfiguration getZones(int index); 88 /** 89 * 90 * 91 * <pre> 92 * Zones where the regional managed instance group will create and manage its instances. 93 * </pre> 94 * 95 * <code>repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; 96 * </code> 97 */ getZonesCount()98 int getZonesCount(); 99 /** 100 * 101 * 102 * <pre> 103 * Zones where the regional managed instance group will create and manage its instances. 104 * </pre> 105 * 106 * <code>repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; 107 * </code> 108 */ 109 java.util.List<? extends com.google.cloud.compute.v1.DistributionPolicyZoneConfigurationOrBuilder> getZonesOrBuilderList()110 getZonesOrBuilderList(); 111 /** 112 * 113 * 114 * <pre> 115 * Zones where the regional managed instance group will create and manage its instances. 116 * </pre> 117 * 118 * <code>repeated .google.cloud.compute.v1.DistributionPolicyZoneConfiguration zones = 116085319; 119 * </code> 120 */ getZonesOrBuilder( int index)121 com.google.cloud.compute.v1.DistributionPolicyZoneConfigurationOrBuilder getZonesOrBuilder( 122 int index); 123 } 124