• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 ResourcePolicyGroupPlacementPolicyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
31    * </pre>
32    *
33    * <code>optional int32 availability_domain_count = 12453432;</code>
34    *
35    * @return Whether the availabilityDomainCount field is set.
36    */
hasAvailabilityDomainCount()37   boolean hasAvailabilityDomainCount();
38   /**
39    *
40    *
41    * <pre>
42    * The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
43    * </pre>
44    *
45    * <code>optional int32 availability_domain_count = 12453432;</code>
46    *
47    * @return The availabilityDomainCount.
48    */
getAvailabilityDomainCount()49   int getAvailabilityDomainCount();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Specifies network collocation
56    * Check the Collocation enum for the list of possible values.
57    * </pre>
58    *
59    * <code>optional string collocation = 511156533;</code>
60    *
61    * @return Whether the collocation field is set.
62    */
hasCollocation()63   boolean hasCollocation();
64   /**
65    *
66    *
67    * <pre>
68    * Specifies network collocation
69    * Check the Collocation enum for the list of possible values.
70    * </pre>
71    *
72    * <code>optional string collocation = 511156533;</code>
73    *
74    * @return The collocation.
75    */
getCollocation()76   java.lang.String getCollocation();
77   /**
78    *
79    *
80    * <pre>
81    * Specifies network collocation
82    * Check the Collocation enum for the list of possible values.
83    * </pre>
84    *
85    * <code>optional string collocation = 511156533;</code>
86    *
87    * @return The bytes for collocation.
88    */
getCollocationBytes()89   com.google.protobuf.ByteString getCollocationBytes();
90 
91   /**
92    *
93    *
94    * <pre>
95    * Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
96    * </pre>
97    *
98    * <code>optional int32 vm_count = 261463431;</code>
99    *
100    * @return Whether the vmCount field is set.
101    */
hasVmCount()102   boolean hasVmCount();
103   /**
104    *
105    *
106    * <pre>
107    * Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
108    * </pre>
109    *
110    * <code>optional int32 vm_count = 261463431;</code>
111    *
112    * @return The vmCount.
113    */
getVmCount()114   int getVmCount();
115 }
116