Package viam.app.v1
Class AppOuterClass.RegistryItemBilling.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<AppOuterClass.RegistryItemBilling,AppOuterClass.RegistryItemBilling.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.RegistryItemBilling,AppOuterClass.RegistryItemBilling.Builder>
viam.app.v1.AppOuterClass.RegistryItemBilling.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.RegistryItemBillingOrBuilder
- Enclosing class:
AppOuterClass.RegistryItemBilling
public static final class AppOuterClass.RegistryItemBilling.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.RegistryItemBilling,AppOuterClass.RegistryItemBilling.Builder>
implements AppOuterClass.RegistryItemBillingOrBuilder
RegistryItemBilling stores usage cost information for a registry item. Its shape mirrors the billing block used by fragments so that billing jobs can consume registry item costs the same way. For now only cost_per_month.per_machine is supported; the additional fields that fragment billing supports (cost_per_year, tier_name, in_arrears, etc.) are intentionally omitted.Protobuf type
viam.app.v1.RegistryItemBilling-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe recurring monthly cost of the item, broken down by billable resource.The recurring yearly cost of the item, broken down by billable resource.The recurring monthly cost of the item, broken down by billable resource.The recurring yearly cost of the item, broken down by billable resource.booleanThe recurring monthly cost of the item, broken down by billable resource.booleanThe recurring yearly cost of the item, broken down by billable resource.The recurring monthly cost of the item, broken down by billable resource.The recurring yearly cost of the item, broken down by billable resource.The recurring monthly cost of the item, broken down by billable resource.setCostPerMonth(AppOuterClass.RegistryItemCostByResource.Builder builderForValue) The recurring monthly cost of the item, broken down by billable resource.The recurring yearly cost of the item, broken down by billable resource.setCostPerYear(AppOuterClass.RegistryItemCostByResource.Builder builderForValue) The recurring yearly cost of the item, broken down by billable resource.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getFrequencyCase
- Specified by:
getFrequencyCasein interfaceAppOuterClass.RegistryItemBillingOrBuilder
-
clearFrequency
-
hasCostPerMonth
public boolean hasCostPerMonth()The recurring monthly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_month = 1 [json_name = "costPerMonth"];- Specified by:
hasCostPerMonthin interfaceAppOuterClass.RegistryItemBillingOrBuilder- Returns:
- Whether the costPerMonth field is set.
-
getCostPerMonth
The recurring monthly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_month = 1 [json_name = "costPerMonth"];- Specified by:
getCostPerMonthin interfaceAppOuterClass.RegistryItemBillingOrBuilder- Returns:
- The costPerMonth.
-
setCostPerMonth
public AppOuterClass.RegistryItemBilling.Builder setCostPerMonth(AppOuterClass.RegistryItemCostByResource value) The recurring monthly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_month = 1 [json_name = "costPerMonth"]; -
setCostPerMonth
public AppOuterClass.RegistryItemBilling.Builder setCostPerMonth(AppOuterClass.RegistryItemCostByResource.Builder builderForValue) The recurring monthly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_month = 1 [json_name = "costPerMonth"]; -
mergeCostPerMonth
public AppOuterClass.RegistryItemBilling.Builder mergeCostPerMonth(AppOuterClass.RegistryItemCostByResource value) The recurring monthly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_month = 1 [json_name = "costPerMonth"]; -
clearCostPerMonth
The recurring monthly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_month = 1 [json_name = "costPerMonth"]; -
hasCostPerYear
public boolean hasCostPerYear()The recurring yearly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_year = 2 [json_name = "costPerYear"];- Specified by:
hasCostPerYearin interfaceAppOuterClass.RegistryItemBillingOrBuilder- Returns:
- Whether the costPerYear field is set.
-
getCostPerYear
The recurring yearly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_year = 2 [json_name = "costPerYear"];- Specified by:
getCostPerYearin interfaceAppOuterClass.RegistryItemBillingOrBuilder- Returns:
- The costPerYear.
-
setCostPerYear
public AppOuterClass.RegistryItemBilling.Builder setCostPerYear(AppOuterClass.RegistryItemCostByResource value) The recurring yearly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_year = 2 [json_name = "costPerYear"]; -
setCostPerYear
public AppOuterClass.RegistryItemBilling.Builder setCostPerYear(AppOuterClass.RegistryItemCostByResource.Builder builderForValue) The recurring yearly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_year = 2 [json_name = "costPerYear"]; -
mergeCostPerYear
public AppOuterClass.RegistryItemBilling.Builder mergeCostPerYear(AppOuterClass.RegistryItemCostByResource value) The recurring yearly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_year = 2 [json_name = "costPerYear"]; -
clearCostPerYear
The recurring yearly cost of the item, broken down by billable resource.
.viam.app.v1.RegistryItemCostByResource cost_per_year = 2 [json_name = "costPerYear"];
-