Package viam.app.v1
Class Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Billing.CreateInvoiceAndChargeImmediatelyRequest,Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder>
viam.app.v1.Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Billing.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Enclosing class:
- Billing.CreateInvoiceAndChargeImmediatelyRequest
public static final class Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Billing.CreateInvoiceAndChargeImmediatelyRequest,Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder>
implements Billing.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
Protobuf type
viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptiondouble amount = 2 [json_name = "amount"];
optional string description = 3 [json_name = "description"];
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
double
double amount = 2 [json_name = "amount"];
optional string description = 3 [json_name = "description"];
com.google.protobuf.ByteString
optional string description = 3 [json_name = "description"];
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
com.google.protobuf.ByteString
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
com.google.protobuf.ByteString
string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
boolean
optional string description = 3 [json_name = "description"];
boolean
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
setAmount
(double value) double amount = 2 [json_name = "amount"];
setDescription
(String value) optional string description = 3 [json_name = "description"];
setDescriptionBytes
(com.google.protobuf.ByteString value) optional string description = 3 [json_name = "description"];
setOrgIdForBranding
(String value) optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
setOrgIdForBrandingBytes
(com.google.protobuf.ByteString value) optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
setOrgIdToCharge
(String value) string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
setOrgIdToChargeBytes
(com.google.protobuf.ByteString value) string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrgIdToCharge
string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
- Specified by:
getOrgIdToCharge
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The orgIdToCharge.
-
getOrgIdToChargeBytes
public com.google.protobuf.ByteString getOrgIdToChargeBytes()string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
- Specified by:
getOrgIdToChargeBytes
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The bytes for orgIdToCharge.
-
setOrgIdToCharge
string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
- Parameters:
value
- The orgIdToCharge to set.- Returns:
- This builder for chaining.
-
clearOrgIdToCharge
string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
- Returns:
- This builder for chaining.
-
setOrgIdToChargeBytes
public Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder setOrgIdToChargeBytes(com.google.protobuf.ByteString value) string org_id_to_charge = 1 [json_name = "orgIdToCharge"];
- Parameters:
value
- The bytes for orgIdToCharge to set.- Returns:
- This builder for chaining.
-
getAmount
public double getAmount()double amount = 2 [json_name = "amount"];
- Specified by:
getAmount
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The amount.
-
setAmount
double amount = 2 [json_name = "amount"];
- Parameters:
value
- The amount to set.- Returns:
- This builder for chaining.
-
clearAmount
double amount = 2 [json_name = "amount"];
- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()optional string description = 3 [json_name = "description"];
- Specified by:
hasDescription
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 3 [json_name = "description"];
- Specified by:
getDescription
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 3 [json_name = "description"];
- Specified by:
getDescriptionBytes
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The bytes for description.
-
setDescription
optional string description = 3 [json_name = "description"];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 3 [json_name = "description"];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value) optional string description = 3 [json_name = "description"];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasOrgIdForBranding
public boolean hasOrgIdForBranding()optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
- Specified by:
hasOrgIdForBranding
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- Whether the orgIdForBranding field is set.
-
getOrgIdForBranding
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
- Specified by:
getOrgIdForBranding
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The orgIdForBranding.
-
getOrgIdForBrandingBytes
public com.google.protobuf.ByteString getOrgIdForBrandingBytes()optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
- Specified by:
getOrgIdForBrandingBytes
in interfaceBilling.CreateInvoiceAndChargeImmediatelyRequestOrBuilder
- Returns:
- The bytes for orgIdForBranding.
-
setOrgIdForBranding
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
- Parameters:
value
- The orgIdForBranding to set.- Returns:
- This builder for chaining.
-
clearOrgIdForBranding
optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
- Returns:
- This builder for chaining.
-
setOrgIdForBrandingBytes
public Billing.CreateInvoiceAndChargeImmediatelyRequest.Builder setOrgIdForBrandingBytes(com.google.protobuf.ByteString value) optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"];
- Parameters:
value
- The bytes for orgIdForBranding to set.- Returns:
- This builder for chaining.
-