public static final class ListenForPaymentData.Data extends com.google.protobuf.GeneratedMessage implements ListenForPaymentData.DataOrBuilder
ListenForPaymentData.Data| Modifier and Type | Class and Description |
|---|---|
static class |
ListenForPaymentData.Data.Builder
Protobuf type
ListenForPaymentData.Data |
| Modifier and Type | Field and Description |
|---|---|
static int |
ONLY_NEW_DATA_FIELD_NUMBER |
static <any> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static ListenForPaymentData.Data |
getDefaultInstance() |
ListenForPaymentData.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getOnlyNewData()
optional bool only_new_data = 1 [default = false]; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasOnlyNewData()
optional bool only_new_data = 1 [default = false]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListenForPaymentData.Data.Builder |
newBuilder() |
static ListenForPaymentData.Data.Builder |
newBuilder(ListenForPaymentData.Data prototype) |
ListenForPaymentData.Data.Builder |
newBuilderForType() |
protected ListenForPaymentData.Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ListenForPaymentData.Data |
parseDelimitedFrom(java.io.InputStream input) |
static ListenForPaymentData.Data |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenForPaymentData.Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenForPaymentData.Data |
parseFrom(com.google.protobuf.ByteString data) |
static ListenForPaymentData.Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenForPaymentData.Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListenForPaymentData.Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenForPaymentData.Data |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListenForPaymentData.Data.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int ONLY_NEW_DATA_FIELD_NUMBER
public static ListenForPaymentData.Data getDefaultInstance()
public ListenForPaymentData.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 hasOnlyNewData()
optional bool only_new_data = 1 [default = false];
if true, then only return new data, e.g. from a new magstripe swipe or NFC touch, if false, then return new data OR recent data from, e.g. a user swiping before being prompted.
hasOnlyNewData in interface ListenForPaymentData.DataOrBuilderpublic boolean getOnlyNewData()
optional bool only_new_data = 1 [default = false];
if true, then only return new data, e.g. from a new magstripe swipe or NFC touch, if false, then return new data OR recent data from, e.g. a user swiping before being prompted.
getOnlyNewData in interface ListenForPaymentData.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 ListenForPaymentData.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenForPaymentData.Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenForPaymentData.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenForPaymentData.Data parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListenForPaymentData.Data parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListenForPaymentData.Data parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListenForPaymentData.Data parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListenForPaymentData.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListenForPaymentData.Data.Builder newBuilder()
public ListenForPaymentData.Data.Builder newBuilderForType()
public static ListenForPaymentData.Data.Builder newBuilder(ListenForPaymentData.Data prototype)
public ListenForPaymentData.Data.Builder toBuilder()
protected ListenForPaymentData.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)