Package com.buildless.billing
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Specifies the cadence or cycle at which billing occurs for this tenant.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the tenant's main plan level.clone()Specifies the cadence or cycle at which billing occurs for this tenant.intSpecifies the cadence or cycle at which billing occurs for this tenant.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTier()Specifies the tenant's main plan level.intSpecifies the tenant's main plan level.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(TenantPlanInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final TenantPlanInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBillingCycle(BillingCycle value) Specifies the cadence or cycle at which billing occurs for this tenant.setBillingCycleValue(int value) Specifies the cadence or cycle at which billing occurs for this tenant.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTier(TenantPlan value) Specifies the tenant's main plan level.setTierValue(int value) Specifies the tenant's main plan level.final TenantPlanInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
setField
public TenantPlanInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
setRepeatedField
public TenantPlanInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
addRepeatedField
public TenantPlanInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TenantPlanInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getTierValuein interfaceTenantPlanInfoOrBuilder- Returns:
- The enum numeric value on the wire for tier.
-
setTierValue
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
Specifies the tenant's main plan level.
.buildless.billing.TenantPlan tier = 1 [json_name = "tier"];- Specified by:
getTierin interfaceTenantPlanInfoOrBuilder- Returns:
- The tier.
-
setTier
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
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:
getBillingCycleValuein interfaceTenantPlanInfoOrBuilder- Returns:
- The enum numeric value on the wire for billingCycle.
-
setBillingCycleValue
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
Specifies the cadence or cycle at which billing occurs for this tenant.
.buildless.billing.BillingCycle billing_cycle = 2 [json_name = "billingCycle"];- Specified by:
getBillingCyclein interfaceTenantPlanInfoOrBuilder- Returns:
- The billingCycle.
-
setBillingCycle
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-
mergeUnknownFields
public final TenantPlanInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TenantPlanInfo.Builder>
-