Class TenantPlanInfo.Builder

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

public static final class TenantPlanInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder> implements TenantPlanInfoOrBuilder
 ## Plan Info: Tenant

 Specifies information about a Buildless organization's plan. Buildless organizations have different plan tiers from
 individual accounts. Plans may also include extra user seats and other add-ons which individual accounts are not
 eligible for.
 
Protobuf type buildless.billing.TenantPlanInfo
  • 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<TenantPlanInfo.Builder>
    • clear

      public TenantPlanInfo.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<TenantPlanInfo.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<TenantPlanInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public TenantPlanInfo.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<TenantPlanInfo.Builder>
    • setField

      public TenantPlanInfo.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<TenantPlanInfo.Builder>
    • clearField

      public TenantPlanInfo.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<TenantPlanInfo.Builder>
    • clearOneof

      public TenantPlanInfo.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<TenantPlanInfo.Builder>
    • setRepeatedField

      public TenantPlanInfo.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<TenantPlanInfo.Builder>
    • addRepeatedField

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

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

      public TenantPlanInfo.Builder mergeFrom(TenantPlanInfo other)
    • isInitialized

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

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

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

      public TenantPlanInfo.Builder setTierValue(int value)
       Specifies the tenant's main plan level.
       
      .buildless.billing.TenantPlan 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 TenantPlan getTier()
       Specifies the tenant's main plan level.
       
      .buildless.billing.TenantPlan tier = 1 [json_name = "tier"];
      Specified by:
      getTier in interface TenantPlanInfoOrBuilder
      Returns:
      The tier.
    • setTier

      public TenantPlanInfo.Builder setTier(TenantPlan value)
       Specifies the tenant's main plan level.
       
      .buildless.billing.TenantPlan tier = 1 [json_name = "tier"];
      Parameters:
      value - The tier to set.
      Returns:
      This builder for chaining.
    • clearTier

      public TenantPlanInfo.Builder clearTier()
       Specifies the tenant's main plan level.
       
      .buildless.billing.TenantPlan 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 tenant.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Specified by:
      getBillingCycleValue in interface TenantPlanInfoOrBuilder
      Returns:
      The enum numeric value on the wire for billingCycle.
    • setBillingCycleValue

      public TenantPlanInfo.Builder setBillingCycleValue(int value)
       Specifies the cadence or cycle at which billing occurs for this tenant.
       
      .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 tenant.
       
      .buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];
      Specified by:
      getBillingCycle in interface TenantPlanInfoOrBuilder
      Returns:
      The billingCycle.
    • setBillingCycle

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

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

      public final TenantPlanInfo.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<TenantPlanInfo.Builder>
    • mergeUnknownFields

      public final TenantPlanInfo.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<TenantPlanInfo.Builder>