Class QuotaDetails.Builder (0.14.0)

public static final class QuotaDetails.Builder extends GeneratedMessageV3.Builder<QuotaDetails.Builder> implements QuotaDetailsOrBuilder

The quota details for a map of dimensions.

Protobuf type google.api.cloudquotas.v1.QuotaDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuotaDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuotaDetails.Builder
Overrides

build()

public QuotaDetails build()
Returns
Type Description
QuotaDetails

buildPartial()

public QuotaDetails buildPartial()
Returns
Type Description
QuotaDetails

clear()

public QuotaDetails.Builder clear()
Returns
Type Description
QuotaDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QuotaDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QuotaDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QuotaDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QuotaDetails.Builder
Overrides

clearRolloutInfo()

public QuotaDetails.Builder 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;

Returns
Type Description
QuotaDetails.Builder

clearValue()

public QuotaDetails.Builder clearValue()

The value currently in effect and being enforced.

int64 value = 1;

Returns
Type Description
QuotaDetails.Builder

This builder for chaining.

clone()

public QuotaDetails.Builder clone()
Returns
Type Description
QuotaDetails.Builder
Overrides

getDefaultInstanceForType()

public QuotaDetails getDefaultInstanceForType()
Returns
Type Description
QuotaDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRolloutInfo()

public RolloutInfo 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;

Returns
Type Description
RolloutInfo

The rolloutInfo.

getRolloutInfoBuilder()

public RolloutInfo.Builder 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;

Returns
Type Description
RolloutInfo.Builder

getRolloutInfoOrBuilder()

public RolloutInfoOrBuilder 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;

Returns
Type Description
RolloutInfoOrBuilder

getValue()

public long getValue()

The value currently in effect and being enforced.

int64 value = 1;

Returns
Type Description
long

The value.

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;

Returns
Type Description
boolean

Whether the rolloutInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QuotaDetails other)

public QuotaDetails.Builder mergeFrom(QuotaDetails other)
Parameter
Name Description
other QuotaDetails
Returns
Type Description
QuotaDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QuotaDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QuotaDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QuotaDetails.Builder
Overrides

mergeRolloutInfo(RolloutInfo value)

public QuotaDetails.Builder mergeRolloutInfo(RolloutInfo value)

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;

Parameter
Name Description
value RolloutInfo
Returns
Type Description
QuotaDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QuotaDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QuotaDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QuotaDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuotaDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QuotaDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QuotaDetails.Builder
Overrides

setRolloutInfo(RolloutInfo value)

public QuotaDetails.Builder setRolloutInfo(RolloutInfo value)

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;

Parameter
Name Description
value RolloutInfo
Returns
Type Description
QuotaDetails.Builder

setRolloutInfo(RolloutInfo.Builder builderForValue)

public QuotaDetails.Builder setRolloutInfo(RolloutInfo.Builder builderForValue)

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;

Parameter
Name Description
builderForValue RolloutInfo.Builder
Returns
Type Description
QuotaDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QuotaDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QuotaDetails.Builder
Overrides

setValue(long value)

public QuotaDetails.Builder setValue(long value)

The value currently in effect and being enforced.

int64 value = 1;

Parameter
Name Description
value long

The value to set.

Returns
Type Description
QuotaDetails.Builder

This builder for chaining.