public static final class CurrencyOuterClass.CurrencyTransaction extends com.google.protobuf.GeneratedMessage implements CurrencyOuterClass.CurrencyTransactionOrBuilder
currency.CurrencyTransaction
Next id: 3 CurrencyTransaction represents an amount of currency at a particular exchange rate.
| Modifier and Type | Class and Description |
|---|---|
static class |
CurrencyOuterClass.CurrencyTransaction.Builder
Protobuf type
currency.CurrencyTransaction |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, 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 int |
AMOUNT_FIELD_NUMBER |
static int |
RATE_FIELD_NUMBER |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AMOUNT_FIELD_NUMBER
public static final int RATE_FIELD_NUMBER
public 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 boolean hasAmount()
optional .currency.CurrencyAmount amount = 1;
how much money
hasAmount in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic CurrencyOuterClass.CurrencyAmount getAmount()
optional .currency.CurrencyAmount amount = 1;
how much money
getAmount in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic CurrencyOuterClass.CurrencyAmountOrBuilder getAmountOrBuilder()
optional .currency.CurrencyAmount amount = 1;
how much money
getAmountOrBuilder in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic double getRate()
optional double rate = 2;
exchange rate in effect at time of transaction
getRate in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic 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.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static CurrencyOuterClass.CurrencyTransaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(InputStream input) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyTransaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CurrencyOuterClass.CurrencyTransaction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CurrencyOuterClass.CurrencyTransaction.Builder newBuilder()
public static CurrencyOuterClass.CurrencyTransaction.Builder newBuilder(CurrencyOuterClass.CurrencyTransaction prototype)
public CurrencyOuterClass.CurrencyTransaction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CurrencyOuterClass.CurrencyTransaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static CurrencyOuterClass.CurrencyTransaction getDefaultInstance()
public static com.google.protobuf.Parser<CurrencyOuterClass.CurrencyTransaction> parser()
public com.google.protobuf.Parser<CurrencyOuterClass.CurrencyTransaction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic CurrencyOuterClass.CurrencyTransaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.