Package viam.app.v1
Class AppOuterClass.RegistryItemBilling
java.lang.Object
com.google.protobuf.AbstractMessageLite<AppOuterClass.RegistryItemBilling,AppOuterClass.RegistryItemBilling.Builder>
com.google.protobuf.GeneratedMessageLite<AppOuterClass.RegistryItemBilling,AppOuterClass.RegistryItemBilling.Builder>
viam.app.v1.AppOuterClass.RegistryItemBilling
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,AppOuterClass.RegistryItemBillingOrBuilder
- Enclosing class:
AppOuterClass
public static final class AppOuterClass.RegistryItemBilling
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRegistryItemBilling stores usage cost information for a registry item.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) 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.newBuilder(AppOuterClass.RegistryItemBilling prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppOuterClass.RegistryItemBilling> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
COST_PER_MONTH_FIELD_NUMBER
public static final int COST_PER_MONTH_FIELD_NUMBER- See Also:
-
COST_PER_YEAR_FIELD_NUMBER
public static final int COST_PER_YEAR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getFrequencyCase
- Specified by:
getFrequencyCasein interfaceAppOuterClass.RegistryItemBillingOrBuilder
-
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.
-
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.
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AppOuterClass.RegistryItemBilling parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AppOuterClass.RegistryItemBilling parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.RegistryItemBilling parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static AppOuterClass.RegistryItemBilling.Builder newBuilder(AppOuterClass.RegistryItemBilling prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<AppOuterClass.RegistryItemBilling,AppOuterClass.RegistryItemBilling.Builder>
-
getDefaultInstance
-
parser
-