public static final class CurrencyOuterClass.CurrencyAmount extends com.google.protobuf.GeneratedMessageV3 implements CurrencyOuterClass.CurrencyAmountOrBuilder
Next id: 3 CurrencyAmount represents an amount of money in a local currency (micros).Protobuf type
currency.CurrencyAmount| Modifier and Type | Class and Description |
|---|---|
static class |
CurrencyOuterClass.CurrencyAmount.Builder
Next id: 3
CurrencyAmount represents an amount of money in a local currency (micros).
|
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 |
CURRENCY_FIELD_NUMBER |
static int |
MICROS_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 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.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public long getMicros()
how much money
optional int64 micros = 1;getMicros in interface CurrencyOuterClass.CurrencyAmountOrBuilderpublic int getCurrencyValue()
in what unit
optional .currency.Currency.Code currency = 2;getCurrencyValue in interface CurrencyOuterClass.CurrencyAmountOrBuilderpublic CurrencyOuterClass.Currency.Code getCurrency()
in what unit
optional .currency.Currency.Code currency = 2;getCurrency in interface CurrencyOuterClass.CurrencyAmountOrBuilderpublic 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.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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3public CurrencyOuterClass.CurrencyAmount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.