public static final class CloudPaymentInitiated.Data.Builder extends <any> implements CloudPaymentInitiated.DataOrBuilder
CloudPaymentInitiated.Data| Modifier and Type | Method and Description |
|---|---|
CloudPaymentInitiated.Data |
build() |
CloudPaymentInitiated.Data |
buildPartial() |
CloudPaymentInitiated.Data.Builder |
clear() |
CloudPaymentInitiated.Data.Builder |
clearBrand()
required string brand = 2; |
CloudPaymentInitiated.Data.Builder |
clearCents()
optional uint32 cents = 4 [default = 0]; |
CloudPaymentInitiated.Data.Builder |
clearCurrency()
optional string currency = 5 [default = "USD"]; |
CloudPaymentInitiated.Data.Builder |
clearDollars()
required uint32 dollars = 3; |
CloudPaymentInitiated.Data.Builder |
clearPayid()
required string payid = 1; |
CloudPaymentInitiated.Data.Builder |
clone() |
java.lang.String |
getBrand()
required string brand = 2; |
com.google.protobuf.ByteString |
getBrandBytes()
required string brand = 2; |
int |
getCents()
optional uint32 cents = 4 [default = 0]; |
java.lang.String |
getCurrency()
optional string currency = 5 [default = "USD"]; |
com.google.protobuf.ByteString |
getCurrencyBytes()
optional string currency = 5 [default = "USD"]; |
CloudPaymentInitiated.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDollars()
required uint32 dollars = 3; |
java.lang.String |
getPayid()
required string payid = 1; |
com.google.protobuf.ByteString |
getPayidBytes()
required string payid = 1; |
boolean |
hasBrand()
required string brand = 2; |
boolean |
hasCents()
optional uint32 cents = 4 [default = 0]; |
boolean |
hasCurrency()
optional string currency = 5 [default = "USD"]; |
boolean |
hasDollars()
required uint32 dollars = 3; |
boolean |
hasPayid()
required string payid = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudPaymentInitiated.Data.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudPaymentInitiated.Data.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudPaymentInitiated.Data.Builder |
setBrand(java.lang.String value)
required string brand = 2; |
CloudPaymentInitiated.Data.Builder |
setBrandBytes(com.google.protobuf.ByteString value)
required string brand = 2; |
CloudPaymentInitiated.Data.Builder |
setCents(int value)
optional uint32 cents = 4 [default = 0]; |
CloudPaymentInitiated.Data.Builder |
setCurrency(java.lang.String value)
optional string currency = 5 [default = "USD"]; |
CloudPaymentInitiated.Data.Builder |
setCurrencyBytes(com.google.protobuf.ByteString value)
optional string currency = 5 [default = "USD"]; |
CloudPaymentInitiated.Data.Builder |
setDollars(int value)
required uint32 dollars = 3; |
CloudPaymentInitiated.Data.Builder |
setPayid(java.lang.String value)
required string payid = 1; |
CloudPaymentInitiated.Data.Builder |
setPayidBytes(com.google.protobuf.ByteString value)
required string payid = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public CloudPaymentInitiated.Data.Builder clear()
public CloudPaymentInitiated.Data.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public CloudPaymentInitiated.Data getDefaultInstanceForType()
public CloudPaymentInitiated.Data build()
public CloudPaymentInitiated.Data buildPartial()
public CloudPaymentInitiated.Data.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public CloudPaymentInitiated.Data.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasPayid()
required string payid = 1;hasPayid in interface CloudPaymentInitiated.DataOrBuilderpublic java.lang.String getPayid()
required string payid = 1;getPayid in interface CloudPaymentInitiated.DataOrBuilderpublic com.google.protobuf.ByteString getPayidBytes()
required string payid = 1;getPayidBytes in interface CloudPaymentInitiated.DataOrBuilderpublic CloudPaymentInitiated.Data.Builder setPayid(java.lang.String value)
required string payid = 1;public CloudPaymentInitiated.Data.Builder clearPayid()
required string payid = 1;public CloudPaymentInitiated.Data.Builder setPayidBytes(com.google.protobuf.ByteString value)
required string payid = 1;public boolean hasBrand()
required string brand = 2;
string indicating the brand of cloud payment, e.g. PayPal
hasBrand in interface CloudPaymentInitiated.DataOrBuilderpublic java.lang.String getBrand()
required string brand = 2;
string indicating the brand of cloud payment, e.g. PayPal
getBrand in interface CloudPaymentInitiated.DataOrBuilderpublic com.google.protobuf.ByteString getBrandBytes()
required string brand = 2;
string indicating the brand of cloud payment, e.g. PayPal
getBrandBytes in interface CloudPaymentInitiated.DataOrBuilderpublic CloudPaymentInitiated.Data.Builder setBrand(java.lang.String value)
required string brand = 2;
string indicating the brand of cloud payment, e.g. PayPal
public CloudPaymentInitiated.Data.Builder clearBrand()
required string brand = 2;
string indicating the brand of cloud payment, e.g. PayPal
public CloudPaymentInitiated.Data.Builder setBrandBytes(com.google.protobuf.ByteString value)
required string brand = 2;
string indicating the brand of cloud payment, e.g. PayPal
public boolean hasDollars()
required uint32 dollars = 3;
number of dollars from the cloud payment method, the X in $X.Y
hasDollars in interface CloudPaymentInitiated.DataOrBuilderpublic int getDollars()
required uint32 dollars = 3;
number of dollars from the cloud payment method, the X in $X.Y
getDollars in interface CloudPaymentInitiated.DataOrBuilderpublic CloudPaymentInitiated.Data.Builder setDollars(int value)
required uint32 dollars = 3;
number of dollars from the cloud payment method, the X in $X.Y
public CloudPaymentInitiated.Data.Builder clearDollars()
required uint32 dollars = 3;
number of dollars from the cloud payment method, the X in $X.Y
public boolean hasCents()
optional uint32 cents = 4 [default = 0];
number of cents from the cloud payment method, the Y in $X.Y
hasCents in interface CloudPaymentInitiated.DataOrBuilderpublic int getCents()
optional uint32 cents = 4 [default = 0];
number of cents from the cloud payment method, the Y in $X.Y
getCents in interface CloudPaymentInitiated.DataOrBuilderpublic CloudPaymentInitiated.Data.Builder setCents(int value)
optional uint32 cents = 4 [default = 0];
number of cents from the cloud payment method, the Y in $X.Y
public CloudPaymentInitiated.Data.Builder clearCents()
optional uint32 cents = 4 [default = 0];
number of cents from the cloud payment method, the Y in $X.Y
public boolean hasCurrency()
optional string currency = 5 [default = "USD"];
Type of Currency; default "USD"
hasCurrency in interface CloudPaymentInitiated.DataOrBuilderpublic java.lang.String getCurrency()
optional string currency = 5 [default = "USD"];
Type of Currency; default "USD"
getCurrency in interface CloudPaymentInitiated.DataOrBuilderpublic com.google.protobuf.ByteString getCurrencyBytes()
optional string currency = 5 [default = "USD"];
Type of Currency; default "USD"
getCurrencyBytes in interface CloudPaymentInitiated.DataOrBuilderpublic CloudPaymentInitiated.Data.Builder setCurrency(java.lang.String value)
optional string currency = 5 [default = "USD"];
Type of Currency; default "USD"
public CloudPaymentInitiated.Data.Builder clearCurrency()
optional string currency = 5 [default = "USD"];
Type of Currency; default "USD"
public CloudPaymentInitiated.Data.Builder setCurrencyBytes(com.google.protobuf.ByteString value)
optional string currency = 5 [default = "USD"];
Type of Currency; default "USD"