Interface InstanceQuotaOrBuilder (0.37.0)

public interface InstanceQuotaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvailableMachineCount()

public abstract int getAvailableMachineCount()

Number of machines than can be created for the given location and instance_type.

int32 available_machine_count = 4;

Returns
TypeDescription
int

The availableMachineCount.

getGcpService()

public abstract String getGcpService()

The gcp service of the provisioning quota.

string gcp_service = 5;

Returns
TypeDescription
String

The gcpService.

getGcpServiceBytes()

public abstract ByteString getGcpServiceBytes()

The gcp service of the provisioning quota.

string gcp_service = 5;

Returns
TypeDescription
ByteString

The bytes for gcpService.

getInstanceType() (deprecated)

public abstract String getInstanceType()

Deprecated. google.cloud.baremetalsolution.v2.InstanceQuota.instance_type is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=550

Instance type. Deprecated: use gcp_service.

string instance_type = 2 [deprecated = true];

Returns
TypeDescription
String

The instanceType.

getInstanceTypeBytes() (deprecated)

public abstract ByteString getInstanceTypeBytes()

Deprecated. google.cloud.baremetalsolution.v2.InstanceQuota.instance_type is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=550

Instance type. Deprecated: use gcp_service.

string instance_type = 2 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for instanceType.

getLocation()

public abstract String getLocation()

Location where the quota applies.

string location = 3;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Location where the quota applies.

string location = 3;

Returns
TypeDescription
ByteString

The bytes for location.

getName()

public abstract String getName()

Output only. The name of the instance quota.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the instance quota.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.