Class AccessQuotaStatus.Builder (0.34.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.v1beta.AccessQuotaStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessQuotaStatus build()
Returns
TypeDescription
AccessQuotaStatus

buildPartial()

public AccessQuotaStatus buildPartial()
Returns
TypeDescription
AccessQuotaStatus

clear()

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

clearConsumed()

public AccessQuotaStatus.Builder clearConsumed()

Quota consumed by this request.

int32 consumed = 1;

Returns
TypeDescription
AccessQuotaStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRemaining()

public AccessQuotaStatus.Builder clearRemaining()

Quota remaining after this request.

int32 remaining = 2;

Returns
TypeDescription
AccessQuotaStatus.Builder

This builder for chaining.

clone()

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

getConsumed()

public int getConsumed()

Quota consumed by this request.

int32 consumed = 1;

Returns
TypeDescription
int

The consumed.

getDefaultInstanceForType()

public AccessQuotaStatus getDefaultInstanceForType()
Returns
TypeDescription
AccessQuotaStatus

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(AccessQuotaStatus other)

public AccessQuotaStatus.Builder mergeFrom(AccessQuotaStatus other)
Parameter
NameDescription
otherAccessQuotaStatus
Returns
TypeDescription
AccessQuotaStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsumed(int value)

public AccessQuotaStatus.Builder setConsumed(int value)

Quota consumed by this request.

int32 consumed = 1;

Parameter
NameDescription
valueint

The consumed to set.

Returns
TypeDescription
AccessQuotaStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRemaining(int value)

public AccessQuotaStatus.Builder setRemaining(int value)

Quota remaining after this request.

int32 remaining = 2;

Parameter
NameDescription
valueint

The remaining to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessQuotaStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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