public static final class CurrencyOuterClass.CurrencyAmount extends com.google.protobuf.GeneratedMessage implements CurrencyOuterClass.CurrencyAmountOrBuilder
currency.CurrencyAmount
Next id: 3 CurrencyAmount represents an amount of money in a local currency (micros).
| Modifier and Type | Class and Description |
|---|---|
static class |
CurrencyOuterClass.CurrencyAmount.Builder
Protobuf type
currency.CurrencyAmount |
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 |
CURRENCY_FIELD_NUMBER |
static int |
MICROS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
CurrencyOuterClass.Currency.Code |
getCurrency()
optional .currency.Currency.Code currency = 2; |
int |
getCurrencyValue()
optional .currency.Currency.Code currency = 2; |
static CurrencyOuterClass.CurrencyAmount |
getDefaultInstance() |
CurrencyOuterClass.CurrencyAmount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getMicros()
optional int64 micros = 1; |
com.google.protobuf.Parser<CurrencyOuterClass.CurrencyAmount> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CurrencyOuterClass.CurrencyAmount.Builder |
newBuilder() |
static CurrencyOuterClass.CurrencyAmount.Builder |
newBuilder(CurrencyOuterClass.CurrencyAmount prototype) |
CurrencyOuterClass.CurrencyAmount.Builder |
newBuilderForType() |
protected CurrencyOuterClass.CurrencyAmount.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static CurrencyOuterClass.CurrencyAmount |
parseDelimitedFrom(InputStream input) |
static CurrencyOuterClass.CurrencyAmount |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(byte[] data) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(com.google.protobuf.ByteString data) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(InputStream input) |
static CurrencyOuterClass.CurrencyAmount |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CurrencyOuterClass.CurrencyAmount> |
parser() |
CurrencyOuterClass.CurrencyAmount.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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 MICROS_FIELD_NUMBER
public static final int CURRENCY_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 long getMicros()
optional int64 micros = 1;
how much money
getMicros in interface CurrencyOuterClass.CurrencyAmountOrBuilderpublic int getCurrencyValue()
optional .currency.Currency.Code currency = 2;
in what unit
getCurrencyValue in interface CurrencyOuterClass.CurrencyAmountOrBuilderpublic CurrencyOuterClass.Currency.Code getCurrency()
optional .currency.Currency.Code currency = 2;
in what unit
getCurrency in interface CurrencyOuterClass.CurrencyAmountOrBuilderpublic 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.CurrencyAmount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(InputStream input) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyAmount parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyAmount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CurrencyOuterClass.CurrencyAmount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CurrencyOuterClass.CurrencyAmount.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CurrencyOuterClass.CurrencyAmount.Builder newBuilder()
public static CurrencyOuterClass.CurrencyAmount.Builder newBuilder(CurrencyOuterClass.CurrencyAmount prototype)
public CurrencyOuterClass.CurrencyAmount.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CurrencyOuterClass.CurrencyAmount.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static CurrencyOuterClass.CurrencyAmount getDefaultInstance()
public static com.google.protobuf.Parser<CurrencyOuterClass.CurrencyAmount> parser()
public com.google.protobuf.Parser<CurrencyOuterClass.CurrencyAmount> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic CurrencyOuterClass.CurrencyAmount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.