public static final class ListenForPaymentData.Data.Builder extends <any> implements ListenForPaymentData.DataOrBuilder
ListenForPaymentData.Data| Modifier and Type | Method and Description |
|---|---|
ListenForPaymentData.Data |
build() |
ListenForPaymentData.Data |
buildPartial() |
ListenForPaymentData.Data.Builder |
clear() |
ListenForPaymentData.Data.Builder |
clearOnlyNewData()
optional bool only_new_data = 1 [default = false]; |
ListenForPaymentData.Data.Builder |
clone() |
ListenForPaymentData.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getOnlyNewData()
optional bool only_new_data = 1 [default = false]; |
boolean |
hasOnlyNewData()
optional bool only_new_data = 1 [default = false]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListenForPaymentData.Data.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListenForPaymentData.Data.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListenForPaymentData.Data.Builder |
setOnlyNewData(boolean value)
optional bool only_new_data = 1 [default = false]; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public ListenForPaymentData.Data.Builder clear()
public ListenForPaymentData.Data.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public ListenForPaymentData.Data getDefaultInstanceForType()
public ListenForPaymentData.Data build()
public ListenForPaymentData.Data buildPartial()
public ListenForPaymentData.Data.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public ListenForPaymentData.Data.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic 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 ListenForPaymentData.Data.Builder setOnlyNewData(boolean value)
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.
public ListenForPaymentData.Data.Builder clearOnlyNewData()
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.