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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QuotaIncreaseEligibility.BuilderImplements
QuotaIncreaseEligibilityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuotaIncreaseEligibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
build()
public QuotaIncreaseEligibility build()
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility |
buildPartial()
public QuotaIncreaseEligibility buildPartial()
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility |
clear()
public QuotaIncreaseEligibility.Builder clear()
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
clearField(Descriptors.FieldDescriptor field)
public QuotaIncreaseEligibility.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QuotaIncreaseEligibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
clone()
public QuotaIncreaseEligibility.Builder clone()
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
getDefaultInstanceForType()
public QuotaIncreaseEligibility getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | The isEligible. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(QuotaIncreaseEligibility other)
public QuotaIncreaseEligibility.Builder mergeFrom(QuotaIncreaseEligibility other)
Parameter | |
---|---|
Name | Description |
other | QuotaIncreaseEligibility |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QuotaIncreaseEligibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QuotaIncreaseEligibility.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuotaIncreaseEligibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QuotaIncreaseEligibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
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 | |
---|---|
Name | Description |
value | QuotaIncreaseEligibility.IneligibilityReason The ineligibilityReason to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for ineligibilityReason to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | boolean The isEligible to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QuotaIncreaseEligibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QuotaIncreaseEligibility.Builder |