Created
June 21, 2024 08:15
-
-
Save shakir915/f2f078058183a5beb4a853d7d6529de4 to your computer and use it in GitHub Desktop.
My.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package proto;// Generated by the protocol buffer compiler. DO NOT EDIT! | |
// source: my.proto | |
public final class My { | |
private My() { | |
} | |
public static void registerAllExtensions( | |
com.google.protobuf.ExtensionRegistryLite registry) { | |
} | |
public static void registerAllExtensions( | |
com.google.protobuf.ExtensionRegistry registry) { | |
registerAllExtensions( | |
(com.google.protobuf.ExtensionRegistryLite) registry); | |
} | |
public interface PricingDataOrBuilder extends | |
// @@protoc_insertion_point(interface_extends:PricingData) | |
com.google.protobuf.MessageOrBuilder { | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The id. | |
*/ | |
java.lang.String getId(); | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The bytes for id. | |
*/ | |
com.google.protobuf.ByteString | |
getIdBytes(); | |
/** | |
* <code>float price = 2;</code> | |
* | |
* @return The price. | |
*/ | |
float getPrice(); | |
/** | |
* <code>sint64 time = 3;</code> | |
* | |
* @return The time. | |
*/ | |
long getTime(); | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return The currency. | |
*/ | |
java.lang.String getCurrency(); | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return The bytes for currency. | |
*/ | |
com.google.protobuf.ByteString | |
getCurrencyBytes(); | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return The exchange. | |
*/ | |
java.lang.String getExchange(); | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return The bytes for exchange. | |
*/ | |
com.google.protobuf.ByteString | |
getExchangeBytes(); | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return The enum numeric value on the wire for quoteType. | |
*/ | |
int getQuoteTypeValue(); | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return The quoteType. | |
*/ | |
My.PricingData.QuoteType getQuoteType(); | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return The enum numeric value on the wire for marketHours. | |
*/ | |
int getMarketHoursValue(); | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return The marketHours. | |
*/ | |
My.PricingData.MarketHoursType getMarketHours(); | |
/** | |
* <code>float changePercent = 8;</code> | |
* | |
* @return The changePercent. | |
*/ | |
float getChangePercent(); | |
/** | |
* <code>sint64 dayVolume = 9;</code> | |
* | |
* @return The dayVolume. | |
*/ | |
long getDayVolume(); | |
/** | |
* <code>float dayHigh = 10;</code> | |
* | |
* @return The dayHigh. | |
*/ | |
float getDayHigh(); | |
/** | |
* <code>float dayLow = 11;</code> | |
* | |
* @return The dayLow. | |
*/ | |
float getDayLow(); | |
/** | |
* <code>float change = 12;</code> | |
* | |
* @return The change. | |
*/ | |
float getChange(); | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return The shortName. | |
*/ | |
java.lang.String getShortName(); | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return The bytes for shortName. | |
*/ | |
com.google.protobuf.ByteString | |
getShortNameBytes(); | |
/** | |
* <code>sint64 expireDate = 14;</code> | |
* | |
* @return The expireDate. | |
*/ | |
long getExpireDate(); | |
/** | |
* <code>float openPrice = 15;</code> | |
* | |
* @return The openPrice. | |
*/ | |
float getOpenPrice(); | |
/** | |
* <code>float previousClose = 16;</code> | |
* | |
* @return The previousClose. | |
*/ | |
float getPreviousClose(); | |
/** | |
* <code>float strikePrice = 17;</code> | |
* | |
* @return The strikePrice. | |
*/ | |
float getStrikePrice(); | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return The underlyingSymbol. | |
*/ | |
java.lang.String getUnderlyingSymbol(); | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return The bytes for underlyingSymbol. | |
*/ | |
com.google.protobuf.ByteString | |
getUnderlyingSymbolBytes(); | |
/** | |
* <code>sint64 openInterest = 19;</code> | |
* | |
* @return The openInterest. | |
*/ | |
long getOpenInterest(); | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return The enum numeric value on the wire for optionsType. | |
*/ | |
int getOptionsTypeValue(); | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return The optionsType. | |
*/ | |
My.PricingData.OptionType getOptionsType(); | |
/** | |
* <code>sint64 miniOption = 21;</code> | |
* | |
* @return The miniOption. | |
*/ | |
long getMiniOption(); | |
/** | |
* <code>sint64 lastSize = 22;</code> | |
* | |
* @return The lastSize. | |
*/ | |
long getLastSize(); | |
/** | |
* <code>float bid = 23;</code> | |
* | |
* @return The bid. | |
*/ | |
float getBid(); | |
/** | |
* <code>sint64 bidSize = 24;</code> | |
* | |
* @return The bidSize. | |
*/ | |
long getBidSize(); | |
/** | |
* <code>float ask = 25;</code> | |
* | |
* @return The ask. | |
*/ | |
float getAsk(); | |
/** | |
* <code>sint64 askSize = 26;</code> | |
* | |
* @return The askSize. | |
*/ | |
long getAskSize(); | |
/** | |
* <code>sint64 priceHint = 27;</code> | |
* | |
* @return The priceHint. | |
*/ | |
long getPriceHint(); | |
/** | |
* <code>sint64 vol_24hr = 28;</code> | |
* | |
* @return The vol24hr. | |
*/ | |
long getVol24Hr(); | |
/** | |
* <code>sint64 volAllCurrencies = 29;</code> | |
* | |
* @return The volAllCurrencies. | |
*/ | |
long getVolAllCurrencies(); | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return The fromcurrency. | |
*/ | |
java.lang.String getFromcurrency(); | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return The bytes for fromcurrency. | |
*/ | |
com.google.protobuf.ByteString | |
getFromcurrencyBytes(); | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return The lastMarket. | |
*/ | |
java.lang.String getLastMarket(); | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return The bytes for lastMarket. | |
*/ | |
com.google.protobuf.ByteString | |
getLastMarketBytes(); | |
/** | |
* <code>double circulatingSupply = 32;</code> | |
* | |
* @return The circulatingSupply. | |
*/ | |
double getCirculatingSupply(); | |
/** | |
* <code>double marketcap = 33;</code> | |
* | |
* @return The marketcap. | |
*/ | |
double getMarketcap(); | |
} | |
/** | |
* Protobuf type {@code PricingData} | |
*/ | |
public static final class PricingData extends | |
com.google.protobuf.GeneratedMessageV3 implements | |
// @@protoc_insertion_point(message_implements:PricingData) | |
PricingDataOrBuilder { | |
private static final long serialVersionUID = 0L; | |
// Use PricingData.newBuilder() to construct. | |
private PricingData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { | |
super(builder); | |
} | |
private PricingData() { | |
id_ = ""; | |
currency_ = ""; | |
exchange_ = ""; | |
quoteType_ = 0; | |
marketHours_ = 0; | |
shortName_ = ""; | |
underlyingSymbol_ = ""; | |
optionsType_ = 0; | |
fromcurrency_ = ""; | |
lastMarket_ = ""; | |
} | |
@java.lang.Override | |
@SuppressWarnings({"unused"}) | |
protected java.lang.Object newInstance( | |
UnusedPrivateParameter unused) { | |
return new PricingData(); | |
} | |
@java.lang.Override | |
public final com.google.protobuf.UnknownFieldSet | |
getUnknownFields() { | |
return this.unknownFields; | |
} | |
private PricingData( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
this(); | |
if (extensionRegistry == null) { | |
throw new java.lang.NullPointerException(); | |
} | |
com.google.protobuf.UnknownFieldSet.Builder unknownFields = | |
com.google.protobuf.UnknownFieldSet.newBuilder(); | |
try { | |
boolean done = false; | |
while (!done) { | |
int tag = input.readTag(); | |
switch (tag) { | |
case 0: | |
done = true; | |
break; | |
case 10: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
id_ = s; | |
break; | |
} | |
case 21: { | |
price_ = input.readFloat(); | |
break; | |
} | |
case 24: { | |
time_ = input.readSInt64(); | |
break; | |
} | |
case 34: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
currency_ = s; | |
break; | |
} | |
case 42: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
exchange_ = s; | |
break; | |
} | |
case 48: { | |
int rawValue = input.readEnum(); | |
quoteType_ = rawValue; | |
break; | |
} | |
case 56: { | |
int rawValue = input.readEnum(); | |
marketHours_ = rawValue; | |
break; | |
} | |
case 69: { | |
changePercent_ = input.readFloat(); | |
break; | |
} | |
case 72: { | |
dayVolume_ = input.readSInt64(); | |
break; | |
} | |
case 85: { | |
dayHigh_ = input.readFloat(); | |
break; | |
} | |
case 93: { | |
dayLow_ = input.readFloat(); | |
break; | |
} | |
case 101: { | |
change_ = input.readFloat(); | |
break; | |
} | |
case 106: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
shortName_ = s; | |
break; | |
} | |
case 112: { | |
expireDate_ = input.readSInt64(); | |
break; | |
} | |
case 125: { | |
openPrice_ = input.readFloat(); | |
break; | |
} | |
case 133: { | |
previousClose_ = input.readFloat(); | |
break; | |
} | |
case 141: { | |
strikePrice_ = input.readFloat(); | |
break; | |
} | |
case 146: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
underlyingSymbol_ = s; | |
break; | |
} | |
case 152: { | |
openInterest_ = input.readSInt64(); | |
break; | |
} | |
case 160: { | |
int rawValue = input.readEnum(); | |
optionsType_ = rawValue; | |
break; | |
} | |
case 168: { | |
miniOption_ = input.readSInt64(); | |
break; | |
} | |
case 176: { | |
lastSize_ = input.readSInt64(); | |
break; | |
} | |
case 189: { | |
bid_ = input.readFloat(); | |
break; | |
} | |
case 192: { | |
bidSize_ = input.readSInt64(); | |
break; | |
} | |
case 205: { | |
ask_ = input.readFloat(); | |
break; | |
} | |
case 208: { | |
askSize_ = input.readSInt64(); | |
break; | |
} | |
case 216: { | |
priceHint_ = input.readSInt64(); | |
break; | |
} | |
case 224: { | |
vol24Hr_ = input.readSInt64(); | |
break; | |
} | |
case 232: { | |
volAllCurrencies_ = input.readSInt64(); | |
break; | |
} | |
case 242: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
fromcurrency_ = s; | |
break; | |
} | |
case 250: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
lastMarket_ = s; | |
break; | |
} | |
case 257: { | |
circulatingSupply_ = input.readDouble(); | |
break; | |
} | |
case 265: { | |
marketcap_ = input.readDouble(); | |
break; | |
} | |
default: { | |
if (!parseUnknownField( | |
input, unknownFields, extensionRegistry, tag)) { | |
done = true; | |
} | |
break; | |
} | |
} | |
} | |
} catch (com.google.protobuf.InvalidProtocolBufferException e) { | |
throw e.setUnfinishedMessage(this); | |
} catch (java.io.IOException e) { | |
throw new com.google.protobuf.InvalidProtocolBufferException( | |
e).setUnfinishedMessage(this); | |
} finally { | |
this.unknownFields = unknownFields.build(); | |
makeExtensionsImmutable(); | |
} | |
} | |
public static final com.google.protobuf.Descriptors.Descriptor | |
getDescriptor() { | |
return My.internal_static_PricingData_descriptor; | |
} | |
@java.lang.Override | |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
internalGetFieldAccessorTable() { | |
return My.internal_static_PricingData_fieldAccessorTable | |
.ensureFieldAccessorsInitialized( | |
My.PricingData.class, My.PricingData.Builder.class); | |
} | |
/** | |
* Protobuf enum {@code PricingData.QuoteType} | |
*/ | |
public enum QuoteType | |
implements com.google.protobuf.ProtocolMessageEnum { | |
/** | |
* <code>NONE = 0;</code> | |
*/ | |
NONE(0), | |
/** | |
* <code>ALTSYMBOL = 5;</code> | |
*/ | |
ALTSYMBOL(5), | |
/** | |
* <code>HEARTBEAT = 7;</code> | |
*/ | |
HEARTBEAT(7), | |
/** | |
* <code>EQUITY = 8;</code> | |
*/ | |
EQUITY(8), | |
/** | |
* <code>INDEX = 9;</code> | |
*/ | |
INDEX(9), | |
/** | |
* <code>MUTUALFUND = 11;</code> | |
*/ | |
MUTUALFUND(11), | |
/** | |
* <code>MONEYMARKET = 12;</code> | |
*/ | |
MONEYMARKET(12), | |
/** | |
* <code>OPTION = 13;</code> | |
*/ | |
OPTION(13), | |
/** | |
* <code>CURRENCY = 14;</code> | |
*/ | |
CURRENCY(14), | |
/** | |
* <code>WARRANT = 15;</code> | |
*/ | |
WARRANT(15), | |
/** | |
* <code>BOND = 17;</code> | |
*/ | |
BOND(17), | |
/** | |
* <code>FUTURE = 18;</code> | |
*/ | |
FUTURE(18), | |
/** | |
* <code>ETF = 20;</code> | |
*/ | |
ETF(20), | |
/** | |
* <code>COMMODITY = 23;</code> | |
*/ | |
COMMODITY(23), | |
/** | |
* <code>ECNQUOTE = 28;</code> | |
*/ | |
ECNQUOTE(28), | |
/** | |
* <code>CRYPTOCURRENCY = 41;</code> | |
*/ | |
CRYPTOCURRENCY(41), | |
/** | |
* <code>INDICATOR = 42;</code> | |
*/ | |
INDICATOR(42), | |
/** | |
* <code>INDUSTRY = 1000;</code> | |
*/ | |
INDUSTRY(1000), | |
UNRECOGNIZED(-1), | |
; | |
/** | |
* <code>NONE = 0;</code> | |
*/ | |
public static final int NONE_VALUE = 0; | |
/** | |
* <code>ALTSYMBOL = 5;</code> | |
*/ | |
public static final int ALTSYMBOL_VALUE = 5; | |
/** | |
* <code>HEARTBEAT = 7;</code> | |
*/ | |
public static final int HEARTBEAT_VALUE = 7; | |
/** | |
* <code>EQUITY = 8;</code> | |
*/ | |
public static final int EQUITY_VALUE = 8; | |
/** | |
* <code>INDEX = 9;</code> | |
*/ | |
public static final int INDEX_VALUE = 9; | |
/** | |
* <code>MUTUALFUND = 11;</code> | |
*/ | |
public static final int MUTUALFUND_VALUE = 11; | |
/** | |
* <code>MONEYMARKET = 12;</code> | |
*/ | |
public static final int MONEYMARKET_VALUE = 12; | |
/** | |
* <code>OPTION = 13;</code> | |
*/ | |
public static final int OPTION_VALUE = 13; | |
/** | |
* <code>CURRENCY = 14;</code> | |
*/ | |
public static final int CURRENCY_VALUE = 14; | |
/** | |
* <code>WARRANT = 15;</code> | |
*/ | |
public static final int WARRANT_VALUE = 15; | |
/** | |
* <code>BOND = 17;</code> | |
*/ | |
public static final int BOND_VALUE = 17; | |
/** | |
* <code>FUTURE = 18;</code> | |
*/ | |
public static final int FUTURE_VALUE = 18; | |
/** | |
* <code>ETF = 20;</code> | |
*/ | |
public static final int ETF_VALUE = 20; | |
/** | |
* <code>COMMODITY = 23;</code> | |
*/ | |
public static final int COMMODITY_VALUE = 23; | |
/** | |
* <code>ECNQUOTE = 28;</code> | |
*/ | |
public static final int ECNQUOTE_VALUE = 28; | |
/** | |
* <code>CRYPTOCURRENCY = 41;</code> | |
*/ | |
public static final int CRYPTOCURRENCY_VALUE = 41; | |
/** | |
* <code>INDICATOR = 42;</code> | |
*/ | |
public static final int INDICATOR_VALUE = 42; | |
/** | |
* <code>INDUSTRY = 1000;</code> | |
*/ | |
public static final int INDUSTRY_VALUE = 1000; | |
public final int getNumber() { | |
if (this == UNRECOGNIZED) { | |
throw new java.lang.IllegalArgumentException( | |
"Can't get the number of an unknown enum value."); | |
} | |
return value; | |
} | |
/** | |
* @param value The numeric wire value of the corresponding enum entry. | |
* @return The enum associated with the given numeric wire value. | |
* @deprecated Use {@link #forNumber(int)} instead. | |
*/ | |
@java.lang.Deprecated | |
public static QuoteType valueOf(int value) { | |
return forNumber(value); | |
} | |
/** | |
* @param value The numeric wire value of the corresponding enum entry. | |
* @return The enum associated with the given numeric wire value. | |
*/ | |
public static QuoteType forNumber(int value) { | |
switch (value) { | |
case 0: | |
return NONE; | |
case 5: | |
return ALTSYMBOL; | |
case 7: | |
return HEARTBEAT; | |
case 8: | |
return EQUITY; | |
case 9: | |
return INDEX; | |
case 11: | |
return MUTUALFUND; | |
case 12: | |
return MONEYMARKET; | |
case 13: | |
return OPTION; | |
case 14: | |
return CURRENCY; | |
case 15: | |
return WARRANT; | |
case 17: | |
return BOND; | |
case 18: | |
return FUTURE; | |
case 20: | |
return ETF; | |
case 23: | |
return COMMODITY; | |
case 28: | |
return ECNQUOTE; | |
case 41: | |
return CRYPTOCURRENCY; | |
case 42: | |
return INDICATOR; | |
case 1000: | |
return INDUSTRY; | |
default: | |
return null; | |
} | |
} | |
public static com.google.protobuf.Internal.EnumLiteMap<QuoteType> | |
internalGetValueMap() { | |
return internalValueMap; | |
} | |
private static final com.google.protobuf.Internal.EnumLiteMap< | |
QuoteType> internalValueMap = | |
new com.google.protobuf.Internal.EnumLiteMap<QuoteType>() { | |
public QuoteType findValueByNumber(int number) { | |
return QuoteType.forNumber(number); | |
} | |
}; | |
public final com.google.protobuf.Descriptors.EnumValueDescriptor | |
getValueDescriptor() { | |
if (this == UNRECOGNIZED) { | |
throw new java.lang.IllegalStateException( | |
"Can't get the descriptor of an unrecognized enum value."); | |
} | |
return getDescriptor().getValues().get(ordinal()); | |
} | |
public final com.google.protobuf.Descriptors.EnumDescriptor | |
getDescriptorForType() { | |
return getDescriptor(); | |
} | |
public static final com.google.protobuf.Descriptors.EnumDescriptor | |
getDescriptor() { | |
return My.PricingData.getDescriptor().getEnumTypes().get(0); | |
} | |
private static final QuoteType[] VALUES = values(); | |
public static QuoteType valueOf( | |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) { | |
if (desc.getType() != getDescriptor()) { | |
throw new java.lang.IllegalArgumentException( | |
"EnumValueDescriptor is not for this type."); | |
} | |
if (desc.getIndex() == -1) { | |
return UNRECOGNIZED; | |
} | |
return VALUES[desc.getIndex()]; | |
} | |
private final int value; | |
private QuoteType(int value) { | |
this.value = value; | |
} | |
// @@protoc_insertion_point(enum_scope:PricingData.QuoteType) | |
} | |
/** | |
* Protobuf enum {@code PricingData.OptionType} | |
*/ | |
public enum OptionType | |
implements com.google.protobuf.ProtocolMessageEnum { | |
/** | |
* <code>CALL = 0;</code> | |
*/ | |
CALL(0), | |
/** | |
* <code>PUT = 1;</code> | |
*/ | |
PUT(1), | |
UNRECOGNIZED(-1), | |
; | |
/** | |
* <code>CALL = 0;</code> | |
*/ | |
public static final int CALL_VALUE = 0; | |
/** | |
* <code>PUT = 1;</code> | |
*/ | |
public static final int PUT_VALUE = 1; | |
public final int getNumber() { | |
if (this == UNRECOGNIZED) { | |
throw new java.lang.IllegalArgumentException( | |
"Can't get the number of an unknown enum value."); | |
} | |
return value; | |
} | |
/** | |
* @param value The numeric wire value of the corresponding enum entry. | |
* @return The enum associated with the given numeric wire value. | |
* @deprecated Use {@link #forNumber(int)} instead. | |
*/ | |
@java.lang.Deprecated | |
public static OptionType valueOf(int value) { | |
return forNumber(value); | |
} | |
/** | |
* @param value The numeric wire value of the corresponding enum entry. | |
* @return The enum associated with the given numeric wire value. | |
*/ | |
public static OptionType forNumber(int value) { | |
switch (value) { | |
case 0: | |
return CALL; | |
case 1: | |
return PUT; | |
default: | |
return null; | |
} | |
} | |
public static com.google.protobuf.Internal.EnumLiteMap<OptionType> | |
internalGetValueMap() { | |
return internalValueMap; | |
} | |
private static final com.google.protobuf.Internal.EnumLiteMap< | |
OptionType> internalValueMap = | |
new com.google.protobuf.Internal.EnumLiteMap<OptionType>() { | |
public OptionType findValueByNumber(int number) { | |
return OptionType.forNumber(number); | |
} | |
}; | |
public final com.google.protobuf.Descriptors.EnumValueDescriptor | |
getValueDescriptor() { | |
if (this == UNRECOGNIZED) { | |
throw new java.lang.IllegalStateException( | |
"Can't get the descriptor of an unrecognized enum value."); | |
} | |
return getDescriptor().getValues().get(ordinal()); | |
} | |
public final com.google.protobuf.Descriptors.EnumDescriptor | |
getDescriptorForType() { | |
return getDescriptor(); | |
} | |
public static final com.google.protobuf.Descriptors.EnumDescriptor | |
getDescriptor() { | |
return My.PricingData.getDescriptor().getEnumTypes().get(1); | |
} | |
private static final OptionType[] VALUES = values(); | |
public static OptionType valueOf( | |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) { | |
if (desc.getType() != getDescriptor()) { | |
throw new java.lang.IllegalArgumentException( | |
"EnumValueDescriptor is not for this type."); | |
} | |
if (desc.getIndex() == -1) { | |
return UNRECOGNIZED; | |
} | |
return VALUES[desc.getIndex()]; | |
} | |
private final int value; | |
private OptionType(int value) { | |
this.value = value; | |
} | |
// @@protoc_insertion_point(enum_scope:PricingData.OptionType) | |
} | |
/** | |
* Protobuf enum {@code PricingData.MarketHoursType} | |
*/ | |
public enum MarketHoursType | |
implements com.google.protobuf.ProtocolMessageEnum { | |
/** | |
* <code>PRE_MARKET = 0;</code> | |
*/ | |
PRE_MARKET(0), | |
/** | |
* <code>REGULAR_MARKET = 1;</code> | |
*/ | |
REGULAR_MARKET(1), | |
/** | |
* <code>POST_MARKET = 2;</code> | |
*/ | |
POST_MARKET(2), | |
/** | |
* <code>EXTENDED_HOURS_MARKET = 3;</code> | |
*/ | |
EXTENDED_HOURS_MARKET(3), | |
UNRECOGNIZED(-1), | |
; | |
/** | |
* <code>PRE_MARKET = 0;</code> | |
*/ | |
public static final int PRE_MARKET_VALUE = 0; | |
/** | |
* <code>REGULAR_MARKET = 1;</code> | |
*/ | |
public static final int REGULAR_MARKET_VALUE = 1; | |
/** | |
* <code>POST_MARKET = 2;</code> | |
*/ | |
public static final int POST_MARKET_VALUE = 2; | |
/** | |
* <code>EXTENDED_HOURS_MARKET = 3;</code> | |
*/ | |
public static final int EXTENDED_HOURS_MARKET_VALUE = 3; | |
public final int getNumber() { | |
if (this == UNRECOGNIZED) { | |
throw new java.lang.IllegalArgumentException( | |
"Can't get the number of an unknown enum value."); | |
} | |
return value; | |
} | |
/** | |
* @param value The numeric wire value of the corresponding enum entry. | |
* @return The enum associated with the given numeric wire value. | |
* @deprecated Use {@link #forNumber(int)} instead. | |
*/ | |
@java.lang.Deprecated | |
public static MarketHoursType valueOf(int value) { | |
return forNumber(value); | |
} | |
/** | |
* @param value The numeric wire value of the corresponding enum entry. | |
* @return The enum associated with the given numeric wire value. | |
*/ | |
public static MarketHoursType forNumber(int value) { | |
switch (value) { | |
case 0: | |
return PRE_MARKET; | |
case 1: | |
return REGULAR_MARKET; | |
case 2: | |
return POST_MARKET; | |
case 3: | |
return EXTENDED_HOURS_MARKET; | |
default: | |
return null; | |
} | |
} | |
public static com.google.protobuf.Internal.EnumLiteMap<MarketHoursType> | |
internalGetValueMap() { | |
return internalValueMap; | |
} | |
private static final com.google.protobuf.Internal.EnumLiteMap< | |
MarketHoursType> internalValueMap = | |
new com.google.protobuf.Internal.EnumLiteMap<MarketHoursType>() { | |
public MarketHoursType findValueByNumber(int number) { | |
return MarketHoursType.forNumber(number); | |
} | |
}; | |
public final com.google.protobuf.Descriptors.EnumValueDescriptor | |
getValueDescriptor() { | |
if (this == UNRECOGNIZED) { | |
throw new java.lang.IllegalStateException( | |
"Can't get the descriptor of an unrecognized enum value."); | |
} | |
return getDescriptor().getValues().get(ordinal()); | |
} | |
public final com.google.protobuf.Descriptors.EnumDescriptor | |
getDescriptorForType() { | |
return getDescriptor(); | |
} | |
public static final com.google.protobuf.Descriptors.EnumDescriptor | |
getDescriptor() { | |
return My.PricingData.getDescriptor().getEnumTypes().get(2); | |
} | |
private static final MarketHoursType[] VALUES = values(); | |
public static MarketHoursType valueOf( | |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) { | |
if (desc.getType() != getDescriptor()) { | |
throw new java.lang.IllegalArgumentException( | |
"EnumValueDescriptor is not for this type."); | |
} | |
if (desc.getIndex() == -1) { | |
return UNRECOGNIZED; | |
} | |
return VALUES[desc.getIndex()]; | |
} | |
private final int value; | |
private MarketHoursType(int value) { | |
this.value = value; | |
} | |
// @@protoc_insertion_point(enum_scope:PricingData.MarketHoursType) | |
} | |
public static final int ID_FIELD_NUMBER = 1; | |
private volatile java.lang.Object id_; | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The id. | |
*/ | |
@java.lang.Override | |
public java.lang.String getId() { | |
java.lang.Object ref = id_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
id_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The bytes for id. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getIdBytes() { | |
java.lang.Object ref = id_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
id_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int PRICE_FIELD_NUMBER = 2; | |
private float price_; | |
/** | |
* <code>float price = 2;</code> | |
* | |
* @return The price. | |
*/ | |
@java.lang.Override | |
public float getPrice() { | |
return price_; | |
} | |
public static final int TIME_FIELD_NUMBER = 3; | |
private long time_; | |
/** | |
* <code>sint64 time = 3;</code> | |
* | |
* @return The time. | |
*/ | |
@java.lang.Override | |
public long getTime() { | |
return time_; | |
} | |
public static final int CURRENCY_FIELD_NUMBER = 4; | |
private volatile java.lang.Object currency_; | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return The currency. | |
*/ | |
@java.lang.Override | |
public java.lang.String getCurrency() { | |
java.lang.Object ref = currency_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
currency_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return The bytes for currency. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getCurrencyBytes() { | |
java.lang.Object ref = currency_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
currency_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int EXCHANGE_FIELD_NUMBER = 5; | |
private volatile java.lang.Object exchange_; | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return The exchange. | |
*/ | |
@java.lang.Override | |
public java.lang.String getExchange() { | |
java.lang.Object ref = exchange_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
exchange_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return The bytes for exchange. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getExchangeBytes() { | |
java.lang.Object ref = exchange_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
exchange_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int QUOTETYPE_FIELD_NUMBER = 6; | |
private int quoteType_; | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return The enum numeric value on the wire for quoteType. | |
*/ | |
@java.lang.Override | |
public int getQuoteTypeValue() { | |
return quoteType_; | |
} | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return The quoteType. | |
*/ | |
@java.lang.Override | |
public My.PricingData.QuoteType getQuoteType() { | |
@SuppressWarnings("deprecation") | |
My.PricingData.QuoteType result = My.PricingData.QuoteType.valueOf(quoteType_); | |
return result == null ? My.PricingData.QuoteType.UNRECOGNIZED : result; | |
} | |
public static final int MARKETHOURS_FIELD_NUMBER = 7; | |
private int marketHours_; | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return The enum numeric value on the wire for marketHours. | |
*/ | |
@java.lang.Override | |
public int getMarketHoursValue() { | |
return marketHours_; | |
} | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return The marketHours. | |
*/ | |
@java.lang.Override | |
public My.PricingData.MarketHoursType getMarketHours() { | |
@SuppressWarnings("deprecation") | |
My.PricingData.MarketHoursType result = My.PricingData.MarketHoursType.valueOf(marketHours_); | |
return result == null ? My.PricingData.MarketHoursType.UNRECOGNIZED : result; | |
} | |
public static final int CHANGEPERCENT_FIELD_NUMBER = 8; | |
private float changePercent_; | |
/** | |
* <code>float changePercent = 8;</code> | |
* | |
* @return The changePercent. | |
*/ | |
@java.lang.Override | |
public float getChangePercent() { | |
return changePercent_; | |
} | |
public static final int DAYVOLUME_FIELD_NUMBER = 9; | |
private long dayVolume_; | |
/** | |
* <code>sint64 dayVolume = 9;</code> | |
* | |
* @return The dayVolume. | |
*/ | |
@java.lang.Override | |
public long getDayVolume() { | |
return dayVolume_; | |
} | |
public static final int DAYHIGH_FIELD_NUMBER = 10; | |
private float dayHigh_; | |
/** | |
* <code>float dayHigh = 10;</code> | |
* | |
* @return The dayHigh. | |
*/ | |
@java.lang.Override | |
public float getDayHigh() { | |
return dayHigh_; | |
} | |
public static final int DAYLOW_FIELD_NUMBER = 11; | |
private float dayLow_; | |
/** | |
* <code>float dayLow = 11;</code> | |
* | |
* @return The dayLow. | |
*/ | |
@java.lang.Override | |
public float getDayLow() { | |
return dayLow_; | |
} | |
public static final int CHANGE_FIELD_NUMBER = 12; | |
private float change_; | |
/** | |
* <code>float change = 12;</code> | |
* | |
* @return The change. | |
*/ | |
@java.lang.Override | |
public float getChange() { | |
return change_; | |
} | |
public static final int SHORTNAME_FIELD_NUMBER = 13; | |
private volatile java.lang.Object shortName_; | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return The shortName. | |
*/ | |
@java.lang.Override | |
public java.lang.String getShortName() { | |
java.lang.Object ref = shortName_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
shortName_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return The bytes for shortName. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getShortNameBytes() { | |
java.lang.Object ref = shortName_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
shortName_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int EXPIREDATE_FIELD_NUMBER = 14; | |
private long expireDate_; | |
/** | |
* <code>sint64 expireDate = 14;</code> | |
* | |
* @return The expireDate. | |
*/ | |
@java.lang.Override | |
public long getExpireDate() { | |
return expireDate_; | |
} | |
public static final int OPENPRICE_FIELD_NUMBER = 15; | |
private float openPrice_; | |
/** | |
* <code>float openPrice = 15;</code> | |
* | |
* @return The openPrice. | |
*/ | |
@java.lang.Override | |
public float getOpenPrice() { | |
return openPrice_; | |
} | |
public static final int PREVIOUSCLOSE_FIELD_NUMBER = 16; | |
private float previousClose_; | |
/** | |
* <code>float previousClose = 16;</code> | |
* | |
* @return The previousClose. | |
*/ | |
@java.lang.Override | |
public float getPreviousClose() { | |
return previousClose_; | |
} | |
public static final int STRIKEPRICE_FIELD_NUMBER = 17; | |
private float strikePrice_; | |
/** | |
* <code>float strikePrice = 17;</code> | |
* | |
* @return The strikePrice. | |
*/ | |
@java.lang.Override | |
public float getStrikePrice() { | |
return strikePrice_; | |
} | |
public static final int UNDERLYINGSYMBOL_FIELD_NUMBER = 18; | |
private volatile java.lang.Object underlyingSymbol_; | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return The underlyingSymbol. | |
*/ | |
@java.lang.Override | |
public java.lang.String getUnderlyingSymbol() { | |
java.lang.Object ref = underlyingSymbol_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
underlyingSymbol_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return The bytes for underlyingSymbol. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getUnderlyingSymbolBytes() { | |
java.lang.Object ref = underlyingSymbol_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
underlyingSymbol_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int OPENINTEREST_FIELD_NUMBER = 19; | |
private long openInterest_; | |
/** | |
* <code>sint64 openInterest = 19;</code> | |
* | |
* @return The openInterest. | |
*/ | |
@java.lang.Override | |
public long getOpenInterest() { | |
return openInterest_; | |
} | |
public static final int OPTIONSTYPE_FIELD_NUMBER = 20; | |
private int optionsType_; | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return The enum numeric value on the wire for optionsType. | |
*/ | |
@java.lang.Override | |
public int getOptionsTypeValue() { | |
return optionsType_; | |
} | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return The optionsType. | |
*/ | |
@java.lang.Override | |
public My.PricingData.OptionType getOptionsType() { | |
@SuppressWarnings("deprecation") | |
My.PricingData.OptionType result = My.PricingData.OptionType.valueOf(optionsType_); | |
return result == null ? My.PricingData.OptionType.UNRECOGNIZED : result; | |
} | |
public static final int MINIOPTION_FIELD_NUMBER = 21; | |
private long miniOption_; | |
/** | |
* <code>sint64 miniOption = 21;</code> | |
* | |
* @return The miniOption. | |
*/ | |
@java.lang.Override | |
public long getMiniOption() { | |
return miniOption_; | |
} | |
public static final int LASTSIZE_FIELD_NUMBER = 22; | |
private long lastSize_; | |
/** | |
* <code>sint64 lastSize = 22;</code> | |
* | |
* @return The lastSize. | |
*/ | |
@java.lang.Override | |
public long getLastSize() { | |
return lastSize_; | |
} | |
public static final int BID_FIELD_NUMBER = 23; | |
private float bid_; | |
/** | |
* <code>float bid = 23;</code> | |
* | |
* @return The bid. | |
*/ | |
@java.lang.Override | |
public float getBid() { | |
return bid_; | |
} | |
public static final int BIDSIZE_FIELD_NUMBER = 24; | |
private long bidSize_; | |
/** | |
* <code>sint64 bidSize = 24;</code> | |
* | |
* @return The bidSize. | |
*/ | |
@java.lang.Override | |
public long getBidSize() { | |
return bidSize_; | |
} | |
public static final int ASK_FIELD_NUMBER = 25; | |
private float ask_; | |
/** | |
* <code>float ask = 25;</code> | |
* | |
* @return The ask. | |
*/ | |
@java.lang.Override | |
public float getAsk() { | |
return ask_; | |
} | |
public static final int ASKSIZE_FIELD_NUMBER = 26; | |
private long askSize_; | |
/** | |
* <code>sint64 askSize = 26;</code> | |
* | |
* @return The askSize. | |
*/ | |
@java.lang.Override | |
public long getAskSize() { | |
return askSize_; | |
} | |
public static final int PRICEHINT_FIELD_NUMBER = 27; | |
private long priceHint_; | |
/** | |
* <code>sint64 priceHint = 27;</code> | |
* | |
* @return The priceHint. | |
*/ | |
@java.lang.Override | |
public long getPriceHint() { | |
return priceHint_; | |
} | |
public static final int VOL_24HR_FIELD_NUMBER = 28; | |
private long vol24Hr_; | |
/** | |
* <code>sint64 vol_24hr = 28;</code> | |
* | |
* @return The vol24hr. | |
*/ | |
@java.lang.Override | |
public long getVol24Hr() { | |
return vol24Hr_; | |
} | |
public static final int VOLALLCURRENCIES_FIELD_NUMBER = 29; | |
private long volAllCurrencies_; | |
/** | |
* <code>sint64 volAllCurrencies = 29;</code> | |
* | |
* @return The volAllCurrencies. | |
*/ | |
@java.lang.Override | |
public long getVolAllCurrencies() { | |
return volAllCurrencies_; | |
} | |
public static final int FROMCURRENCY_FIELD_NUMBER = 30; | |
private volatile java.lang.Object fromcurrency_; | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return The fromcurrency. | |
*/ | |
@java.lang.Override | |
public java.lang.String getFromcurrency() { | |
java.lang.Object ref = fromcurrency_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
fromcurrency_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return The bytes for fromcurrency. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getFromcurrencyBytes() { | |
java.lang.Object ref = fromcurrency_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
fromcurrency_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int LASTMARKET_FIELD_NUMBER = 31; | |
private volatile java.lang.Object lastMarket_; | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return The lastMarket. | |
*/ | |
@java.lang.Override | |
public java.lang.String getLastMarket() { | |
java.lang.Object ref = lastMarket_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
lastMarket_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return The bytes for lastMarket. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getLastMarketBytes() { | |
java.lang.Object ref = lastMarket_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
lastMarket_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int CIRCULATINGSUPPLY_FIELD_NUMBER = 32; | |
private double circulatingSupply_; | |
/** | |
* <code>double circulatingSupply = 32;</code> | |
* | |
* @return The circulatingSupply. | |
*/ | |
@java.lang.Override | |
public double getCirculatingSupply() { | |
return circulatingSupply_; | |
} | |
public static final int MARKETCAP_FIELD_NUMBER = 33; | |
private double marketcap_; | |
/** | |
* <code>double marketcap = 33;</code> | |
* | |
* @return The marketcap. | |
*/ | |
@java.lang.Override | |
public double getMarketcap() { | |
return marketcap_; | |
} | |
private byte memoizedIsInitialized = -1; | |
@java.lang.Override | |
public final boolean isInitialized() { | |
byte isInitialized = memoizedIsInitialized; | |
if (isInitialized == 1) return true; | |
if (isInitialized == 0) return false; | |
memoizedIsInitialized = 1; | |
return true; | |
} | |
@java.lang.Override | |
public void writeTo(com.google.protobuf.CodedOutputStream output) | |
throws java.io.IOException { | |
if (!getIdBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); | |
} | |
if (price_ != 0F) { | |
output.writeFloat(2, price_); | |
} | |
if (time_ != 0L) { | |
output.writeSInt64(3, time_); | |
} | |
if (!getCurrencyBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, currency_); | |
} | |
if (!getExchangeBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, exchange_); | |
} | |
if (quoteType_ != My.PricingData.QuoteType.NONE.getNumber()) { | |
output.writeEnum(6, quoteType_); | |
} | |
if (marketHours_ != My.PricingData.MarketHoursType.PRE_MARKET.getNumber()) { | |
output.writeEnum(7, marketHours_); | |
} | |
if (changePercent_ != 0F) { | |
output.writeFloat(8, changePercent_); | |
} | |
if (dayVolume_ != 0L) { | |
output.writeSInt64(9, dayVolume_); | |
} | |
if (dayHigh_ != 0F) { | |
output.writeFloat(10, dayHigh_); | |
} | |
if (dayLow_ != 0F) { | |
output.writeFloat(11, dayLow_); | |
} | |
if (change_ != 0F) { | |
output.writeFloat(12, change_); | |
} | |
if (!getShortNameBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, shortName_); | |
} | |
if (expireDate_ != 0L) { | |
output.writeSInt64(14, expireDate_); | |
} | |
if (openPrice_ != 0F) { | |
output.writeFloat(15, openPrice_); | |
} | |
if (previousClose_ != 0F) { | |
output.writeFloat(16, previousClose_); | |
} | |
if (strikePrice_ != 0F) { | |
output.writeFloat(17, strikePrice_); | |
} | |
if (!getUnderlyingSymbolBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, underlyingSymbol_); | |
} | |
if (openInterest_ != 0L) { | |
output.writeSInt64(19, openInterest_); | |
} | |
if (optionsType_ != My.PricingData.OptionType.CALL.getNumber()) { | |
output.writeEnum(20, optionsType_); | |
} | |
if (miniOption_ != 0L) { | |
output.writeSInt64(21, miniOption_); | |
} | |
if (lastSize_ != 0L) { | |
output.writeSInt64(22, lastSize_); | |
} | |
if (bid_ != 0F) { | |
output.writeFloat(23, bid_); | |
} | |
if (bidSize_ != 0L) { | |
output.writeSInt64(24, bidSize_); | |
} | |
if (ask_ != 0F) { | |
output.writeFloat(25, ask_); | |
} | |
if (askSize_ != 0L) { | |
output.writeSInt64(26, askSize_); | |
} | |
if (priceHint_ != 0L) { | |
output.writeSInt64(27, priceHint_); | |
} | |
if (vol24Hr_ != 0L) { | |
output.writeSInt64(28, vol24Hr_); | |
} | |
if (volAllCurrencies_ != 0L) { | |
output.writeSInt64(29, volAllCurrencies_); | |
} | |
if (!getFromcurrencyBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 30, fromcurrency_); | |
} | |
if (!getLastMarketBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 31, lastMarket_); | |
} | |
if (circulatingSupply_ != 0D) { | |
output.writeDouble(32, circulatingSupply_); | |
} | |
if (marketcap_ != 0D) { | |
output.writeDouble(33, marketcap_); | |
} | |
unknownFields.writeTo(output); | |
} | |
@java.lang.Override | |
public int getSerializedSize() { | |
int size = memoizedSize; | |
if (size != -1) return size; | |
size = 0; | |
if (!getIdBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); | |
} | |
if (price_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(2, price_); | |
} | |
if (time_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(3, time_); | |
} | |
if (!getCurrencyBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, currency_); | |
} | |
if (!getExchangeBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, exchange_); | |
} | |
if (quoteType_ != My.PricingData.QuoteType.NONE.getNumber()) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeEnumSize(6, quoteType_); | |
} | |
if (marketHours_ != My.PricingData.MarketHoursType.PRE_MARKET.getNumber()) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeEnumSize(7, marketHours_); | |
} | |
if (changePercent_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(8, changePercent_); | |
} | |
if (dayVolume_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(9, dayVolume_); | |
} | |
if (dayHigh_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(10, dayHigh_); | |
} | |
if (dayLow_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(11, dayLow_); | |
} | |
if (change_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(12, change_); | |
} | |
if (!getShortNameBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, shortName_); | |
} | |
if (expireDate_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(14, expireDate_); | |
} | |
if (openPrice_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(15, openPrice_); | |
} | |
if (previousClose_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(16, previousClose_); | |
} | |
if (strikePrice_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(17, strikePrice_); | |
} | |
if (!getUnderlyingSymbolBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, underlyingSymbol_); | |
} | |
if (openInterest_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(19, openInterest_); | |
} | |
if (optionsType_ != My.PricingData.OptionType.CALL.getNumber()) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeEnumSize(20, optionsType_); | |
} | |
if (miniOption_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(21, miniOption_); | |
} | |
if (lastSize_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(22, lastSize_); | |
} | |
if (bid_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(23, bid_); | |
} | |
if (bidSize_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(24, bidSize_); | |
} | |
if (ask_ != 0F) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeFloatSize(25, ask_); | |
} | |
if (askSize_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(26, askSize_); | |
} | |
if (priceHint_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(27, priceHint_); | |
} | |
if (vol24Hr_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(28, vol24Hr_); | |
} | |
if (volAllCurrencies_ != 0L) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeSInt64Size(29, volAllCurrencies_); | |
} | |
if (!getFromcurrencyBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, fromcurrency_); | |
} | |
if (!getLastMarketBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, lastMarket_); | |
} | |
if (circulatingSupply_ != 0D) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeDoubleSize(32, circulatingSupply_); | |
} | |
if (marketcap_ != 0D) { | |
size += com.google.protobuf.CodedOutputStream | |
.computeDoubleSize(33, marketcap_); | |
} | |
size += unknownFields.getSerializedSize(); | |
memoizedSize = size; | |
return size; | |
} | |
@java.lang.Override | |
public boolean equals(final java.lang.Object obj) { | |
if (obj == this) { | |
return true; | |
} | |
if (!(obj instanceof My.PricingData)) { | |
return super.equals(obj); | |
} | |
My.PricingData other = (My.PricingData) obj; | |
if (!getId() | |
.equals(other.getId())) return false; | |
if (java.lang.Float.floatToIntBits(getPrice()) | |
!= java.lang.Float.floatToIntBits( | |
other.getPrice())) return false; | |
if (getTime() | |
!= other.getTime()) return false; | |
if (!getCurrency() | |
.equals(other.getCurrency())) return false; | |
if (!getExchange() | |
.equals(other.getExchange())) return false; | |
if (quoteType_ != other.quoteType_) return false; | |
if (marketHours_ != other.marketHours_) return false; | |
if (java.lang.Float.floatToIntBits(getChangePercent()) | |
!= java.lang.Float.floatToIntBits( | |
other.getChangePercent())) return false; | |
if (getDayVolume() | |
!= other.getDayVolume()) return false; | |
if (java.lang.Float.floatToIntBits(getDayHigh()) | |
!= java.lang.Float.floatToIntBits( | |
other.getDayHigh())) return false; | |
if (java.lang.Float.floatToIntBits(getDayLow()) | |
!= java.lang.Float.floatToIntBits( | |
other.getDayLow())) return false; | |
if (java.lang.Float.floatToIntBits(getChange()) | |
!= java.lang.Float.floatToIntBits( | |
other.getChange())) return false; | |
if (!getShortName() | |
.equals(other.getShortName())) return false; | |
if (getExpireDate() | |
!= other.getExpireDate()) return false; | |
if (java.lang.Float.floatToIntBits(getOpenPrice()) | |
!= java.lang.Float.floatToIntBits( | |
other.getOpenPrice())) return false; | |
if (java.lang.Float.floatToIntBits(getPreviousClose()) | |
!= java.lang.Float.floatToIntBits( | |
other.getPreviousClose())) return false; | |
if (java.lang.Float.floatToIntBits(getStrikePrice()) | |
!= java.lang.Float.floatToIntBits( | |
other.getStrikePrice())) return false; | |
if (!getUnderlyingSymbol() | |
.equals(other.getUnderlyingSymbol())) return false; | |
if (getOpenInterest() | |
!= other.getOpenInterest()) return false; | |
if (optionsType_ != other.optionsType_) return false; | |
if (getMiniOption() | |
!= other.getMiniOption()) return false; | |
if (getLastSize() | |
!= other.getLastSize()) return false; | |
if (java.lang.Float.floatToIntBits(getBid()) | |
!= java.lang.Float.floatToIntBits( | |
other.getBid())) return false; | |
if (getBidSize() | |
!= other.getBidSize()) return false; | |
if (java.lang.Float.floatToIntBits(getAsk()) | |
!= java.lang.Float.floatToIntBits( | |
other.getAsk())) return false; | |
if (getAskSize() | |
!= other.getAskSize()) return false; | |
if (getPriceHint() | |
!= other.getPriceHint()) return false; | |
if (getVol24Hr() | |
!= other.getVol24Hr()) return false; | |
if (getVolAllCurrencies() | |
!= other.getVolAllCurrencies()) return false; | |
if (!getFromcurrency() | |
.equals(other.getFromcurrency())) return false; | |
if (!getLastMarket() | |
.equals(other.getLastMarket())) return false; | |
if (java.lang.Double.doubleToLongBits(getCirculatingSupply()) | |
!= java.lang.Double.doubleToLongBits( | |
other.getCirculatingSupply())) return false; | |
if (java.lang.Double.doubleToLongBits(getMarketcap()) | |
!= java.lang.Double.doubleToLongBits( | |
other.getMarketcap())) return false; | |
if (!unknownFields.equals(other.unknownFields)) return false; | |
return true; | |
} | |
@java.lang.Override | |
public int hashCode() { | |
if (memoizedHashCode != 0) { | |
return memoizedHashCode; | |
} | |
int hash = 41; | |
hash = (19 * hash) + getDescriptor().hashCode(); | |
hash = (37 * hash) + ID_FIELD_NUMBER; | |
hash = (53 * hash) + getId().hashCode(); | |
hash = (37 * hash) + PRICE_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getPrice()); | |
hash = (37 * hash) + TIME_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getTime()); | |
hash = (37 * hash) + CURRENCY_FIELD_NUMBER; | |
hash = (53 * hash) + getCurrency().hashCode(); | |
hash = (37 * hash) + EXCHANGE_FIELD_NUMBER; | |
hash = (53 * hash) + getExchange().hashCode(); | |
hash = (37 * hash) + QUOTETYPE_FIELD_NUMBER; | |
hash = (53 * hash) + quoteType_; | |
hash = (37 * hash) + MARKETHOURS_FIELD_NUMBER; | |
hash = (53 * hash) + marketHours_; | |
hash = (37 * hash) + CHANGEPERCENT_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getChangePercent()); | |
hash = (37 * hash) + DAYVOLUME_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getDayVolume()); | |
hash = (37 * hash) + DAYHIGH_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getDayHigh()); | |
hash = (37 * hash) + DAYLOW_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getDayLow()); | |
hash = (37 * hash) + CHANGE_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getChange()); | |
hash = (37 * hash) + SHORTNAME_FIELD_NUMBER; | |
hash = (53 * hash) + getShortName().hashCode(); | |
hash = (37 * hash) + EXPIREDATE_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getExpireDate()); | |
hash = (37 * hash) + OPENPRICE_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getOpenPrice()); | |
hash = (37 * hash) + PREVIOUSCLOSE_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getPreviousClose()); | |
hash = (37 * hash) + STRIKEPRICE_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getStrikePrice()); | |
hash = (37 * hash) + UNDERLYINGSYMBOL_FIELD_NUMBER; | |
hash = (53 * hash) + getUnderlyingSymbol().hashCode(); | |
hash = (37 * hash) + OPENINTEREST_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getOpenInterest()); | |
hash = (37 * hash) + OPTIONSTYPE_FIELD_NUMBER; | |
hash = (53 * hash) + optionsType_; | |
hash = (37 * hash) + MINIOPTION_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getMiniOption()); | |
hash = (37 * hash) + LASTSIZE_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getLastSize()); | |
hash = (37 * hash) + BID_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getBid()); | |
hash = (37 * hash) + BIDSIZE_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getBidSize()); | |
hash = (37 * hash) + ASK_FIELD_NUMBER; | |
hash = (53 * hash) + java.lang.Float.floatToIntBits( | |
getAsk()); | |
hash = (37 * hash) + ASKSIZE_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getAskSize()); | |
hash = (37 * hash) + PRICEHINT_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getPriceHint()); | |
hash = (37 * hash) + VOL_24HR_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getVol24Hr()); | |
hash = (37 * hash) + VOLALLCURRENCIES_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
getVolAllCurrencies()); | |
hash = (37 * hash) + FROMCURRENCY_FIELD_NUMBER; | |
hash = (53 * hash) + getFromcurrency().hashCode(); | |
hash = (37 * hash) + LASTMARKET_FIELD_NUMBER; | |
hash = (53 * hash) + getLastMarket().hashCode(); | |
hash = (37 * hash) + CIRCULATINGSUPPLY_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
java.lang.Double.doubleToLongBits(getCirculatingSupply())); | |
hash = (37 * hash) + MARKETCAP_FIELD_NUMBER; | |
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( | |
java.lang.Double.doubleToLongBits(getMarketcap())); | |
hash = (29 * hash) + unknownFields.hashCode(); | |
memoizedHashCode = hash; | |
return hash; | |
} | |
public static My.PricingData parseFrom( | |
java.nio.ByteBuffer data) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data); | |
} | |
public static My.PricingData parseFrom( | |
java.nio.ByteBuffer data, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data, extensionRegistry); | |
} | |
public static My.PricingData parseFrom( | |
com.google.protobuf.ByteString data) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data); | |
} | |
public static My.PricingData parseFrom( | |
com.google.protobuf.ByteString data, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data, extensionRegistry); | |
} | |
public static My.PricingData parseFrom(byte[] data) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data); | |
} | |
public static My.PricingData parseFrom( | |
byte[] data, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data, extensionRegistry); | |
} | |
public static My.PricingData parseFrom(java.io.InputStream input) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input); | |
} | |
public static My.PricingData parseFrom( | |
java.io.InputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input, extensionRegistry); | |
} | |
public static My.PricingData parseDelimitedFrom(java.io.InputStream input) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseDelimitedWithIOException(PARSER, input); | |
} | |
public static My.PricingData parseDelimitedFrom( | |
java.io.InputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseDelimitedWithIOException(PARSER, input, extensionRegistry); | |
} | |
public static My.PricingData parseFrom( | |
com.google.protobuf.CodedInputStream input) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input); | |
} | |
public static My.PricingData parseFrom( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input, extensionRegistry); | |
} | |
@java.lang.Override | |
public Builder newBuilderForType() { | |
return newBuilder(); | |
} | |
public static Builder newBuilder() { | |
return DEFAULT_INSTANCE.toBuilder(); | |
} | |
public static Builder newBuilder(My.PricingData prototype) { | |
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); | |
} | |
@java.lang.Override | |
public Builder toBuilder() { | |
return this == DEFAULT_INSTANCE | |
? new Builder() : new Builder().mergeFrom(this); | |
} | |
@java.lang.Override | |
protected Builder newBuilderForType( | |
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { | |
Builder builder = new Builder(parent); | |
return builder; | |
} | |
/** | |
* Protobuf type {@code PricingData} | |
*/ | |
public static final class Builder extends | |
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements | |
// @@protoc_insertion_point(builder_implements:PricingData) | |
My.PricingDataOrBuilder { | |
public static final com.google.protobuf.Descriptors.Descriptor | |
getDescriptor() { | |
return My.internal_static_PricingData_descriptor; | |
} | |
@java.lang.Override | |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
internalGetFieldAccessorTable() { | |
return My.internal_static_PricingData_fieldAccessorTable | |
.ensureFieldAccessorsInitialized( | |
My.PricingData.class, My.PricingData.Builder.class); | |
} | |
// Construct using My.PricingData.newBuilder() | |
private Builder() { | |
maybeForceBuilderInitialization(); | |
} | |
private Builder( | |
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { | |
super(parent); | |
maybeForceBuilderInitialization(); | |
} | |
private void maybeForceBuilderInitialization() { | |
if (com.google.protobuf.GeneratedMessageV3 | |
.alwaysUseFieldBuilders) { | |
} | |
} | |
@java.lang.Override | |
public Builder clear() { | |
super.clear(); | |
id_ = ""; | |
price_ = 0F; | |
time_ = 0L; | |
currency_ = ""; | |
exchange_ = ""; | |
quoteType_ = 0; | |
marketHours_ = 0; | |
changePercent_ = 0F; | |
dayVolume_ = 0L; | |
dayHigh_ = 0F; | |
dayLow_ = 0F; | |
change_ = 0F; | |
shortName_ = ""; | |
expireDate_ = 0L; | |
openPrice_ = 0F; | |
previousClose_ = 0F; | |
strikePrice_ = 0F; | |
underlyingSymbol_ = ""; | |
openInterest_ = 0L; | |
optionsType_ = 0; | |
miniOption_ = 0L; | |
lastSize_ = 0L; | |
bid_ = 0F; | |
bidSize_ = 0L; | |
ask_ = 0F; | |
askSize_ = 0L; | |
priceHint_ = 0L; | |
vol24Hr_ = 0L; | |
volAllCurrencies_ = 0L; | |
fromcurrency_ = ""; | |
lastMarket_ = ""; | |
circulatingSupply_ = 0D; | |
marketcap_ = 0D; | |
return this; | |
} | |
@java.lang.Override | |
public com.google.protobuf.Descriptors.Descriptor | |
getDescriptorForType() { | |
return My.internal_static_PricingData_descriptor; | |
} | |
@java.lang.Override | |
public My.PricingData getDefaultInstanceForType() { | |
return My.PricingData.getDefaultInstance(); | |
} | |
@java.lang.Override | |
public My.PricingData build() { | |
My.PricingData result = buildPartial(); | |
if (!result.isInitialized()) { | |
throw newUninitializedMessageException(result); | |
} | |
return result; | |
} | |
@java.lang.Override | |
public My.PricingData buildPartial() { | |
My.PricingData result = new My.PricingData(this); | |
result.id_ = id_; | |
result.price_ = price_; | |
result.time_ = time_; | |
result.currency_ = currency_; | |
result.exchange_ = exchange_; | |
result.quoteType_ = quoteType_; | |
result.marketHours_ = marketHours_; | |
result.changePercent_ = changePercent_; | |
result.dayVolume_ = dayVolume_; | |
result.dayHigh_ = dayHigh_; | |
result.dayLow_ = dayLow_; | |
result.change_ = change_; | |
result.shortName_ = shortName_; | |
result.expireDate_ = expireDate_; | |
result.openPrice_ = openPrice_; | |
result.previousClose_ = previousClose_; | |
result.strikePrice_ = strikePrice_; | |
result.underlyingSymbol_ = underlyingSymbol_; | |
result.openInterest_ = openInterest_; | |
result.optionsType_ = optionsType_; | |
result.miniOption_ = miniOption_; | |
result.lastSize_ = lastSize_; | |
result.bid_ = bid_; | |
result.bidSize_ = bidSize_; | |
result.ask_ = ask_; | |
result.askSize_ = askSize_; | |
result.priceHint_ = priceHint_; | |
result.vol24Hr_ = vol24Hr_; | |
result.volAllCurrencies_ = volAllCurrencies_; | |
result.fromcurrency_ = fromcurrency_; | |
result.lastMarket_ = lastMarket_; | |
result.circulatingSupply_ = circulatingSupply_; | |
result.marketcap_ = marketcap_; | |
onBuilt(); | |
return result; | |
} | |
@java.lang.Override | |
public Builder clone() { | |
return super.clone(); | |
} | |
@java.lang.Override | |
public Builder setField( | |
com.google.protobuf.Descriptors.FieldDescriptor field, | |
java.lang.Object value) { | |
return super.setField(field, value); | |
} | |
@java.lang.Override | |
public Builder clearField( | |
com.google.protobuf.Descriptors.FieldDescriptor field) { | |
return super.clearField(field); | |
} | |
@java.lang.Override | |
public Builder clearOneof( | |
com.google.protobuf.Descriptors.OneofDescriptor oneof) { | |
return super.clearOneof(oneof); | |
} | |
@java.lang.Override | |
public Builder setRepeatedField( | |
com.google.protobuf.Descriptors.FieldDescriptor field, | |
int index, java.lang.Object value) { | |
return super.setRepeatedField(field, index, value); | |
} | |
@java.lang.Override | |
public Builder addRepeatedField( | |
com.google.protobuf.Descriptors.FieldDescriptor field, | |
java.lang.Object value) { | |
return super.addRepeatedField(field, value); | |
} | |
@java.lang.Override | |
public Builder mergeFrom(com.google.protobuf.Message other) { | |
if (other instanceof My.PricingData) { | |
return mergeFrom((My.PricingData) other); | |
} else { | |
super.mergeFrom(other); | |
return this; | |
} | |
} | |
public Builder mergeFrom(My.PricingData other) { | |
if (other == My.PricingData.getDefaultInstance()) return this; | |
if (!other.getId().isEmpty()) { | |
id_ = other.id_; | |
onChanged(); | |
} | |
if (other.getPrice() != 0F) { | |
setPrice(other.getPrice()); | |
} | |
if (other.getTime() != 0L) { | |
setTime(other.getTime()); | |
} | |
if (!other.getCurrency().isEmpty()) { | |
currency_ = other.currency_; | |
onChanged(); | |
} | |
if (!other.getExchange().isEmpty()) { | |
exchange_ = other.exchange_; | |
onChanged(); | |
} | |
if (other.quoteType_ != 0) { | |
setQuoteTypeValue(other.getQuoteTypeValue()); | |
} | |
if (other.marketHours_ != 0) { | |
setMarketHoursValue(other.getMarketHoursValue()); | |
} | |
if (other.getChangePercent() != 0F) { | |
setChangePercent(other.getChangePercent()); | |
} | |
if (other.getDayVolume() != 0L) { | |
setDayVolume(other.getDayVolume()); | |
} | |
if (other.getDayHigh() != 0F) { | |
setDayHigh(other.getDayHigh()); | |
} | |
if (other.getDayLow() != 0F) { | |
setDayLow(other.getDayLow()); | |
} | |
if (other.getChange() != 0F) { | |
setChange(other.getChange()); | |
} | |
if (!other.getShortName().isEmpty()) { | |
shortName_ = other.shortName_; | |
onChanged(); | |
} | |
if (other.getExpireDate() != 0L) { | |
setExpireDate(other.getExpireDate()); | |
} | |
if (other.getOpenPrice() != 0F) { | |
setOpenPrice(other.getOpenPrice()); | |
} | |
if (other.getPreviousClose() != 0F) { | |
setPreviousClose(other.getPreviousClose()); | |
} | |
if (other.getStrikePrice() != 0F) { | |
setStrikePrice(other.getStrikePrice()); | |
} | |
if (!other.getUnderlyingSymbol().isEmpty()) { | |
underlyingSymbol_ = other.underlyingSymbol_; | |
onChanged(); | |
} | |
if (other.getOpenInterest() != 0L) { | |
setOpenInterest(other.getOpenInterest()); | |
} | |
if (other.optionsType_ != 0) { | |
setOptionsTypeValue(other.getOptionsTypeValue()); | |
} | |
if (other.getMiniOption() != 0L) { | |
setMiniOption(other.getMiniOption()); | |
} | |
if (other.getLastSize() != 0L) { | |
setLastSize(other.getLastSize()); | |
} | |
if (other.getBid() != 0F) { | |
setBid(other.getBid()); | |
} | |
if (other.getBidSize() != 0L) { | |
setBidSize(other.getBidSize()); | |
} | |
if (other.getAsk() != 0F) { | |
setAsk(other.getAsk()); | |
} | |
if (other.getAskSize() != 0L) { | |
setAskSize(other.getAskSize()); | |
} | |
if (other.getPriceHint() != 0L) { | |
setPriceHint(other.getPriceHint()); | |
} | |
if (other.getVol24Hr() != 0L) { | |
setVol24Hr(other.getVol24Hr()); | |
} | |
if (other.getVolAllCurrencies() != 0L) { | |
setVolAllCurrencies(other.getVolAllCurrencies()); | |
} | |
if (!other.getFromcurrency().isEmpty()) { | |
fromcurrency_ = other.fromcurrency_; | |
onChanged(); | |
} | |
if (!other.getLastMarket().isEmpty()) { | |
lastMarket_ = other.lastMarket_; | |
onChanged(); | |
} | |
if (other.getCirculatingSupply() != 0D) { | |
setCirculatingSupply(other.getCirculatingSupply()); | |
} | |
if (other.getMarketcap() != 0D) { | |
setMarketcap(other.getMarketcap()); | |
} | |
this.mergeUnknownFields(other.unknownFields); | |
onChanged(); | |
return this; | |
} | |
@java.lang.Override | |
public final boolean isInitialized() { | |
return true; | |
} | |
@java.lang.Override | |
public Builder mergeFrom( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
My.PricingData parsedMessage = null; | |
try { | |
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); | |
} catch (com.google.protobuf.InvalidProtocolBufferException e) { | |
parsedMessage = (My.PricingData) e.getUnfinishedMessage(); | |
throw e.unwrapIOException(); | |
} finally { | |
if (parsedMessage != null) { | |
mergeFrom(parsedMessage); | |
} | |
} | |
return this; | |
} | |
private java.lang.Object id_ = ""; | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The id. | |
*/ | |
public java.lang.String getId() { | |
java.lang.Object ref = id_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
id_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The bytes for id. | |
*/ | |
public com.google.protobuf.ByteString | |
getIdBytes() { | |
java.lang.Object ref = id_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
id_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @param value The id to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setId( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
id_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearId() { | |
id_ = getDefaultInstance().getId(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @param value The bytes for id to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setIdBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
id_ = value; | |
onChanged(); | |
return this; | |
} | |
private float price_; | |
/** | |
* <code>float price = 2;</code> | |
* | |
* @return The price. | |
*/ | |
@java.lang.Override | |
public float getPrice() { | |
return price_; | |
} | |
/** | |
* <code>float price = 2;</code> | |
* | |
* @param value The price to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setPrice(float value) { | |
price_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float price = 2;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearPrice() { | |
price_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private long time_; | |
/** | |
* <code>sint64 time = 3;</code> | |
* | |
* @return The time. | |
*/ | |
@java.lang.Override | |
public long getTime() { | |
return time_; | |
} | |
/** | |
* <code>sint64 time = 3;</code> | |
* | |
* @param value The time to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setTime(long value) { | |
time_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 time = 3;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearTime() { | |
time_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object currency_ = ""; | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return The currency. | |
*/ | |
public java.lang.String getCurrency() { | |
java.lang.Object ref = currency_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
currency_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return The bytes for currency. | |
*/ | |
public com.google.protobuf.ByteString | |
getCurrencyBytes() { | |
java.lang.Object ref = currency_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
currency_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @param value The currency to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setCurrency( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
currency_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearCurrency() { | |
currency_ = getDefaultInstance().getCurrency(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string currency = 4;</code> | |
* | |
* @param value The bytes for currency to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setCurrencyBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
currency_ = value; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object exchange_ = ""; | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return The exchange. | |
*/ | |
public java.lang.String getExchange() { | |
java.lang.Object ref = exchange_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
exchange_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return The bytes for exchange. | |
*/ | |
public com.google.protobuf.ByteString | |
getExchangeBytes() { | |
java.lang.Object ref = exchange_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
exchange_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @param value The exchange to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setExchange( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
exchange_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearExchange() { | |
exchange_ = getDefaultInstance().getExchange(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string exchange = 5;</code> | |
* | |
* @param value The bytes for exchange to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setExchangeBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
exchange_ = value; | |
onChanged(); | |
return this; | |
} | |
private int quoteType_ = 0; | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return The enum numeric value on the wire for quoteType. | |
*/ | |
@java.lang.Override | |
public int getQuoteTypeValue() { | |
return quoteType_; | |
} | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @param value The enum numeric value on the wire for quoteType to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setQuoteTypeValue(int value) { | |
quoteType_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return The quoteType. | |
*/ | |
@java.lang.Override | |
public My.PricingData.QuoteType getQuoteType() { | |
@SuppressWarnings("deprecation") | |
My.PricingData.QuoteType result = My.PricingData.QuoteType.valueOf(quoteType_); | |
return result == null ? My.PricingData.QuoteType.UNRECOGNIZED : result; | |
} | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @param value The quoteType to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setQuoteType(My.PricingData.QuoteType value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
quoteType_ = value.getNumber(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>.PricingData.QuoteType quoteType = 6;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearQuoteType() { | |
quoteType_ = 0; | |
onChanged(); | |
return this; | |
} | |
private int marketHours_ = 0; | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return The enum numeric value on the wire for marketHours. | |
*/ | |
@java.lang.Override | |
public int getMarketHoursValue() { | |
return marketHours_; | |
} | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @param value The enum numeric value on the wire for marketHours to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setMarketHoursValue(int value) { | |
marketHours_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return The marketHours. | |
*/ | |
@java.lang.Override | |
public My.PricingData.MarketHoursType getMarketHours() { | |
@SuppressWarnings("deprecation") | |
My.PricingData.MarketHoursType result = My.PricingData.MarketHoursType.valueOf(marketHours_); | |
return result == null ? My.PricingData.MarketHoursType.UNRECOGNIZED : result; | |
} | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @param value The marketHours to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setMarketHours(My.PricingData.MarketHoursType value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
marketHours_ = value.getNumber(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>.PricingData.MarketHoursType marketHours = 7;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearMarketHours() { | |
marketHours_ = 0; | |
onChanged(); | |
return this; | |
} | |
private float changePercent_; | |
/** | |
* <code>float changePercent = 8;</code> | |
* | |
* @return The changePercent. | |
*/ | |
@java.lang.Override | |
public float getChangePercent() { | |
return changePercent_; | |
} | |
/** | |
* <code>float changePercent = 8;</code> | |
* | |
* @param value The changePercent to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setChangePercent(float value) { | |
changePercent_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float changePercent = 8;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearChangePercent() { | |
changePercent_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private long dayVolume_; | |
/** | |
* <code>sint64 dayVolume = 9;</code> | |
* | |
* @return The dayVolume. | |
*/ | |
@java.lang.Override | |
public long getDayVolume() { | |
return dayVolume_; | |
} | |
/** | |
* <code>sint64 dayVolume = 9;</code> | |
* | |
* @param value The dayVolume to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setDayVolume(long value) { | |
dayVolume_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 dayVolume = 9;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearDayVolume() { | |
dayVolume_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private float dayHigh_; | |
/** | |
* <code>float dayHigh = 10;</code> | |
* | |
* @return The dayHigh. | |
*/ | |
@java.lang.Override | |
public float getDayHigh() { | |
return dayHigh_; | |
} | |
/** | |
* <code>float dayHigh = 10;</code> | |
* | |
* @param value The dayHigh to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setDayHigh(float value) { | |
dayHigh_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float dayHigh = 10;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearDayHigh() { | |
dayHigh_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private float dayLow_; | |
/** | |
* <code>float dayLow = 11;</code> | |
* | |
* @return The dayLow. | |
*/ | |
@java.lang.Override | |
public float getDayLow() { | |
return dayLow_; | |
} | |
/** | |
* <code>float dayLow = 11;</code> | |
* | |
* @param value The dayLow to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setDayLow(float value) { | |
dayLow_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float dayLow = 11;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearDayLow() { | |
dayLow_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private float change_; | |
/** | |
* <code>float change = 12;</code> | |
* | |
* @return The change. | |
*/ | |
@java.lang.Override | |
public float getChange() { | |
return change_; | |
} | |
/** | |
* <code>float change = 12;</code> | |
* | |
* @param value The change to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setChange(float value) { | |
change_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float change = 12;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearChange() { | |
change_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object shortName_ = ""; | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return The shortName. | |
*/ | |
public java.lang.String getShortName() { | |
java.lang.Object ref = shortName_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
shortName_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return The bytes for shortName. | |
*/ | |
public com.google.protobuf.ByteString | |
getShortNameBytes() { | |
java.lang.Object ref = shortName_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
shortName_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @param value The shortName to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setShortName( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
shortName_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearShortName() { | |
shortName_ = getDefaultInstance().getShortName(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string shortName = 13;</code> | |
* | |
* @param value The bytes for shortName to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setShortNameBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
shortName_ = value; | |
onChanged(); | |
return this; | |
} | |
private long expireDate_; | |
/** | |
* <code>sint64 expireDate = 14;</code> | |
* | |
* @return The expireDate. | |
*/ | |
@java.lang.Override | |
public long getExpireDate() { | |
return expireDate_; | |
} | |
/** | |
* <code>sint64 expireDate = 14;</code> | |
* | |
* @param value The expireDate to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setExpireDate(long value) { | |
expireDate_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 expireDate = 14;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearExpireDate() { | |
expireDate_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private float openPrice_; | |
/** | |
* <code>float openPrice = 15;</code> | |
* | |
* @return The openPrice. | |
*/ | |
@java.lang.Override | |
public float getOpenPrice() { | |
return openPrice_; | |
} | |
/** | |
* <code>float openPrice = 15;</code> | |
* | |
* @param value The openPrice to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setOpenPrice(float value) { | |
openPrice_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float openPrice = 15;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearOpenPrice() { | |
openPrice_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private float previousClose_; | |
/** | |
* <code>float previousClose = 16;</code> | |
* | |
* @return The previousClose. | |
*/ | |
@java.lang.Override | |
public float getPreviousClose() { | |
return previousClose_; | |
} | |
/** | |
* <code>float previousClose = 16;</code> | |
* | |
* @param value The previousClose to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setPreviousClose(float value) { | |
previousClose_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float previousClose = 16;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearPreviousClose() { | |
previousClose_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private float strikePrice_; | |
/** | |
* <code>float strikePrice = 17;</code> | |
* | |
* @return The strikePrice. | |
*/ | |
@java.lang.Override | |
public float getStrikePrice() { | |
return strikePrice_; | |
} | |
/** | |
* <code>float strikePrice = 17;</code> | |
* | |
* @param value The strikePrice to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setStrikePrice(float value) { | |
strikePrice_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float strikePrice = 17;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearStrikePrice() { | |
strikePrice_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object underlyingSymbol_ = ""; | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return The underlyingSymbol. | |
*/ | |
public java.lang.String getUnderlyingSymbol() { | |
java.lang.Object ref = underlyingSymbol_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
underlyingSymbol_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return The bytes for underlyingSymbol. | |
*/ | |
public com.google.protobuf.ByteString | |
getUnderlyingSymbolBytes() { | |
java.lang.Object ref = underlyingSymbol_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
underlyingSymbol_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @param value The underlyingSymbol to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setUnderlyingSymbol( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
underlyingSymbol_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearUnderlyingSymbol() { | |
underlyingSymbol_ = getDefaultInstance().getUnderlyingSymbol(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string underlyingSymbol = 18;</code> | |
* | |
* @param value The bytes for underlyingSymbol to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setUnderlyingSymbolBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
underlyingSymbol_ = value; | |
onChanged(); | |
return this; | |
} | |
private long openInterest_; | |
/** | |
* <code>sint64 openInterest = 19;</code> | |
* | |
* @return The openInterest. | |
*/ | |
@java.lang.Override | |
public long getOpenInterest() { | |
return openInterest_; | |
} | |
/** | |
* <code>sint64 openInterest = 19;</code> | |
* | |
* @param value The openInterest to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setOpenInterest(long value) { | |
openInterest_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 openInterest = 19;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearOpenInterest() { | |
openInterest_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private int optionsType_ = 0; | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return The enum numeric value on the wire for optionsType. | |
*/ | |
@java.lang.Override | |
public int getOptionsTypeValue() { | |
return optionsType_; | |
} | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @param value The enum numeric value on the wire for optionsType to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setOptionsTypeValue(int value) { | |
optionsType_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return The optionsType. | |
*/ | |
@java.lang.Override | |
public My.PricingData.OptionType getOptionsType() { | |
@SuppressWarnings("deprecation") | |
My.PricingData.OptionType result = My.PricingData.OptionType.valueOf(optionsType_); | |
return result == null ? My.PricingData.OptionType.UNRECOGNIZED : result; | |
} | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @param value The optionsType to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setOptionsType(My.PricingData.OptionType value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
optionsType_ = value.getNumber(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>.PricingData.OptionType optionsType = 20;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearOptionsType() { | |
optionsType_ = 0; | |
onChanged(); | |
return this; | |
} | |
private long miniOption_; | |
/** | |
* <code>sint64 miniOption = 21;</code> | |
* | |
* @return The miniOption. | |
*/ | |
@java.lang.Override | |
public long getMiniOption() { | |
return miniOption_; | |
} | |
/** | |
* <code>sint64 miniOption = 21;</code> | |
* | |
* @param value The miniOption to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setMiniOption(long value) { | |
miniOption_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 miniOption = 21;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearMiniOption() { | |
miniOption_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private long lastSize_; | |
/** | |
* <code>sint64 lastSize = 22;</code> | |
* | |
* @return The lastSize. | |
*/ | |
@java.lang.Override | |
public long getLastSize() { | |
return lastSize_; | |
} | |
/** | |
* <code>sint64 lastSize = 22;</code> | |
* | |
* @param value The lastSize to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setLastSize(long value) { | |
lastSize_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 lastSize = 22;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearLastSize() { | |
lastSize_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private float bid_; | |
/** | |
* <code>float bid = 23;</code> | |
* | |
* @return The bid. | |
*/ | |
@java.lang.Override | |
public float getBid() { | |
return bid_; | |
} | |
/** | |
* <code>float bid = 23;</code> | |
* | |
* @param value The bid to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setBid(float value) { | |
bid_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float bid = 23;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearBid() { | |
bid_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private long bidSize_; | |
/** | |
* <code>sint64 bidSize = 24;</code> | |
* | |
* @return The bidSize. | |
*/ | |
@java.lang.Override | |
public long getBidSize() { | |
return bidSize_; | |
} | |
/** | |
* <code>sint64 bidSize = 24;</code> | |
* | |
* @param value The bidSize to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setBidSize(long value) { | |
bidSize_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 bidSize = 24;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearBidSize() { | |
bidSize_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private float ask_; | |
/** | |
* <code>float ask = 25;</code> | |
* | |
* @return The ask. | |
*/ | |
@java.lang.Override | |
public float getAsk() { | |
return ask_; | |
} | |
/** | |
* <code>float ask = 25;</code> | |
* | |
* @param value The ask to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setAsk(float value) { | |
ask_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>float ask = 25;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearAsk() { | |
ask_ = 0F; | |
onChanged(); | |
return this; | |
} | |
private long askSize_; | |
/** | |
* <code>sint64 askSize = 26;</code> | |
* | |
* @return The askSize. | |
*/ | |
@java.lang.Override | |
public long getAskSize() { | |
return askSize_; | |
} | |
/** | |
* <code>sint64 askSize = 26;</code> | |
* | |
* @param value The askSize to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setAskSize(long value) { | |
askSize_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 askSize = 26;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearAskSize() { | |
askSize_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private long priceHint_; | |
/** | |
* <code>sint64 priceHint = 27;</code> | |
* | |
* @return The priceHint. | |
*/ | |
@java.lang.Override | |
public long getPriceHint() { | |
return priceHint_; | |
} | |
/** | |
* <code>sint64 priceHint = 27;</code> | |
* | |
* @param value The priceHint to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setPriceHint(long value) { | |
priceHint_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 priceHint = 27;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearPriceHint() { | |
priceHint_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private long vol24Hr_; | |
/** | |
* <code>sint64 vol_24hr = 28;</code> | |
* | |
* @return The vol24hr. | |
*/ | |
@java.lang.Override | |
public long getVol24Hr() { | |
return vol24Hr_; | |
} | |
/** | |
* <code>sint64 vol_24hr = 28;</code> | |
* | |
* @param value The vol24hr to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setVol24Hr(long value) { | |
vol24Hr_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 vol_24hr = 28;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearVol24Hr() { | |
vol24Hr_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private long volAllCurrencies_; | |
/** | |
* <code>sint64 volAllCurrencies = 29;</code> | |
* | |
* @return The volAllCurrencies. | |
*/ | |
@java.lang.Override | |
public long getVolAllCurrencies() { | |
return volAllCurrencies_; | |
} | |
/** | |
* <code>sint64 volAllCurrencies = 29;</code> | |
* | |
* @param value The volAllCurrencies to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setVolAllCurrencies(long value) { | |
volAllCurrencies_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>sint64 volAllCurrencies = 29;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearVolAllCurrencies() { | |
volAllCurrencies_ = 0L; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object fromcurrency_ = ""; | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return The fromcurrency. | |
*/ | |
public java.lang.String getFromcurrency() { | |
java.lang.Object ref = fromcurrency_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
fromcurrency_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return The bytes for fromcurrency. | |
*/ | |
public com.google.protobuf.ByteString | |
getFromcurrencyBytes() { | |
java.lang.Object ref = fromcurrency_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
fromcurrency_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @param value The fromcurrency to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setFromcurrency( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
fromcurrency_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearFromcurrency() { | |
fromcurrency_ = getDefaultInstance().getFromcurrency(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string fromcurrency = 30;</code> | |
* | |
* @param value The bytes for fromcurrency to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setFromcurrencyBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
fromcurrency_ = value; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object lastMarket_ = ""; | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return The lastMarket. | |
*/ | |
public java.lang.String getLastMarket() { | |
java.lang.Object ref = lastMarket_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
lastMarket_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return The bytes for lastMarket. | |
*/ | |
public com.google.protobuf.ByteString | |
getLastMarketBytes() { | |
java.lang.Object ref = lastMarket_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
lastMarket_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @param value The lastMarket to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setLastMarket( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
lastMarket_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearLastMarket() { | |
lastMarket_ = getDefaultInstance().getLastMarket(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string lastMarket = 31;</code> | |
* | |
* @param value The bytes for lastMarket to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setLastMarketBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
lastMarket_ = value; | |
onChanged(); | |
return this; | |
} | |
private double circulatingSupply_; | |
/** | |
* <code>double circulatingSupply = 32;</code> | |
* | |
* @return The circulatingSupply. | |
*/ | |
@java.lang.Override | |
public double getCirculatingSupply() { | |
return circulatingSupply_; | |
} | |
/** | |
* <code>double circulatingSupply = 32;</code> | |
* | |
* @param value The circulatingSupply to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setCirculatingSupply(double value) { | |
circulatingSupply_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>double circulatingSupply = 32;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearCirculatingSupply() { | |
circulatingSupply_ = 0D; | |
onChanged(); | |
return this; | |
} | |
private double marketcap_; | |
/** | |
* <code>double marketcap = 33;</code> | |
* | |
* @return The marketcap. | |
*/ | |
@java.lang.Override | |
public double getMarketcap() { | |
return marketcap_; | |
} | |
/** | |
* <code>double marketcap = 33;</code> | |
* | |
* @param value The marketcap to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setMarketcap(double value) { | |
marketcap_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>double marketcap = 33;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearMarketcap() { | |
marketcap_ = 0D; | |
onChanged(); | |
return this; | |
} | |
@java.lang.Override | |
public final Builder setUnknownFields( | |
final com.google.protobuf.UnknownFieldSet unknownFields) { | |
return super.setUnknownFields(unknownFields); | |
} | |
@java.lang.Override | |
public final Builder mergeUnknownFields( | |
final com.google.protobuf.UnknownFieldSet unknownFields) { | |
return super.mergeUnknownFields(unknownFields); | |
} | |
// @@protoc_insertion_point(builder_scope:PricingData) | |
} | |
// @@protoc_insertion_point(class_scope:PricingData) | |
private static final My.PricingData DEFAULT_INSTANCE; | |
static { | |
DEFAULT_INSTANCE = new My.PricingData(); | |
} | |
public static My.PricingData getDefaultInstance() { | |
return DEFAULT_INSTANCE; | |
} | |
private static final com.google.protobuf.Parser<PricingData> | |
PARSER = new com.google.protobuf.AbstractParser<PricingData>() { | |
@java.lang.Override | |
public PricingData parsePartialFrom( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return new PricingData(input, extensionRegistry); | |
} | |
}; | |
public static com.google.protobuf.Parser<PricingData> parser() { | |
return PARSER; | |
} | |
@java.lang.Override | |
public com.google.protobuf.Parser<PricingData> getParserForType() { | |
return PARSER; | |
} | |
@java.lang.Override | |
public My.PricingData getDefaultInstanceForType() { | |
return DEFAULT_INSTANCE; | |
} | |
} | |
public interface StaticDataOrBuilder extends | |
// @@protoc_insertion_point(interface_extends:StaticData) | |
com.google.protobuf.MessageOrBuilder { | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The id. | |
*/ | |
java.lang.String getId(); | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The bytes for id. | |
*/ | |
com.google.protobuf.ByteString | |
getIdBytes(); | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return The displayName. | |
*/ | |
java.lang.String getDisplayName(); | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return The bytes for displayName. | |
*/ | |
com.google.protobuf.ByteString | |
getDisplayNameBytes(); | |
} | |
/** | |
* Protobuf type {@code StaticData} | |
*/ | |
public static final class StaticData extends | |
com.google.protobuf.GeneratedMessageV3 implements | |
// @@protoc_insertion_point(message_implements:StaticData) | |
StaticDataOrBuilder { | |
private static final long serialVersionUID = 0L; | |
// Use StaticData.newBuilder() to construct. | |
private StaticData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { | |
super(builder); | |
} | |
private StaticData() { | |
id_ = ""; | |
displayName_ = ""; | |
} | |
@java.lang.Override | |
@SuppressWarnings({"unused"}) | |
protected java.lang.Object newInstance( | |
UnusedPrivateParameter unused) { | |
return new StaticData(); | |
} | |
@java.lang.Override | |
public final com.google.protobuf.UnknownFieldSet | |
getUnknownFields() { | |
return this.unknownFields; | |
} | |
private StaticData( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
this(); | |
if (extensionRegistry == null) { | |
throw new java.lang.NullPointerException(); | |
} | |
com.google.protobuf.UnknownFieldSet.Builder unknownFields = | |
com.google.protobuf.UnknownFieldSet.newBuilder(); | |
try { | |
boolean done = false; | |
while (!done) { | |
int tag = input.readTag(); | |
switch (tag) { | |
case 0: | |
done = true; | |
break; | |
case 10: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
id_ = s; | |
break; | |
} | |
case 42: { | |
java.lang.String s = input.readStringRequireUtf8(); | |
displayName_ = s; | |
break; | |
} | |
default: { | |
if (!parseUnknownField( | |
input, unknownFields, extensionRegistry, tag)) { | |
done = true; | |
} | |
break; | |
} | |
} | |
} | |
} catch (com.google.protobuf.InvalidProtocolBufferException e) { | |
throw e.setUnfinishedMessage(this); | |
} catch (java.io.IOException e) { | |
throw new com.google.protobuf.InvalidProtocolBufferException( | |
e).setUnfinishedMessage(this); | |
} finally { | |
this.unknownFields = unknownFields.build(); | |
makeExtensionsImmutable(); | |
} | |
} | |
public static final com.google.protobuf.Descriptors.Descriptor | |
getDescriptor() { | |
return My.internal_static_StaticData_descriptor; | |
} | |
@java.lang.Override | |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
internalGetFieldAccessorTable() { | |
return My.internal_static_StaticData_fieldAccessorTable | |
.ensureFieldAccessorsInitialized( | |
My.StaticData.class, My.StaticData.Builder.class); | |
} | |
public static final int ID_FIELD_NUMBER = 1; | |
private volatile java.lang.Object id_; | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The id. | |
*/ | |
@java.lang.Override | |
public java.lang.String getId() { | |
java.lang.Object ref = id_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
id_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The bytes for id. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getIdBytes() { | |
java.lang.Object ref = id_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
id_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
public static final int DISPLAYNAME_FIELD_NUMBER = 5; | |
private volatile java.lang.Object displayName_; | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return The displayName. | |
*/ | |
@java.lang.Override | |
public java.lang.String getDisplayName() { | |
java.lang.Object ref = displayName_; | |
if (ref instanceof java.lang.String) { | |
return (java.lang.String) ref; | |
} else { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
displayName_ = s; | |
return s; | |
} | |
} | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return The bytes for displayName. | |
*/ | |
@java.lang.Override | |
public com.google.protobuf.ByteString | |
getDisplayNameBytes() { | |
java.lang.Object ref = displayName_; | |
if (ref instanceof java.lang.String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
displayName_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
private byte memoizedIsInitialized = -1; | |
@java.lang.Override | |
public final boolean isInitialized() { | |
byte isInitialized = memoizedIsInitialized; | |
if (isInitialized == 1) return true; | |
if (isInitialized == 0) return false; | |
memoizedIsInitialized = 1; | |
return true; | |
} | |
@java.lang.Override | |
public void writeTo(com.google.protobuf.CodedOutputStream output) | |
throws java.io.IOException { | |
if (!getIdBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); | |
} | |
if (!getDisplayNameBytes().isEmpty()) { | |
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); | |
} | |
unknownFields.writeTo(output); | |
} | |
@java.lang.Override | |
public int getSerializedSize() { | |
int size = memoizedSize; | |
if (size != -1) return size; | |
size = 0; | |
if (!getIdBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); | |
} | |
if (!getDisplayNameBytes().isEmpty()) { | |
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); | |
} | |
size += unknownFields.getSerializedSize(); | |
memoizedSize = size; | |
return size; | |
} | |
@java.lang.Override | |
public boolean equals(final java.lang.Object obj) { | |
if (obj == this) { | |
return true; | |
} | |
if (!(obj instanceof My.StaticData)) { | |
return super.equals(obj); | |
} | |
My.StaticData other = (My.StaticData) obj; | |
if (!getId() | |
.equals(other.getId())) return false; | |
if (!getDisplayName() | |
.equals(other.getDisplayName())) return false; | |
if (!unknownFields.equals(other.unknownFields)) return false; | |
return true; | |
} | |
@java.lang.Override | |
public int hashCode() { | |
if (memoizedHashCode != 0) { | |
return memoizedHashCode; | |
} | |
int hash = 41; | |
hash = (19 * hash) + getDescriptor().hashCode(); | |
hash = (37 * hash) + ID_FIELD_NUMBER; | |
hash = (53 * hash) + getId().hashCode(); | |
hash = (37 * hash) + DISPLAYNAME_FIELD_NUMBER; | |
hash = (53 * hash) + getDisplayName().hashCode(); | |
hash = (29 * hash) + unknownFields.hashCode(); | |
memoizedHashCode = hash; | |
return hash; | |
} | |
public static My.StaticData parseFrom( | |
java.nio.ByteBuffer data) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data); | |
} | |
public static My.StaticData parseFrom( | |
java.nio.ByteBuffer data, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data, extensionRegistry); | |
} | |
public static My.StaticData parseFrom( | |
com.google.protobuf.ByteString data) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data); | |
} | |
public static My.StaticData parseFrom( | |
com.google.protobuf.ByteString data, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data, extensionRegistry); | |
} | |
public static My.StaticData parseFrom(byte[] data) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data); | |
} | |
public static My.StaticData parseFrom( | |
byte[] data, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return PARSER.parseFrom(data, extensionRegistry); | |
} | |
public static My.StaticData parseFrom(java.io.InputStream input) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input); | |
} | |
public static My.StaticData parseFrom( | |
java.io.InputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input, extensionRegistry); | |
} | |
public static My.StaticData parseDelimitedFrom(java.io.InputStream input) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseDelimitedWithIOException(PARSER, input); | |
} | |
public static My.StaticData parseDelimitedFrom( | |
java.io.InputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseDelimitedWithIOException(PARSER, input, extensionRegistry); | |
} | |
public static My.StaticData parseFrom( | |
com.google.protobuf.CodedInputStream input) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input); | |
} | |
public static My.StaticData parseFrom( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
return com.google.protobuf.GeneratedMessageV3 | |
.parseWithIOException(PARSER, input, extensionRegistry); | |
} | |
@java.lang.Override | |
public Builder newBuilderForType() { | |
return newBuilder(); | |
} | |
public static Builder newBuilder() { | |
return DEFAULT_INSTANCE.toBuilder(); | |
} | |
public static Builder newBuilder(My.StaticData prototype) { | |
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); | |
} | |
@java.lang.Override | |
public Builder toBuilder() { | |
return this == DEFAULT_INSTANCE | |
? new Builder() : new Builder().mergeFrom(this); | |
} | |
@java.lang.Override | |
protected Builder newBuilderForType( | |
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { | |
Builder builder = new Builder(parent); | |
return builder; | |
} | |
/** | |
* Protobuf type {@code StaticData} | |
*/ | |
public static final class Builder extends | |
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements | |
// @@protoc_insertion_point(builder_implements:StaticData) | |
My.StaticDataOrBuilder { | |
public static final com.google.protobuf.Descriptors.Descriptor | |
getDescriptor() { | |
return My.internal_static_StaticData_descriptor; | |
} | |
@java.lang.Override | |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
internalGetFieldAccessorTable() { | |
return My.internal_static_StaticData_fieldAccessorTable | |
.ensureFieldAccessorsInitialized( | |
My.StaticData.class, My.StaticData.Builder.class); | |
} | |
// Construct using My.StaticData.newBuilder() | |
private Builder() { | |
maybeForceBuilderInitialization(); | |
} | |
private Builder( | |
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { | |
super(parent); | |
maybeForceBuilderInitialization(); | |
} | |
private void maybeForceBuilderInitialization() { | |
if (com.google.protobuf.GeneratedMessageV3 | |
.alwaysUseFieldBuilders) { | |
} | |
} | |
@java.lang.Override | |
public Builder clear() { | |
super.clear(); | |
id_ = ""; | |
displayName_ = ""; | |
return this; | |
} | |
@java.lang.Override | |
public com.google.protobuf.Descriptors.Descriptor | |
getDescriptorForType() { | |
return My.internal_static_StaticData_descriptor; | |
} | |
@java.lang.Override | |
public My.StaticData getDefaultInstanceForType() { | |
return My.StaticData.getDefaultInstance(); | |
} | |
@java.lang.Override | |
public My.StaticData build() { | |
My.StaticData result = buildPartial(); | |
if (!result.isInitialized()) { | |
throw newUninitializedMessageException(result); | |
} | |
return result; | |
} | |
@java.lang.Override | |
public My.StaticData buildPartial() { | |
My.StaticData result = new My.StaticData(this); | |
result.id_ = id_; | |
result.displayName_ = displayName_; | |
onBuilt(); | |
return result; | |
} | |
@java.lang.Override | |
public Builder clone() { | |
return super.clone(); | |
} | |
@java.lang.Override | |
public Builder setField( | |
com.google.protobuf.Descriptors.FieldDescriptor field, | |
java.lang.Object value) { | |
return super.setField(field, value); | |
} | |
@java.lang.Override | |
public Builder clearField( | |
com.google.protobuf.Descriptors.FieldDescriptor field) { | |
return super.clearField(field); | |
} | |
@java.lang.Override | |
public Builder clearOneof( | |
com.google.protobuf.Descriptors.OneofDescriptor oneof) { | |
return super.clearOneof(oneof); | |
} | |
@java.lang.Override | |
public Builder setRepeatedField( | |
com.google.protobuf.Descriptors.FieldDescriptor field, | |
int index, java.lang.Object value) { | |
return super.setRepeatedField(field, index, value); | |
} | |
@java.lang.Override | |
public Builder addRepeatedField( | |
com.google.protobuf.Descriptors.FieldDescriptor field, | |
java.lang.Object value) { | |
return super.addRepeatedField(field, value); | |
} | |
@java.lang.Override | |
public Builder mergeFrom(com.google.protobuf.Message other) { | |
if (other instanceof My.StaticData) { | |
return mergeFrom((My.StaticData) other); | |
} else { | |
super.mergeFrom(other); | |
return this; | |
} | |
} | |
public Builder mergeFrom(My.StaticData other) { | |
if (other == My.StaticData.getDefaultInstance()) return this; | |
if (!other.getId().isEmpty()) { | |
id_ = other.id_; | |
onChanged(); | |
} | |
if (!other.getDisplayName().isEmpty()) { | |
displayName_ = other.displayName_; | |
onChanged(); | |
} | |
this.mergeUnknownFields(other.unknownFields); | |
onChanged(); | |
return this; | |
} | |
@java.lang.Override | |
public final boolean isInitialized() { | |
return true; | |
} | |
@java.lang.Override | |
public Builder mergeFrom( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws java.io.IOException { | |
My.StaticData parsedMessage = null; | |
try { | |
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); | |
} catch (com.google.protobuf.InvalidProtocolBufferException e) { | |
parsedMessage = (My.StaticData) e.getUnfinishedMessage(); | |
throw e.unwrapIOException(); | |
} finally { | |
if (parsedMessage != null) { | |
mergeFrom(parsedMessage); | |
} | |
} | |
return this; | |
} | |
private java.lang.Object id_ = ""; | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The id. | |
*/ | |
public java.lang.String getId() { | |
java.lang.Object ref = id_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
id_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return The bytes for id. | |
*/ | |
public com.google.protobuf.ByteString | |
getIdBytes() { | |
java.lang.Object ref = id_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
id_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @param value The id to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setId( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
id_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearId() { | |
id_ = getDefaultInstance().getId(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string id = 1;</code> | |
* | |
* @param value The bytes for id to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setIdBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
id_ = value; | |
onChanged(); | |
return this; | |
} | |
private java.lang.Object displayName_ = ""; | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return The displayName. | |
*/ | |
public java.lang.String getDisplayName() { | |
java.lang.Object ref = displayName_; | |
if (!(ref instanceof java.lang.String)) { | |
com.google.protobuf.ByteString bs = | |
(com.google.protobuf.ByteString) ref; | |
java.lang.String s = bs.toStringUtf8(); | |
displayName_ = s; | |
return s; | |
} else { | |
return (java.lang.String) ref; | |
} | |
} | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return The bytes for displayName. | |
*/ | |
public com.google.protobuf.ByteString | |
getDisplayNameBytes() { | |
java.lang.Object ref = displayName_; | |
if (ref instanceof String) { | |
com.google.protobuf.ByteString b = | |
com.google.protobuf.ByteString.copyFromUtf8( | |
(java.lang.String) ref); | |
displayName_ = b; | |
return b; | |
} else { | |
return (com.google.protobuf.ByteString) ref; | |
} | |
} | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @param value The displayName to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setDisplayName( | |
java.lang.String value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
displayName_ = value; | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @return This builder for chaining. | |
*/ | |
public Builder clearDisplayName() { | |
displayName_ = getDefaultInstance().getDisplayName(); | |
onChanged(); | |
return this; | |
} | |
/** | |
* <code>string displayName = 5;</code> | |
* | |
* @param value The bytes for displayName to set. | |
* @return This builder for chaining. | |
*/ | |
public Builder setDisplayNameBytes( | |
com.google.protobuf.ByteString value) { | |
if (value == null) { | |
throw new NullPointerException(); | |
} | |
checkByteStringIsUtf8(value); | |
displayName_ = value; | |
onChanged(); | |
return this; | |
} | |
@java.lang.Override | |
public final Builder setUnknownFields( | |
final com.google.protobuf.UnknownFieldSet unknownFields) { | |
return super.setUnknownFields(unknownFields); | |
} | |
@java.lang.Override | |
public final Builder mergeUnknownFields( | |
final com.google.protobuf.UnknownFieldSet unknownFields) { | |
return super.mergeUnknownFields(unknownFields); | |
} | |
// @@protoc_insertion_point(builder_scope:StaticData) | |
} | |
// @@protoc_insertion_point(class_scope:StaticData) | |
private static final My.StaticData DEFAULT_INSTANCE; | |
static { | |
DEFAULT_INSTANCE = new My.StaticData(); | |
} | |
public static My.StaticData getDefaultInstance() { | |
return DEFAULT_INSTANCE; | |
} | |
private static final com.google.protobuf.Parser<StaticData> | |
PARSER = new com.google.protobuf.AbstractParser<StaticData>() { | |
@java.lang.Override | |
public StaticData parsePartialFrom( | |
com.google.protobuf.CodedInputStream input, | |
com.google.protobuf.ExtensionRegistryLite extensionRegistry) | |
throws com.google.protobuf.InvalidProtocolBufferException { | |
return new StaticData(input, extensionRegistry); | |
} | |
}; | |
public static com.google.protobuf.Parser<StaticData> parser() { | |
return PARSER; | |
} | |
@java.lang.Override | |
public com.google.protobuf.Parser<StaticData> getParserForType() { | |
return PARSER; | |
} | |
@java.lang.Override | |
public My.StaticData getDefaultInstanceForType() { | |
return DEFAULT_INSTANCE; | |
} | |
} | |
private static final com.google.protobuf.Descriptors.Descriptor | |
internal_static_PricingData_descriptor; | |
private static final | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
internal_static_PricingData_fieldAccessorTable; | |
private static final com.google.protobuf.Descriptors.Descriptor | |
internal_static_StaticData_descriptor; | |
private static final | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | |
internal_static_StaticData_fieldAccessorTable; | |
public static com.google.protobuf.Descriptors.FileDescriptor | |
getDescriptor() { | |
return descriptor; | |
} | |
private static com.google.protobuf.Descriptors.FileDescriptor | |
descriptor; | |
static { | |
java.lang.String[] descriptorData = { | |
"\n\010my.proto\"\327\010\n\013PricingData\022\n\n\002id\030\001 \001(\t\022\r" + | |
"\n\005price\030\002 \001(\002\022\014\n\004time\030\003 \001(\022\022\020\n\010currency\030" + | |
"\004 \001(\t\022\020\n\010exchange\030\005 \001(\t\022)\n\tquoteType\030\006 \001" + | |
"(\0162\026.PricingData.QuoteType\0221\n\013marketHour" + | |
"s\030\007 \001(\0162\034.PricingData.MarketHoursType\022\025\n" + | |
"\rchangePercent\030\010 \001(\002\022\021\n\tdayVolume\030\t \001(\022\022" + | |
"\017\n\007dayHigh\030\n \001(\002\022\016\n\006dayLow\030\013 \001(\002\022\016\n\006chan" + | |
"ge\030\014 \001(\002\022\021\n\tshortName\030\r \001(\t\022\022\n\nexpireDat" + | |
"e\030\016 \001(\022\022\021\n\topenPrice\030\017 \001(\002\022\025\n\rpreviousCl" + | |
"ose\030\020 \001(\002\022\023\n\013strikePrice\030\021 \001(\002\022\030\n\020underl" + | |
"yingSymbol\030\022 \001(\t\022\024\n\014openInterest\030\023 \001(\022\022," + | |
"\n\013optionsType\030\024 \001(\0162\027.PricingData.Option" + | |
"Type\022\022\n\nminiOption\030\025 \001(\022\022\020\n\010lastSize\030\026 \001" + | |
"(\022\022\013\n\003bid\030\027 \001(\002\022\017\n\007bidSize\030\030 \001(\022\022\013\n\003ask\030" + | |
"\031 \001(\002\022\017\n\007askSize\030\032 \001(\022\022\021\n\tpriceHint\030\033 \001(" + | |
"\022\022\020\n\010vol_24hr\030\034 \001(\022\022\030\n\020volAllCurrencies\030" + | |
"\035 \001(\022\022\024\n\014fromcurrency\030\036 \001(\t\022\022\n\nlastMarke" + | |
"t\030\037 \001(\t\022\031\n\021circulatingSupply\030 \001(\001\022\021\n\tma" + | |
"rketcap\030! \001(\001\"\200\002\n\tQuoteType\022\010\n\004NONE\020\000\022\r\n" + | |
"\tALTSYMBOL\020\005\022\r\n\tHEARTBEAT\020\007\022\n\n\006EQUITY\020\010\022" + | |
"\t\n\005INDEX\020\t\022\016\n\nMUTUALFUND\020\013\022\017\n\013MONEYMARKE" + | |
"T\020\014\022\n\n\006OPTION\020\r\022\014\n\010CURRENCY\020\016\022\013\n\007WARRANT" + | |
"\020\017\022\010\n\004BOND\020\021\022\n\n\006FUTURE\020\022\022\007\n\003ETF\020\024\022\r\n\tCOM" + | |
"MODITY\020\027\022\014\n\010ECNQUOTE\020\034\022\022\n\016CRYPTOCURRENCY" + | |
"\020)\022\r\n\tINDICATOR\020*\022\r\n\010INDUSTRY\020\350\007\"\037\n\nOpti" + | |
"onType\022\010\n\004CALL\020\000\022\007\n\003PUT\020\001\"a\n\017MarketHours" + | |
"Type\022\016\n\nPRE_MARKET\020\000\022\022\n\016REGULAR_MARKET\020\001" + | |
"\022\017\n\013POST_MARKET\020\002\022\031\n\025EXTENDED_HOURS_MARK" + | |
"ET\020\003\"-\n\nStaticData\022\n\n\002id\030\001 \001(\t\022\023\n\013displa" + | |
"yName\030\005 \001(\tb\006proto3" | |
}; | |
descriptor = com.google.protobuf.Descriptors.FileDescriptor | |
.internalBuildGeneratedFileFrom(descriptorData, | |
new com.google.protobuf.Descriptors.FileDescriptor[]{ | |
}); | |
internal_static_PricingData_descriptor = | |
getDescriptor().getMessageTypes().get(0); | |
internal_static_PricingData_fieldAccessorTable = new | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( | |
internal_static_PricingData_descriptor, | |
new java.lang.String[]{"Id", "Price", "Time", "Currency", "Exchange", "QuoteType", "MarketHours", "ChangePercent", "DayVolume", "DayHigh", "DayLow", "Change", "ShortName", "ExpireDate", "OpenPrice", "PreviousClose", "StrikePrice", "UnderlyingSymbol", "OpenInterest", "OptionsType", "MiniOption", "LastSize", "Bid", "BidSize", "Ask", "AskSize", "PriceHint", "Vol24Hr", "VolAllCurrencies", "Fromcurrency", "LastMarket", "CirculatingSupply", "Marketcap",}); | |
internal_static_StaticData_descriptor = | |
getDescriptor().getMessageTypes().get(1); | |
internal_static_StaticData_fieldAccessorTable = new | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( | |
internal_static_StaticData_descriptor, | |
new java.lang.String[]{"Id", "DisplayName",}); | |
} | |
// @@protoc_insertion_point(outer_class_scope) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment