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 class
QuotaExceededInfo.Builder
Additional details for quota exceeded error for resource quota.static class
QuotaExceededInfo.RolloutStatus
Rollout 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 int
DIMENSIONS_FIELD_NUMBER
static int
FUTURE_LIMIT_FIELD_NUMBER
static int
LIMIT_FIELD_NUMBER
static int
LIMIT_NAME_FIELD_NUMBER
static int
METRIC_NAME_FIELD_NUMBER
static int
ROLLOUT_STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsDimensions(String key)
The map holding related quota dimensions.boolean
equals(Object obj)
static QuotaExceededInfo
getDefaultInstance()
QuotaExceededInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,String>
getDimensions()
Deprecated.int
getDimensionsCount()
The map holding related quota dimensions.Map<String,String>
getDimensionsMap()
The map holding related quota dimensions.String
getDimensionsOrDefault(String key, String defaultValue)
The map holding related quota dimensions.String
getDimensionsOrThrow(String key)
The map holding related quota dimensions.double
getFutureLimit()
Future quota limit being rolled out.double
getLimit()
Current effective quota limit.String
getLimitName()
The name of the quota limit.com.google.protobuf.ByteString
getLimitNameBytes()
The name of the quota limit.String
getMetricName()
The Compute Engine quota metric name.com.google.protobuf.ByteString
getMetricNameBytes()
The Compute Engine quota metric name.com.google.protobuf.Parser<QuotaExceededInfo>
getParserForType()
String
getRolloutStatus()
Rollout status of the future quota limit.com.google.protobuf.ByteString
getRolloutStatusBytes()
Rollout status of the future quota limit.int
getSerializedSize()
boolean
hasFutureLimit()
Future quota limit being rolled out.int
hashCode()
boolean
hasLimit()
Current effective quota limit.boolean
hasLimitName()
The name of the quota limit.boolean
hasMetricName()
The Compute Engine quota metric name.boolean
hasRolloutStatus()
Rollout status of the future quota limit.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static QuotaExceededInfo.Builder
newBuilder()
static QuotaExceededInfo.Builder
newBuilder(QuotaExceededInfo prototype)
QuotaExceededInfo.Builder
newBuilderForType()
protected QuotaExceededInfo.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static QuotaExceededInfo
parseDelimitedFrom(InputStream input)
static QuotaExceededInfo
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static QuotaExceededInfo
parseFrom(byte[] data)
static QuotaExceededInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static QuotaExceededInfo
parseFrom(com.google.protobuf.ByteString data)
static QuotaExceededInfo
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static QuotaExceededInfo
parseFrom(com.google.protobuf.CodedInputStream input)
static QuotaExceededInfo
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static QuotaExceededInfo
parseFrom(InputStream input)
static QuotaExceededInfo
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static QuotaExceededInfo
parseFrom(ByteBuffer data)
static QuotaExceededInfo
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<QuotaExceededInfo>
parser()
QuotaExceededInfo.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDimensionsCount
public int getDimensionsCount()
Description copied from interface:QuotaExceededInfoOrBuilder
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
- Specified by:
getDimensionsCount
in interfaceQuotaExceededInfoOrBuilder
-
containsDimensions
public boolean containsDimensions(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
- Specified by:
containsDimensions
in interfaceQuotaExceededInfoOrBuilder
-
getDimensions
@Deprecated public Map<String,String> getDimensions()
Deprecated.UsegetDimensionsMap()
instead.- Specified by:
getDimensions
in interfaceQuotaExceededInfoOrBuilder
-
getDimensionsMap
public Map<String,String> getDimensionsMap()
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
- Specified by:
getDimensionsMap
in interfaceQuotaExceededInfoOrBuilder
-
getDimensionsOrDefault
public String getDimensionsOrDefault(String key, String defaultValue)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
- Specified by:
getDimensionsOrDefault
in interfaceQuotaExceededInfoOrBuilder
-
getDimensionsOrThrow
public String getDimensionsOrThrow(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
- Specified by:
getDimensionsOrThrow
in 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:
hasFutureLimit
in 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:
getFutureLimit
in 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:
hasLimit
in 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:
getLimit
in interfaceQuotaExceededInfoOrBuilder
- Returns:
- The limit.
-
hasLimitName
public boolean hasLimitName()
The name of the quota limit.
optional string limit_name = 398197903;
- Specified by:
hasLimitName
in 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:
getLimitName
in interfaceQuotaExceededInfoOrBuilder
- Returns:
- The limitName.
-
getLimitNameBytes
public com.google.protobuf.ByteString getLimitNameBytes()
The name of the quota limit.
optional string limit_name = 398197903;
- Specified by:
getLimitNameBytes
in interfaceQuotaExceededInfoOrBuilder
- Returns:
- The bytes for limitName.
-
hasMetricName
public boolean hasMetricName()
The Compute Engine quota metric name.
optional string metric_name = 409881530;
- Specified by:
hasMetricName
in 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:
getMetricName
in interfaceQuotaExceededInfoOrBuilder
- Returns:
- The metricName.
-
getMetricNameBytes
public com.google.protobuf.ByteString getMetricNameBytes()
The Compute Engine quota metric name.
optional string metric_name = 409881530;
- Specified by:
getMetricNameBytes
in 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:
hasRolloutStatus
in 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:
getRolloutStatus
in 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:
getRolloutStatusBytes
in interfaceQuotaExceededInfoOrBuilder
- Returns:
- The bytes for rolloutStatus.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuotaExceededInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public QuotaExceededInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-