Class QuotaIncreaseEligibility (0.2.0)

public final class QuotaIncreaseEligibility extends GeneratedMessageV3 implements QuotaIncreaseEligibilityOrBuilder

Eligibility information regarding requesting increase adjustment of a quota.

Protobuf type google.api.cloudquotas.v1.QuotaIncreaseEligibility

Static Fields

INELIGIBILITY_REASON_FIELD_NUMBER

public static final int INELIGIBILITY_REASON_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ELIGIBLE_FIELD_NUMBER

public static final int IS_ELIGIBLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QuotaIncreaseEligibility getDefaultInstance()
Returns
TypeDescription
QuotaIncreaseEligibility

getDescriptor()

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

newBuilder()

public static QuotaIncreaseEligibility.Builder newBuilder()
Returns
TypeDescription
QuotaIncreaseEligibility.Builder

newBuilder(QuotaIncreaseEligibility prototype)

public static QuotaIncreaseEligibility.Builder newBuilder(QuotaIncreaseEligibility prototype)
Parameter
NameDescription
prototypeQuotaIncreaseEligibility
Returns
TypeDescription
QuotaIncreaseEligibility.Builder

parseDelimitedFrom(InputStream input)

public static QuotaIncreaseEligibility parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuotaIncreaseEligibility parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QuotaIncreaseEligibility parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QuotaIncreaseEligibility parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QuotaIncreaseEligibility parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QuotaIncreaseEligibility parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QuotaIncreaseEligibility parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QuotaIncreaseEligibility parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QuotaIncreaseEligibility parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuotaIncreaseEligibility parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QuotaIncreaseEligibility parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QuotaIncreaseEligibility parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuotaIncreaseEligibility
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QuotaIncreaseEligibility> parser()
Returns
TypeDescription
Parser<QuotaIncreaseEligibility>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public QuotaIncreaseEligibility getDefaultInstanceForType()
Returns
TypeDescription
QuotaIncreaseEligibility

getIneligibilityReason()

public QuotaIncreaseEligibility.IneligibilityReason getIneligibilityReason()

The reason of why it is ineligible to request increased value of the quota. If the is_eligible field is true, it defaults to INELIGIBILITY_REASON_UNSPECIFIED.

.google.api.cloudquotas.v1.QuotaIncreaseEligibility.IneligibilityReason ineligibility_reason = 2;

Returns
TypeDescription
QuotaIncreaseEligibility.IneligibilityReason

The ineligibilityReason.

getIneligibilityReasonValue()

public int getIneligibilityReasonValue()

The reason of why it is ineligible to request increased value of the quota. If the is_eligible field is true, it defaults to INELIGIBILITY_REASON_UNSPECIFIED.

.google.api.cloudquotas.v1.QuotaIncreaseEligibility.IneligibilityReason ineligibility_reason = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for ineligibilityReason.

getIsEligible()

public boolean getIsEligible()

Whether a higher quota value can be requested for the quota.

bool is_eligible = 1;

Returns
TypeDescription
boolean

The isEligible.

getParserForType()

public Parser<QuotaIncreaseEligibility> getParserForType()
Returns
TypeDescription
Parser<QuotaIncreaseEligibility>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QuotaIncreaseEligibility.Builder newBuilderForType()
Returns
TypeDescription
QuotaIncreaseEligibility.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QuotaIncreaseEligibility.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QuotaIncreaseEligibility.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QuotaIncreaseEligibility.Builder toBuilder()
Returns
TypeDescription
QuotaIncreaseEligibility.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException