Class QuotaExceededInfo (1.53.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
Type Description
int

FUTURE_LIMIT_FIELD_NUMBER

public static final int FUTURE_LIMIT_FIELD_NUMBER
Field Value
Type Description
int

LIMIT_FIELD_NUMBER

public static final int LIMIT_FIELD_NUMBER
Field Value
Type Description
int

LIMIT_NAME_FIELD_NUMBER

public static final int LIMIT_NAME_FIELD_NUMBER
Field Value
Type Description
int

METRIC_NAME_FIELD_NUMBER

public static final int METRIC_NAME_FIELD_NUMBER
Field Value
Type Description
int

ROLLOUT_STATUS_FIELD_NUMBER

public static final int ROLLOUT_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QuotaExceededInfo getDefaultInstance()
Returns
Type Description
QuotaExceededInfo

getDescriptor()

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

newBuilder()

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

newBuilder(QuotaExceededInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsDimensions(String key)

public boolean containsDimensions(String key)

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public QuotaExceededInfo getDefaultInstanceForType()
Returns
Type Description
QuotaExceededInfo

getDimensions() (deprecated)

public Map<String,String> getDimensions()

Use #getDimensionsMap() instead.

Returns
Type Description
Map<String,String>

getDimensionsCount()

public int getDimensionsCount()

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Returns
Type Description
int

getDimensionsMap()

public Map<String,String> getDimensionsMap()

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getDimensionsOrThrow(String key)

public String getDimensionsOrThrow(String key)

The map holding related quota dimensions.

map<string, string> dimensions = 414334925;

Parameter
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
double

The limit.

getLimitName()

public String getLimitName()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
Type Description
String

The limitName.

getLimitNameBytes()

public ByteString getLimitNameBytes()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
Type Description
ByteString

The bytes for limitName.

getMetricName()

public String getMetricName()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
Type Description
String

The metricName.

getMetricNameBytes()

public ByteString getMetricNameBytes()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
Type Description
ByteString

The bytes for metricName.

getParserForType()

public Parser<QuotaExceededInfo> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for rolloutStatus.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the limit field is set.

hasLimitName()

public boolean hasLimitName()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
Type Description
boolean

Whether the limitName field is set.

hasMetricName()

public boolean hasMetricName()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
Type Description
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
Type Description
boolean

Whether the rolloutStatus field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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