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
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
Field Value
LIMIT_NAME_FIELD_NUMBER
public static final int LIMIT_NAME_FIELD_NUMBER
Field Value
METRIC_NAME_FIELD_NUMBER
public static final int METRIC_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static QuotaExceededInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static QuotaExceededInfo.Builder newBuilder()
Returns
newBuilder(QuotaExceededInfo prototype)
public static QuotaExceededInfo.Builder newBuilder(QuotaExceededInfo prototype)
Parameter
Returns
public static QuotaExceededInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static QuotaExceededInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static QuotaExceededInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static QuotaExceededInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QuotaExceededInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static QuotaExceededInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QuotaExceededInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static QuotaExceededInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static QuotaExceededInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<QuotaExceededInfo> parser()
Returns
Methods
containsDimensions(String key)
public boolean containsDimensions(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public QuotaExceededInfo getDefaultInstanceForType()
Returns
getDimensions()
public Map<String,String> getDimensions()
Returns
getDimensionsCount()
public int getDimensionsCount()
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Returns
getDimensionsMap()
public Map<String,String> getDimensionsMap()
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Returns
getDimensionsOrDefault(String key, String defaultValue)
public String getDimensionsOrDefault(String key, String defaultValue)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameters
Returns
getDimensionsOrThrow(String key)
public String getDimensionsOrThrow(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public QuotaExceededInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QuotaExceededInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public QuotaExceededInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions