Class IndividualPlanInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
com.buildless.billing.IndividualPlanInfo.Builder
All Implemented Interfaces:
IndividualPlanInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IndividualPlanInfo

public static final class IndividualPlanInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder> implements IndividualPlanInfoOrBuilder
 ## Plan Info: Individual

 Specifies information about a Buildless individual account's plan. Buildless individual accounts have dedicated plan
 tiers separately from organizations, and are eligible for different add-ons and charges.
 
Protobuf type buildless.billing.IndividualPlanInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.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.GeneratedMessageV3.Builder<IndividualPlanInfo.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.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • setField

      public IndividualPlanInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • clearField

      public IndividualPlanInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • clearOneof

      public IndividualPlanInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • setRepeatedField

      public IndividualPlanInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • addRepeatedField

      public IndividualPlanInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • mergeFrom

      public IndividualPlanInfo.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<IndividualPlanInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public IndividualPlanInfo.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<IndividualPlanInfo.Builder>
      Throws:
      IOException
    • getTierValue

      public int getTierValue()
       Specifies an individual seat's main plan level.
       
      .buildless.billing.IndividualPlan tier = 1 [json_name = "tier"];
      Specified by:
      getTierValue in interface IndividualPlanInfoOrBuilder
      Returns:
      The enum numeric value on the wire for tier.
    • setTierValue

      public IndividualPlanInfo.Builder setTierValue(int value)
       Specifies an individual seat's main plan level.
       
      .buildless.billing.IndividualPlan tier = 1 [json_name = "tier"];
      Parameters:
      value - The enum numeric value on the wire for tier to set.
      Returns:
      This builder for chaining.
    • getTier

      public IndividualPlan getTier()
       Specifies an individual seat's main plan level.
       
      .buildless.billing.IndividualPlan tier = 1 [json_name = "tier"];
      Specified by:
      getTier in interface IndividualPlanInfoOrBuilder
      Returns:
      The tier.
    • setTier

       Specifies an individual seat's main plan level.
       
      .buildless.billing.IndividualPlan tier = 1 [json_name = "tier"];
      Parameters:
      value - The tier to set.
      Returns:
      This builder for chaining.
    • clearTier

      public IndividualPlanInfo.Builder clearTier()
       Specifies an individual seat's main plan level.
       
      .buildless.billing.IndividualPlan tier = 1 [json_name = "tier"];
      Returns:
      This builder for chaining.
    • getBillingCycleValue

      public int getBillingCycleValue()
       Specifies the cadence or cycle at which billing occurs for this individual user.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Specified by:
      getBillingCycleValue in interface IndividualPlanInfoOrBuilder
      Returns:
      The enum numeric value on the wire for billingCycle.
    • setBillingCycleValue

      public IndividualPlanInfo.Builder setBillingCycleValue(int value)
       Specifies the cadence or cycle at which billing occurs for this individual user.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Parameters:
      value - The enum numeric value on the wire for billingCycle to set.
      Returns:
      This builder for chaining.
    • getBillingCycle

      public BillingCycle getBillingCycle()
       Specifies the cadence or cycle at which billing occurs for this individual user.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Specified by:
      getBillingCycle in interface IndividualPlanInfoOrBuilder
      Returns:
      The billingCycle.
    • setBillingCycle

      public IndividualPlanInfo.Builder setBillingCycle(BillingCycle value)
       Specifies the cadence or cycle at which billing occurs for this individual user.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Parameters:
      value - The billingCycle to set.
      Returns:
      This builder for chaining.
    • clearBillingCycle

      public IndividualPlanInfo.Builder clearBillingCycle()
       Specifies the cadence or cycle at which billing occurs for this individual user.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final IndividualPlanInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>
    • mergeUnknownFields

      public final IndividualPlanInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndividualPlanInfo.Builder>