Class QuotaIncreaseEligibility.Builder (0.7.0)

public static final class QuotaIncreaseEligibility.Builder extends GeneratedMessageV3.Builder<QuotaIncreaseEligibility.Builder> implements QuotaIncreaseEligibilityOrBuilder

Eligibility information regarding requesting increase adjustment of a quota.

Protobuf type google.api.cloudquotas.v1.QuotaIncreaseEligibility

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QuotaIncreaseEligibility build()
Returns
TypeDescription
QuotaIncreaseEligibility

buildPartial()

public QuotaIncreaseEligibility buildPartial()
Returns
TypeDescription
QuotaIncreaseEligibility

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIneligibilityReason()

public QuotaIncreaseEligibility.Builder clearIneligibilityReason()

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.Builder

This builder for chaining.

clearIsEligible()

public QuotaIncreaseEligibility.Builder clearIsEligible()

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

bool is_eligible = 1;

Returns
TypeDescription
QuotaIncreaseEligibility.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public QuotaIncreaseEligibility getDefaultInstanceForType()
Returns
TypeDescription
QuotaIncreaseEligibility

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QuotaIncreaseEligibility other)

public QuotaIncreaseEligibility.Builder mergeFrom(QuotaIncreaseEligibility other)
Parameter
NameDescription
otherQuotaIncreaseEligibility
Returns
TypeDescription
QuotaIncreaseEligibility.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIneligibilityReason(QuotaIncreaseEligibility.IneligibilityReason value)

public QuotaIncreaseEligibility.Builder setIneligibilityReason(QuotaIncreaseEligibility.IneligibilityReason value)

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;

Parameter
NameDescription
valueQuotaIncreaseEligibility.IneligibilityReason

The ineligibilityReason to set.

Returns
TypeDescription
QuotaIncreaseEligibility.Builder

This builder for chaining.

setIneligibilityReasonValue(int value)

public QuotaIncreaseEligibility.Builder setIneligibilityReasonValue(int value)

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;

Parameter
NameDescription
valueint

The enum numeric value on the wire for ineligibilityReason to set.

Returns
TypeDescription
QuotaIncreaseEligibility.Builder

This builder for chaining.

setIsEligible(boolean value)

public QuotaIncreaseEligibility.Builder setIsEligible(boolean value)

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

bool is_eligible = 1;

Parameter
NameDescription
valueboolean

The isEligible to set.

Returns
TypeDescription
QuotaIncreaseEligibility.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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