Package com.google.cloud.compute.v1
Class QuotaExceededInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
com.google.cloud.compute.v1.QuotaExceededInfo.Builder
- All Implemented Interfaces:
QuotaExceededInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QuotaExceededInfo
public static final class QuotaExceededInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
implements QuotaExceededInfoOrBuilder
Additional details for quota exceeded error for resource quota.Protobuf type
google.cloud.compute.v1.QuotaExceededInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Future quota limit being rolled out.Current effective quota limit.The name of the quota limit.The Compute Engine quota metric name.Rollout status of the future quota limit.booleancontainsDimensions(String key) The map holding related quota dimensions.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intThe map holding related quota dimensions.The map holding related quota dimensions.getDimensionsOrDefault(String key, String defaultValue) The map holding related quota dimensions.The map holding related quota dimensions.doubleFuture quota limit being rolled out.doublegetLimit()Current effective quota limit.The name of the quota limit.com.google.protobuf.ByteStringThe name of the quota limit.The Compute Engine quota metric name.com.google.protobuf.ByteStringThe Compute Engine quota metric name.Deprecated.Rollout status of the future quota limit.com.google.protobuf.ByteStringRollout status of the future quota limit.booleanFuture quota limit being rolled out.booleanhasLimit()Current effective quota limit.booleanThe name of the quota limit.booleanThe Compute Engine quota metric name.booleanRollout status of the future quota limit.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(QuotaExceededInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllDimensions(Map<String, String> values) The map holding related quota dimensions.putDimensions(String key, String value) The map holding related quota dimensions.removeDimensions(String key) The map holding related quota dimensions.setFutureLimit(double value) Future quota limit being rolled out.setLimit(double value) Current effective quota limit.setLimitName(String value) The name of the quota limit.setLimitNameBytes(com.google.protobuf.ByteString value) The name of the quota limit.setMetricName(String value) The Compute Engine quota metric name.setMetricNameBytes(com.google.protobuf.ByteString value) The Compute Engine quota metric name.setRolloutStatus(String value) Rollout status of the future quota limit.setRolloutStatusBytes(com.google.protobuf.ByteString value) Rollout status of the future quota limit.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuotaExceededInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QuotaExceededInfo.Builder>
-
mergeFrom
public QuotaExceededInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuotaExceededInfo.Builder>- Throws:
IOException
-
getDimensionsCount
public int getDimensionsCount()Description copied from interface:QuotaExceededInfoOrBuilderThe map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsCountin interfaceQuotaExceededInfoOrBuilder
-
containsDimensions
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
containsDimensionsin interfaceQuotaExceededInfoOrBuilder
-
getDimensions
Deprecated.UsegetDimensionsMap()instead.- Specified by:
getDimensionsin interfaceQuotaExceededInfoOrBuilder
-
getDimensionsMap
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsMapin interfaceQuotaExceededInfoOrBuilder
-
getDimensionsOrDefault
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsOrDefaultin interfaceQuotaExceededInfoOrBuilder
-
getDimensionsOrThrow
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;- Specified by:
getDimensionsOrThrowin interfaceQuotaExceededInfoOrBuilder
-
clearDimensions
-
removeDimensions
The map holding related quota dimensions.
map<string, string> dimensions = 414334925; -
getMutableDimensions
Deprecated.Use alternate mutation accessors instead. -
putDimensions
The map holding related quota dimensions.
map<string, string> dimensions = 414334925; -
putAllDimensions
The map holding related quota dimensions.
map<string, string> dimensions = 414334925; -
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.
-
setFutureLimit
Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
optional double future_limit = 456564287;- Parameters:
value- The futureLimit to set.- Returns:
- This builder for chaining.
-
clearFutureLimit
Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
optional double future_limit = 456564287;- Returns:
- This builder for chaining.
-
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.
-
setLimit
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;- Returns:
- This builder for chaining.
-
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
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.
-
setLimitName
The name of the quota limit.
optional string limit_name = 398197903;- Parameters:
value- The limitName to set.- Returns:
- This builder for chaining.
-
clearLimitName
The name of the quota limit.
optional string limit_name = 398197903;- Returns:
- This builder for chaining.
-
setLimitNameBytes
The name of the quota limit.
optional string limit_name = 398197903;- Parameters:
value- The bytes for limitName to set.- Returns:
- This builder for chaining.
-
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
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.
-
setMetricName
The Compute Engine quota metric name.
optional string metric_name = 409881530;- Parameters:
value- The metricName to set.- Returns:
- This builder for chaining.
-
clearMetricName
The Compute Engine quota metric name.
optional string metric_name = 409881530;- Returns:
- This builder for chaining.
-
setMetricNameBytes
The Compute Engine quota metric name.
optional string metric_name = 409881530;- Parameters:
value- The bytes for metricName to set.- Returns:
- This builder for chaining.
-
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
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.
-
setRolloutStatus
Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.
optional string rollout_status = 476426816;- Parameters:
value- The rolloutStatus to set.- Returns:
- This builder for chaining.
-
clearRolloutStatus
Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.
optional string rollout_status = 476426816;- Returns:
- This builder for chaining.
-
setRolloutStatusBytes
Rollout status of the future quota limit. Check the RolloutStatus enum for the list of possible values.
optional string rollout_status = 476426816;- Parameters:
value- The bytes for rolloutStatus to set.- Returns:
- This builder for chaining.
-