Class QuotaExceededInfo.Builder (1.88.0)

public static final class QuotaExceededInfo.Builder extends GeneratedMessageV3.Builder<QuotaExceededInfo.Builder> implements QuotaExceededInfoOrBuilder

Additional details for quota exceeded error for resource quota.

Protobuf type google.cloud.compute.v1.QuotaExceededInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuotaExceededInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuotaExceededInfo.Builder
Overrides

build()

public QuotaExceededInfo build()
Returns
Type Description
QuotaExceededInfo

buildPartial()

public QuotaExceededInfo buildPartial()
Returns
Type Description
QuotaExceededInfo

clear()

public QuotaExceededInfo.Builder clear()
Returns
Type Description
QuotaExceededInfo.Builder
Overrides

clearDimensions()

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

clearField(Descriptors.FieldDescriptor field)

public QuotaExceededInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QuotaExceededInfo.Builder
Overrides

clearFutureLimit()

public QuotaExceededInfo.Builder clearFutureLimit()

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
QuotaExceededInfo.Builder

This builder for chaining.

clearLimit()

public QuotaExceededInfo.Builder clearLimit()

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

optional double limit = 102976443;

Returns
Type Description
QuotaExceededInfo.Builder

This builder for chaining.

clearLimitName()

public QuotaExceededInfo.Builder clearLimitName()

The name of the quota limit.

optional string limit_name = 398197903;

Returns
Type Description
QuotaExceededInfo.Builder

This builder for chaining.

clearMetricName()

public QuotaExceededInfo.Builder clearMetricName()

The Compute Engine quota metric name.

optional string metric_name = 409881530;

Returns
Type Description
QuotaExceededInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QuotaExceededInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QuotaExceededInfo.Builder
Overrides

clearRolloutStatus()

public QuotaExceededInfo.Builder clearRolloutStatus()

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
QuotaExceededInfo.Builder

This builder for chaining.

clone()

public QuotaExceededInfo.Builder clone()
Returns
Type Description
QuotaExceededInfo.Builder
Overrides

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

getDefaultInstanceForType()

public QuotaExceededInfo getDefaultInstanceForType()
Returns
Type Description
QuotaExceededInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMutableDimensions() (deprecated)

public Map<String,String> getMutableDimensions()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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.

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