Class ProvisioningQuota (0.31.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
TypeDescription
int

AVAILABLE_COUNT_FIELD_NUMBER

public static final int AVAILABLE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

GCP_SERVICE_FIELD_NUMBER

public static final int GCP_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_QUOTA_FIELD_NUMBER

public static final int INSTANCE_QUOTA_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_BANDWIDTH_FIELD_NUMBER

public static final int NETWORK_BANDWIDTH_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_COUNT_FIELD_NUMBER

public static final int SERVER_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_GIB_FIELD_NUMBER

public static final int STORAGE_GIB_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProvisioningQuota getDefaultInstance()
Returns
TypeDescription
ProvisioningQuota

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProvisioningQuota.Builder newBuilder()
Returns
TypeDescription
ProvisioningQuota.Builder

newBuilder(ProvisioningQuota prototype)

public static ProvisioningQuota.Builder newBuilder(ProvisioningQuota prototype)
Parameter
NameDescription
prototypeProvisioningQuota
Returns
TypeDescription
ProvisioningQuota.Builder

parseDelimitedFrom(InputStream input)

public static ProvisioningQuota parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProvisioningQuota parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisioningQuota parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisioningQuota parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProvisioningQuota parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProvisioningQuota parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningQuota parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningQuota
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProvisioningQuota> parser()
Returns
TypeDescription
Parser<ProvisioningQuota>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAssetType()

public ProvisioningQuota.AssetType getAssetType()

The asset type of this provisioning quota.

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

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for assetType.

getAvailabilityCase()

public ProvisioningQuota.AvailabilityCase getAvailabilityCase()
Returns
TypeDescription
ProvisioningQuota.AvailabilityCase

getAvailableCount()

public int getAvailableCount()

The available count of the provisioning quota.

int32 available_count = 5;

Returns
TypeDescription
int

The availableCount.

getDefaultInstanceForType()

public ProvisioningQuota getDefaultInstanceForType()
Returns
TypeDescription
ProvisioningQuota

getGcpService()

public String getGcpService()

The gcp service of the provisioning quota.

string gcp_service = 3;

Returns
TypeDescription
String

The gcpService.

getGcpServiceBytes()

public ByteString getGcpServiceBytes()

The gcp service of the provisioning quota.

string gcp_service = 3;

Returns
TypeDescription
ByteString

The bytes for gcpService.

getInstanceQuota()

public InstanceQuota getInstanceQuota()

Instance quota.

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

Returns
TypeDescription
InstanceQuota

The instanceQuota.

getInstanceQuotaOrBuilder()

public InstanceQuotaOrBuilder getInstanceQuotaOrBuilder()

Instance quota.

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

Returns
TypeDescription
InstanceQuotaOrBuilder

getLocation()

public String getLocation()

The specific location of the provisioining quota.

string location = 4;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The specific location of the provisioining quota.

string location = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getNetworkBandwidth()

public long getNetworkBandwidth()

Network bandwidth, Gbps

int64 network_bandwidth = 8;

Returns
TypeDescription
long

The networkBandwidth.

getParserForType()

public Parser<ProvisioningQuota> getParserForType()
Returns
TypeDescription
Parser<ProvisioningQuota>
Overrides

getQuotaCase()

public ProvisioningQuota.QuotaCase getQuotaCase()
Returns
TypeDescription
ProvisioningQuota.QuotaCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServerCount()

public long getServerCount()

Server count.

int64 server_count = 7;

Returns
TypeDescription
long

The serverCount.

getStorageGib()

public long getStorageGib()

Storage size (GB).

int64 storage_gib = 9;

Returns
TypeDescription
long

The storageGib.

hasInstanceQuota()

public boolean hasInstanceQuota()

Instance quota.

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

Returns
TypeDescription
boolean

Whether the instanceQuota field is set.

hasNetworkBandwidth()

public boolean hasNetworkBandwidth()

Network bandwidth, Gbps

int64 network_bandwidth = 8;

Returns
TypeDescription
boolean

Whether the networkBandwidth field is set.

hasServerCount()

public boolean hasServerCount()

Server count.

int64 server_count = 7;

Returns
TypeDescription
boolean

Whether the serverCount field is set.

hasStorageGib()

public boolean hasStorageGib()

Storage size (GB).

int64 storage_gib = 9;

Returns
TypeDescription
boolean

Whether the storageGib field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProvisioningQuota.Builder newBuilderForType()
Returns
TypeDescription
ProvisioningQuota.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProvisioningQuota.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProvisioningQuota.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProvisioningQuota.Builder toBuilder()
Returns
TypeDescription
ProvisioningQuota.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException