Class QuotaStatus.Builder (0.40.0)

public static final class QuotaStatus.Builder extends GeneratedMessageV3.Builder<QuotaStatus.Builder> implements QuotaStatusOrBuilder

Current state for a particular quota group.

Protobuf type google.analytics.data.v1alpha.QuotaStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QuotaStatus build()
Returns
TypeDescription
QuotaStatus

buildPartial()

public QuotaStatus buildPartial()
Returns
TypeDescription
QuotaStatus

clear()

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

clearConsumed()

public QuotaStatus.Builder clearConsumed()

Quota consumed by this request.

int32 consumed = 1;

Returns
TypeDescription
QuotaStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRemaining()

public QuotaStatus.Builder clearRemaining()

Quota remaining after this request.

int32 remaining = 2;

Returns
TypeDescription
QuotaStatus.Builder

This builder for chaining.

clone()

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

getConsumed()

public int getConsumed()

Quota consumed by this request.

int32 consumed = 1;

Returns
TypeDescription
int

The consumed.

getDefaultInstanceForType()

public QuotaStatus getDefaultInstanceForType()
Returns
TypeDescription
QuotaStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRemaining()

public int getRemaining()

Quota remaining after this request.

int32 remaining = 2;

Returns
TypeDescription
int

The remaining.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QuotaStatus other)

public QuotaStatus.Builder mergeFrom(QuotaStatus other)
Parameter
NameDescription
otherQuotaStatus
Returns
TypeDescription
QuotaStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsumed(int value)

public QuotaStatus.Builder setConsumed(int value)

Quota consumed by this request.

int32 consumed = 1;

Parameter
NameDescription
valueint

The consumed to set.

Returns
TypeDescription
QuotaStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRemaining(int value)

public QuotaStatus.Builder setRemaining(int value)

Quota remaining after this request.

int32 remaining = 2;

Parameter
NameDescription
valueint

The remaining to set.

Returns
TypeDescription
QuotaStatus.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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