Package com.google.cloud.compute.v1
Class QuotaExceededInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.QuotaExceededInfo
-
- All Implemented Interfaces:
QuotaExceededInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class QuotaExceededInfo extends com.google.protobuf.GeneratedMessageV3 implements QuotaExceededInfoOrBuilder
Additional details for quota exceeded error for resource quota.
Protobuf typegoogle.cloud.compute.v1.QuotaExceededInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuotaExceededInfo.BuilderAdditional details for quota exceeded error for resource quota.static classQuotaExceededInfo.RolloutStatusRollout status of the future quota limit.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDIMENSIONS_FIELD_NUMBERstatic intFUTURE_LIMIT_FIELD_NUMBERstatic intLIMIT_FIELD_NUMBERstatic intLIMIT_NAME_FIELD_NUMBERstatic intMETRIC_NAME_FIELD_NUMBERstatic intROLLOUT_STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsDimensions(String key)The map holding related quota dimensions.booleanequals(Object obj)static QuotaExceededInfogetDefaultInstance()QuotaExceededInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,String>getDimensions()Deprecated.intgetDimensionsCount()The map holding related quota dimensions.Map<String,String>getDimensionsMap()The map holding related quota dimensions.StringgetDimensionsOrDefault(String key, String defaultValue)The map holding related quota dimensions.StringgetDimensionsOrThrow(String key)The map holding related quota dimensions.doublegetFutureLimit()Future quota limit being rolled out.doublegetLimit()Current effective quota limit.StringgetLimitName()The name of the quota limit.com.google.protobuf.ByteStringgetLimitNameBytes()The name of the quota limit.StringgetMetricName()The Compute Engine quota metric name.com.google.protobuf.ByteStringgetMetricNameBytes()The Compute Engine quota metric name.com.google.protobuf.Parser<QuotaExceededInfo>getParserForType()StringgetRolloutStatus()Rollout status of the future quota limit.com.google.protobuf.ByteStringgetRolloutStatusBytes()Rollout status of the future quota limit.intgetSerializedSize()booleanhasFutureLimit()Future quota limit being rolled out.inthashCode()booleanhasLimit()Current effective quota limit.booleanhasLimitName()The name of the quota limit.booleanhasMetricName()The Compute Engine quota metric name.booleanhasRolloutStatus()Rollout status of the future quota limit.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static QuotaExceededInfo.BuildernewBuilder()static QuotaExceededInfo.BuildernewBuilder(QuotaExceededInfo prototype)QuotaExceededInfo.BuildernewBuilderForType()protected QuotaExceededInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static QuotaExceededInfoparseDelimitedFrom(InputStream input)static QuotaExceededInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuotaExceededInfoparseFrom(byte[] data)static QuotaExceededInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuotaExceededInfoparseFrom(com.google.protobuf.ByteString data)static QuotaExceededInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuotaExceededInfoparseFrom(com.google.protobuf.CodedInputStream input)static QuotaExceededInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuotaExceededInfoparseFrom(InputStream input)static QuotaExceededInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuotaExceededInfoparseFrom(ByteBuffer data)static QuotaExceededInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuotaExceededInfo>parser()QuotaExceededInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DIMENSIONS_FIELD_NUMBER
public static final int DIMENSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUTURE_LIMIT_FIELD_NUMBER
public static final int FUTURE_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIMIT_NAME_FIELD_NUMBER
public static final int LIMIT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRIC_NAME_FIELD_NUMBER
public static final int METRIC_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLLOUT_STATUS_FIELD_NUMBER
public static final int ROLLOUT_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDimensionsCount
public int getDimensionsCount()
Description copied from interface:QuotaExceededInfoOrBuilderThe map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsCountin interfaceQuotaExceededInfoOrBuilder
-
containsDimensions
public boolean containsDimensions(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
containsDimensionsin interfaceQuotaExceededInfoOrBuilder
-
getDimensions
@Deprecated public Map<String,String> getDimensions()
Deprecated.UsegetDimensionsMap()instead.- Specified by:
getDimensionsin interfaceQuotaExceededInfoOrBuilder
-
getDimensionsMap
public Map<String,String> getDimensionsMap()
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsMapin interfaceQuotaExceededInfoOrBuilder
-
getDimensionsOrDefault
public String getDimensionsOrDefault(String key, String defaultValue)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsOrDefaultin interfaceQuotaExceededInfoOrBuilder
-
getDimensionsOrThrow
public String getDimensionsOrThrow(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsOrThrowin interfaceQuotaExceededInfoOrBuilder
-
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;- Specified by:
hasFutureLimitin interfaceQuotaExceededInfoOrBuilder- Returns:
- Whether the futureLimit field is set.
-
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;- Specified by:
getFutureLimitin interfaceQuotaExceededInfoOrBuilder- Returns:
- The futureLimit.
-
hasLimit
public boolean hasLimit()
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;- Specified by:
hasLimitin interfaceQuotaExceededInfoOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public double getLimit()
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;- Specified by:
getLimitin interfaceQuotaExceededInfoOrBuilder- Returns:
- The limit.
-
hasLimitName
public boolean hasLimitName()
The name of the quota limit.
optional string limit_name = 398197903;- Specified by:
hasLimitNamein interfaceQuotaExceededInfoOrBuilder- Returns:
- Whether the limitName field is set.
-
getLimitName
public String getLimitName()
The name of the quota limit.
optional string limit_name = 398197903;- Specified by:
getLimitNamein interfaceQuotaExceededInfoOrBuilder- Returns:
- The limitName.
-
getLimitNameBytes
public com.google.protobuf.ByteString getLimitNameBytes()
The name of the quota limit.
optional string limit_name = 398197903;- Specified by:
getLimitNameBytesin interfaceQuotaExceededInfoOrBuilder- Returns:
- The bytes for limitName.
-
hasMetricName
public boolean hasMetricName()
The Compute Engine quota metric name.
optional string metric_name = 409881530;- Specified by:
hasMetricNamein interfaceQuotaExceededInfoOrBuilder- Returns:
- Whether the metricName field is set.
-
getMetricName
public String getMetricName()
The Compute Engine quota metric name.
optional string metric_name = 409881530;- Specified by:
getMetricNamein interfaceQuotaExceededInfoOrBuilder- Returns:
- The metricName.
-
getMetricNameBytes
public com.google.protobuf.ByteString getMetricNameBytes()
The Compute Engine quota metric name.
optional string metric_name = 409881530;- Specified by:
getMetricNameBytesin interfaceQuotaExceededInfoOrBuilder- Returns:
- The bytes for metricName.
-
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;- Specified by:
hasRolloutStatusin interfaceQuotaExceededInfoOrBuilder- Returns:
- Whether the rolloutStatus field is set.
-
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;- Specified by:
getRolloutStatusin interfaceQuotaExceededInfoOrBuilder- Returns:
- The rolloutStatus.
-
getRolloutStatusBytes
public com.google.protobuf.ByteString getRolloutStatusBytes()
Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.
optional string rollout_status = 476426816;- Specified by:
getRolloutStatusBytesin interfaceQuotaExceededInfoOrBuilder- Returns:
- The bytes for rolloutStatus.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QuotaExceededInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuotaExceededInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuotaExceededInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuotaExceededInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuotaExceededInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuotaExceededInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuotaExceededInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QuotaExceededInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QuotaExceededInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QuotaExceededInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static QuotaExceededInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QuotaExceededInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public QuotaExceededInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static QuotaExceededInfo.Builder newBuilder()
-
newBuilder
public static QuotaExceededInfo.Builder newBuilder(QuotaExceededInfo prototype)
-
toBuilder
public QuotaExceededInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuotaExceededInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static QuotaExceededInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuotaExceededInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<QuotaExceededInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public QuotaExceededInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-