Package com.google.api.cloudquotas.v1
Class QuotaDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
com.google.api.cloudquotas.v1.QuotaDetails.Builder
- All Implemented Interfaces:
QuotaDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QuotaDetails
public static final class QuotaDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
implements QuotaDetailsOrBuilder
The quota details for a map of dimensions.Protobuf type
google.api.cloudquotas.v1.QuotaDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Rollout information of this quota.The value currently in effect and being enforced.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRollout information of this quota.Rollout information of this quota.Rollout information of this quota.longgetValue()The value currently in effect and being enforced.booleanRollout information of this quota.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(QuotaDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRolloutInfo(RolloutInfo value) Rollout information of this quota.setRolloutInfo(RolloutInfo value) Rollout information of this quota.setRolloutInfo(RolloutInfo.Builder builderForValue) Rollout information of this quota.setValue(long value) The value currently in effect and being enforced.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QuotaDetails.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<QuotaDetails.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<QuotaDetails.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<QuotaDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QuotaDetails.Builder>
-
mergeFrom
public QuotaDetails.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<QuotaDetails.Builder>- Throws:
IOException
-
getValue
public long getValue()The value currently in effect and being enforced.
int64 value = 1;- Specified by:
getValuein interfaceQuotaDetailsOrBuilder- Returns:
- The value.
-
setValue
The value currently in effect and being enforced.
int64 value = 1;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
The value currently in effect and being enforced.
int64 value = 1;- Returns:
- This builder for chaining.
-
hasRolloutInfo
public boolean hasRolloutInfo()Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;- Specified by:
hasRolloutInfoin interfaceQuotaDetailsOrBuilder- Returns:
- Whether the rolloutInfo field is set.
-
getRolloutInfo
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;- Specified by:
getRolloutInfoin interfaceQuotaDetailsOrBuilder- Returns:
- The rolloutInfo.
-
setRolloutInfo
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3; -
setRolloutInfo
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3; -
mergeRolloutInfo
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3; -
clearRolloutInfo
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3; -
getRolloutInfoBuilder
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3; -
getRolloutInfoOrBuilder
Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
.google.api.cloudquotas.v1.RolloutInfo rollout_info = 3;- Specified by:
getRolloutInfoOrBuilderin interfaceQuotaDetailsOrBuilder
-