public final class ProvisioningQuota extends GeneratedMessageV3 implements ProvisioningQuotaOrBuilder
A provisioning quota for a given project.
Protobuf type google.cloud.baremetalsolution.v2.ProvisioningQuota
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int ASSET_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int AVAILABLE_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GCP_SERVICE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INSTANCE_QUOTA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LOCATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NETWORK_BANDWIDTH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SERVER_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STORAGE_GIB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ProvisioningQuota getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ProvisioningQuota.Builder newBuilder()
public static ProvisioningQuota.Builder newBuilder(ProvisioningQuota prototype)
public static ProvisioningQuota parseDelimitedFrom(InputStream input)
public static ProvisioningQuota parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProvisioningQuota parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ProvisioningQuota parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProvisioningQuota parseFrom(ByteString data)
public static ProvisioningQuota parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProvisioningQuota parseFrom(CodedInputStream input)
public static ProvisioningQuota parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProvisioningQuota parseFrom(InputStream input)
public static ProvisioningQuota parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProvisioningQuota parseFrom(ByteBuffer data)
public static ProvisioningQuota parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ProvisioningQuota> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public ProvisioningQuota.AssetType getAssetType()
The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
public int getAssetTypeValue()
The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for assetType.
|
public ProvisioningQuota.AvailabilityCase getAvailabilityCase()
public int getAvailableCount()
The available count of the provisioning quota.
int32 available_count = 5;
Returns |
---|
Type | Description |
int | The availableCount.
|
public ProvisioningQuota getDefaultInstanceForType()
public String getGcpService()
The gcp service of the provisioning quota.
string gcp_service = 3;
Returns |
---|
Type | Description |
String | The gcpService.
|
public ByteString getGcpServiceBytes()
The gcp service of the provisioning quota.
string gcp_service = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for gcpService.
|
public InstanceQuota getInstanceQuota()
Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
public InstanceQuotaOrBuilder getInstanceQuotaOrBuilder()
Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
public String getLocation()
The specific location of the provisioining quota.
string location = 4;
Returns |
---|
Type | Description |
String | The location.
|
public ByteString getLocationBytes()
The specific location of the provisioining quota.
string location = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for location.
|
Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public long getNetworkBandwidth()
Network bandwidth, Gbps
int64 network_bandwidth = 8;
Returns |
---|
Type | Description |
long | The networkBandwidth.
|
public Parser<ProvisioningQuota> getParserForType()
Overrides
public ProvisioningQuota.QuotaCase getQuotaCase()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public long getServerCount()
Server count.
int64 server_count = 7;
Returns |
---|
Type | Description |
long | The serverCount.
|
public long getStorageGib()
Storage size (GB).
int64 storage_gib = 9;
Returns |
---|
Type | Description |
long | The storageGib.
|
public boolean hasInstanceQuota()
Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
Returns |
---|
Type | Description |
boolean | Whether the instanceQuota field is set.
|
public boolean hasNetworkBandwidth()
Network bandwidth, Gbps
int64 network_bandwidth = 8;
Returns |
---|
Type | Description |
boolean | Whether the networkBandwidth field is set.
|
public boolean hasServerCount()
Server count.
int64 server_count = 7;
Returns |
---|
Type | Description |
boolean | Whether the serverCount field is set.
|
public boolean hasStorageGib()
Storage size (GB).
int64 storage_gib = 9;
Returns |
---|
Type | Description |
boolean | Whether the storageGib field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ProvisioningQuota.Builder newBuilderForType()
protected ProvisioningQuota.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ProvisioningQuota.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides