public static final class CurrencyOuterClass.CurrencyTransaction extends com.google.protobuf.GeneratedMessageV3 implements CurrencyOuterClass.CurrencyTransactionOrBuilder
Next id: 3 CurrencyTransaction represents an amount of currency at a particular exchange rate.Protobuf type
currency.CurrencyTransaction| Modifier and Type | Class and Description |
|---|---|
static class |
CurrencyOuterClass.CurrencyTransaction.Builder
Next id: 3
CurrencyTransaction represents an amount of
currency at a particular exchange rate.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, 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.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAmount()
how much money
optional .currency.CurrencyAmount amount = 1;hasAmount in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic CurrencyOuterClass.CurrencyAmount getAmount()
how much money
optional .currency.CurrencyAmount amount = 1;getAmount in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic CurrencyOuterClass.CurrencyAmountOrBuilder getAmountOrBuilder()
how much money
optional .currency.CurrencyAmount amount = 1;getAmountOrBuilder in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic double getRate()
exchange rate in effect at time of transaction
optional double rate = 2;getRate in interface CurrencyOuterClass.CurrencyTransactionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3public CurrencyOuterClass.CurrencyTransaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.