Interface InstanceQuotaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceQuota,InstanceQuota.Builder
public interface InstanceQuotaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetAvailableMachineCount()Number of machines than can be created for the given location and instance_type.StringgetGcpService()The gcp service of the provisioning quota.com.google.protobuf.ByteStringgetGcpServiceBytes()The gcp service of the provisioning quota.StringgetInstanceType()Deprecated.google.cloud.baremetalsolution.v2.InstanceQuota.instance_type is deprecated.com.google.protobuf.ByteStringgetInstanceTypeBytes()Deprecated.google.cloud.baremetalsolution.v2.InstanceQuota.instance_type is deprecated.StringgetLocation()Location where the quota applies.com.google.protobuf.ByteStringgetLocationBytes()Location where the quota applies.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The name of the instance quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The name of the instance quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getInstanceType
@Deprecated String getInstanceType()
Deprecated.google.cloud.baremetalsolution.v2.InstanceQuota.instance_type is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=550Instance type. Deprecated: use gcp_service.
string instance_type = 2 [deprecated = true];- Returns:
- The instanceType.
-
getInstanceTypeBytes
@Deprecated com.google.protobuf.ByteString getInstanceTypeBytes()
Deprecated.google.cloud.baremetalsolution.v2.InstanceQuota.instance_type is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=550Instance type. Deprecated: use gcp_service.
string instance_type = 2 [deprecated = true];- Returns:
- The bytes for instanceType.
-
getGcpService
String getGcpService()
The gcp service of the provisioning quota.
string gcp_service = 5;- Returns:
- The gcpService.
-
getGcpServiceBytes
com.google.protobuf.ByteString getGcpServiceBytes()
The gcp service of the provisioning quota.
string gcp_service = 5;- Returns:
- The bytes for gcpService.
-
getLocation
String getLocation()
Location where the quota applies.
string location = 3;- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()
Location where the quota applies.
string location = 3;- Returns:
- The bytes for location.
-
getAvailableMachineCount
int getAvailableMachineCount()
Number of machines than can be created for the given location and instance_type.
int32 available_machine_count = 4;- Returns:
- The availableMachineCount.
-
-