Class QuotaExceededInfo (1.50.0)

public final class QuotaExceededInfo extends GeneratedMessageV3 implements QuotaExceededInfoOrBuilder

Additional details for quota exceeded error for resource quota.

Protobuf type google.cloud.compute.v1.QuotaExceededInfo

Static Fields

DIMENSIONS_FIELD_NUMBER

public static final int DIMENSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

FUTURE_LIMIT_FIELD_NUMBER

public static final int FUTURE_LIMIT_FIELD_NUMBER
Field Value
TypeDescription
int

LIMIT_FIELD_NUMBER

public static final int LIMIT_FIELD_NUMBER
Field Value
TypeDescription
int

LIMIT_NAME_FIELD_NUMBER

public static final int LIMIT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

METRIC_NAME_FIELD_NUMBER

public static final int METRIC_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_STATUS_FIELD_NUMBER

public static final int ROLLOUT_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QuotaExceededInfo getDefaultInstance()
Returns
TypeDescription
QuotaExceededInfo

getDescriptor()

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

newBuilder()

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

newBuilder(QuotaExceededInfo prototype)

public static QuotaExceededInfo.Builder newBuilder(QuotaExceededInfo prototype)
Parameter
NameDescription
prototypeQuotaExceededInfo
Returns
TypeDescription
QuotaExceededInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsDimensions(String key)

public boolean containsDimensions(String key)

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public QuotaExceededInfo getDefaultInstanceForType()
Returns
TypeDescription
QuotaExceededInfo

getDimensions() (deprecated)

public Map<String,String> getDimensions()

Use #getDimensionsMap() instead.

Returns
TypeDescription
Map<String,String>

getDimensionsCount()

public int getDimensionsCount()

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Returns
TypeDescription
int

getDimensionsMap()

public Map<String,String> getDimensionsMap()

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Returns
TypeDescription
Map<String,String>

getDimensionsOrDefault(String key, String defaultValue)

public String getDimensionsOrDefault(String key, String defaultValue)

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDimensionsOrThrow(String key)

public String getDimensionsOrThrow(String key)

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getFutureLimit()

public double getFutureLimit()

Future quota limit being rolled out. The limit's unit depends on the quota type or metric.

optional double future_limit = 456564287;

Returns
TypeDescription
double

The futureLimit.

getLimit()

public double getLimit()

Current effective quota limit. The limit's unit depends on the quota type or metric.

optional double limit = 102976443;

Returns
TypeDescription
double

The limit.

getLimitName()

public String getLimitName()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
TypeDescription
String

The limitName.

getLimitNameBytes()

public ByteString getLimitNameBytes()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
TypeDescription
ByteString

The bytes for limitName.

getMetricName()

public String getMetricName()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
TypeDescription
String

The metricName.

getMetricNameBytes()

public ByteString getMetricNameBytes()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
TypeDescription
ByteString

The bytes for metricName.

getParserForType()

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

getRolloutStatus()

public String getRolloutStatus()

Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.

optional string rollout_status = 476426816;

Returns
TypeDescription
String

The rolloutStatus.

getRolloutStatusBytes()

public ByteString getRolloutStatusBytes()

Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.

optional string rollout_status = 476426816;

Returns
TypeDescription
ByteString

The bytes for rolloutStatus.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasFutureLimit()

public boolean hasFutureLimit()

Future quota limit being rolled out. The limit's unit depends on the quota type or metric.

optional double future_limit = 456564287;

Returns
TypeDescription
boolean

Whether the futureLimit field is set.

hasLimit()

public boolean hasLimit()

Current effective quota limit. The limit's unit depends on the quota type or metric.

optional double limit = 102976443;

Returns
TypeDescription
boolean

Whether the limit field is set.

hasLimitName()

public boolean hasLimitName()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
TypeDescription
boolean

Whether the limitName field is set.

hasMetricName()

public boolean hasMetricName()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
TypeDescription
boolean

Whether the metricName field is set.

hasRolloutStatus()

public boolean hasRolloutStatus()

Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.

optional string rollout_status = 476426816;

Returns
TypeDescription
boolean

Whether the rolloutStatus field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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