Class QuotaDetails (0.10.0)

public final class QuotaDetails extends GeneratedMessageV3 implements QuotaDetailsOrBuilder

The quota details for a map of dimensions.

Protobuf type google.api.cloudquotas.v1.QuotaDetails

Static Fields

ROLLOUT_INFO_FIELD_NUMBER

public static final int ROLLOUT_INFO_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QuotaDetails getDefaultInstance()
Returns
Type Description
QuotaDetails

getDescriptor()

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

newBuilder()

public static QuotaDetails.Builder newBuilder()
Returns
Type Description
QuotaDetails.Builder

newBuilder(QuotaDetails prototype)

public static QuotaDetails.Builder newBuilder(QuotaDetails prototype)
Parameter
Name Description
prototype QuotaDetails
Returns
Type Description
QuotaDetails.Builder

parseDelimitedFrom(InputStream input)

public static QuotaDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QuotaDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuotaDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QuotaDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QuotaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QuotaDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QuotaDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QuotaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QuotaDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QuotaDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QuotaDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QuotaDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QuotaDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QuotaDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuotaDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QuotaDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QuotaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QuotaDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QuotaDetails> parser()
Returns
Type Description
Parser<QuotaDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public QuotaDetails getDefaultInstanceForType()
Returns
Type Description
QuotaDetails

getParserForType()

public Parser<QuotaDetails> getParserForType()
Returns
Type Description
Parser<QuotaDetails>
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QuotaDetails.Builder newBuilderForType()
Returns
Type Description
QuotaDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QuotaDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QuotaDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QuotaDetails.Builder toBuilder()
Returns
Type Description
QuotaDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException