Class QuotaDetails.Builder (0.51.0)

public static final class QuotaDetails.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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

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.