Package com.google.cloud.compute.v1
Interface ResourceStatusSchedulingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceStatusScheduling,ResourceStatusScheduling.Builder
@Generated
public interface ResourceStatusSchedulingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintSpecifies the availability domain to place the instance in.booleanSpecifies the availability domain to place the instance in.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAvailabilityDomain
boolean hasAvailabilityDomain()Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
optional int32 availability_domain = 252514344;- Returns:
- Whether the availabilityDomain field is set.
-
getAvailabilityDomain
int getAvailabilityDomain()Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
optional int32 availability_domain = 252514344;- Returns:
- The availabilityDomain.
-