Class ProvisioningQuota (0.55.0)

public final class ProvisioningQuota extends GeneratedMessageV3 implements ProvisioningQuotaOrBuilder

A provisioning quota for a given project.

Protobuf type google.cloud.baremetalsolution.v2.ProvisioningQuota

Static Fields

ASSET_TYPE_FIELD_NUMBER

public static final int ASSET_TYPE_FIELD_NUMBER
Field Value
Type Description
int

AVAILABLE_COUNT_FIELD_NUMBER

public static final int AVAILABLE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

GCP_SERVICE_FIELD_NUMBER

public static final int GCP_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_QUOTA_FIELD_NUMBER

public static final int INSTANCE_QUOTA_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_BANDWIDTH_FIELD_NUMBER

public static final int NETWORK_BANDWIDTH_FIELD_NUMBER
Field Value
Type Description
int

SERVER_COUNT_FIELD_NUMBER

public static final int SERVER_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_GIB_FIELD_NUMBER

public static final int STORAGE_GIB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProvisioningQuota getDefaultInstance()
Returns
Type Description
ProvisioningQuota

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProvisioningQuota.Builder newBuilder()
Returns
Type Description
ProvisioningQuota.Builder

newBuilder(ProvisioningQuota prototype)

public static ProvisioningQuota.Builder newBuilder(ProvisioningQuota prototype)
Parameter
Name Description
prototype ProvisioningQuota
Returns
Type Description
ProvisioningQuota.Builder

parseDelimitedFrom(InputStream input)

public static ProvisioningQuota parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProvisioningQuota parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisioningQuota parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisioningQuota parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProvisioningQuota parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProvisioningQuota parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningQuota
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProvisioningQuota> parser()
Returns
Type Description
Parser<ProvisioningQuota>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAssetType()

public ProvisioningQuota.AssetType getAssetType()

The asset type of this provisioning quota.

.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;

Returns
Type Description
ProvisioningQuota.AssetType

The assetType.

getAssetTypeValue()

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.

getAvailabilityCase()

public ProvisioningQuota.AvailabilityCase getAvailabilityCase()
Returns
Type Description
ProvisioningQuota.AvailabilityCase

getAvailableCount()

public int getAvailableCount()

The available count of the provisioning quota.

int32 available_count = 5;

Returns
Type Description
int

The availableCount.

getDefaultInstanceForType()

public ProvisioningQuota getDefaultInstanceForType()
Returns
Type Description
ProvisioningQuota

getGcpService()

public String getGcpService()

The gcp service of the provisioning quota.

string gcp_service = 3;

Returns
Type Description
String

The gcpService.

getGcpServiceBytes()

public ByteString getGcpServiceBytes()

The gcp service of the provisioning quota.

string gcp_service = 3;

Returns
Type Description
ByteString

The bytes for gcpService.

getInstanceQuota()

public InstanceQuota getInstanceQuota()

Instance quota.

.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;

Returns
Type Description
InstanceQuota

The instanceQuota.

getInstanceQuotaOrBuilder()

public InstanceQuotaOrBuilder getInstanceQuotaOrBuilder()

Instance quota.

.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;

Returns
Type Description
InstanceQuotaOrBuilder

getLocation()

public String getLocation()

The specific location of the provisioining quota.

string location = 4;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The specific location of the provisioining quota.

string location = 4;

Returns
Type Description
ByteString

The bytes for location.

getName()

public String getName()

Output only. The name of the provisioning quota.

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

Returns
Type Description
String

The name.

getNameBytes()

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.

getNetworkBandwidth()

public long getNetworkBandwidth()

Network bandwidth, Gbps

int64 network_bandwidth = 8;

Returns
Type Description
long

The networkBandwidth.

getParserForType()

public Parser<ProvisioningQuota> getParserForType()
Returns
Type Description
Parser<ProvisioningQuota>
Overrides

getQuotaCase()

public ProvisioningQuota.QuotaCase getQuotaCase()
Returns
Type Description
ProvisioningQuota.QuotaCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerCount()

public long getServerCount()

Server count.

int64 server_count = 7;

Returns
Type Description
long

The serverCount.

getStorageGib()

public long getStorageGib()

Storage size (GB).

int64 storage_gib = 9;

Returns
Type Description
long

The storageGib.

hasInstanceQuota()

public boolean hasInstanceQuota()

Instance quota.

.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;

Returns
Type Description
boolean

Whether the instanceQuota field is set.

hasNetworkBandwidth()

public boolean hasNetworkBandwidth()

Network bandwidth, Gbps

int64 network_bandwidth = 8;

Returns
Type Description
boolean

Whether the networkBandwidth field is set.

hasServerCount()

public boolean hasServerCount()

Server count.

int64 server_count = 7;

Returns
Type Description
boolean

Whether the serverCount field is set.

hasStorageGib()

public boolean hasStorageGib()

Storage size (GB).

int64 storage_gib = 9;

Returns
Type Description
boolean

Whether the storageGib field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProvisioningQuota.Builder newBuilderForType()
Returns
Type Description
ProvisioningQuota.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProvisioningQuota.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProvisioningQuota.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProvisioningQuota.Builder toBuilder()
Returns
Type Description
ProvisioningQuota.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException