Interface InstanceQuotaOrBuilder (0.47.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
Type Description
int

The availableMachineCount.

getGcpService()

public abstract String getGcpService()

The gcp service of the provisioning quota.

string gcp_service = 5;

Returns
Type Description
String

The gcpService.

getGcpServiceBytes()

public abstract ByteString getGcpServiceBytes()

The gcp service of the provisioning quota.

string gcp_service = 5;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for instanceType.

getLocation()

public abstract String getLocation()

Location where the quota applies.

string location = 3;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Location where the quota applies.

string location = 3;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.