public final class QuotaExceededInfo extends GeneratedMessageV3 implements QuotaExceededInfoOrBuilder
Additional details for quota exceeded error for resource quota.
Protobuf type google.cloud.compute.v1.QuotaExceededInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DIMENSIONS_FIELD_NUMBER
public static final int DIMENSIONS_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 | |
Static Methods
getDefaultInstance()
public static QuotaExceededInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static QuotaExceededInfo.Builder newBuilder()
newBuilder(QuotaExceededInfo prototype)
public static QuotaExceededInfo.Builder newBuilder(QuotaExceededInfo prototype)
public static QuotaExceededInfo parseDelimitedFrom(InputStream input)
public static QuotaExceededInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static QuotaExceededInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static QuotaExceededInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(CodedInputStream input)
public static QuotaExceededInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(InputStream input)
public static QuotaExceededInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static QuotaExceededInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QuotaExceededInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<QuotaExceededInfo> parser()
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public QuotaExceededInfo getDefaultInstanceForType()
getDimensions()
public Map<String,String> getDimensions()
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;
getDimensionsOrDefault(String key, String defaultValue)
public String getDimensionsOrDefault(String key, String defaultValue)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
getDimensionsOrThrow(String key)
public String getDimensionsOrThrow(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter |
---|
Name | Description |
key | String
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public QuotaExceededInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QuotaExceededInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public QuotaExceededInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides