Class AccessQuotaStatus.Builder (0.59.0)

public static final class AccessQuotaStatus.Builder extends GeneratedMessageV3.Builder<AccessQuotaStatus.Builder> implements AccessQuotaStatusOrBuilder

Current state for a particular quota group.

Protobuf type google.analytics.admin.v1alpha.AccessQuotaStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessQuotaStatus build()
Returns
Type Description
AccessQuotaStatus

buildPartial()

public AccessQuotaStatus buildPartial()
Returns
Type Description
AccessQuotaStatus

clear()

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

clearConsumed()

public AccessQuotaStatus.Builder clearConsumed()

Quota consumed by this request.

int32 consumed = 1;

Returns
Type Description
AccessQuotaStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRemaining()

public AccessQuotaStatus.Builder clearRemaining()

Quota remaining after this request.

int32 remaining = 2;

Returns
Type Description
AccessQuotaStatus.Builder

This builder for chaining.

clone()

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

getConsumed()

public int getConsumed()

Quota consumed by this request.

int32 consumed = 1;

Returns
Type Description
int

The consumed.

getDefaultInstanceForType()

public AccessQuotaStatus getDefaultInstanceForType()
Returns
Type Description
AccessQuotaStatus

getDescriptorForType()

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

getRemaining()

public int getRemaining()

Quota remaining after this request.

int32 remaining = 2;

Returns
Type Description
int

The remaining.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessQuotaStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsumed(int value)

public AccessQuotaStatus.Builder setConsumed(int value)

Quota consumed by this request.

int32 consumed = 1;

Parameter
Name Description
value int

The consumed to set.

Returns
Type Description
AccessQuotaStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRemaining(int value)

public AccessQuotaStatus.Builder setRemaining(int value)

Quota remaining after this request.

int32 remaining = 2;

Parameter
Name Description
value int

The remaining to set.

Returns
Type Description
AccessQuotaStatus.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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