public static final class Protos.PaymentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentRequest.Builder> implements Protos.PaymentRequestOrBuilder
payments.PaymentRequest
Modifier and Type | Method and Description |
---|---|
Protos.PaymentRequest |
build() |
Protos.PaymentRequest |
buildPartial() |
Protos.PaymentRequest.Builder |
clear() |
Protos.PaymentRequest.Builder |
clearPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
Protos.PaymentRequest.Builder |
clearPkiData()
optional bytes pki_data = 3; |
Protos.PaymentRequest.Builder |
clearPkiType()
optional string pki_type = 2 [default = "none"]; |
Protos.PaymentRequest.Builder |
clearSerializedPaymentDetails()
required bytes serialized_payment_details = 4; |
Protos.PaymentRequest.Builder |
clearSignature()
optional bytes signature = 5; |
Protos.PaymentRequest.Builder |
clone() |
Protos.PaymentRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
com.google.protobuf.ByteString |
getSignature()
optional bytes signature = 5; |
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() |
Protos.PaymentRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.PaymentRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.PaymentRequest.Builder |
mergeFrom(Protos.PaymentRequest other) |
Protos.PaymentRequest.Builder |
setPaymentDetailsVersion(int value)
optional uint32 payment_details_version = 1 [default = 1]; |
Protos.PaymentRequest.Builder |
setPkiData(com.google.protobuf.ByteString value)
optional bytes pki_data = 3; |
Protos.PaymentRequest.Builder |
setPkiType(String value)
optional string pki_type = 2 [default = "none"]; |
Protos.PaymentRequest.Builder |
setPkiTypeBytes(com.google.protobuf.ByteString value)
optional string pki_type = 2 [default = "none"]; |
Protos.PaymentRequest.Builder |
setSerializedPaymentDetails(com.google.protobuf.ByteString value)
required bytes serialized_payment_details = 4; |
Protos.PaymentRequest.Builder |
setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 5; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentRequest.Builder>
public Protos.PaymentRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentRequest.Builder>
public Protos.PaymentRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentRequest.Builder>
public Protos.PaymentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.PaymentRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.PaymentRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.PaymentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.PaymentRequest.Builder>
public Protos.PaymentRequest.Builder mergeFrom(Protos.PaymentRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentRequest.Builder>
public Protos.PaymentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.PaymentRequest.Builder>
IOException
public boolean hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
hasPaymentDetailsVersion
in interface Protos.PaymentRequestOrBuilder
public int getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
getPaymentDetailsVersion
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setPaymentDetailsVersion(int value)
optional uint32 payment_details_version = 1 [default = 1];
public Protos.PaymentRequest.Builder clearPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
public boolean hasPkiType()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
hasPkiType
in interface Protos.PaymentRequestOrBuilder
public String getPkiType()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
getPkiType
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getPkiTypeBytes()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
getPkiTypeBytes
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setPkiType(String value)
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
public Protos.PaymentRequest.Builder clearPkiType()
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
public Protos.PaymentRequest.Builder setPkiTypeBytes(com.google.protobuf.ByteString value)
optional string pki_type = 2 [default = "none"];
none / x509+sha256 / x509+sha1
public boolean hasPkiData()
optional bytes pki_data = 3;
depends on pki_type
hasPkiData
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getPkiData()
optional bytes pki_data = 3;
depends on pki_type
getPkiData
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setPkiData(com.google.protobuf.ByteString value)
optional bytes pki_data = 3;
depends on pki_type
public Protos.PaymentRequest.Builder clearPkiData()
optional bytes pki_data = 3;
depends on pki_type
public boolean hasSerializedPaymentDetails()
required bytes serialized_payment_details = 4;
PaymentDetails
hasSerializedPaymentDetails
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getSerializedPaymentDetails()
required bytes serialized_payment_details = 4;
PaymentDetails
getSerializedPaymentDetails
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setSerializedPaymentDetails(com.google.protobuf.ByteString value)
required bytes serialized_payment_details = 4;
PaymentDetails
public Protos.PaymentRequest.Builder clearSerializedPaymentDetails()
required bytes serialized_payment_details = 4;
PaymentDetails
public boolean hasSignature()
optional bytes signature = 5;
pki-dependent signature
hasSignature
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getSignature()
optional bytes signature = 5;
pki-dependent signature
getSignature
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setSignature(com.google.protobuf.ByteString value)
optional bytes signature = 5;
pki-dependent signature
public Protos.PaymentRequest.Builder clearSignature()
optional bytes signature = 5;
pki-dependent signature
Copyright © 2014. All rights reserved.