Class QuotaIncreaseEligibility.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuotaIncreaseEligibility.Builder>
com.google.api.cloudquotas.v1.QuotaIncreaseEligibility.Builder
All Implemented Interfaces:
QuotaIncreaseEligibilityOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QuotaIncreaseEligibility

public static final class QuotaIncreaseEligibility.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuotaIncreaseEligibility.Builder> implements QuotaIncreaseEligibilityOrBuilder
 Eligibility information regarding requesting increase adjustment of a quota.
 
Protobuf type google.api.cloudquotas.v1.QuotaIncreaseEligibility
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QuotaIncreaseEligibility.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<QuotaIncreaseEligibility.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QuotaIncreaseEligibility.Builder>
    • getDefaultInstanceForType

      public QuotaIncreaseEligibility getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public QuotaIncreaseEligibility build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QuotaIncreaseEligibility buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public QuotaIncreaseEligibility.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaIncreaseEligibility.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QuotaIncreaseEligibility.Builder>
    • mergeFrom

      public QuotaIncreaseEligibility.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaIncreaseEligibility.Builder>
      Throws:
      IOException
    • getIsEligible

      public boolean getIsEligible()
       Whether a higher quota value can be requested for the quota.
       
      bool is_eligible = 1;
      Specified by:
      getIsEligible in interface QuotaIncreaseEligibilityOrBuilder
      Returns:
      The isEligible.
    • setIsEligible

      public QuotaIncreaseEligibility.Builder setIsEligible(boolean value)
       Whether a higher quota value can be requested for the quota.
       
      bool is_eligible = 1;
      Parameters:
      value - The isEligible to set.
      Returns:
      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:
      This builder for chaining.
    • 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;
      Specified by:
      getIneligibilityReasonValue in interface QuotaIncreaseEligibilityOrBuilder
      Returns:
      The enum numeric value on the wire for ineligibilityReason.
    • setIneligibilityReasonValue

      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;
      Parameters:
      value - The enum numeric value on the wire for ineligibilityReason to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getIneligibilityReason in interface QuotaIncreaseEligibilityOrBuilder
      Returns:
      The ineligibilityReason.
    • setIneligibilityReason

       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;
      Parameters:
      value - The ineligibilityReason to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.