Interface ResourceStatusSchedulingOrBuilder (1.64.0)

public interface ResourceStatusSchedulingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvailabilityDomain()

public abstract 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
Type Description
int

The availabilityDomain.

hasAvailabilityDomain()

public abstract 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
Type Description
boolean

Whether the availabilityDomain field is set.