Package com.google.cloud.compute.v1
Interface ResourcePolicyGroupPlacementPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicyGroupPlacementPolicy
,ResourcePolicyGroupPlacementPolicy.Builder
public interface ResourcePolicyGroupPlacementPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAvailabilityDomainCount()
The number of availability domains to spread instances across.String
getCollocation()
Specifies network collocation Check the Collocation enum for the list of possible values.com.google.protobuf.ByteString
getCollocationBytes()
Specifies network collocation Check the Collocation enum for the list of possible values.int
getVmCount()
Number of VMs in this placement group.boolean
hasAvailabilityDomainCount()
The number of availability domains to spread instances across.boolean
hasCollocation()
Specifies network collocation Check the Collocation enum for the list of possible values.boolean
hasVmCount()
Number of VMs in this placement group.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAvailabilityDomainCount
boolean hasAvailabilityDomainCount()
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.
optional int32 availability_domain_count = 12453432;
- Returns:
- Whether the availabilityDomainCount field is set.
-
getAvailabilityDomainCount
int getAvailabilityDomainCount()
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.
optional int32 availability_domain_count = 12453432;
- Returns:
- The availabilityDomainCount.
-
hasCollocation
boolean hasCollocation()
Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;
- Returns:
- Whether the collocation field is set.
-
getCollocation
String getCollocation()
Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;
- Returns:
- The collocation.
-
getCollocationBytes
com.google.protobuf.ByteString getCollocationBytes()
Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;
- Returns:
- The bytes for collocation.
-
hasVmCount
boolean hasVmCount()
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.
optional int32 vm_count = 261463431;
- Returns:
- Whether the vmCount field is set.
-
getVmCount
int getVmCount()
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.
optional int32 vm_count = 261463431;
- Returns:
- The vmCount.
-
-