public static final class Protos.PaymentRequest extends com.google.protobuf.GeneratedMessage implements Protos.PaymentRequestOrBuilder
payments.PaymentRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.PaymentRequest.Builder
Protobuf type
payments.PaymentRequest |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<Protos.PaymentRequest> |
PARSER |
static int |
PAYMENT_DETAILS_VERSION_FIELD_NUMBER |
static int |
PKI_DATA_FIELD_NUMBER |
static int |
PKI_TYPE_FIELD_NUMBER |
static int |
SERIALIZED_PAYMENT_DETAILS_FIELD_NUMBER |
static int |
SIGNATURE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Protos.PaymentRequest |
getDefaultInstance() |
Protos.PaymentRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Protos.PaymentRequest> |
getParserForType() |
int |
getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
com.google.protobuf.ByteString |
getPkiData()
optional bytes pki_data = 3; |
String |
getPkiType()
optional string pki_type = 2 [default = "none"]; |
com.google.protobuf.ByteString |
getPkiTypeBytes()
optional string pki_type = 2 [default = "none"]; |
com.google.protobuf.ByteString |
getSerializedPaymentDetails()
required bytes serialized_payment_details = 4; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSignature()
optional bytes signature = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
boolean |
hasPkiData()
optional bytes pki_data = 3; |
boolean |
hasPkiType()
optional string pki_type = 2 [default = "none"]; |
boolean |
hasSerializedPaymentDetails()
required bytes serialized_payment_details = 4; |
boolean |
hasSignature()
optional bytes signature = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.PaymentRequest.Builder |
newBuilder() |
static Protos.PaymentRequest.Builder |
newBuilder(Protos.PaymentRequest prototype) |
Protos.PaymentRequest.Builder |
newBuilderForType() |
protected Protos.PaymentRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Protos.PaymentRequest |
parseDelimitedFrom(InputStream input) |
static Protos.PaymentRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
parseFrom(byte[] data) |
static Protos.PaymentRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.PaymentRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.PaymentRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
parseFrom(InputStream input) |
static Protos.PaymentRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.PaymentRequest.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<Protos.PaymentRequest> PARSER
public static final int PAYMENT_DETAILS_VERSION_FIELD_NUMBER
public static final int PKI_TYPE_FIELD_NUMBER
public static final int PKI_DATA_FIELD_NUMBER
public static final int SERIALIZED_PAYMENT_DETAILS_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
public static Protos.PaymentRequest getDefaultInstance()
public Protos.PaymentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Protos.PaymentRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];hasPaymentDetailsVersion in interface Protos.PaymentRequestOrBuilderpublic int getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];getPaymentDetailsVersion in interface Protos.PaymentRequestOrBuilderpublic boolean hasPkiType()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
hasPkiType in interface Protos.PaymentRequestOrBuilderpublic String getPkiType()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
getPkiType in interface Protos.PaymentRequestOrBuilderpublic com.google.protobuf.ByteString getPkiTypeBytes()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
getPkiTypeBytes in interface Protos.PaymentRequestOrBuilderpublic boolean hasPkiData()
optional bytes pki_data = 3;
depends on pki_type
hasPkiData in interface Protos.PaymentRequestOrBuilderpublic com.google.protobuf.ByteString getPkiData()
optional bytes pki_data = 3;
depends on pki_type
getPkiData in interface Protos.PaymentRequestOrBuilderpublic boolean hasSerializedPaymentDetails()
required bytes serialized_payment_details = 4;
PaymentDetails
hasSerializedPaymentDetails in interface Protos.PaymentRequestOrBuilderpublic com.google.protobuf.ByteString getSerializedPaymentDetails()
required bytes serialized_payment_details = 4;
PaymentDetails
getSerializedPaymentDetails in interface Protos.PaymentRequestOrBuilderpublic boolean hasSignature()
optional bytes signature = 5;
pki-dependent signature
hasSignature in interface Protos.PaymentRequestOrBuilderpublic com.google.protobuf.ByteString getSignature()
optional bytes signature = 5;
pki-dependent signature
getSignature in interface Protos.PaymentRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Protos.PaymentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.PaymentRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.PaymentRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.PaymentRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.PaymentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.PaymentRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.PaymentRequest.Builder newBuilder()
public Protos.PaymentRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.PaymentRequest.Builder newBuilder(Protos.PaymentRequest prototype)
public Protos.PaymentRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Protos.PaymentRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.