Class QuotaDetails.Builder (0.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuotaDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QuotaDetails.Builder
Overrides

build()

public QuotaDetails build()
Returns
TypeDescription
QuotaDetails

buildPartial()

public QuotaDetails buildPartial()
Returns
TypeDescription
QuotaDetails

clear()

public QuotaDetails.Builder clear()
Returns
TypeDescription
QuotaDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QuotaDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QuotaDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QuotaDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QuotaDetails.Builder
Overrides

clearValue()

public QuotaDetails.Builder clearValue()

The value currently in effect and being enforced.

int64 value = 1;

Returns
TypeDescription
QuotaDetails.Builder

This builder for chaining.

clone()

public QuotaDetails.Builder clone()
Returns
TypeDescription
QuotaDetails.Builder
Overrides

getDefaultInstanceForType()

public QuotaDetails getDefaultInstanceForType()
Returns
TypeDescription
QuotaDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public long getValue()

The value currently in effect and being enforced.

int64 value = 1;

Returns
TypeDescription
long

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QuotaDetails other)

public QuotaDetails.Builder mergeFrom(QuotaDetails other)
Parameter
NameDescription
otherQuotaDetails
Returns
TypeDescription
QuotaDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QuotaDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QuotaDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QuotaDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QuotaDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QuotaDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QuotaDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QuotaDetails.Builder
Overrides

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

public QuotaDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QuotaDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QuotaDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QuotaDetails.Builder
Overrides

setValue(long value)

public QuotaDetails.Builder setValue(long value)

The value currently in effect and being enforced.

int64 value = 1;

Parameter
NameDescription
valuelong

The value to set.

Returns
TypeDescription
QuotaDetails.Builder

This builder for chaining.