public static final class CloudPaymentInitiated.Data extends com.google.protobuf.GeneratedMessage implements CloudPaymentInitiated.DataOrBuilder
CloudPaymentInitiated.Data| Modifier and Type | Class and Description |
|---|---|
static class |
CloudPaymentInitiated.Data.Builder
Protobuf type
CloudPaymentInitiated.Data |
| Modifier and Type | Field and Description |
|---|---|
static int |
BRAND_FIELD_NUMBER |
static int |
CENTS_FIELD_NUMBER |
static int |
CURRENCY_FIELD_NUMBER |
static int |
DOLLARS_FIELD_NUMBER |
static <any> |
PARSER |
static int |
PAYID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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"]; |
static CloudPaymentInitiated.Data |
getDefaultInstance() |
CloudPaymentInitiated.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDollars()
required uint32 dollars = 3; |
<any> |
getParserForType() |
java.lang.String |
getPayid()
required string payid = 1; |
com.google.protobuf.ByteString |
getPayidBytes()
required string payid = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static CloudPaymentInitiated.Data.Builder |
newBuilder() |
static CloudPaymentInitiated.Data.Builder |
newBuilder(CloudPaymentInitiated.Data prototype) |
CloudPaymentInitiated.Data.Builder |
newBuilderForType() |
protected CloudPaymentInitiated.Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static CloudPaymentInitiated.Data |
parseDelimitedFrom(java.io.InputStream input) |
static CloudPaymentInitiated.Data |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudPaymentInitiated.Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudPaymentInitiated.Data |
parseFrom(com.google.protobuf.ByteString data) |
static CloudPaymentInitiated.Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudPaymentInitiated.Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CloudPaymentInitiated.Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CloudPaymentInitiated.Data |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudPaymentInitiated.Data.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int PAYID_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
public static final int DOLLARS_FIELD_NUMBER
public static final int CENTS_FIELD_NUMBER
public static final int CURRENCY_FIELD_NUMBER
public static CloudPaymentInitiated.Data getDefaultInstance()
public CloudPaymentInitiated.Data getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public 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 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 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 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic static CloudPaymentInitiated.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudPaymentInitiated.Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudPaymentInitiated.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CloudPaymentInitiated.Data parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CloudPaymentInitiated.Data parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CloudPaymentInitiated.Data parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CloudPaymentInitiated.Data parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CloudPaymentInitiated.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CloudPaymentInitiated.Data.Builder newBuilder()
public CloudPaymentInitiated.Data.Builder newBuilderForType()
public static CloudPaymentInitiated.Data.Builder newBuilder(CloudPaymentInitiated.Data prototype)
public CloudPaymentInitiated.Data.Builder toBuilder()
protected CloudPaymentInitiated.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)