All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openfeed.MarketUpdate Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: openfeed.proto
// Protobuf Java Version: 4.28.3

package org.openfeed;

/**
 * 
 *
 * Market Update for an instrument
 * 
* * Protobuf type {@code org.openfeed.MarketUpdate} */ public final class MarketUpdate extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org.openfeed.MarketUpdate) MarketUpdateOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 3, /* suffix= */ "", MarketUpdate.class.getName()); } // Use MarketUpdate.newBuilder() to construct. private MarketUpdate(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MarketUpdate() { symbol_ = ""; originatorId_ = com.google.protobuf.ByteString.EMPTY; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketUpdate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketUpdate_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openfeed.MarketUpdate.class, org.openfeed.MarketUpdate.Builder.class); } private int bitField0_; private int dataCase_ = 0; @SuppressWarnings("serial") private java.lang.Object data_; public enum DataCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NEWS(20), CLEARBOOK(21), INSTRUMENTSTATUS(22), BBO(23), DEPTHPRICELEVEL(24), DEPTHORDER(25), INDEX(26), TRADES(27), OPEN(28), HIGH(29), LOW(30), CLOSE(31), PREVCLOSE(32), LAST(33), YEARHIGH(34), YEARLOW(35), VOLUME(36), SETTLEMENT(37), OPENINTEREST(38), VWAP(39), DIVIDENDSINCOMEDISTRIBUTIONS(40), NUMBEROFTRADES(41), MONETARYVALUE(42), CAPITALDISTRIBUTIONS(43), SHARESOUTSTANDING(44), NETASSETVALUE(45), MARKETSUMMARY(46), HIGHROLLING(47), LOWROLLING(48), REQUESTFORQUOTE(49), DATA_NOT_SET(0); private final int value; private DataCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DataCase valueOf(int value) { return forNumber(value); } public static DataCase forNumber(int value) { switch (value) { case 20: return NEWS; case 21: return CLEARBOOK; case 22: return INSTRUMENTSTATUS; case 23: return BBO; case 24: return DEPTHPRICELEVEL; case 25: return DEPTHORDER; case 26: return INDEX; case 27: return TRADES; case 28: return OPEN; case 29: return HIGH; case 30: return LOW; case 31: return CLOSE; case 32: return PREVCLOSE; case 33: return LAST; case 34: return YEARHIGH; case 35: return YEARLOW; case 36: return VOLUME; case 37: return SETTLEMENT; case 38: return OPENINTEREST; case 39: return VWAP; case 40: return DIVIDENDSINCOMEDISTRIBUTIONS; case 41: return NUMBEROFTRADES; case 42: return MONETARYVALUE; case 43: return CAPITALDISTRIBUTIONS; case 44: return SHARESOUTSTANDING; case 45: return NETASSETVALUE; case 46: return MARKETSUMMARY; case 47: return HIGHROLLING; case 48: return LOWROLLING; case 49: return REQUESTFORQUOTE; case 0: return DATA_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public static final int MARKETID_FIELD_NUMBER = 1; private long marketId_ = 0L; /** *
   * / Unique id identifying the market
   * 
* * sint64 marketId = 1; * @return The marketId. */ @java.lang.Override public long getMarketId() { return marketId_; } public static final int SYMBOL_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object symbol_ = ""; /** *
   * Optional symbol identifier
   * 
* * string symbol = 2; * @return The symbol. */ @java.lang.Override public java.lang.String getSymbol() { java.lang.Object ref = symbol_; 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(); symbol_ = s; return s; } } /** *
   * Optional symbol identifier
   * 
* * string symbol = 2; * @return The bytes for symbol. */ @java.lang.Override public com.google.protobuf.ByteString getSymbolBytes() { java.lang.Object ref = symbol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); symbol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRANSACTIONTIME_FIELD_NUMBER = 3; private long transactionTime_ = 0L; /** *
   * / UTC Timestamp of transaction, nano seconds since Unix epoch
   * / This is usually the execution venue timestamp.
   * 
* * sint64 transactionTime = 3; * @return The transactionTime. */ @java.lang.Override public long getTransactionTime() { return transactionTime_; } public static final int DISTRIBUTIONTIME_FIELD_NUMBER = 4; private long distributionTime_ = 0L; /** *
   * / Distribution time in nano seconds since epoch.
   * 
* * sint64 distributionTime = 4; * @return The distributionTime. */ @java.lang.Override public long getDistributionTime() { return distributionTime_; } public static final int MARKETSEQUENCE_FIELD_NUMBER = 5; private long marketSequence_ = 0L; /** *
   * / Market level sequencing number
   * 
* * sint64 marketSequence = 5; * @return The marketSequence. */ @java.lang.Override public long getMarketSequence() { return marketSequence_; } public static final int SOURCESEQUENCE_FIELD_NUMBER = 6; private long sourceSequence_ = 0L; /** *
   * / Data source sequence number
   * 
* * sint64 sourceSequence = 6; * @return The sourceSequence. */ @java.lang.Override public long getSourceSequence() { return sourceSequence_; } public static final int ORIGINATORID_FIELD_NUMBER = 7; private com.google.protobuf.ByteString originatorId_ = com.google.protobuf.ByteString.EMPTY; /** *
   * Market participant/originator
   * 
* * bytes originatorId = 7; * @return The originatorId. */ @java.lang.Override public com.google.protobuf.ByteString getOriginatorId() { return originatorId_; } public static final int PRICEDENOMINATOR_FIELD_NUMBER = 9; private int priceDenominator_ = 0; /** *
   * / Divide prices by this value to get real price values.  Optional, use value
   * / from InstrumentDefinition if not set.
   * 
* * sint32 priceDenominator = 9; * @return The priceDenominator. */ @java.lang.Override public int getPriceDenominator() { return priceDenominator_; } public static final int CONTEXT_FIELD_NUMBER = 10; private org.openfeed.Context context_; /** *
   * Feed specific context data set as required.
   * 
* * .org.openfeed.Context context = 10; * @return Whether the context field is set. */ @java.lang.Override public boolean hasContext() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Feed specific context data set as required.
   * 
* * .org.openfeed.Context context = 10; * @return The context. */ @java.lang.Override public org.openfeed.Context getContext() { return context_ == null ? org.openfeed.Context.getDefaultInstance() : context_; } /** *
   * Feed specific context data set as required.
   * 
* * .org.openfeed.Context context = 10; */ @java.lang.Override public org.openfeed.ContextOrBuilder getContextOrBuilder() { return context_ == null ? org.openfeed.Context.getDefaultInstance() : context_; } public static final int SESSION_FIELD_NUMBER = 11; private org.openfeed.MarketSession session_; /** *
   * / Current session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession session = 11; * @return Whether the session field is set. */ @java.lang.Override public boolean hasSession() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * / Current session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession session = 11; * @return The session. */ @java.lang.Override public org.openfeed.MarketSession getSession() { return session_ == null ? org.openfeed.MarketSession.getDefaultInstance() : session_; } /** *
   * / Current session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession session = 11; */ @java.lang.Override public org.openfeed.MarketSessionOrBuilder getSessionOrBuilder() { return session_ == null ? org.openfeed.MarketSession.getDefaultInstance() : session_; } public static final int TSESSION_FIELD_NUMBER = 12; private org.openfeed.MarketSession tSession_; /** *
   * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession tSession = 12; * @return Whether the tSession field is set. */ @java.lang.Override public boolean hasTSession() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession tSession = 12; * @return The tSession. */ @java.lang.Override public org.openfeed.MarketSession getTSession() { return tSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : tSession_; } /** *
   * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession tSession = 12; */ @java.lang.Override public org.openfeed.MarketSessionOrBuilder getTSessionOrBuilder() { return tSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : tSession_; } public static final int PREVIOUSSESSION_FIELD_NUMBER = 13; private org.openfeed.MarketSession previousSession_; /** *
   * / Previous session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession previousSession = 13; * @return Whether the previousSession field is set. */ @java.lang.Override public boolean hasPreviousSession() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * / Previous session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession previousSession = 13; * @return The previousSession. */ @java.lang.Override public org.openfeed.MarketSession getPreviousSession() { return previousSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : previousSession_; } /** *
   * / Previous session. This is used to 'enhance' updates from the translator in the Market State
   * 
* * .org.openfeed.MarketSession previousSession = 13; */ @java.lang.Override public org.openfeed.MarketSessionOrBuilder getPreviousSessionOrBuilder() { return previousSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : previousSession_; } public static final int REGIONAL_FIELD_NUMBER = 14; private boolean regional_ = false; /** *
   * / True if message applies to regional/participant member
   * 
* * bool regional = 14; * @return The regional. */ @java.lang.Override public boolean getRegional() { return regional_; } public static final int ZSESSION_FIELD_NUMBER = 15; private org.openfeed.MarketSession zSession_; /** *
   * / 'Z' session. Includes all trades, even the ones that do not update Last.
   * 
* * .org.openfeed.MarketSession zSession = 15; * @return Whether the zSession field is set. */ @java.lang.Override public boolean hasZSession() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * / 'Z' session. Includes all trades, even the ones that do not update Last.
   * 
* * .org.openfeed.MarketSession zSession = 15; * @return The zSession. */ @java.lang.Override public org.openfeed.MarketSession getZSession() { return zSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : zSession_; } /** *
   * / 'Z' session. Includes all trades, even the ones that do not update Last.
   * 
* * .org.openfeed.MarketSession zSession = 15; */ @java.lang.Override public org.openfeed.MarketSessionOrBuilder getZSessionOrBuilder() { return zSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : zSession_; } public static final int NEWS_FIELD_NUMBER = 20; /** * .org.openfeed.News news = 20; * @return Whether the news field is set. */ @java.lang.Override public boolean hasNews() { return dataCase_ == 20; } /** * .org.openfeed.News news = 20; * @return The news. */ @java.lang.Override public org.openfeed.News getNews() { if (dataCase_ == 20) { return (org.openfeed.News) data_; } return org.openfeed.News.getDefaultInstance(); } /** * .org.openfeed.News news = 20; */ @java.lang.Override public org.openfeed.NewsOrBuilder getNewsOrBuilder() { if (dataCase_ == 20) { return (org.openfeed.News) data_; } return org.openfeed.News.getDefaultInstance(); } public static final int CLEARBOOK_FIELD_NUMBER = 21; /** * .org.openfeed.ClearBook clearBook = 21; * @return Whether the clearBook field is set. */ @java.lang.Override public boolean hasClearBook() { return dataCase_ == 21; } /** * .org.openfeed.ClearBook clearBook = 21; * @return The clearBook. */ @java.lang.Override public org.openfeed.ClearBook getClearBook() { if (dataCase_ == 21) { return (org.openfeed.ClearBook) data_; } return org.openfeed.ClearBook.getDefaultInstance(); } /** * .org.openfeed.ClearBook clearBook = 21; */ @java.lang.Override public org.openfeed.ClearBookOrBuilder getClearBookOrBuilder() { if (dataCase_ == 21) { return (org.openfeed.ClearBook) data_; } return org.openfeed.ClearBook.getDefaultInstance(); } public static final int INSTRUMENTSTATUS_FIELD_NUMBER = 22; /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; * @return Whether the instrumentStatus field is set. */ @java.lang.Override public boolean hasInstrumentStatus() { return dataCase_ == 22; } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; * @return The instrumentStatus. */ @java.lang.Override public org.openfeed.InstrumentStatus getInstrumentStatus() { if (dataCase_ == 22) { return (org.openfeed.InstrumentStatus) data_; } return org.openfeed.InstrumentStatus.getDefaultInstance(); } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ @java.lang.Override public org.openfeed.InstrumentStatusOrBuilder getInstrumentStatusOrBuilder() { if (dataCase_ == 22) { return (org.openfeed.InstrumentStatus) data_; } return org.openfeed.InstrumentStatus.getDefaultInstance(); } public static final int BBO_FIELD_NUMBER = 23; /** * .org.openfeed.BestBidOffer bbo = 23; * @return Whether the bbo field is set. */ @java.lang.Override public boolean hasBbo() { return dataCase_ == 23; } /** * .org.openfeed.BestBidOffer bbo = 23; * @return The bbo. */ @java.lang.Override public org.openfeed.BestBidOffer getBbo() { if (dataCase_ == 23) { return (org.openfeed.BestBidOffer) data_; } return org.openfeed.BestBidOffer.getDefaultInstance(); } /** * .org.openfeed.BestBidOffer bbo = 23; */ @java.lang.Override public org.openfeed.BestBidOfferOrBuilder getBboOrBuilder() { if (dataCase_ == 23) { return (org.openfeed.BestBidOffer) data_; } return org.openfeed.BestBidOffer.getDefaultInstance(); } public static final int DEPTHPRICELEVEL_FIELD_NUMBER = 24; /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; * @return Whether the depthPriceLevel field is set. */ @java.lang.Override public boolean hasDepthPriceLevel() { return dataCase_ == 24; } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; * @return The depthPriceLevel. */ @java.lang.Override public org.openfeed.DepthPriceLevel getDepthPriceLevel() { if (dataCase_ == 24) { return (org.openfeed.DepthPriceLevel) data_; } return org.openfeed.DepthPriceLevel.getDefaultInstance(); } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ @java.lang.Override public org.openfeed.DepthPriceLevelOrBuilder getDepthPriceLevelOrBuilder() { if (dataCase_ == 24) { return (org.openfeed.DepthPriceLevel) data_; } return org.openfeed.DepthPriceLevel.getDefaultInstance(); } public static final int DEPTHORDER_FIELD_NUMBER = 25; /** * .org.openfeed.DepthOrder depthOrder = 25; * @return Whether the depthOrder field is set. */ @java.lang.Override public boolean hasDepthOrder() { return dataCase_ == 25; } /** * .org.openfeed.DepthOrder depthOrder = 25; * @return The depthOrder. */ @java.lang.Override public org.openfeed.DepthOrder getDepthOrder() { if (dataCase_ == 25) { return (org.openfeed.DepthOrder) data_; } return org.openfeed.DepthOrder.getDefaultInstance(); } /** * .org.openfeed.DepthOrder depthOrder = 25; */ @java.lang.Override public org.openfeed.DepthOrderOrBuilder getDepthOrderOrBuilder() { if (dataCase_ == 25) { return (org.openfeed.DepthOrder) data_; } return org.openfeed.DepthOrder.getDefaultInstance(); } public static final int INDEX_FIELD_NUMBER = 26; /** * .org.openfeed.IndexValue index = 26; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return dataCase_ == 26; } /** * .org.openfeed.IndexValue index = 26; * @return The index. */ @java.lang.Override public org.openfeed.IndexValue getIndex() { if (dataCase_ == 26) { return (org.openfeed.IndexValue) data_; } return org.openfeed.IndexValue.getDefaultInstance(); } /** * .org.openfeed.IndexValue index = 26; */ @java.lang.Override public org.openfeed.IndexValueOrBuilder getIndexOrBuilder() { if (dataCase_ == 26) { return (org.openfeed.IndexValue) data_; } return org.openfeed.IndexValue.getDefaultInstance(); } public static final int TRADES_FIELD_NUMBER = 27; /** * .org.openfeed.Trades trades = 27; * @return Whether the trades field is set. */ @java.lang.Override public boolean hasTrades() { return dataCase_ == 27; } /** * .org.openfeed.Trades trades = 27; * @return The trades. */ @java.lang.Override public org.openfeed.Trades getTrades() { if (dataCase_ == 27) { return (org.openfeed.Trades) data_; } return org.openfeed.Trades.getDefaultInstance(); } /** * .org.openfeed.Trades trades = 27; */ @java.lang.Override public org.openfeed.TradesOrBuilder getTradesOrBuilder() { if (dataCase_ == 27) { return (org.openfeed.Trades) data_; } return org.openfeed.Trades.getDefaultInstance(); } public static final int OPEN_FIELD_NUMBER = 28; /** * .org.openfeed.Open open = 28; * @return Whether the open field is set. */ @java.lang.Override public boolean hasOpen() { return dataCase_ == 28; } /** * .org.openfeed.Open open = 28; * @return The open. */ @java.lang.Override public org.openfeed.Open getOpen() { if (dataCase_ == 28) { return (org.openfeed.Open) data_; } return org.openfeed.Open.getDefaultInstance(); } /** * .org.openfeed.Open open = 28; */ @java.lang.Override public org.openfeed.OpenOrBuilder getOpenOrBuilder() { if (dataCase_ == 28) { return (org.openfeed.Open) data_; } return org.openfeed.Open.getDefaultInstance(); } public static final int HIGH_FIELD_NUMBER = 29; /** * .org.openfeed.High high = 29; * @return Whether the high field is set. */ @java.lang.Override public boolean hasHigh() { return dataCase_ == 29; } /** * .org.openfeed.High high = 29; * @return The high. */ @java.lang.Override public org.openfeed.High getHigh() { if (dataCase_ == 29) { return (org.openfeed.High) data_; } return org.openfeed.High.getDefaultInstance(); } /** * .org.openfeed.High high = 29; */ @java.lang.Override public org.openfeed.HighOrBuilder getHighOrBuilder() { if (dataCase_ == 29) { return (org.openfeed.High) data_; } return org.openfeed.High.getDefaultInstance(); } public static final int LOW_FIELD_NUMBER = 30; /** * .org.openfeed.Low low = 30; * @return Whether the low field is set. */ @java.lang.Override public boolean hasLow() { return dataCase_ == 30; } /** * .org.openfeed.Low low = 30; * @return The low. */ @java.lang.Override public org.openfeed.Low getLow() { if (dataCase_ == 30) { return (org.openfeed.Low) data_; } return org.openfeed.Low.getDefaultInstance(); } /** * .org.openfeed.Low low = 30; */ @java.lang.Override public org.openfeed.LowOrBuilder getLowOrBuilder() { if (dataCase_ == 30) { return (org.openfeed.Low) data_; } return org.openfeed.Low.getDefaultInstance(); } public static final int CLOSE_FIELD_NUMBER = 31; /** * .org.openfeed.Close close = 31; * @return Whether the close field is set. */ @java.lang.Override public boolean hasClose() { return dataCase_ == 31; } /** * .org.openfeed.Close close = 31; * @return The close. */ @java.lang.Override public org.openfeed.Close getClose() { if (dataCase_ == 31) { return (org.openfeed.Close) data_; } return org.openfeed.Close.getDefaultInstance(); } /** * .org.openfeed.Close close = 31; */ @java.lang.Override public org.openfeed.CloseOrBuilder getCloseOrBuilder() { if (dataCase_ == 31) { return (org.openfeed.Close) data_; } return org.openfeed.Close.getDefaultInstance(); } public static final int PREVCLOSE_FIELD_NUMBER = 32; /** * .org.openfeed.PrevClose prevClose = 32; * @return Whether the prevClose field is set. */ @java.lang.Override public boolean hasPrevClose() { return dataCase_ == 32; } /** * .org.openfeed.PrevClose prevClose = 32; * @return The prevClose. */ @java.lang.Override public org.openfeed.PrevClose getPrevClose() { if (dataCase_ == 32) { return (org.openfeed.PrevClose) data_; } return org.openfeed.PrevClose.getDefaultInstance(); } /** * .org.openfeed.PrevClose prevClose = 32; */ @java.lang.Override public org.openfeed.PrevCloseOrBuilder getPrevCloseOrBuilder() { if (dataCase_ == 32) { return (org.openfeed.PrevClose) data_; } return org.openfeed.PrevClose.getDefaultInstance(); } public static final int LAST_FIELD_NUMBER = 33; /** * .org.openfeed.Last last = 33; * @return Whether the last field is set. */ @java.lang.Override public boolean hasLast() { return dataCase_ == 33; } /** * .org.openfeed.Last last = 33; * @return The last. */ @java.lang.Override public org.openfeed.Last getLast() { if (dataCase_ == 33) { return (org.openfeed.Last) data_; } return org.openfeed.Last.getDefaultInstance(); } /** * .org.openfeed.Last last = 33; */ @java.lang.Override public org.openfeed.LastOrBuilder getLastOrBuilder() { if (dataCase_ == 33) { return (org.openfeed.Last) data_; } return org.openfeed.Last.getDefaultInstance(); } public static final int YEARHIGH_FIELD_NUMBER = 34; /** * .org.openfeed.YearHigh yearHigh = 34; * @return Whether the yearHigh field is set. */ @java.lang.Override public boolean hasYearHigh() { return dataCase_ == 34; } /** * .org.openfeed.YearHigh yearHigh = 34; * @return The yearHigh. */ @java.lang.Override public org.openfeed.YearHigh getYearHigh() { if (dataCase_ == 34) { return (org.openfeed.YearHigh) data_; } return org.openfeed.YearHigh.getDefaultInstance(); } /** * .org.openfeed.YearHigh yearHigh = 34; */ @java.lang.Override public org.openfeed.YearHighOrBuilder getYearHighOrBuilder() { if (dataCase_ == 34) { return (org.openfeed.YearHigh) data_; } return org.openfeed.YearHigh.getDefaultInstance(); } public static final int YEARLOW_FIELD_NUMBER = 35; /** * .org.openfeed.YearLow yearLow = 35; * @return Whether the yearLow field is set. */ @java.lang.Override public boolean hasYearLow() { return dataCase_ == 35; } /** * .org.openfeed.YearLow yearLow = 35; * @return The yearLow. */ @java.lang.Override public org.openfeed.YearLow getYearLow() { if (dataCase_ == 35) { return (org.openfeed.YearLow) data_; } return org.openfeed.YearLow.getDefaultInstance(); } /** * .org.openfeed.YearLow yearLow = 35; */ @java.lang.Override public org.openfeed.YearLowOrBuilder getYearLowOrBuilder() { if (dataCase_ == 35) { return (org.openfeed.YearLow) data_; } return org.openfeed.YearLow.getDefaultInstance(); } public static final int VOLUME_FIELD_NUMBER = 36; /** * .org.openfeed.Volume volume = 36; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return dataCase_ == 36; } /** * .org.openfeed.Volume volume = 36; * @return The volume. */ @java.lang.Override public org.openfeed.Volume getVolume() { if (dataCase_ == 36) { return (org.openfeed.Volume) data_; } return org.openfeed.Volume.getDefaultInstance(); } /** * .org.openfeed.Volume volume = 36; */ @java.lang.Override public org.openfeed.VolumeOrBuilder getVolumeOrBuilder() { if (dataCase_ == 36) { return (org.openfeed.Volume) data_; } return org.openfeed.Volume.getDefaultInstance(); } public static final int SETTLEMENT_FIELD_NUMBER = 37; /** * .org.openfeed.Settlement settlement = 37; * @return Whether the settlement field is set. */ @java.lang.Override public boolean hasSettlement() { return dataCase_ == 37; } /** * .org.openfeed.Settlement settlement = 37; * @return The settlement. */ @java.lang.Override public org.openfeed.Settlement getSettlement() { if (dataCase_ == 37) { return (org.openfeed.Settlement) data_; } return org.openfeed.Settlement.getDefaultInstance(); } /** * .org.openfeed.Settlement settlement = 37; */ @java.lang.Override public org.openfeed.SettlementOrBuilder getSettlementOrBuilder() { if (dataCase_ == 37) { return (org.openfeed.Settlement) data_; } return org.openfeed.Settlement.getDefaultInstance(); } public static final int OPENINTEREST_FIELD_NUMBER = 38; /** * .org.openfeed.OpenInterest openInterest = 38; * @return Whether the openInterest field is set. */ @java.lang.Override public boolean hasOpenInterest() { return dataCase_ == 38; } /** * .org.openfeed.OpenInterest openInterest = 38; * @return The openInterest. */ @java.lang.Override public org.openfeed.OpenInterest getOpenInterest() { if (dataCase_ == 38) { return (org.openfeed.OpenInterest) data_; } return org.openfeed.OpenInterest.getDefaultInstance(); } /** * .org.openfeed.OpenInterest openInterest = 38; */ @java.lang.Override public org.openfeed.OpenInterestOrBuilder getOpenInterestOrBuilder() { if (dataCase_ == 38) { return (org.openfeed.OpenInterest) data_; } return org.openfeed.OpenInterest.getDefaultInstance(); } public static final int VWAP_FIELD_NUMBER = 39; /** * .org.openfeed.Vwap vwap = 39; * @return Whether the vwap field is set. */ @java.lang.Override public boolean hasVwap() { return dataCase_ == 39; } /** * .org.openfeed.Vwap vwap = 39; * @return The vwap. */ @java.lang.Override public org.openfeed.Vwap getVwap() { if (dataCase_ == 39) { return (org.openfeed.Vwap) data_; } return org.openfeed.Vwap.getDefaultInstance(); } /** * .org.openfeed.Vwap vwap = 39; */ @java.lang.Override public org.openfeed.VwapOrBuilder getVwapOrBuilder() { if (dataCase_ == 39) { return (org.openfeed.Vwap) data_; } return org.openfeed.Vwap.getDefaultInstance(); } public static final int DIVIDENDSINCOMEDISTRIBUTIONS_FIELD_NUMBER = 40; /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; * @return Whether the dividendsIncomeDistributions field is set. */ @java.lang.Override public boolean hasDividendsIncomeDistributions() { return dataCase_ == 40; } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; * @return The dividendsIncomeDistributions. */ @java.lang.Override public org.openfeed.DividendsIncomeDistributions getDividendsIncomeDistributions() { if (dataCase_ == 40) { return (org.openfeed.DividendsIncomeDistributions) data_; } return org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ @java.lang.Override public org.openfeed.DividendsIncomeDistributionsOrBuilder getDividendsIncomeDistributionsOrBuilder() { if (dataCase_ == 40) { return (org.openfeed.DividendsIncomeDistributions) data_; } return org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } public static final int NUMBEROFTRADES_FIELD_NUMBER = 41; /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; * @return Whether the numberOfTrades field is set. */ @java.lang.Override public boolean hasNumberOfTrades() { return dataCase_ == 41; } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; * @return The numberOfTrades. */ @java.lang.Override public org.openfeed.NumberOfTrades getNumberOfTrades() { if (dataCase_ == 41) { return (org.openfeed.NumberOfTrades) data_; } return org.openfeed.NumberOfTrades.getDefaultInstance(); } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ @java.lang.Override public org.openfeed.NumberOfTradesOrBuilder getNumberOfTradesOrBuilder() { if (dataCase_ == 41) { return (org.openfeed.NumberOfTrades) data_; } return org.openfeed.NumberOfTrades.getDefaultInstance(); } public static final int MONETARYVALUE_FIELD_NUMBER = 42; /** * .org.openfeed.MonetaryValue monetaryValue = 42; * @return Whether the monetaryValue field is set. */ @java.lang.Override public boolean hasMonetaryValue() { return dataCase_ == 42; } /** * .org.openfeed.MonetaryValue monetaryValue = 42; * @return The monetaryValue. */ @java.lang.Override public org.openfeed.MonetaryValue getMonetaryValue() { if (dataCase_ == 42) { return (org.openfeed.MonetaryValue) data_; } return org.openfeed.MonetaryValue.getDefaultInstance(); } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ @java.lang.Override public org.openfeed.MonetaryValueOrBuilder getMonetaryValueOrBuilder() { if (dataCase_ == 42) { return (org.openfeed.MonetaryValue) data_; } return org.openfeed.MonetaryValue.getDefaultInstance(); } public static final int CAPITALDISTRIBUTIONS_FIELD_NUMBER = 43; /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; * @return Whether the capitalDistributions field is set. */ @java.lang.Override public boolean hasCapitalDistributions() { return dataCase_ == 43; } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; * @return The capitalDistributions. */ @java.lang.Override public org.openfeed.CapitalDistributions getCapitalDistributions() { if (dataCase_ == 43) { return (org.openfeed.CapitalDistributions) data_; } return org.openfeed.CapitalDistributions.getDefaultInstance(); } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ @java.lang.Override public org.openfeed.CapitalDistributionsOrBuilder getCapitalDistributionsOrBuilder() { if (dataCase_ == 43) { return (org.openfeed.CapitalDistributions) data_; } return org.openfeed.CapitalDistributions.getDefaultInstance(); } public static final int SHARESOUTSTANDING_FIELD_NUMBER = 44; /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; * @return Whether the sharesOutstanding field is set. */ @java.lang.Override public boolean hasSharesOutstanding() { return dataCase_ == 44; } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; * @return The sharesOutstanding. */ @java.lang.Override public org.openfeed.SharesOutstanding getSharesOutstanding() { if (dataCase_ == 44) { return (org.openfeed.SharesOutstanding) data_; } return org.openfeed.SharesOutstanding.getDefaultInstance(); } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ @java.lang.Override public org.openfeed.SharesOutstandingOrBuilder getSharesOutstandingOrBuilder() { if (dataCase_ == 44) { return (org.openfeed.SharesOutstanding) data_; } return org.openfeed.SharesOutstanding.getDefaultInstance(); } public static final int NETASSETVALUE_FIELD_NUMBER = 45; /** * .org.openfeed.NetAssetValue netAssetValue = 45; * @return Whether the netAssetValue field is set. */ @java.lang.Override public boolean hasNetAssetValue() { return dataCase_ == 45; } /** * .org.openfeed.NetAssetValue netAssetValue = 45; * @return The netAssetValue. */ @java.lang.Override public org.openfeed.NetAssetValue getNetAssetValue() { if (dataCase_ == 45) { return (org.openfeed.NetAssetValue) data_; } return org.openfeed.NetAssetValue.getDefaultInstance(); } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ @java.lang.Override public org.openfeed.NetAssetValueOrBuilder getNetAssetValueOrBuilder() { if (dataCase_ == 45) { return (org.openfeed.NetAssetValue) data_; } return org.openfeed.NetAssetValue.getDefaultInstance(); } public static final int MARKETSUMMARY_FIELD_NUMBER = 46; /** * .org.openfeed.MarketSummary marketSummary = 46; * @return Whether the marketSummary field is set. */ @java.lang.Override public boolean hasMarketSummary() { return dataCase_ == 46; } /** * .org.openfeed.MarketSummary marketSummary = 46; * @return The marketSummary. */ @java.lang.Override public org.openfeed.MarketSummary getMarketSummary() { if (dataCase_ == 46) { return (org.openfeed.MarketSummary) data_; } return org.openfeed.MarketSummary.getDefaultInstance(); } /** * .org.openfeed.MarketSummary marketSummary = 46; */ @java.lang.Override public org.openfeed.MarketSummaryOrBuilder getMarketSummaryOrBuilder() { if (dataCase_ == 46) { return (org.openfeed.MarketSummary) data_; } return org.openfeed.MarketSummary.getDefaultInstance(); } public static final int HIGHROLLING_FIELD_NUMBER = 47; /** * .org.openfeed.HighRolling highRolling = 47; * @return Whether the highRolling field is set. */ @java.lang.Override public boolean hasHighRolling() { return dataCase_ == 47; } /** * .org.openfeed.HighRolling highRolling = 47; * @return The highRolling. */ @java.lang.Override public org.openfeed.HighRolling getHighRolling() { if (dataCase_ == 47) { return (org.openfeed.HighRolling) data_; } return org.openfeed.HighRolling.getDefaultInstance(); } /** * .org.openfeed.HighRolling highRolling = 47; */ @java.lang.Override public org.openfeed.HighRollingOrBuilder getHighRollingOrBuilder() { if (dataCase_ == 47) { return (org.openfeed.HighRolling) data_; } return org.openfeed.HighRolling.getDefaultInstance(); } public static final int LOWROLLING_FIELD_NUMBER = 48; /** * .org.openfeed.LowRolling lowRolling = 48; * @return Whether the lowRolling field is set. */ @java.lang.Override public boolean hasLowRolling() { return dataCase_ == 48; } /** * .org.openfeed.LowRolling lowRolling = 48; * @return The lowRolling. */ @java.lang.Override public org.openfeed.LowRolling getLowRolling() { if (dataCase_ == 48) { return (org.openfeed.LowRolling) data_; } return org.openfeed.LowRolling.getDefaultInstance(); } /** * .org.openfeed.LowRolling lowRolling = 48; */ @java.lang.Override public org.openfeed.LowRollingOrBuilder getLowRollingOrBuilder() { if (dataCase_ == 48) { return (org.openfeed.LowRolling) data_; } return org.openfeed.LowRolling.getDefaultInstance(); } public static final int REQUESTFORQUOTE_FIELD_NUMBER = 49; /** * .org.openfeed.RequestForQuote requestForQuote = 49; * @return Whether the requestForQuote field is set. */ @java.lang.Override public boolean hasRequestForQuote() { return dataCase_ == 49; } /** * .org.openfeed.RequestForQuote requestForQuote = 49; * @return The requestForQuote. */ @java.lang.Override public org.openfeed.RequestForQuote getRequestForQuote() { if (dataCase_ == 49) { return (org.openfeed.RequestForQuote) data_; } return org.openfeed.RequestForQuote.getDefaultInstance(); } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ @java.lang.Override public org.openfeed.RequestForQuoteOrBuilder getRequestForQuoteOrBuilder() { if (dataCase_ == 49) { return (org.openfeed.RequestForQuote) data_; } return org.openfeed.RequestForQuote.getDefaultInstance(); } 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 (marketId_ != 0L) { output.writeSInt64(1, marketId_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbol_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, symbol_); } if (transactionTime_ != 0L) { output.writeSInt64(3, transactionTime_); } if (distributionTime_ != 0L) { output.writeSInt64(4, distributionTime_); } if (marketSequence_ != 0L) { output.writeSInt64(5, marketSequence_); } if (sourceSequence_ != 0L) { output.writeSInt64(6, sourceSequence_); } if (!originatorId_.isEmpty()) { output.writeBytes(7, originatorId_); } if (priceDenominator_ != 0) { output.writeSInt32(9, priceDenominator_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(10, getContext()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(11, getSession()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(12, getTSession()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(13, getPreviousSession()); } if (regional_ != false) { output.writeBool(14, regional_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(15, getZSession()); } if (dataCase_ == 20) { output.writeMessage(20, (org.openfeed.News) data_); } if (dataCase_ == 21) { output.writeMessage(21, (org.openfeed.ClearBook) data_); } if (dataCase_ == 22) { output.writeMessage(22, (org.openfeed.InstrumentStatus) data_); } if (dataCase_ == 23) { output.writeMessage(23, (org.openfeed.BestBidOffer) data_); } if (dataCase_ == 24) { output.writeMessage(24, (org.openfeed.DepthPriceLevel) data_); } if (dataCase_ == 25) { output.writeMessage(25, (org.openfeed.DepthOrder) data_); } if (dataCase_ == 26) { output.writeMessage(26, (org.openfeed.IndexValue) data_); } if (dataCase_ == 27) { output.writeMessage(27, (org.openfeed.Trades) data_); } if (dataCase_ == 28) { output.writeMessage(28, (org.openfeed.Open) data_); } if (dataCase_ == 29) { output.writeMessage(29, (org.openfeed.High) data_); } if (dataCase_ == 30) { output.writeMessage(30, (org.openfeed.Low) data_); } if (dataCase_ == 31) { output.writeMessage(31, (org.openfeed.Close) data_); } if (dataCase_ == 32) { output.writeMessage(32, (org.openfeed.PrevClose) data_); } if (dataCase_ == 33) { output.writeMessage(33, (org.openfeed.Last) data_); } if (dataCase_ == 34) { output.writeMessage(34, (org.openfeed.YearHigh) data_); } if (dataCase_ == 35) { output.writeMessage(35, (org.openfeed.YearLow) data_); } if (dataCase_ == 36) { output.writeMessage(36, (org.openfeed.Volume) data_); } if (dataCase_ == 37) { output.writeMessage(37, (org.openfeed.Settlement) data_); } if (dataCase_ == 38) { output.writeMessage(38, (org.openfeed.OpenInterest) data_); } if (dataCase_ == 39) { output.writeMessage(39, (org.openfeed.Vwap) data_); } if (dataCase_ == 40) { output.writeMessage(40, (org.openfeed.DividendsIncomeDistributions) data_); } if (dataCase_ == 41) { output.writeMessage(41, (org.openfeed.NumberOfTrades) data_); } if (dataCase_ == 42) { output.writeMessage(42, (org.openfeed.MonetaryValue) data_); } if (dataCase_ == 43) { output.writeMessage(43, (org.openfeed.CapitalDistributions) data_); } if (dataCase_ == 44) { output.writeMessage(44, (org.openfeed.SharesOutstanding) data_); } if (dataCase_ == 45) { output.writeMessage(45, (org.openfeed.NetAssetValue) data_); } if (dataCase_ == 46) { output.writeMessage(46, (org.openfeed.MarketSummary) data_); } if (dataCase_ == 47) { output.writeMessage(47, (org.openfeed.HighRolling) data_); } if (dataCase_ == 48) { output.writeMessage(48, (org.openfeed.LowRolling) data_); } if (dataCase_ == 49) { output.writeMessage(49, (org.openfeed.RequestForQuote) data_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (marketId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(1, marketId_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(symbol_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, symbol_); } if (transactionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(3, transactionTime_); } if (distributionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(4, distributionTime_); } if (marketSequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(5, marketSequence_); } if (sourceSequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(6, sourceSequence_); } if (!originatorId_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, originatorId_); } if (priceDenominator_ != 0) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(9, priceDenominator_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getContext()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getSession()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getTSession()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getPreviousSession()); } if (regional_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, regional_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getZSession()); } if (dataCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (org.openfeed.News) data_); } if (dataCase_ == 21) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, (org.openfeed.ClearBook) data_); } if (dataCase_ == 22) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, (org.openfeed.InstrumentStatus) data_); } if (dataCase_ == 23) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (org.openfeed.BestBidOffer) data_); } if (dataCase_ == 24) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, (org.openfeed.DepthPriceLevel) data_); } if (dataCase_ == 25) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, (org.openfeed.DepthOrder) data_); } if (dataCase_ == 26) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, (org.openfeed.IndexValue) data_); } if (dataCase_ == 27) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, (org.openfeed.Trades) data_); } if (dataCase_ == 28) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, (org.openfeed.Open) data_); } if (dataCase_ == 29) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, (org.openfeed.High) data_); } if (dataCase_ == 30) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, (org.openfeed.Low) data_); } if (dataCase_ == 31) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, (org.openfeed.Close) data_); } if (dataCase_ == 32) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(32, (org.openfeed.PrevClose) data_); } if (dataCase_ == 33) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, (org.openfeed.Last) data_); } if (dataCase_ == 34) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(34, (org.openfeed.YearHigh) data_); } if (dataCase_ == 35) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, (org.openfeed.YearLow) data_); } if (dataCase_ == 36) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, (org.openfeed.Volume) data_); } if (dataCase_ == 37) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(37, (org.openfeed.Settlement) data_); } if (dataCase_ == 38) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(38, (org.openfeed.OpenInterest) data_); } if (dataCase_ == 39) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(39, (org.openfeed.Vwap) data_); } if (dataCase_ == 40) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, (org.openfeed.DividendsIncomeDistributions) data_); } if (dataCase_ == 41) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(41, (org.openfeed.NumberOfTrades) data_); } if (dataCase_ == 42) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(42, (org.openfeed.MonetaryValue) data_); } if (dataCase_ == 43) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(43, (org.openfeed.CapitalDistributions) data_); } if (dataCase_ == 44) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(44, (org.openfeed.SharesOutstanding) data_); } if (dataCase_ == 45) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(45, (org.openfeed.NetAssetValue) data_); } if (dataCase_ == 46) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(46, (org.openfeed.MarketSummary) data_); } if (dataCase_ == 47) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(47, (org.openfeed.HighRolling) data_); } if (dataCase_ == 48) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(48, (org.openfeed.LowRolling) data_); } if (dataCase_ == 49) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(49, (org.openfeed.RequestForQuote) data_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.openfeed.MarketUpdate)) { return super.equals(obj); } org.openfeed.MarketUpdate other = (org.openfeed.MarketUpdate) obj; if (getMarketId() != other.getMarketId()) return false; if (!getSymbol() .equals(other.getSymbol())) return false; if (getTransactionTime() != other.getTransactionTime()) return false; if (getDistributionTime() != other.getDistributionTime()) return false; if (getMarketSequence() != other.getMarketSequence()) return false; if (getSourceSequence() != other.getSourceSequence()) return false; if (!getOriginatorId() .equals(other.getOriginatorId())) return false; if (getPriceDenominator() != other.getPriceDenominator()) return false; if (hasContext() != other.hasContext()) return false; if (hasContext()) { if (!getContext() .equals(other.getContext())) return false; } if (hasSession() != other.hasSession()) return false; if (hasSession()) { if (!getSession() .equals(other.getSession())) return false; } if (hasTSession() != other.hasTSession()) return false; if (hasTSession()) { if (!getTSession() .equals(other.getTSession())) return false; } if (hasPreviousSession() != other.hasPreviousSession()) return false; if (hasPreviousSession()) { if (!getPreviousSession() .equals(other.getPreviousSession())) return false; } if (getRegional() != other.getRegional()) return false; if (hasZSession() != other.hasZSession()) return false; if (hasZSession()) { if (!getZSession() .equals(other.getZSession())) return false; } if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 20: if (!getNews() .equals(other.getNews())) return false; break; case 21: if (!getClearBook() .equals(other.getClearBook())) return false; break; case 22: if (!getInstrumentStatus() .equals(other.getInstrumentStatus())) return false; break; case 23: if (!getBbo() .equals(other.getBbo())) return false; break; case 24: if (!getDepthPriceLevel() .equals(other.getDepthPriceLevel())) return false; break; case 25: if (!getDepthOrder() .equals(other.getDepthOrder())) return false; break; case 26: if (!getIndex() .equals(other.getIndex())) return false; break; case 27: if (!getTrades() .equals(other.getTrades())) return false; break; case 28: if (!getOpen() .equals(other.getOpen())) return false; break; case 29: if (!getHigh() .equals(other.getHigh())) return false; break; case 30: if (!getLow() .equals(other.getLow())) return false; break; case 31: if (!getClose() .equals(other.getClose())) return false; break; case 32: if (!getPrevClose() .equals(other.getPrevClose())) return false; break; case 33: if (!getLast() .equals(other.getLast())) return false; break; case 34: if (!getYearHigh() .equals(other.getYearHigh())) return false; break; case 35: if (!getYearLow() .equals(other.getYearLow())) return false; break; case 36: if (!getVolume() .equals(other.getVolume())) return false; break; case 37: if (!getSettlement() .equals(other.getSettlement())) return false; break; case 38: if (!getOpenInterest() .equals(other.getOpenInterest())) return false; break; case 39: if (!getVwap() .equals(other.getVwap())) return false; break; case 40: if (!getDividendsIncomeDistributions() .equals(other.getDividendsIncomeDistributions())) return false; break; case 41: if (!getNumberOfTrades() .equals(other.getNumberOfTrades())) return false; break; case 42: if (!getMonetaryValue() .equals(other.getMonetaryValue())) return false; break; case 43: if (!getCapitalDistributions() .equals(other.getCapitalDistributions())) return false; break; case 44: if (!getSharesOutstanding() .equals(other.getSharesOutstanding())) return false; break; case 45: if (!getNetAssetValue() .equals(other.getNetAssetValue())) return false; break; case 46: if (!getMarketSummary() .equals(other.getMarketSummary())) return false; break; case 47: if (!getHighRolling() .equals(other.getHighRolling())) return false; break; case 48: if (!getLowRolling() .equals(other.getLowRolling())) return false; break; case 49: if (!getRequestForQuote() .equals(other.getRequestForQuote())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) 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) + MARKETID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMarketId()); hash = (37 * hash) + SYMBOL_FIELD_NUMBER; hash = (53 * hash) + getSymbol().hashCode(); hash = (37 * hash) + TRANSACTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTransactionTime()); hash = (37 * hash) + DISTRIBUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDistributionTime()); hash = (37 * hash) + MARKETSEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMarketSequence()); hash = (37 * hash) + SOURCESEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSourceSequence()); hash = (37 * hash) + ORIGINATORID_FIELD_NUMBER; hash = (53 * hash) + getOriginatorId().hashCode(); hash = (37 * hash) + PRICEDENOMINATOR_FIELD_NUMBER; hash = (53 * hash) + getPriceDenominator(); if (hasContext()) { hash = (37 * hash) + CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getContext().hashCode(); } if (hasSession()) { hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession().hashCode(); } if (hasTSession()) { hash = (37 * hash) + TSESSION_FIELD_NUMBER; hash = (53 * hash) + getTSession().hashCode(); } if (hasPreviousSession()) { hash = (37 * hash) + PREVIOUSSESSION_FIELD_NUMBER; hash = (53 * hash) + getPreviousSession().hashCode(); } hash = (37 * hash) + REGIONAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRegional()); if (hasZSession()) { hash = (37 * hash) + ZSESSION_FIELD_NUMBER; hash = (53 * hash) + getZSession().hashCode(); } switch (dataCase_) { case 20: hash = (37 * hash) + NEWS_FIELD_NUMBER; hash = (53 * hash) + getNews().hashCode(); break; case 21: hash = (37 * hash) + CLEARBOOK_FIELD_NUMBER; hash = (53 * hash) + getClearBook().hashCode(); break; case 22: hash = (37 * hash) + INSTRUMENTSTATUS_FIELD_NUMBER; hash = (53 * hash) + getInstrumentStatus().hashCode(); break; case 23: hash = (37 * hash) + BBO_FIELD_NUMBER; hash = (53 * hash) + getBbo().hashCode(); break; case 24: hash = (37 * hash) + DEPTHPRICELEVEL_FIELD_NUMBER; hash = (53 * hash) + getDepthPriceLevel().hashCode(); break; case 25: hash = (37 * hash) + DEPTHORDER_FIELD_NUMBER; hash = (53 * hash) + getDepthOrder().hashCode(); break; case 26: hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); break; case 27: hash = (37 * hash) + TRADES_FIELD_NUMBER; hash = (53 * hash) + getTrades().hashCode(); break; case 28: hash = (37 * hash) + OPEN_FIELD_NUMBER; hash = (53 * hash) + getOpen().hashCode(); break; case 29: hash = (37 * hash) + HIGH_FIELD_NUMBER; hash = (53 * hash) + getHigh().hashCode(); break; case 30: hash = (37 * hash) + LOW_FIELD_NUMBER; hash = (53 * hash) + getLow().hashCode(); break; case 31: hash = (37 * hash) + CLOSE_FIELD_NUMBER; hash = (53 * hash) + getClose().hashCode(); break; case 32: hash = (37 * hash) + PREVCLOSE_FIELD_NUMBER; hash = (53 * hash) + getPrevClose().hashCode(); break; case 33: hash = (37 * hash) + LAST_FIELD_NUMBER; hash = (53 * hash) + getLast().hashCode(); break; case 34: hash = (37 * hash) + YEARHIGH_FIELD_NUMBER; hash = (53 * hash) + getYearHigh().hashCode(); break; case 35: hash = (37 * hash) + YEARLOW_FIELD_NUMBER; hash = (53 * hash) + getYearLow().hashCode(); break; case 36: hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); break; case 37: hash = (37 * hash) + SETTLEMENT_FIELD_NUMBER; hash = (53 * hash) + getSettlement().hashCode(); break; case 38: hash = (37 * hash) + OPENINTEREST_FIELD_NUMBER; hash = (53 * hash) + getOpenInterest().hashCode(); break; case 39: hash = (37 * hash) + VWAP_FIELD_NUMBER; hash = (53 * hash) + getVwap().hashCode(); break; case 40: hash = (37 * hash) + DIVIDENDSINCOMEDISTRIBUTIONS_FIELD_NUMBER; hash = (53 * hash) + getDividendsIncomeDistributions().hashCode(); break; case 41: hash = (37 * hash) + NUMBEROFTRADES_FIELD_NUMBER; hash = (53 * hash) + getNumberOfTrades().hashCode(); break; case 42: hash = (37 * hash) + MONETARYVALUE_FIELD_NUMBER; hash = (53 * hash) + getMonetaryValue().hashCode(); break; case 43: hash = (37 * hash) + CAPITALDISTRIBUTIONS_FIELD_NUMBER; hash = (53 * hash) + getCapitalDistributions().hashCode(); break; case 44: hash = (37 * hash) + SHARESOUTSTANDING_FIELD_NUMBER; hash = (53 * hash) + getSharesOutstanding().hashCode(); break; case 45: hash = (37 * hash) + NETASSETVALUE_FIELD_NUMBER; hash = (53 * hash) + getNetAssetValue().hashCode(); break; case 46: hash = (37 * hash) + MARKETSUMMARY_FIELD_NUMBER; hash = (53 * hash) + getMarketSummary().hashCode(); break; case 47: hash = (37 * hash) + HIGHROLLING_FIELD_NUMBER; hash = (53 * hash) + getHighRolling().hashCode(); break; case 48: hash = (37 * hash) + LOWROLLING_FIELD_NUMBER; hash = (53 * hash) + getLowRolling().hashCode(); break; case 49: hash = (37 * hash) + REQUESTFORQUOTE_FIELD_NUMBER; hash = (53 * hash) + getRequestForQuote().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.openfeed.MarketUpdate parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.MarketUpdate parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.MarketUpdate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.MarketUpdate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.MarketUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.MarketUpdate parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.MarketUpdate parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.openfeed.MarketUpdate parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static org.openfeed.MarketUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static org.openfeed.MarketUpdate parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.openfeed.MarketUpdate parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.openfeed.MarketUpdate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.openfeed.MarketUpdate 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.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   *
   * Market Update for an instrument
   * 
* * Protobuf type {@code org.openfeed.MarketUpdate} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org.openfeed.MarketUpdate) org.openfeed.MarketUpdateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketUpdate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketUpdate_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openfeed.MarketUpdate.class, org.openfeed.MarketUpdate.Builder.class); } // Construct using org.openfeed.MarketUpdate.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getContextFieldBuilder(); getSessionFieldBuilder(); getTSessionFieldBuilder(); getPreviousSessionFieldBuilder(); getZSessionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; bitField1_ = 0; marketId_ = 0L; symbol_ = ""; transactionTime_ = 0L; distributionTime_ = 0L; marketSequence_ = 0L; sourceSequence_ = 0L; originatorId_ = com.google.protobuf.ByteString.EMPTY; priceDenominator_ = 0; context_ = null; if (contextBuilder_ != null) { contextBuilder_.dispose(); contextBuilder_ = null; } session_ = null; if (sessionBuilder_ != null) { sessionBuilder_.dispose(); sessionBuilder_ = null; } tSession_ = null; if (tSessionBuilder_ != null) { tSessionBuilder_.dispose(); tSessionBuilder_ = null; } previousSession_ = null; if (previousSessionBuilder_ != null) { previousSessionBuilder_.dispose(); previousSessionBuilder_ = null; } regional_ = false; zSession_ = null; if (zSessionBuilder_ != null) { zSessionBuilder_.dispose(); zSessionBuilder_ = null; } if (newsBuilder_ != null) { newsBuilder_.clear(); } if (clearBookBuilder_ != null) { clearBookBuilder_.clear(); } if (instrumentStatusBuilder_ != null) { instrumentStatusBuilder_.clear(); } if (bboBuilder_ != null) { bboBuilder_.clear(); } if (depthPriceLevelBuilder_ != null) { depthPriceLevelBuilder_.clear(); } if (depthOrderBuilder_ != null) { depthOrderBuilder_.clear(); } if (indexBuilder_ != null) { indexBuilder_.clear(); } if (tradesBuilder_ != null) { tradesBuilder_.clear(); } if (openBuilder_ != null) { openBuilder_.clear(); } if (highBuilder_ != null) { highBuilder_.clear(); } if (lowBuilder_ != null) { lowBuilder_.clear(); } if (closeBuilder_ != null) { closeBuilder_.clear(); } if (prevCloseBuilder_ != null) { prevCloseBuilder_.clear(); } if (lastBuilder_ != null) { lastBuilder_.clear(); } if (yearHighBuilder_ != null) { yearHighBuilder_.clear(); } if (yearLowBuilder_ != null) { yearLowBuilder_.clear(); } if (volumeBuilder_ != null) { volumeBuilder_.clear(); } if (settlementBuilder_ != null) { settlementBuilder_.clear(); } if (openInterestBuilder_ != null) { openInterestBuilder_.clear(); } if (vwapBuilder_ != null) { vwapBuilder_.clear(); } if (dividendsIncomeDistributionsBuilder_ != null) { dividendsIncomeDistributionsBuilder_.clear(); } if (numberOfTradesBuilder_ != null) { numberOfTradesBuilder_.clear(); } if (monetaryValueBuilder_ != null) { monetaryValueBuilder_.clear(); } if (capitalDistributionsBuilder_ != null) { capitalDistributionsBuilder_.clear(); } if (sharesOutstandingBuilder_ != null) { sharesOutstandingBuilder_.clear(); } if (netAssetValueBuilder_ != null) { netAssetValueBuilder_.clear(); } if (marketSummaryBuilder_ != null) { marketSummaryBuilder_.clear(); } if (highRollingBuilder_ != null) { highRollingBuilder_.clear(); } if (lowRollingBuilder_ != null) { lowRollingBuilder_.clear(); } if (requestForQuoteBuilder_ != null) { requestForQuoteBuilder_.clear(); } dataCase_ = 0; data_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketUpdate_descriptor; } @java.lang.Override public org.openfeed.MarketUpdate getDefaultInstanceForType() { return org.openfeed.MarketUpdate.getDefaultInstance(); } @java.lang.Override public org.openfeed.MarketUpdate build() { org.openfeed.MarketUpdate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.openfeed.MarketUpdate buildPartial() { org.openfeed.MarketUpdate result = new org.openfeed.MarketUpdate(this); if (bitField0_ != 0) { buildPartial0(result); } if (bitField1_ != 0) { buildPartial1(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(org.openfeed.MarketUpdate result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.marketId_ = marketId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.symbol_ = symbol_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.transactionTime_ = transactionTime_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.distributionTime_ = distributionTime_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.marketSequence_ = marketSequence_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.sourceSequence_ = sourceSequence_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.originatorId_ = originatorId_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.priceDenominator_ = priceDenominator_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000100) != 0)) { result.context_ = contextBuilder_ == null ? context_ : contextBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000200) != 0)) { result.session_ = sessionBuilder_ == null ? session_ : sessionBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000400) != 0)) { result.tSession_ = tSessionBuilder_ == null ? tSession_ : tSessionBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000800) != 0)) { result.previousSession_ = previousSessionBuilder_ == null ? previousSession_ : previousSessionBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00001000) != 0)) { result.regional_ = regional_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.zSession_ = zSessionBuilder_ == null ? zSession_ : zSessionBuilder_.build(); to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } private void buildPartial1(org.openfeed.MarketUpdate result) { int from_bitField1_ = bitField1_; } private void buildPartialOneofs(org.openfeed.MarketUpdate result) { result.dataCase_ = dataCase_; result.data_ = this.data_; if (dataCase_ == 20 && newsBuilder_ != null) { result.data_ = newsBuilder_.build(); } if (dataCase_ == 21 && clearBookBuilder_ != null) { result.data_ = clearBookBuilder_.build(); } if (dataCase_ == 22 && instrumentStatusBuilder_ != null) { result.data_ = instrumentStatusBuilder_.build(); } if (dataCase_ == 23 && bboBuilder_ != null) { result.data_ = bboBuilder_.build(); } if (dataCase_ == 24 && depthPriceLevelBuilder_ != null) { result.data_ = depthPriceLevelBuilder_.build(); } if (dataCase_ == 25 && depthOrderBuilder_ != null) { result.data_ = depthOrderBuilder_.build(); } if (dataCase_ == 26 && indexBuilder_ != null) { result.data_ = indexBuilder_.build(); } if (dataCase_ == 27 && tradesBuilder_ != null) { result.data_ = tradesBuilder_.build(); } if (dataCase_ == 28 && openBuilder_ != null) { result.data_ = openBuilder_.build(); } if (dataCase_ == 29 && highBuilder_ != null) { result.data_ = highBuilder_.build(); } if (dataCase_ == 30 && lowBuilder_ != null) { result.data_ = lowBuilder_.build(); } if (dataCase_ == 31 && closeBuilder_ != null) { result.data_ = closeBuilder_.build(); } if (dataCase_ == 32 && prevCloseBuilder_ != null) { result.data_ = prevCloseBuilder_.build(); } if (dataCase_ == 33 && lastBuilder_ != null) { result.data_ = lastBuilder_.build(); } if (dataCase_ == 34 && yearHighBuilder_ != null) { result.data_ = yearHighBuilder_.build(); } if (dataCase_ == 35 && yearLowBuilder_ != null) { result.data_ = yearLowBuilder_.build(); } if (dataCase_ == 36 && volumeBuilder_ != null) { result.data_ = volumeBuilder_.build(); } if (dataCase_ == 37 && settlementBuilder_ != null) { result.data_ = settlementBuilder_.build(); } if (dataCase_ == 38 && openInterestBuilder_ != null) { result.data_ = openInterestBuilder_.build(); } if (dataCase_ == 39 && vwapBuilder_ != null) { result.data_ = vwapBuilder_.build(); } if (dataCase_ == 40 && dividendsIncomeDistributionsBuilder_ != null) { result.data_ = dividendsIncomeDistributionsBuilder_.build(); } if (dataCase_ == 41 && numberOfTradesBuilder_ != null) { result.data_ = numberOfTradesBuilder_.build(); } if (dataCase_ == 42 && monetaryValueBuilder_ != null) { result.data_ = monetaryValueBuilder_.build(); } if (dataCase_ == 43 && capitalDistributionsBuilder_ != null) { result.data_ = capitalDistributionsBuilder_.build(); } if (dataCase_ == 44 && sharesOutstandingBuilder_ != null) { result.data_ = sharesOutstandingBuilder_.build(); } if (dataCase_ == 45 && netAssetValueBuilder_ != null) { result.data_ = netAssetValueBuilder_.build(); } if (dataCase_ == 46 && marketSummaryBuilder_ != null) { result.data_ = marketSummaryBuilder_.build(); } if (dataCase_ == 47 && highRollingBuilder_ != null) { result.data_ = highRollingBuilder_.build(); } if (dataCase_ == 48 && lowRollingBuilder_ != null) { result.data_ = lowRollingBuilder_.build(); } if (dataCase_ == 49 && requestForQuoteBuilder_ != null) { result.data_ = requestForQuoteBuilder_.build(); } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.openfeed.MarketUpdate) { return mergeFrom((org.openfeed.MarketUpdate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.openfeed.MarketUpdate other) { if (other == org.openfeed.MarketUpdate.getDefaultInstance()) return this; if (other.getMarketId() != 0L) { setMarketId(other.getMarketId()); } if (!other.getSymbol().isEmpty()) { symbol_ = other.symbol_; bitField0_ |= 0x00000002; onChanged(); } if (other.getTransactionTime() != 0L) { setTransactionTime(other.getTransactionTime()); } if (other.getDistributionTime() != 0L) { setDistributionTime(other.getDistributionTime()); } if (other.getMarketSequence() != 0L) { setMarketSequence(other.getMarketSequence()); } if (other.getSourceSequence() != 0L) { setSourceSequence(other.getSourceSequence()); } if (other.getOriginatorId() != com.google.protobuf.ByteString.EMPTY) { setOriginatorId(other.getOriginatorId()); } if (other.getPriceDenominator() != 0) { setPriceDenominator(other.getPriceDenominator()); } if (other.hasContext()) { mergeContext(other.getContext()); } if (other.hasSession()) { mergeSession(other.getSession()); } if (other.hasTSession()) { mergeTSession(other.getTSession()); } if (other.hasPreviousSession()) { mergePreviousSession(other.getPreviousSession()); } if (other.getRegional() != false) { setRegional(other.getRegional()); } if (other.hasZSession()) { mergeZSession(other.getZSession()); } switch (other.getDataCase()) { case NEWS: { mergeNews(other.getNews()); break; } case CLEARBOOK: { mergeClearBook(other.getClearBook()); break; } case INSTRUMENTSTATUS: { mergeInstrumentStatus(other.getInstrumentStatus()); break; } case BBO: { mergeBbo(other.getBbo()); break; } case DEPTHPRICELEVEL: { mergeDepthPriceLevel(other.getDepthPriceLevel()); break; } case DEPTHORDER: { mergeDepthOrder(other.getDepthOrder()); break; } case INDEX: { mergeIndex(other.getIndex()); break; } case TRADES: { mergeTrades(other.getTrades()); break; } case OPEN: { mergeOpen(other.getOpen()); break; } case HIGH: { mergeHigh(other.getHigh()); break; } case LOW: { mergeLow(other.getLow()); break; } case CLOSE: { mergeClose(other.getClose()); break; } case PREVCLOSE: { mergePrevClose(other.getPrevClose()); break; } case LAST: { mergeLast(other.getLast()); break; } case YEARHIGH: { mergeYearHigh(other.getYearHigh()); break; } case YEARLOW: { mergeYearLow(other.getYearLow()); break; } case VOLUME: { mergeVolume(other.getVolume()); break; } case SETTLEMENT: { mergeSettlement(other.getSettlement()); break; } case OPENINTEREST: { mergeOpenInterest(other.getOpenInterest()); break; } case VWAP: { mergeVwap(other.getVwap()); break; } case DIVIDENDSINCOMEDISTRIBUTIONS: { mergeDividendsIncomeDistributions(other.getDividendsIncomeDistributions()); break; } case NUMBEROFTRADES: { mergeNumberOfTrades(other.getNumberOfTrades()); break; } case MONETARYVALUE: { mergeMonetaryValue(other.getMonetaryValue()); break; } case CAPITALDISTRIBUTIONS: { mergeCapitalDistributions(other.getCapitalDistributions()); break; } case SHARESOUTSTANDING: { mergeSharesOutstanding(other.getSharesOutstanding()); break; } case NETASSETVALUE: { mergeNetAssetValue(other.getNetAssetValue()); break; } case MARKETSUMMARY: { mergeMarketSummary(other.getMarketSummary()); break; } case HIGHROLLING: { mergeHighRolling(other.getHighRolling()); break; } case LOWROLLING: { mergeLowRolling(other.getLowRolling()); break; } case REQUESTFORQUOTE: { mergeRequestForQuote(other.getRequestForQuote()); break; } case DATA_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { marketId_ = input.readSInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { symbol_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { transactionTime_ = input.readSInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { distributionTime_ = input.readSInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { marketSequence_ = input.readSInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { sourceSequence_ = input.readSInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { originatorId_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 58 case 72: { priceDenominator_ = input.readSInt32(); bitField0_ |= 0x00000080; break; } // case 72 case 82: { input.readMessage( getContextFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 82 case 90: { input.readMessage( getSessionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 90 case 98: { input.readMessage( getTSessionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 98 case 106: { input.readMessage( getPreviousSessionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 106 case 112: { regional_ = input.readBool(); bitField0_ |= 0x00001000; break; } // case 112 case 122: { input.readMessage( getZSessionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 122 case 162: { input.readMessage( getNewsFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 20; break; } // case 162 case 170: { input.readMessage( getClearBookFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 21; break; } // case 170 case 178: { input.readMessage( getInstrumentStatusFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 22; break; } // case 178 case 186: { input.readMessage( getBboFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 23; break; } // case 186 case 194: { input.readMessage( getDepthPriceLevelFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 24; break; } // case 194 case 202: { input.readMessage( getDepthOrderFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 25; break; } // case 202 case 210: { input.readMessage( getIndexFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 26; break; } // case 210 case 218: { input.readMessage( getTradesFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 27; break; } // case 218 case 226: { input.readMessage( getOpenFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 28; break; } // case 226 case 234: { input.readMessage( getHighFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 29; break; } // case 234 case 242: { input.readMessage( getLowFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 30; break; } // case 242 case 250: { input.readMessage( getCloseFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 31; break; } // case 250 case 258: { input.readMessage( getPrevCloseFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 32; break; } // case 258 case 266: { input.readMessage( getLastFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 33; break; } // case 266 case 274: { input.readMessage( getYearHighFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 34; break; } // case 274 case 282: { input.readMessage( getYearLowFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 35; break; } // case 282 case 290: { input.readMessage( getVolumeFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 36; break; } // case 290 case 298: { input.readMessage( getSettlementFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 37; break; } // case 298 case 306: { input.readMessage( getOpenInterestFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 38; break; } // case 306 case 314: { input.readMessage( getVwapFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 39; break; } // case 314 case 322: { input.readMessage( getDividendsIncomeDistributionsFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 40; break; } // case 322 case 330: { input.readMessage( getNumberOfTradesFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 41; break; } // case 330 case 338: { input.readMessage( getMonetaryValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 42; break; } // case 338 case 346: { input.readMessage( getCapitalDistributionsFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 43; break; } // case 346 case 354: { input.readMessage( getSharesOutstandingFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 44; break; } // case 354 case 362: { input.readMessage( getNetAssetValueFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 45; break; } // case 362 case 370: { input.readMessage( getMarketSummaryFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 46; break; } // case 370 case 378: { input.readMessage( getHighRollingFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 47; break; } // case 378 case 386: { input.readMessage( getLowRollingFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 48; break; } // case 386 case 394: { input.readMessage( getRequestForQuoteFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 49; break; } // case 394 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int dataCase_ = 0; private java.lang.Object data_; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public Builder clearData() { dataCase_ = 0; data_ = null; onChanged(); return this; } private int bitField0_; private int bitField1_; private long marketId_ ; /** *
     * / Unique id identifying the market
     * 
* * sint64 marketId = 1; * @return The marketId. */ @java.lang.Override public long getMarketId() { return marketId_; } /** *
     * / Unique id identifying the market
     * 
* * sint64 marketId = 1; * @param value The marketId to set. * @return This builder for chaining. */ public Builder setMarketId(long value) { marketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * / Unique id identifying the market
     * 
* * sint64 marketId = 1; * @return This builder for chaining. */ public Builder clearMarketId() { bitField0_ = (bitField0_ & ~0x00000001); marketId_ = 0L; onChanged(); return this; } private java.lang.Object symbol_ = ""; /** *
     * Optional symbol identifier
     * 
* * string symbol = 2; * @return The symbol. */ public java.lang.String getSymbol() { java.lang.Object ref = symbol_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); symbol_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional symbol identifier
     * 
* * string symbol = 2; * @return The bytes for symbol. */ public com.google.protobuf.ByteString getSymbolBytes() { java.lang.Object ref = symbol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); symbol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional symbol identifier
     * 
* * string symbol = 2; * @param value The symbol to set. * @return This builder for chaining. */ public Builder setSymbol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } symbol_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Optional symbol identifier
     * 
* * string symbol = 2; * @return This builder for chaining. */ public Builder clearSymbol() { symbol_ = getDefaultInstance().getSymbol(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Optional symbol identifier
     * 
* * string symbol = 2; * @param value The bytes for symbol to set. * @return This builder for chaining. */ public Builder setSymbolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); symbol_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private long transactionTime_ ; /** *
     * / UTC Timestamp of transaction, nano seconds since Unix epoch
     * / This is usually the execution venue timestamp.
     * 
* * sint64 transactionTime = 3; * @return The transactionTime. */ @java.lang.Override public long getTransactionTime() { return transactionTime_; } /** *
     * / UTC Timestamp of transaction, nano seconds since Unix epoch
     * / This is usually the execution venue timestamp.
     * 
* * sint64 transactionTime = 3; * @param value The transactionTime to set. * @return This builder for chaining. */ public Builder setTransactionTime(long value) { transactionTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * / UTC Timestamp of transaction, nano seconds since Unix epoch
     * / This is usually the execution venue timestamp.
     * 
* * sint64 transactionTime = 3; * @return This builder for chaining. */ public Builder clearTransactionTime() { bitField0_ = (bitField0_ & ~0x00000004); transactionTime_ = 0L; onChanged(); return this; } private long distributionTime_ ; /** *
     * / Distribution time in nano seconds since epoch.
     * 
* * sint64 distributionTime = 4; * @return The distributionTime. */ @java.lang.Override public long getDistributionTime() { return distributionTime_; } /** *
     * / Distribution time in nano seconds since epoch.
     * 
* * sint64 distributionTime = 4; * @param value The distributionTime to set. * @return This builder for chaining. */ public Builder setDistributionTime(long value) { distributionTime_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * / Distribution time in nano seconds since epoch.
     * 
* * sint64 distributionTime = 4; * @return This builder for chaining. */ public Builder clearDistributionTime() { bitField0_ = (bitField0_ & ~0x00000008); distributionTime_ = 0L; onChanged(); return this; } private long marketSequence_ ; /** *
     * / Market level sequencing number
     * 
* * sint64 marketSequence = 5; * @return The marketSequence. */ @java.lang.Override public long getMarketSequence() { return marketSequence_; } /** *
     * / Market level sequencing number
     * 
* * sint64 marketSequence = 5; * @param value The marketSequence to set. * @return This builder for chaining. */ public Builder setMarketSequence(long value) { marketSequence_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * / Market level sequencing number
     * 
* * sint64 marketSequence = 5; * @return This builder for chaining. */ public Builder clearMarketSequence() { bitField0_ = (bitField0_ & ~0x00000010); marketSequence_ = 0L; onChanged(); return this; } private long sourceSequence_ ; /** *
     * / Data source sequence number
     * 
* * sint64 sourceSequence = 6; * @return The sourceSequence. */ @java.lang.Override public long getSourceSequence() { return sourceSequence_; } /** *
     * / Data source sequence number
     * 
* * sint64 sourceSequence = 6; * @param value The sourceSequence to set. * @return This builder for chaining. */ public Builder setSourceSequence(long value) { sourceSequence_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * / Data source sequence number
     * 
* * sint64 sourceSequence = 6; * @return This builder for chaining. */ public Builder clearSourceSequence() { bitField0_ = (bitField0_ & ~0x00000020); sourceSequence_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString originatorId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Market participant/originator
     * 
* * bytes originatorId = 7; * @return The originatorId. */ @java.lang.Override public com.google.protobuf.ByteString getOriginatorId() { return originatorId_; } /** *
     * Market participant/originator
     * 
* * bytes originatorId = 7; * @param value The originatorId to set. * @return This builder for chaining. */ public Builder setOriginatorId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } originatorId_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Market participant/originator
     * 
* * bytes originatorId = 7; * @return This builder for chaining. */ public Builder clearOriginatorId() { bitField0_ = (bitField0_ & ~0x00000040); originatorId_ = getDefaultInstance().getOriginatorId(); onChanged(); return this; } private int priceDenominator_ ; /** *
     * / Divide prices by this value to get real price values.  Optional, use value
     * / from InstrumentDefinition if not set.
     * 
* * sint32 priceDenominator = 9; * @return The priceDenominator. */ @java.lang.Override public int getPriceDenominator() { return priceDenominator_; } /** *
     * / Divide prices by this value to get real price values.  Optional, use value
     * / from InstrumentDefinition if not set.
     * 
* * sint32 priceDenominator = 9; * @param value The priceDenominator to set. * @return This builder for chaining. */ public Builder setPriceDenominator(int value) { priceDenominator_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * / Divide prices by this value to get real price values.  Optional, use value
     * / from InstrumentDefinition if not set.
     * 
* * sint32 priceDenominator = 9; * @return This builder for chaining. */ public Builder clearPriceDenominator() { bitField0_ = (bitField0_ & ~0x00000080); priceDenominator_ = 0; onChanged(); return this; } private org.openfeed.Context context_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Context, org.openfeed.Context.Builder, org.openfeed.ContextOrBuilder> contextBuilder_; /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; * @return Whether the context field is set. */ public boolean hasContext() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; * @return The context. */ public org.openfeed.Context getContext() { if (contextBuilder_ == null) { return context_ == null ? org.openfeed.Context.getDefaultInstance() : context_; } else { return contextBuilder_.getMessage(); } } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ public Builder setContext(org.openfeed.Context value) { if (contextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } context_ = value; } else { contextBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ public Builder setContext( org.openfeed.Context.Builder builderForValue) { if (contextBuilder_ == null) { context_ = builderForValue.build(); } else { contextBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ public Builder mergeContext(org.openfeed.Context value) { if (contextBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && context_ != null && context_ != org.openfeed.Context.getDefaultInstance()) { getContextBuilder().mergeFrom(value); } else { context_ = value; } } else { contextBuilder_.mergeFrom(value); } if (context_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000100); context_ = null; if (contextBuilder_ != null) { contextBuilder_.dispose(); contextBuilder_ = null; } onChanged(); return this; } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ public org.openfeed.Context.Builder getContextBuilder() { bitField0_ |= 0x00000100; onChanged(); return getContextFieldBuilder().getBuilder(); } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ public org.openfeed.ContextOrBuilder getContextOrBuilder() { if (contextBuilder_ != null) { return contextBuilder_.getMessageOrBuilder(); } else { return context_ == null ? org.openfeed.Context.getDefaultInstance() : context_; } } /** *
     * Feed specific context data set as required.
     * 
* * .org.openfeed.Context context = 10; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Context, org.openfeed.Context.Builder, org.openfeed.ContextOrBuilder> getContextFieldBuilder() { if (contextBuilder_ == null) { contextBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Context, org.openfeed.Context.Builder, org.openfeed.ContextOrBuilder>( getContext(), getParentForChildren(), isClean()); context_ = null; } return contextBuilder_; } private org.openfeed.MarketSession session_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> sessionBuilder_; /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; * @return The session. */ public org.openfeed.MarketSession getSession() { if (sessionBuilder_ == null) { return session_ == null ? org.openfeed.MarketSession.getDefaultInstance() : session_; } else { return sessionBuilder_.getMessage(); } } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ public Builder setSession(org.openfeed.MarketSession value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } session_ = value; } else { sessionBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ public Builder setSession( org.openfeed.MarketSession.Builder builderForValue) { if (sessionBuilder_ == null) { session_ = builderForValue.build(); } else { sessionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ public Builder mergeSession(org.openfeed.MarketSession value) { if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && session_ != null && session_ != org.openfeed.MarketSession.getDefaultInstance()) { getSessionBuilder().mergeFrom(value); } else { session_ = value; } } else { sessionBuilder_.mergeFrom(value); } if (session_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000200); session_ = null; if (sessionBuilder_ != null) { sessionBuilder_.dispose(); sessionBuilder_ = null; } onChanged(); return this; } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ public org.openfeed.MarketSession.Builder getSessionBuilder() { bitField0_ |= 0x00000200; onChanged(); return getSessionFieldBuilder().getBuilder(); } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ public org.openfeed.MarketSessionOrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { return session_ == null ? org.openfeed.MarketSession.getDefaultInstance() : session_; } } /** *
     * / Current session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession session = 11; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { sessionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder>( getSession(), getParentForChildren(), isClean()); session_ = null; } return sessionBuilder_; } private org.openfeed.MarketSession tSession_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> tSessionBuilder_; /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; * @return Whether the tSession field is set. */ public boolean hasTSession() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; * @return The tSession. */ public org.openfeed.MarketSession getTSession() { if (tSessionBuilder_ == null) { return tSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : tSession_; } else { return tSessionBuilder_.getMessage(); } } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ public Builder setTSession(org.openfeed.MarketSession value) { if (tSessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tSession_ = value; } else { tSessionBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ public Builder setTSession( org.openfeed.MarketSession.Builder builderForValue) { if (tSessionBuilder_ == null) { tSession_ = builderForValue.build(); } else { tSessionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ public Builder mergeTSession(org.openfeed.MarketSession value) { if (tSessionBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && tSession_ != null && tSession_ != org.openfeed.MarketSession.getDefaultInstance()) { getTSessionBuilder().mergeFrom(value); } else { tSession_ = value; } } else { tSessionBuilder_.mergeFrom(value); } if (tSession_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ public Builder clearTSession() { bitField0_ = (bitField0_ & ~0x00000400); tSession_ = null; if (tSessionBuilder_ != null) { tSessionBuilder_.dispose(); tSessionBuilder_ = null; } onChanged(); return this; } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ public org.openfeed.MarketSession.Builder getTSessionBuilder() { bitField0_ |= 0x00000400; onChanged(); return getTSessionFieldBuilder().getBuilder(); } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ public org.openfeed.MarketSessionOrBuilder getTSessionOrBuilder() { if (tSessionBuilder_ != null) { return tSessionBuilder_.getMessageOrBuilder(); } else { return tSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : tSession_; } } /** *
     * / 'T' session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession tSession = 12; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> getTSessionFieldBuilder() { if (tSessionBuilder_ == null) { tSessionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder>( getTSession(), getParentForChildren(), isClean()); tSession_ = null; } return tSessionBuilder_; } private org.openfeed.MarketSession previousSession_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> previousSessionBuilder_; /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; * @return Whether the previousSession field is set. */ public boolean hasPreviousSession() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; * @return The previousSession. */ public org.openfeed.MarketSession getPreviousSession() { if (previousSessionBuilder_ == null) { return previousSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : previousSession_; } else { return previousSessionBuilder_.getMessage(); } } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ public Builder setPreviousSession(org.openfeed.MarketSession value) { if (previousSessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } previousSession_ = value; } else { previousSessionBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ public Builder setPreviousSession( org.openfeed.MarketSession.Builder builderForValue) { if (previousSessionBuilder_ == null) { previousSession_ = builderForValue.build(); } else { previousSessionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ public Builder mergePreviousSession(org.openfeed.MarketSession value) { if (previousSessionBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && previousSession_ != null && previousSession_ != org.openfeed.MarketSession.getDefaultInstance()) { getPreviousSessionBuilder().mergeFrom(value); } else { previousSession_ = value; } } else { previousSessionBuilder_.mergeFrom(value); } if (previousSession_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ public Builder clearPreviousSession() { bitField0_ = (bitField0_ & ~0x00000800); previousSession_ = null; if (previousSessionBuilder_ != null) { previousSessionBuilder_.dispose(); previousSessionBuilder_ = null; } onChanged(); return this; } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ public org.openfeed.MarketSession.Builder getPreviousSessionBuilder() { bitField0_ |= 0x00000800; onChanged(); return getPreviousSessionFieldBuilder().getBuilder(); } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ public org.openfeed.MarketSessionOrBuilder getPreviousSessionOrBuilder() { if (previousSessionBuilder_ != null) { return previousSessionBuilder_.getMessageOrBuilder(); } else { return previousSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : previousSession_; } } /** *
     * / Previous session. This is used to 'enhance' updates from the translator in the Market State
     * 
* * .org.openfeed.MarketSession previousSession = 13; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> getPreviousSessionFieldBuilder() { if (previousSessionBuilder_ == null) { previousSessionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder>( getPreviousSession(), getParentForChildren(), isClean()); previousSession_ = null; } return previousSessionBuilder_; } private boolean regional_ ; /** *
     * / True if message applies to regional/participant member
     * 
* * bool regional = 14; * @return The regional. */ @java.lang.Override public boolean getRegional() { return regional_; } /** *
     * / True if message applies to regional/participant member
     * 
* * bool regional = 14; * @param value The regional to set. * @return This builder for chaining. */ public Builder setRegional(boolean value) { regional_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * / True if message applies to regional/participant member
     * 
* * bool regional = 14; * @return This builder for chaining. */ public Builder clearRegional() { bitField0_ = (bitField0_ & ~0x00001000); regional_ = false; onChanged(); return this; } private org.openfeed.MarketSession zSession_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> zSessionBuilder_; /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; * @return Whether the zSession field is set. */ public boolean hasZSession() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; * @return The zSession. */ public org.openfeed.MarketSession getZSession() { if (zSessionBuilder_ == null) { return zSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : zSession_; } else { return zSessionBuilder_.getMessage(); } } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ public Builder setZSession(org.openfeed.MarketSession value) { if (zSessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } zSession_ = value; } else { zSessionBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ public Builder setZSession( org.openfeed.MarketSession.Builder builderForValue) { if (zSessionBuilder_ == null) { zSession_ = builderForValue.build(); } else { zSessionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ public Builder mergeZSession(org.openfeed.MarketSession value) { if (zSessionBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && zSession_ != null && zSession_ != org.openfeed.MarketSession.getDefaultInstance()) { getZSessionBuilder().mergeFrom(value); } else { zSession_ = value; } } else { zSessionBuilder_.mergeFrom(value); } if (zSession_ != null) { bitField0_ |= 0x00002000; onChanged(); } return this; } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ public Builder clearZSession() { bitField0_ = (bitField0_ & ~0x00002000); zSession_ = null; if (zSessionBuilder_ != null) { zSessionBuilder_.dispose(); zSessionBuilder_ = null; } onChanged(); return this; } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ public org.openfeed.MarketSession.Builder getZSessionBuilder() { bitField0_ |= 0x00002000; onChanged(); return getZSessionFieldBuilder().getBuilder(); } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ public org.openfeed.MarketSessionOrBuilder getZSessionOrBuilder() { if (zSessionBuilder_ != null) { return zSessionBuilder_.getMessageOrBuilder(); } else { return zSession_ == null ? org.openfeed.MarketSession.getDefaultInstance() : zSession_; } } /** *
     * / 'Z' session. Includes all trades, even the ones that do not update Last.
     * 
* * .org.openfeed.MarketSession zSession = 15; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder> getZSessionFieldBuilder() { if (zSessionBuilder_ == null) { zSessionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSession, org.openfeed.MarketSession.Builder, org.openfeed.MarketSessionOrBuilder>( getZSession(), getParentForChildren(), isClean()); zSession_ = null; } return zSessionBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.News, org.openfeed.News.Builder, org.openfeed.NewsOrBuilder> newsBuilder_; /** * .org.openfeed.News news = 20; * @return Whether the news field is set. */ @java.lang.Override public boolean hasNews() { return dataCase_ == 20; } /** * .org.openfeed.News news = 20; * @return The news. */ @java.lang.Override public org.openfeed.News getNews() { if (newsBuilder_ == null) { if (dataCase_ == 20) { return (org.openfeed.News) data_; } return org.openfeed.News.getDefaultInstance(); } else { if (dataCase_ == 20) { return newsBuilder_.getMessage(); } return org.openfeed.News.getDefaultInstance(); } } /** * .org.openfeed.News news = 20; */ public Builder setNews(org.openfeed.News value) { if (newsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { newsBuilder_.setMessage(value); } dataCase_ = 20; return this; } /** * .org.openfeed.News news = 20; */ public Builder setNews( org.openfeed.News.Builder builderForValue) { if (newsBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { newsBuilder_.setMessage(builderForValue.build()); } dataCase_ = 20; return this; } /** * .org.openfeed.News news = 20; */ public Builder mergeNews(org.openfeed.News value) { if (newsBuilder_ == null) { if (dataCase_ == 20 && data_ != org.openfeed.News.getDefaultInstance()) { data_ = org.openfeed.News.newBuilder((org.openfeed.News) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 20) { newsBuilder_.mergeFrom(value); } else { newsBuilder_.setMessage(value); } } dataCase_ = 20; return this; } /** * .org.openfeed.News news = 20; */ public Builder clearNews() { if (newsBuilder_ == null) { if (dataCase_ == 20) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 20) { dataCase_ = 0; data_ = null; } newsBuilder_.clear(); } return this; } /** * .org.openfeed.News news = 20; */ public org.openfeed.News.Builder getNewsBuilder() { return getNewsFieldBuilder().getBuilder(); } /** * .org.openfeed.News news = 20; */ @java.lang.Override public org.openfeed.NewsOrBuilder getNewsOrBuilder() { if ((dataCase_ == 20) && (newsBuilder_ != null)) { return newsBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 20) { return (org.openfeed.News) data_; } return org.openfeed.News.getDefaultInstance(); } } /** * .org.openfeed.News news = 20; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.News, org.openfeed.News.Builder, org.openfeed.NewsOrBuilder> getNewsFieldBuilder() { if (newsBuilder_ == null) { if (!(dataCase_ == 20)) { data_ = org.openfeed.News.getDefaultInstance(); } newsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.News, org.openfeed.News.Builder, org.openfeed.NewsOrBuilder>( (org.openfeed.News) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 20; onChanged(); return newsBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.ClearBook, org.openfeed.ClearBook.Builder, org.openfeed.ClearBookOrBuilder> clearBookBuilder_; /** * .org.openfeed.ClearBook clearBook = 21; * @return Whether the clearBook field is set. */ @java.lang.Override public boolean hasClearBook() { return dataCase_ == 21; } /** * .org.openfeed.ClearBook clearBook = 21; * @return The clearBook. */ @java.lang.Override public org.openfeed.ClearBook getClearBook() { if (clearBookBuilder_ == null) { if (dataCase_ == 21) { return (org.openfeed.ClearBook) data_; } return org.openfeed.ClearBook.getDefaultInstance(); } else { if (dataCase_ == 21) { return clearBookBuilder_.getMessage(); } return org.openfeed.ClearBook.getDefaultInstance(); } } /** * .org.openfeed.ClearBook clearBook = 21; */ public Builder setClearBook(org.openfeed.ClearBook value) { if (clearBookBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { clearBookBuilder_.setMessage(value); } dataCase_ = 21; return this; } /** * .org.openfeed.ClearBook clearBook = 21; */ public Builder setClearBook( org.openfeed.ClearBook.Builder builderForValue) { if (clearBookBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { clearBookBuilder_.setMessage(builderForValue.build()); } dataCase_ = 21; return this; } /** * .org.openfeed.ClearBook clearBook = 21; */ public Builder mergeClearBook(org.openfeed.ClearBook value) { if (clearBookBuilder_ == null) { if (dataCase_ == 21 && data_ != org.openfeed.ClearBook.getDefaultInstance()) { data_ = org.openfeed.ClearBook.newBuilder((org.openfeed.ClearBook) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 21) { clearBookBuilder_.mergeFrom(value); } else { clearBookBuilder_.setMessage(value); } } dataCase_ = 21; return this; } /** * .org.openfeed.ClearBook clearBook = 21; */ public Builder clearClearBook() { if (clearBookBuilder_ == null) { if (dataCase_ == 21) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 21) { dataCase_ = 0; data_ = null; } clearBookBuilder_.clear(); } return this; } /** * .org.openfeed.ClearBook clearBook = 21; */ public org.openfeed.ClearBook.Builder getClearBookBuilder() { return getClearBookFieldBuilder().getBuilder(); } /** * .org.openfeed.ClearBook clearBook = 21; */ @java.lang.Override public org.openfeed.ClearBookOrBuilder getClearBookOrBuilder() { if ((dataCase_ == 21) && (clearBookBuilder_ != null)) { return clearBookBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 21) { return (org.openfeed.ClearBook) data_; } return org.openfeed.ClearBook.getDefaultInstance(); } } /** * .org.openfeed.ClearBook clearBook = 21; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.ClearBook, org.openfeed.ClearBook.Builder, org.openfeed.ClearBookOrBuilder> getClearBookFieldBuilder() { if (clearBookBuilder_ == null) { if (!(dataCase_ == 21)) { data_ = org.openfeed.ClearBook.getDefaultInstance(); } clearBookBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.ClearBook, org.openfeed.ClearBook.Builder, org.openfeed.ClearBookOrBuilder>( (org.openfeed.ClearBook) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 21; onChanged(); return clearBookBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.InstrumentStatus, org.openfeed.InstrumentStatus.Builder, org.openfeed.InstrumentStatusOrBuilder> instrumentStatusBuilder_; /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; * @return Whether the instrumentStatus field is set. */ @java.lang.Override public boolean hasInstrumentStatus() { return dataCase_ == 22; } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; * @return The instrumentStatus. */ @java.lang.Override public org.openfeed.InstrumentStatus getInstrumentStatus() { if (instrumentStatusBuilder_ == null) { if (dataCase_ == 22) { return (org.openfeed.InstrumentStatus) data_; } return org.openfeed.InstrumentStatus.getDefaultInstance(); } else { if (dataCase_ == 22) { return instrumentStatusBuilder_.getMessage(); } return org.openfeed.InstrumentStatus.getDefaultInstance(); } } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ public Builder setInstrumentStatus(org.openfeed.InstrumentStatus value) { if (instrumentStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { instrumentStatusBuilder_.setMessage(value); } dataCase_ = 22; return this; } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ public Builder setInstrumentStatus( org.openfeed.InstrumentStatus.Builder builderForValue) { if (instrumentStatusBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { instrumentStatusBuilder_.setMessage(builderForValue.build()); } dataCase_ = 22; return this; } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ public Builder mergeInstrumentStatus(org.openfeed.InstrumentStatus value) { if (instrumentStatusBuilder_ == null) { if (dataCase_ == 22 && data_ != org.openfeed.InstrumentStatus.getDefaultInstance()) { data_ = org.openfeed.InstrumentStatus.newBuilder((org.openfeed.InstrumentStatus) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 22) { instrumentStatusBuilder_.mergeFrom(value); } else { instrumentStatusBuilder_.setMessage(value); } } dataCase_ = 22; return this; } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ public Builder clearInstrumentStatus() { if (instrumentStatusBuilder_ == null) { if (dataCase_ == 22) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 22) { dataCase_ = 0; data_ = null; } instrumentStatusBuilder_.clear(); } return this; } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ public org.openfeed.InstrumentStatus.Builder getInstrumentStatusBuilder() { return getInstrumentStatusFieldBuilder().getBuilder(); } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ @java.lang.Override public org.openfeed.InstrumentStatusOrBuilder getInstrumentStatusOrBuilder() { if ((dataCase_ == 22) && (instrumentStatusBuilder_ != null)) { return instrumentStatusBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 22) { return (org.openfeed.InstrumentStatus) data_; } return org.openfeed.InstrumentStatus.getDefaultInstance(); } } /** * .org.openfeed.InstrumentStatus instrumentStatus = 22; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.InstrumentStatus, org.openfeed.InstrumentStatus.Builder, org.openfeed.InstrumentStatusOrBuilder> getInstrumentStatusFieldBuilder() { if (instrumentStatusBuilder_ == null) { if (!(dataCase_ == 22)) { data_ = org.openfeed.InstrumentStatus.getDefaultInstance(); } instrumentStatusBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.InstrumentStatus, org.openfeed.InstrumentStatus.Builder, org.openfeed.InstrumentStatusOrBuilder>( (org.openfeed.InstrumentStatus) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 22; onChanged(); return instrumentStatusBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.BestBidOffer, org.openfeed.BestBidOffer.Builder, org.openfeed.BestBidOfferOrBuilder> bboBuilder_; /** * .org.openfeed.BestBidOffer bbo = 23; * @return Whether the bbo field is set. */ @java.lang.Override public boolean hasBbo() { return dataCase_ == 23; } /** * .org.openfeed.BestBidOffer bbo = 23; * @return The bbo. */ @java.lang.Override public org.openfeed.BestBidOffer getBbo() { if (bboBuilder_ == null) { if (dataCase_ == 23) { return (org.openfeed.BestBidOffer) data_; } return org.openfeed.BestBidOffer.getDefaultInstance(); } else { if (dataCase_ == 23) { return bboBuilder_.getMessage(); } return org.openfeed.BestBidOffer.getDefaultInstance(); } } /** * .org.openfeed.BestBidOffer bbo = 23; */ public Builder setBbo(org.openfeed.BestBidOffer value) { if (bboBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { bboBuilder_.setMessage(value); } dataCase_ = 23; return this; } /** * .org.openfeed.BestBidOffer bbo = 23; */ public Builder setBbo( org.openfeed.BestBidOffer.Builder builderForValue) { if (bboBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { bboBuilder_.setMessage(builderForValue.build()); } dataCase_ = 23; return this; } /** * .org.openfeed.BestBidOffer bbo = 23; */ public Builder mergeBbo(org.openfeed.BestBidOffer value) { if (bboBuilder_ == null) { if (dataCase_ == 23 && data_ != org.openfeed.BestBidOffer.getDefaultInstance()) { data_ = org.openfeed.BestBidOffer.newBuilder((org.openfeed.BestBidOffer) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 23) { bboBuilder_.mergeFrom(value); } else { bboBuilder_.setMessage(value); } } dataCase_ = 23; return this; } /** * .org.openfeed.BestBidOffer bbo = 23; */ public Builder clearBbo() { if (bboBuilder_ == null) { if (dataCase_ == 23) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 23) { dataCase_ = 0; data_ = null; } bboBuilder_.clear(); } return this; } /** * .org.openfeed.BestBidOffer bbo = 23; */ public org.openfeed.BestBidOffer.Builder getBboBuilder() { return getBboFieldBuilder().getBuilder(); } /** * .org.openfeed.BestBidOffer bbo = 23; */ @java.lang.Override public org.openfeed.BestBidOfferOrBuilder getBboOrBuilder() { if ((dataCase_ == 23) && (bboBuilder_ != null)) { return bboBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 23) { return (org.openfeed.BestBidOffer) data_; } return org.openfeed.BestBidOffer.getDefaultInstance(); } } /** * .org.openfeed.BestBidOffer bbo = 23; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.BestBidOffer, org.openfeed.BestBidOffer.Builder, org.openfeed.BestBidOfferOrBuilder> getBboFieldBuilder() { if (bboBuilder_ == null) { if (!(dataCase_ == 23)) { data_ = org.openfeed.BestBidOffer.getDefaultInstance(); } bboBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.BestBidOffer, org.openfeed.BestBidOffer.Builder, org.openfeed.BestBidOfferOrBuilder>( (org.openfeed.BestBidOffer) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 23; onChanged(); return bboBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.DepthPriceLevel, org.openfeed.DepthPriceLevel.Builder, org.openfeed.DepthPriceLevelOrBuilder> depthPriceLevelBuilder_; /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; * @return Whether the depthPriceLevel field is set. */ @java.lang.Override public boolean hasDepthPriceLevel() { return dataCase_ == 24; } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; * @return The depthPriceLevel. */ @java.lang.Override public org.openfeed.DepthPriceLevel getDepthPriceLevel() { if (depthPriceLevelBuilder_ == null) { if (dataCase_ == 24) { return (org.openfeed.DepthPriceLevel) data_; } return org.openfeed.DepthPriceLevel.getDefaultInstance(); } else { if (dataCase_ == 24) { return depthPriceLevelBuilder_.getMessage(); } return org.openfeed.DepthPriceLevel.getDefaultInstance(); } } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ public Builder setDepthPriceLevel(org.openfeed.DepthPriceLevel value) { if (depthPriceLevelBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { depthPriceLevelBuilder_.setMessage(value); } dataCase_ = 24; return this; } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ public Builder setDepthPriceLevel( org.openfeed.DepthPriceLevel.Builder builderForValue) { if (depthPriceLevelBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { depthPriceLevelBuilder_.setMessage(builderForValue.build()); } dataCase_ = 24; return this; } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ public Builder mergeDepthPriceLevel(org.openfeed.DepthPriceLevel value) { if (depthPriceLevelBuilder_ == null) { if (dataCase_ == 24 && data_ != org.openfeed.DepthPriceLevel.getDefaultInstance()) { data_ = org.openfeed.DepthPriceLevel.newBuilder((org.openfeed.DepthPriceLevel) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 24) { depthPriceLevelBuilder_.mergeFrom(value); } else { depthPriceLevelBuilder_.setMessage(value); } } dataCase_ = 24; return this; } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ public Builder clearDepthPriceLevel() { if (depthPriceLevelBuilder_ == null) { if (dataCase_ == 24) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 24) { dataCase_ = 0; data_ = null; } depthPriceLevelBuilder_.clear(); } return this; } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ public org.openfeed.DepthPriceLevel.Builder getDepthPriceLevelBuilder() { return getDepthPriceLevelFieldBuilder().getBuilder(); } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ @java.lang.Override public org.openfeed.DepthPriceLevelOrBuilder getDepthPriceLevelOrBuilder() { if ((dataCase_ == 24) && (depthPriceLevelBuilder_ != null)) { return depthPriceLevelBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 24) { return (org.openfeed.DepthPriceLevel) data_; } return org.openfeed.DepthPriceLevel.getDefaultInstance(); } } /** * .org.openfeed.DepthPriceLevel depthPriceLevel = 24; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.DepthPriceLevel, org.openfeed.DepthPriceLevel.Builder, org.openfeed.DepthPriceLevelOrBuilder> getDepthPriceLevelFieldBuilder() { if (depthPriceLevelBuilder_ == null) { if (!(dataCase_ == 24)) { data_ = org.openfeed.DepthPriceLevel.getDefaultInstance(); } depthPriceLevelBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.DepthPriceLevel, org.openfeed.DepthPriceLevel.Builder, org.openfeed.DepthPriceLevelOrBuilder>( (org.openfeed.DepthPriceLevel) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 24; onChanged(); return depthPriceLevelBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.DepthOrder, org.openfeed.DepthOrder.Builder, org.openfeed.DepthOrderOrBuilder> depthOrderBuilder_; /** * .org.openfeed.DepthOrder depthOrder = 25; * @return Whether the depthOrder field is set. */ @java.lang.Override public boolean hasDepthOrder() { return dataCase_ == 25; } /** * .org.openfeed.DepthOrder depthOrder = 25; * @return The depthOrder. */ @java.lang.Override public org.openfeed.DepthOrder getDepthOrder() { if (depthOrderBuilder_ == null) { if (dataCase_ == 25) { return (org.openfeed.DepthOrder) data_; } return org.openfeed.DepthOrder.getDefaultInstance(); } else { if (dataCase_ == 25) { return depthOrderBuilder_.getMessage(); } return org.openfeed.DepthOrder.getDefaultInstance(); } } /** * .org.openfeed.DepthOrder depthOrder = 25; */ public Builder setDepthOrder(org.openfeed.DepthOrder value) { if (depthOrderBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { depthOrderBuilder_.setMessage(value); } dataCase_ = 25; return this; } /** * .org.openfeed.DepthOrder depthOrder = 25; */ public Builder setDepthOrder( org.openfeed.DepthOrder.Builder builderForValue) { if (depthOrderBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { depthOrderBuilder_.setMessage(builderForValue.build()); } dataCase_ = 25; return this; } /** * .org.openfeed.DepthOrder depthOrder = 25; */ public Builder mergeDepthOrder(org.openfeed.DepthOrder value) { if (depthOrderBuilder_ == null) { if (dataCase_ == 25 && data_ != org.openfeed.DepthOrder.getDefaultInstance()) { data_ = org.openfeed.DepthOrder.newBuilder((org.openfeed.DepthOrder) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 25) { depthOrderBuilder_.mergeFrom(value); } else { depthOrderBuilder_.setMessage(value); } } dataCase_ = 25; return this; } /** * .org.openfeed.DepthOrder depthOrder = 25; */ public Builder clearDepthOrder() { if (depthOrderBuilder_ == null) { if (dataCase_ == 25) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 25) { dataCase_ = 0; data_ = null; } depthOrderBuilder_.clear(); } return this; } /** * .org.openfeed.DepthOrder depthOrder = 25; */ public org.openfeed.DepthOrder.Builder getDepthOrderBuilder() { return getDepthOrderFieldBuilder().getBuilder(); } /** * .org.openfeed.DepthOrder depthOrder = 25; */ @java.lang.Override public org.openfeed.DepthOrderOrBuilder getDepthOrderOrBuilder() { if ((dataCase_ == 25) && (depthOrderBuilder_ != null)) { return depthOrderBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 25) { return (org.openfeed.DepthOrder) data_; } return org.openfeed.DepthOrder.getDefaultInstance(); } } /** * .org.openfeed.DepthOrder depthOrder = 25; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.DepthOrder, org.openfeed.DepthOrder.Builder, org.openfeed.DepthOrderOrBuilder> getDepthOrderFieldBuilder() { if (depthOrderBuilder_ == null) { if (!(dataCase_ == 25)) { data_ = org.openfeed.DepthOrder.getDefaultInstance(); } depthOrderBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.DepthOrder, org.openfeed.DepthOrder.Builder, org.openfeed.DepthOrderOrBuilder>( (org.openfeed.DepthOrder) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 25; onChanged(); return depthOrderBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.IndexValue, org.openfeed.IndexValue.Builder, org.openfeed.IndexValueOrBuilder> indexBuilder_; /** * .org.openfeed.IndexValue index = 26; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return dataCase_ == 26; } /** * .org.openfeed.IndexValue index = 26; * @return The index. */ @java.lang.Override public org.openfeed.IndexValue getIndex() { if (indexBuilder_ == null) { if (dataCase_ == 26) { return (org.openfeed.IndexValue) data_; } return org.openfeed.IndexValue.getDefaultInstance(); } else { if (dataCase_ == 26) { return indexBuilder_.getMessage(); } return org.openfeed.IndexValue.getDefaultInstance(); } } /** * .org.openfeed.IndexValue index = 26; */ public Builder setIndex(org.openfeed.IndexValue value) { if (indexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { indexBuilder_.setMessage(value); } dataCase_ = 26; return this; } /** * .org.openfeed.IndexValue index = 26; */ public Builder setIndex( org.openfeed.IndexValue.Builder builderForValue) { if (indexBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { indexBuilder_.setMessage(builderForValue.build()); } dataCase_ = 26; return this; } /** * .org.openfeed.IndexValue index = 26; */ public Builder mergeIndex(org.openfeed.IndexValue value) { if (indexBuilder_ == null) { if (dataCase_ == 26 && data_ != org.openfeed.IndexValue.getDefaultInstance()) { data_ = org.openfeed.IndexValue.newBuilder((org.openfeed.IndexValue) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 26) { indexBuilder_.mergeFrom(value); } else { indexBuilder_.setMessage(value); } } dataCase_ = 26; return this; } /** * .org.openfeed.IndexValue index = 26; */ public Builder clearIndex() { if (indexBuilder_ == null) { if (dataCase_ == 26) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 26) { dataCase_ = 0; data_ = null; } indexBuilder_.clear(); } return this; } /** * .org.openfeed.IndexValue index = 26; */ public org.openfeed.IndexValue.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** * .org.openfeed.IndexValue index = 26; */ @java.lang.Override public org.openfeed.IndexValueOrBuilder getIndexOrBuilder() { if ((dataCase_ == 26) && (indexBuilder_ != null)) { return indexBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 26) { return (org.openfeed.IndexValue) data_; } return org.openfeed.IndexValue.getDefaultInstance(); } } /** * .org.openfeed.IndexValue index = 26; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.IndexValue, org.openfeed.IndexValue.Builder, org.openfeed.IndexValueOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { if (!(dataCase_ == 26)) { data_ = org.openfeed.IndexValue.getDefaultInstance(); } indexBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.IndexValue, org.openfeed.IndexValue.Builder, org.openfeed.IndexValueOrBuilder>( (org.openfeed.IndexValue) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 26; onChanged(); return indexBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Trades, org.openfeed.Trades.Builder, org.openfeed.TradesOrBuilder> tradesBuilder_; /** * .org.openfeed.Trades trades = 27; * @return Whether the trades field is set. */ @java.lang.Override public boolean hasTrades() { return dataCase_ == 27; } /** * .org.openfeed.Trades trades = 27; * @return The trades. */ @java.lang.Override public org.openfeed.Trades getTrades() { if (tradesBuilder_ == null) { if (dataCase_ == 27) { return (org.openfeed.Trades) data_; } return org.openfeed.Trades.getDefaultInstance(); } else { if (dataCase_ == 27) { return tradesBuilder_.getMessage(); } return org.openfeed.Trades.getDefaultInstance(); } } /** * .org.openfeed.Trades trades = 27; */ public Builder setTrades(org.openfeed.Trades value) { if (tradesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { tradesBuilder_.setMessage(value); } dataCase_ = 27; return this; } /** * .org.openfeed.Trades trades = 27; */ public Builder setTrades( org.openfeed.Trades.Builder builderForValue) { if (tradesBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { tradesBuilder_.setMessage(builderForValue.build()); } dataCase_ = 27; return this; } /** * .org.openfeed.Trades trades = 27; */ public Builder mergeTrades(org.openfeed.Trades value) { if (tradesBuilder_ == null) { if (dataCase_ == 27 && data_ != org.openfeed.Trades.getDefaultInstance()) { data_ = org.openfeed.Trades.newBuilder((org.openfeed.Trades) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 27) { tradesBuilder_.mergeFrom(value); } else { tradesBuilder_.setMessage(value); } } dataCase_ = 27; return this; } /** * .org.openfeed.Trades trades = 27; */ public Builder clearTrades() { if (tradesBuilder_ == null) { if (dataCase_ == 27) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 27) { dataCase_ = 0; data_ = null; } tradesBuilder_.clear(); } return this; } /** * .org.openfeed.Trades trades = 27; */ public org.openfeed.Trades.Builder getTradesBuilder() { return getTradesFieldBuilder().getBuilder(); } /** * .org.openfeed.Trades trades = 27; */ @java.lang.Override public org.openfeed.TradesOrBuilder getTradesOrBuilder() { if ((dataCase_ == 27) && (tradesBuilder_ != null)) { return tradesBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 27) { return (org.openfeed.Trades) data_; } return org.openfeed.Trades.getDefaultInstance(); } } /** * .org.openfeed.Trades trades = 27; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Trades, org.openfeed.Trades.Builder, org.openfeed.TradesOrBuilder> getTradesFieldBuilder() { if (tradesBuilder_ == null) { if (!(dataCase_ == 27)) { data_ = org.openfeed.Trades.getDefaultInstance(); } tradesBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Trades, org.openfeed.Trades.Builder, org.openfeed.TradesOrBuilder>( (org.openfeed.Trades) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 27; onChanged(); return tradesBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Open, org.openfeed.Open.Builder, org.openfeed.OpenOrBuilder> openBuilder_; /** * .org.openfeed.Open open = 28; * @return Whether the open field is set. */ @java.lang.Override public boolean hasOpen() { return dataCase_ == 28; } /** * .org.openfeed.Open open = 28; * @return The open. */ @java.lang.Override public org.openfeed.Open getOpen() { if (openBuilder_ == null) { if (dataCase_ == 28) { return (org.openfeed.Open) data_; } return org.openfeed.Open.getDefaultInstance(); } else { if (dataCase_ == 28) { return openBuilder_.getMessage(); } return org.openfeed.Open.getDefaultInstance(); } } /** * .org.openfeed.Open open = 28; */ public Builder setOpen(org.openfeed.Open value) { if (openBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { openBuilder_.setMessage(value); } dataCase_ = 28; return this; } /** * .org.openfeed.Open open = 28; */ public Builder setOpen( org.openfeed.Open.Builder builderForValue) { if (openBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { openBuilder_.setMessage(builderForValue.build()); } dataCase_ = 28; return this; } /** * .org.openfeed.Open open = 28; */ public Builder mergeOpen(org.openfeed.Open value) { if (openBuilder_ == null) { if (dataCase_ == 28 && data_ != org.openfeed.Open.getDefaultInstance()) { data_ = org.openfeed.Open.newBuilder((org.openfeed.Open) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 28) { openBuilder_.mergeFrom(value); } else { openBuilder_.setMessage(value); } } dataCase_ = 28; return this; } /** * .org.openfeed.Open open = 28; */ public Builder clearOpen() { if (openBuilder_ == null) { if (dataCase_ == 28) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 28) { dataCase_ = 0; data_ = null; } openBuilder_.clear(); } return this; } /** * .org.openfeed.Open open = 28; */ public org.openfeed.Open.Builder getOpenBuilder() { return getOpenFieldBuilder().getBuilder(); } /** * .org.openfeed.Open open = 28; */ @java.lang.Override public org.openfeed.OpenOrBuilder getOpenOrBuilder() { if ((dataCase_ == 28) && (openBuilder_ != null)) { return openBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 28) { return (org.openfeed.Open) data_; } return org.openfeed.Open.getDefaultInstance(); } } /** * .org.openfeed.Open open = 28; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Open, org.openfeed.Open.Builder, org.openfeed.OpenOrBuilder> getOpenFieldBuilder() { if (openBuilder_ == null) { if (!(dataCase_ == 28)) { data_ = org.openfeed.Open.getDefaultInstance(); } openBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Open, org.openfeed.Open.Builder, org.openfeed.OpenOrBuilder>( (org.openfeed.Open) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 28; onChanged(); return openBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.High, org.openfeed.High.Builder, org.openfeed.HighOrBuilder> highBuilder_; /** * .org.openfeed.High high = 29; * @return Whether the high field is set. */ @java.lang.Override public boolean hasHigh() { return dataCase_ == 29; } /** * .org.openfeed.High high = 29; * @return The high. */ @java.lang.Override public org.openfeed.High getHigh() { if (highBuilder_ == null) { if (dataCase_ == 29) { return (org.openfeed.High) data_; } return org.openfeed.High.getDefaultInstance(); } else { if (dataCase_ == 29) { return highBuilder_.getMessage(); } return org.openfeed.High.getDefaultInstance(); } } /** * .org.openfeed.High high = 29; */ public Builder setHigh(org.openfeed.High value) { if (highBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { highBuilder_.setMessage(value); } dataCase_ = 29; return this; } /** * .org.openfeed.High high = 29; */ public Builder setHigh( org.openfeed.High.Builder builderForValue) { if (highBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { highBuilder_.setMessage(builderForValue.build()); } dataCase_ = 29; return this; } /** * .org.openfeed.High high = 29; */ public Builder mergeHigh(org.openfeed.High value) { if (highBuilder_ == null) { if (dataCase_ == 29 && data_ != org.openfeed.High.getDefaultInstance()) { data_ = org.openfeed.High.newBuilder((org.openfeed.High) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 29) { highBuilder_.mergeFrom(value); } else { highBuilder_.setMessage(value); } } dataCase_ = 29; return this; } /** * .org.openfeed.High high = 29; */ public Builder clearHigh() { if (highBuilder_ == null) { if (dataCase_ == 29) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 29) { dataCase_ = 0; data_ = null; } highBuilder_.clear(); } return this; } /** * .org.openfeed.High high = 29; */ public org.openfeed.High.Builder getHighBuilder() { return getHighFieldBuilder().getBuilder(); } /** * .org.openfeed.High high = 29; */ @java.lang.Override public org.openfeed.HighOrBuilder getHighOrBuilder() { if ((dataCase_ == 29) && (highBuilder_ != null)) { return highBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 29) { return (org.openfeed.High) data_; } return org.openfeed.High.getDefaultInstance(); } } /** * .org.openfeed.High high = 29; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.High, org.openfeed.High.Builder, org.openfeed.HighOrBuilder> getHighFieldBuilder() { if (highBuilder_ == null) { if (!(dataCase_ == 29)) { data_ = org.openfeed.High.getDefaultInstance(); } highBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.High, org.openfeed.High.Builder, org.openfeed.HighOrBuilder>( (org.openfeed.High) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 29; onChanged(); return highBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Low, org.openfeed.Low.Builder, org.openfeed.LowOrBuilder> lowBuilder_; /** * .org.openfeed.Low low = 30; * @return Whether the low field is set. */ @java.lang.Override public boolean hasLow() { return dataCase_ == 30; } /** * .org.openfeed.Low low = 30; * @return The low. */ @java.lang.Override public org.openfeed.Low getLow() { if (lowBuilder_ == null) { if (dataCase_ == 30) { return (org.openfeed.Low) data_; } return org.openfeed.Low.getDefaultInstance(); } else { if (dataCase_ == 30) { return lowBuilder_.getMessage(); } return org.openfeed.Low.getDefaultInstance(); } } /** * .org.openfeed.Low low = 30; */ public Builder setLow(org.openfeed.Low value) { if (lowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { lowBuilder_.setMessage(value); } dataCase_ = 30; return this; } /** * .org.openfeed.Low low = 30; */ public Builder setLow( org.openfeed.Low.Builder builderForValue) { if (lowBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { lowBuilder_.setMessage(builderForValue.build()); } dataCase_ = 30; return this; } /** * .org.openfeed.Low low = 30; */ public Builder mergeLow(org.openfeed.Low value) { if (lowBuilder_ == null) { if (dataCase_ == 30 && data_ != org.openfeed.Low.getDefaultInstance()) { data_ = org.openfeed.Low.newBuilder((org.openfeed.Low) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 30) { lowBuilder_.mergeFrom(value); } else { lowBuilder_.setMessage(value); } } dataCase_ = 30; return this; } /** * .org.openfeed.Low low = 30; */ public Builder clearLow() { if (lowBuilder_ == null) { if (dataCase_ == 30) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 30) { dataCase_ = 0; data_ = null; } lowBuilder_.clear(); } return this; } /** * .org.openfeed.Low low = 30; */ public org.openfeed.Low.Builder getLowBuilder() { return getLowFieldBuilder().getBuilder(); } /** * .org.openfeed.Low low = 30; */ @java.lang.Override public org.openfeed.LowOrBuilder getLowOrBuilder() { if ((dataCase_ == 30) && (lowBuilder_ != null)) { return lowBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 30) { return (org.openfeed.Low) data_; } return org.openfeed.Low.getDefaultInstance(); } } /** * .org.openfeed.Low low = 30; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Low, org.openfeed.Low.Builder, org.openfeed.LowOrBuilder> getLowFieldBuilder() { if (lowBuilder_ == null) { if (!(dataCase_ == 30)) { data_ = org.openfeed.Low.getDefaultInstance(); } lowBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Low, org.openfeed.Low.Builder, org.openfeed.LowOrBuilder>( (org.openfeed.Low) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 30; onChanged(); return lowBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Close, org.openfeed.Close.Builder, org.openfeed.CloseOrBuilder> closeBuilder_; /** * .org.openfeed.Close close = 31; * @return Whether the close field is set. */ @java.lang.Override public boolean hasClose() { return dataCase_ == 31; } /** * .org.openfeed.Close close = 31; * @return The close. */ @java.lang.Override public org.openfeed.Close getClose() { if (closeBuilder_ == null) { if (dataCase_ == 31) { return (org.openfeed.Close) data_; } return org.openfeed.Close.getDefaultInstance(); } else { if (dataCase_ == 31) { return closeBuilder_.getMessage(); } return org.openfeed.Close.getDefaultInstance(); } } /** * .org.openfeed.Close close = 31; */ public Builder setClose(org.openfeed.Close value) { if (closeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { closeBuilder_.setMessage(value); } dataCase_ = 31; return this; } /** * .org.openfeed.Close close = 31; */ public Builder setClose( org.openfeed.Close.Builder builderForValue) { if (closeBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { closeBuilder_.setMessage(builderForValue.build()); } dataCase_ = 31; return this; } /** * .org.openfeed.Close close = 31; */ public Builder mergeClose(org.openfeed.Close value) { if (closeBuilder_ == null) { if (dataCase_ == 31 && data_ != org.openfeed.Close.getDefaultInstance()) { data_ = org.openfeed.Close.newBuilder((org.openfeed.Close) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 31) { closeBuilder_.mergeFrom(value); } else { closeBuilder_.setMessage(value); } } dataCase_ = 31; return this; } /** * .org.openfeed.Close close = 31; */ public Builder clearClose() { if (closeBuilder_ == null) { if (dataCase_ == 31) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 31) { dataCase_ = 0; data_ = null; } closeBuilder_.clear(); } return this; } /** * .org.openfeed.Close close = 31; */ public org.openfeed.Close.Builder getCloseBuilder() { return getCloseFieldBuilder().getBuilder(); } /** * .org.openfeed.Close close = 31; */ @java.lang.Override public org.openfeed.CloseOrBuilder getCloseOrBuilder() { if ((dataCase_ == 31) && (closeBuilder_ != null)) { return closeBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 31) { return (org.openfeed.Close) data_; } return org.openfeed.Close.getDefaultInstance(); } } /** * .org.openfeed.Close close = 31; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Close, org.openfeed.Close.Builder, org.openfeed.CloseOrBuilder> getCloseFieldBuilder() { if (closeBuilder_ == null) { if (!(dataCase_ == 31)) { data_ = org.openfeed.Close.getDefaultInstance(); } closeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Close, org.openfeed.Close.Builder, org.openfeed.CloseOrBuilder>( (org.openfeed.Close) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 31; onChanged(); return closeBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.PrevClose, org.openfeed.PrevClose.Builder, org.openfeed.PrevCloseOrBuilder> prevCloseBuilder_; /** * .org.openfeed.PrevClose prevClose = 32; * @return Whether the prevClose field is set. */ @java.lang.Override public boolean hasPrevClose() { return dataCase_ == 32; } /** * .org.openfeed.PrevClose prevClose = 32; * @return The prevClose. */ @java.lang.Override public org.openfeed.PrevClose getPrevClose() { if (prevCloseBuilder_ == null) { if (dataCase_ == 32) { return (org.openfeed.PrevClose) data_; } return org.openfeed.PrevClose.getDefaultInstance(); } else { if (dataCase_ == 32) { return prevCloseBuilder_.getMessage(); } return org.openfeed.PrevClose.getDefaultInstance(); } } /** * .org.openfeed.PrevClose prevClose = 32; */ public Builder setPrevClose(org.openfeed.PrevClose value) { if (prevCloseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { prevCloseBuilder_.setMessage(value); } dataCase_ = 32; return this; } /** * .org.openfeed.PrevClose prevClose = 32; */ public Builder setPrevClose( org.openfeed.PrevClose.Builder builderForValue) { if (prevCloseBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { prevCloseBuilder_.setMessage(builderForValue.build()); } dataCase_ = 32; return this; } /** * .org.openfeed.PrevClose prevClose = 32; */ public Builder mergePrevClose(org.openfeed.PrevClose value) { if (prevCloseBuilder_ == null) { if (dataCase_ == 32 && data_ != org.openfeed.PrevClose.getDefaultInstance()) { data_ = org.openfeed.PrevClose.newBuilder((org.openfeed.PrevClose) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 32) { prevCloseBuilder_.mergeFrom(value); } else { prevCloseBuilder_.setMessage(value); } } dataCase_ = 32; return this; } /** * .org.openfeed.PrevClose prevClose = 32; */ public Builder clearPrevClose() { if (prevCloseBuilder_ == null) { if (dataCase_ == 32) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 32) { dataCase_ = 0; data_ = null; } prevCloseBuilder_.clear(); } return this; } /** * .org.openfeed.PrevClose prevClose = 32; */ public org.openfeed.PrevClose.Builder getPrevCloseBuilder() { return getPrevCloseFieldBuilder().getBuilder(); } /** * .org.openfeed.PrevClose prevClose = 32; */ @java.lang.Override public org.openfeed.PrevCloseOrBuilder getPrevCloseOrBuilder() { if ((dataCase_ == 32) && (prevCloseBuilder_ != null)) { return prevCloseBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 32) { return (org.openfeed.PrevClose) data_; } return org.openfeed.PrevClose.getDefaultInstance(); } } /** * .org.openfeed.PrevClose prevClose = 32; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.PrevClose, org.openfeed.PrevClose.Builder, org.openfeed.PrevCloseOrBuilder> getPrevCloseFieldBuilder() { if (prevCloseBuilder_ == null) { if (!(dataCase_ == 32)) { data_ = org.openfeed.PrevClose.getDefaultInstance(); } prevCloseBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.PrevClose, org.openfeed.PrevClose.Builder, org.openfeed.PrevCloseOrBuilder>( (org.openfeed.PrevClose) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 32; onChanged(); return prevCloseBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Last, org.openfeed.Last.Builder, org.openfeed.LastOrBuilder> lastBuilder_; /** * .org.openfeed.Last last = 33; * @return Whether the last field is set. */ @java.lang.Override public boolean hasLast() { return dataCase_ == 33; } /** * .org.openfeed.Last last = 33; * @return The last. */ @java.lang.Override public org.openfeed.Last getLast() { if (lastBuilder_ == null) { if (dataCase_ == 33) { return (org.openfeed.Last) data_; } return org.openfeed.Last.getDefaultInstance(); } else { if (dataCase_ == 33) { return lastBuilder_.getMessage(); } return org.openfeed.Last.getDefaultInstance(); } } /** * .org.openfeed.Last last = 33; */ public Builder setLast(org.openfeed.Last value) { if (lastBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { lastBuilder_.setMessage(value); } dataCase_ = 33; return this; } /** * .org.openfeed.Last last = 33; */ public Builder setLast( org.openfeed.Last.Builder builderForValue) { if (lastBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { lastBuilder_.setMessage(builderForValue.build()); } dataCase_ = 33; return this; } /** * .org.openfeed.Last last = 33; */ public Builder mergeLast(org.openfeed.Last value) { if (lastBuilder_ == null) { if (dataCase_ == 33 && data_ != org.openfeed.Last.getDefaultInstance()) { data_ = org.openfeed.Last.newBuilder((org.openfeed.Last) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 33) { lastBuilder_.mergeFrom(value); } else { lastBuilder_.setMessage(value); } } dataCase_ = 33; return this; } /** * .org.openfeed.Last last = 33; */ public Builder clearLast() { if (lastBuilder_ == null) { if (dataCase_ == 33) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 33) { dataCase_ = 0; data_ = null; } lastBuilder_.clear(); } return this; } /** * .org.openfeed.Last last = 33; */ public org.openfeed.Last.Builder getLastBuilder() { return getLastFieldBuilder().getBuilder(); } /** * .org.openfeed.Last last = 33; */ @java.lang.Override public org.openfeed.LastOrBuilder getLastOrBuilder() { if ((dataCase_ == 33) && (lastBuilder_ != null)) { return lastBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 33) { return (org.openfeed.Last) data_; } return org.openfeed.Last.getDefaultInstance(); } } /** * .org.openfeed.Last last = 33; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Last, org.openfeed.Last.Builder, org.openfeed.LastOrBuilder> getLastFieldBuilder() { if (lastBuilder_ == null) { if (!(dataCase_ == 33)) { data_ = org.openfeed.Last.getDefaultInstance(); } lastBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Last, org.openfeed.Last.Builder, org.openfeed.LastOrBuilder>( (org.openfeed.Last) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 33; onChanged(); return lastBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.YearHigh, org.openfeed.YearHigh.Builder, org.openfeed.YearHighOrBuilder> yearHighBuilder_; /** * .org.openfeed.YearHigh yearHigh = 34; * @return Whether the yearHigh field is set. */ @java.lang.Override public boolean hasYearHigh() { return dataCase_ == 34; } /** * .org.openfeed.YearHigh yearHigh = 34; * @return The yearHigh. */ @java.lang.Override public org.openfeed.YearHigh getYearHigh() { if (yearHighBuilder_ == null) { if (dataCase_ == 34) { return (org.openfeed.YearHigh) data_; } return org.openfeed.YearHigh.getDefaultInstance(); } else { if (dataCase_ == 34) { return yearHighBuilder_.getMessage(); } return org.openfeed.YearHigh.getDefaultInstance(); } } /** * .org.openfeed.YearHigh yearHigh = 34; */ public Builder setYearHigh(org.openfeed.YearHigh value) { if (yearHighBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { yearHighBuilder_.setMessage(value); } dataCase_ = 34; return this; } /** * .org.openfeed.YearHigh yearHigh = 34; */ public Builder setYearHigh( org.openfeed.YearHigh.Builder builderForValue) { if (yearHighBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { yearHighBuilder_.setMessage(builderForValue.build()); } dataCase_ = 34; return this; } /** * .org.openfeed.YearHigh yearHigh = 34; */ public Builder mergeYearHigh(org.openfeed.YearHigh value) { if (yearHighBuilder_ == null) { if (dataCase_ == 34 && data_ != org.openfeed.YearHigh.getDefaultInstance()) { data_ = org.openfeed.YearHigh.newBuilder((org.openfeed.YearHigh) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 34) { yearHighBuilder_.mergeFrom(value); } else { yearHighBuilder_.setMessage(value); } } dataCase_ = 34; return this; } /** * .org.openfeed.YearHigh yearHigh = 34; */ public Builder clearYearHigh() { if (yearHighBuilder_ == null) { if (dataCase_ == 34) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 34) { dataCase_ = 0; data_ = null; } yearHighBuilder_.clear(); } return this; } /** * .org.openfeed.YearHigh yearHigh = 34; */ public org.openfeed.YearHigh.Builder getYearHighBuilder() { return getYearHighFieldBuilder().getBuilder(); } /** * .org.openfeed.YearHigh yearHigh = 34; */ @java.lang.Override public org.openfeed.YearHighOrBuilder getYearHighOrBuilder() { if ((dataCase_ == 34) && (yearHighBuilder_ != null)) { return yearHighBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 34) { return (org.openfeed.YearHigh) data_; } return org.openfeed.YearHigh.getDefaultInstance(); } } /** * .org.openfeed.YearHigh yearHigh = 34; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.YearHigh, org.openfeed.YearHigh.Builder, org.openfeed.YearHighOrBuilder> getYearHighFieldBuilder() { if (yearHighBuilder_ == null) { if (!(dataCase_ == 34)) { data_ = org.openfeed.YearHigh.getDefaultInstance(); } yearHighBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.YearHigh, org.openfeed.YearHigh.Builder, org.openfeed.YearHighOrBuilder>( (org.openfeed.YearHigh) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 34; onChanged(); return yearHighBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.YearLow, org.openfeed.YearLow.Builder, org.openfeed.YearLowOrBuilder> yearLowBuilder_; /** * .org.openfeed.YearLow yearLow = 35; * @return Whether the yearLow field is set. */ @java.lang.Override public boolean hasYearLow() { return dataCase_ == 35; } /** * .org.openfeed.YearLow yearLow = 35; * @return The yearLow. */ @java.lang.Override public org.openfeed.YearLow getYearLow() { if (yearLowBuilder_ == null) { if (dataCase_ == 35) { return (org.openfeed.YearLow) data_; } return org.openfeed.YearLow.getDefaultInstance(); } else { if (dataCase_ == 35) { return yearLowBuilder_.getMessage(); } return org.openfeed.YearLow.getDefaultInstance(); } } /** * .org.openfeed.YearLow yearLow = 35; */ public Builder setYearLow(org.openfeed.YearLow value) { if (yearLowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { yearLowBuilder_.setMessage(value); } dataCase_ = 35; return this; } /** * .org.openfeed.YearLow yearLow = 35; */ public Builder setYearLow( org.openfeed.YearLow.Builder builderForValue) { if (yearLowBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { yearLowBuilder_.setMessage(builderForValue.build()); } dataCase_ = 35; return this; } /** * .org.openfeed.YearLow yearLow = 35; */ public Builder mergeYearLow(org.openfeed.YearLow value) { if (yearLowBuilder_ == null) { if (dataCase_ == 35 && data_ != org.openfeed.YearLow.getDefaultInstance()) { data_ = org.openfeed.YearLow.newBuilder((org.openfeed.YearLow) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 35) { yearLowBuilder_.mergeFrom(value); } else { yearLowBuilder_.setMessage(value); } } dataCase_ = 35; return this; } /** * .org.openfeed.YearLow yearLow = 35; */ public Builder clearYearLow() { if (yearLowBuilder_ == null) { if (dataCase_ == 35) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 35) { dataCase_ = 0; data_ = null; } yearLowBuilder_.clear(); } return this; } /** * .org.openfeed.YearLow yearLow = 35; */ public org.openfeed.YearLow.Builder getYearLowBuilder() { return getYearLowFieldBuilder().getBuilder(); } /** * .org.openfeed.YearLow yearLow = 35; */ @java.lang.Override public org.openfeed.YearLowOrBuilder getYearLowOrBuilder() { if ((dataCase_ == 35) && (yearLowBuilder_ != null)) { return yearLowBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 35) { return (org.openfeed.YearLow) data_; } return org.openfeed.YearLow.getDefaultInstance(); } } /** * .org.openfeed.YearLow yearLow = 35; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.YearLow, org.openfeed.YearLow.Builder, org.openfeed.YearLowOrBuilder> getYearLowFieldBuilder() { if (yearLowBuilder_ == null) { if (!(dataCase_ == 35)) { data_ = org.openfeed.YearLow.getDefaultInstance(); } yearLowBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.YearLow, org.openfeed.YearLow.Builder, org.openfeed.YearLowOrBuilder>( (org.openfeed.YearLow) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 35; onChanged(); return yearLowBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder> volumeBuilder_; /** * .org.openfeed.Volume volume = 36; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return dataCase_ == 36; } /** * .org.openfeed.Volume volume = 36; * @return The volume. */ @java.lang.Override public org.openfeed.Volume getVolume() { if (volumeBuilder_ == null) { if (dataCase_ == 36) { return (org.openfeed.Volume) data_; } return org.openfeed.Volume.getDefaultInstance(); } else { if (dataCase_ == 36) { return volumeBuilder_.getMessage(); } return org.openfeed.Volume.getDefaultInstance(); } } /** * .org.openfeed.Volume volume = 36; */ public Builder setVolume(org.openfeed.Volume value) { if (volumeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { volumeBuilder_.setMessage(value); } dataCase_ = 36; return this; } /** * .org.openfeed.Volume volume = 36; */ public Builder setVolume( org.openfeed.Volume.Builder builderForValue) { if (volumeBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { volumeBuilder_.setMessage(builderForValue.build()); } dataCase_ = 36; return this; } /** * .org.openfeed.Volume volume = 36; */ public Builder mergeVolume(org.openfeed.Volume value) { if (volumeBuilder_ == null) { if (dataCase_ == 36 && data_ != org.openfeed.Volume.getDefaultInstance()) { data_ = org.openfeed.Volume.newBuilder((org.openfeed.Volume) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 36) { volumeBuilder_.mergeFrom(value); } else { volumeBuilder_.setMessage(value); } } dataCase_ = 36; return this; } /** * .org.openfeed.Volume volume = 36; */ public Builder clearVolume() { if (volumeBuilder_ == null) { if (dataCase_ == 36) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 36) { dataCase_ = 0; data_ = null; } volumeBuilder_.clear(); } return this; } /** * .org.openfeed.Volume volume = 36; */ public org.openfeed.Volume.Builder getVolumeBuilder() { return getVolumeFieldBuilder().getBuilder(); } /** * .org.openfeed.Volume volume = 36; */ @java.lang.Override public org.openfeed.VolumeOrBuilder getVolumeOrBuilder() { if ((dataCase_ == 36) && (volumeBuilder_ != null)) { return volumeBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 36) { return (org.openfeed.Volume) data_; } return org.openfeed.Volume.getDefaultInstance(); } } /** * .org.openfeed.Volume volume = 36; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder> getVolumeFieldBuilder() { if (volumeBuilder_ == null) { if (!(dataCase_ == 36)) { data_ = org.openfeed.Volume.getDefaultInstance(); } volumeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder>( (org.openfeed.Volume) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 36; onChanged(); return volumeBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Settlement, org.openfeed.Settlement.Builder, org.openfeed.SettlementOrBuilder> settlementBuilder_; /** * .org.openfeed.Settlement settlement = 37; * @return Whether the settlement field is set. */ @java.lang.Override public boolean hasSettlement() { return dataCase_ == 37; } /** * .org.openfeed.Settlement settlement = 37; * @return The settlement. */ @java.lang.Override public org.openfeed.Settlement getSettlement() { if (settlementBuilder_ == null) { if (dataCase_ == 37) { return (org.openfeed.Settlement) data_; } return org.openfeed.Settlement.getDefaultInstance(); } else { if (dataCase_ == 37) { return settlementBuilder_.getMessage(); } return org.openfeed.Settlement.getDefaultInstance(); } } /** * .org.openfeed.Settlement settlement = 37; */ public Builder setSettlement(org.openfeed.Settlement value) { if (settlementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { settlementBuilder_.setMessage(value); } dataCase_ = 37; return this; } /** * .org.openfeed.Settlement settlement = 37; */ public Builder setSettlement( org.openfeed.Settlement.Builder builderForValue) { if (settlementBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { settlementBuilder_.setMessage(builderForValue.build()); } dataCase_ = 37; return this; } /** * .org.openfeed.Settlement settlement = 37; */ public Builder mergeSettlement(org.openfeed.Settlement value) { if (settlementBuilder_ == null) { if (dataCase_ == 37 && data_ != org.openfeed.Settlement.getDefaultInstance()) { data_ = org.openfeed.Settlement.newBuilder((org.openfeed.Settlement) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 37) { settlementBuilder_.mergeFrom(value); } else { settlementBuilder_.setMessage(value); } } dataCase_ = 37; return this; } /** * .org.openfeed.Settlement settlement = 37; */ public Builder clearSettlement() { if (settlementBuilder_ == null) { if (dataCase_ == 37) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 37) { dataCase_ = 0; data_ = null; } settlementBuilder_.clear(); } return this; } /** * .org.openfeed.Settlement settlement = 37; */ public org.openfeed.Settlement.Builder getSettlementBuilder() { return getSettlementFieldBuilder().getBuilder(); } /** * .org.openfeed.Settlement settlement = 37; */ @java.lang.Override public org.openfeed.SettlementOrBuilder getSettlementOrBuilder() { if ((dataCase_ == 37) && (settlementBuilder_ != null)) { return settlementBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 37) { return (org.openfeed.Settlement) data_; } return org.openfeed.Settlement.getDefaultInstance(); } } /** * .org.openfeed.Settlement settlement = 37; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Settlement, org.openfeed.Settlement.Builder, org.openfeed.SettlementOrBuilder> getSettlementFieldBuilder() { if (settlementBuilder_ == null) { if (!(dataCase_ == 37)) { data_ = org.openfeed.Settlement.getDefaultInstance(); } settlementBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Settlement, org.openfeed.Settlement.Builder, org.openfeed.SettlementOrBuilder>( (org.openfeed.Settlement) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 37; onChanged(); return settlementBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.OpenInterest, org.openfeed.OpenInterest.Builder, org.openfeed.OpenInterestOrBuilder> openInterestBuilder_; /** * .org.openfeed.OpenInterest openInterest = 38; * @return Whether the openInterest field is set. */ @java.lang.Override public boolean hasOpenInterest() { return dataCase_ == 38; } /** * .org.openfeed.OpenInterest openInterest = 38; * @return The openInterest. */ @java.lang.Override public org.openfeed.OpenInterest getOpenInterest() { if (openInterestBuilder_ == null) { if (dataCase_ == 38) { return (org.openfeed.OpenInterest) data_; } return org.openfeed.OpenInterest.getDefaultInstance(); } else { if (dataCase_ == 38) { return openInterestBuilder_.getMessage(); } return org.openfeed.OpenInterest.getDefaultInstance(); } } /** * .org.openfeed.OpenInterest openInterest = 38; */ public Builder setOpenInterest(org.openfeed.OpenInterest value) { if (openInterestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { openInterestBuilder_.setMessage(value); } dataCase_ = 38; return this; } /** * .org.openfeed.OpenInterest openInterest = 38; */ public Builder setOpenInterest( org.openfeed.OpenInterest.Builder builderForValue) { if (openInterestBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { openInterestBuilder_.setMessage(builderForValue.build()); } dataCase_ = 38; return this; } /** * .org.openfeed.OpenInterest openInterest = 38; */ public Builder mergeOpenInterest(org.openfeed.OpenInterest value) { if (openInterestBuilder_ == null) { if (dataCase_ == 38 && data_ != org.openfeed.OpenInterest.getDefaultInstance()) { data_ = org.openfeed.OpenInterest.newBuilder((org.openfeed.OpenInterest) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 38) { openInterestBuilder_.mergeFrom(value); } else { openInterestBuilder_.setMessage(value); } } dataCase_ = 38; return this; } /** * .org.openfeed.OpenInterest openInterest = 38; */ public Builder clearOpenInterest() { if (openInterestBuilder_ == null) { if (dataCase_ == 38) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 38) { dataCase_ = 0; data_ = null; } openInterestBuilder_.clear(); } return this; } /** * .org.openfeed.OpenInterest openInterest = 38; */ public org.openfeed.OpenInterest.Builder getOpenInterestBuilder() { return getOpenInterestFieldBuilder().getBuilder(); } /** * .org.openfeed.OpenInterest openInterest = 38; */ @java.lang.Override public org.openfeed.OpenInterestOrBuilder getOpenInterestOrBuilder() { if ((dataCase_ == 38) && (openInterestBuilder_ != null)) { return openInterestBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 38) { return (org.openfeed.OpenInterest) data_; } return org.openfeed.OpenInterest.getDefaultInstance(); } } /** * .org.openfeed.OpenInterest openInterest = 38; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.OpenInterest, org.openfeed.OpenInterest.Builder, org.openfeed.OpenInterestOrBuilder> getOpenInterestFieldBuilder() { if (openInterestBuilder_ == null) { if (!(dataCase_ == 38)) { data_ = org.openfeed.OpenInterest.getDefaultInstance(); } openInterestBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.OpenInterest, org.openfeed.OpenInterest.Builder, org.openfeed.OpenInterestOrBuilder>( (org.openfeed.OpenInterest) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 38; onChanged(); return openInterestBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.Vwap, org.openfeed.Vwap.Builder, org.openfeed.VwapOrBuilder> vwapBuilder_; /** * .org.openfeed.Vwap vwap = 39; * @return Whether the vwap field is set. */ @java.lang.Override public boolean hasVwap() { return dataCase_ == 39; } /** * .org.openfeed.Vwap vwap = 39; * @return The vwap. */ @java.lang.Override public org.openfeed.Vwap getVwap() { if (vwapBuilder_ == null) { if (dataCase_ == 39) { return (org.openfeed.Vwap) data_; } return org.openfeed.Vwap.getDefaultInstance(); } else { if (dataCase_ == 39) { return vwapBuilder_.getMessage(); } return org.openfeed.Vwap.getDefaultInstance(); } } /** * .org.openfeed.Vwap vwap = 39; */ public Builder setVwap(org.openfeed.Vwap value) { if (vwapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { vwapBuilder_.setMessage(value); } dataCase_ = 39; return this; } /** * .org.openfeed.Vwap vwap = 39; */ public Builder setVwap( org.openfeed.Vwap.Builder builderForValue) { if (vwapBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { vwapBuilder_.setMessage(builderForValue.build()); } dataCase_ = 39; return this; } /** * .org.openfeed.Vwap vwap = 39; */ public Builder mergeVwap(org.openfeed.Vwap value) { if (vwapBuilder_ == null) { if (dataCase_ == 39 && data_ != org.openfeed.Vwap.getDefaultInstance()) { data_ = org.openfeed.Vwap.newBuilder((org.openfeed.Vwap) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 39) { vwapBuilder_.mergeFrom(value); } else { vwapBuilder_.setMessage(value); } } dataCase_ = 39; return this; } /** * .org.openfeed.Vwap vwap = 39; */ public Builder clearVwap() { if (vwapBuilder_ == null) { if (dataCase_ == 39) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 39) { dataCase_ = 0; data_ = null; } vwapBuilder_.clear(); } return this; } /** * .org.openfeed.Vwap vwap = 39; */ public org.openfeed.Vwap.Builder getVwapBuilder() { return getVwapFieldBuilder().getBuilder(); } /** * .org.openfeed.Vwap vwap = 39; */ @java.lang.Override public org.openfeed.VwapOrBuilder getVwapOrBuilder() { if ((dataCase_ == 39) && (vwapBuilder_ != null)) { return vwapBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 39) { return (org.openfeed.Vwap) data_; } return org.openfeed.Vwap.getDefaultInstance(); } } /** * .org.openfeed.Vwap vwap = 39; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Vwap, org.openfeed.Vwap.Builder, org.openfeed.VwapOrBuilder> getVwapFieldBuilder() { if (vwapBuilder_ == null) { if (!(dataCase_ == 39)) { data_ = org.openfeed.Vwap.getDefaultInstance(); } vwapBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Vwap, org.openfeed.Vwap.Builder, org.openfeed.VwapOrBuilder>( (org.openfeed.Vwap) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 39; onChanged(); return vwapBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.DividendsIncomeDistributions, org.openfeed.DividendsIncomeDistributions.Builder, org.openfeed.DividendsIncomeDistributionsOrBuilder> dividendsIncomeDistributionsBuilder_; /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; * @return Whether the dividendsIncomeDistributions field is set. */ @java.lang.Override public boolean hasDividendsIncomeDistributions() { return dataCase_ == 40; } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; * @return The dividendsIncomeDistributions. */ @java.lang.Override public org.openfeed.DividendsIncomeDistributions getDividendsIncomeDistributions() { if (dividendsIncomeDistributionsBuilder_ == null) { if (dataCase_ == 40) { return (org.openfeed.DividendsIncomeDistributions) data_; } return org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } else { if (dataCase_ == 40) { return dividendsIncomeDistributionsBuilder_.getMessage(); } return org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ public Builder setDividendsIncomeDistributions(org.openfeed.DividendsIncomeDistributions value) { if (dividendsIncomeDistributionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dividendsIncomeDistributionsBuilder_.setMessage(value); } dataCase_ = 40; return this; } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ public Builder setDividendsIncomeDistributions( org.openfeed.DividendsIncomeDistributions.Builder builderForValue) { if (dividendsIncomeDistributionsBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dividendsIncomeDistributionsBuilder_.setMessage(builderForValue.build()); } dataCase_ = 40; return this; } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ public Builder mergeDividendsIncomeDistributions(org.openfeed.DividendsIncomeDistributions value) { if (dividendsIncomeDistributionsBuilder_ == null) { if (dataCase_ == 40 && data_ != org.openfeed.DividendsIncomeDistributions.getDefaultInstance()) { data_ = org.openfeed.DividendsIncomeDistributions.newBuilder((org.openfeed.DividendsIncomeDistributions) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 40) { dividendsIncomeDistributionsBuilder_.mergeFrom(value); } else { dividendsIncomeDistributionsBuilder_.setMessage(value); } } dataCase_ = 40; return this; } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ public Builder clearDividendsIncomeDistributions() { if (dividendsIncomeDistributionsBuilder_ == null) { if (dataCase_ == 40) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 40) { dataCase_ = 0; data_ = null; } dividendsIncomeDistributionsBuilder_.clear(); } return this; } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ public org.openfeed.DividendsIncomeDistributions.Builder getDividendsIncomeDistributionsBuilder() { return getDividendsIncomeDistributionsFieldBuilder().getBuilder(); } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ @java.lang.Override public org.openfeed.DividendsIncomeDistributionsOrBuilder getDividendsIncomeDistributionsOrBuilder() { if ((dataCase_ == 40) && (dividendsIncomeDistributionsBuilder_ != null)) { return dividendsIncomeDistributionsBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 40) { return (org.openfeed.DividendsIncomeDistributions) data_; } return org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } } /** * .org.openfeed.DividendsIncomeDistributions dividendsIncomeDistributions = 40; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.DividendsIncomeDistributions, org.openfeed.DividendsIncomeDistributions.Builder, org.openfeed.DividendsIncomeDistributionsOrBuilder> getDividendsIncomeDistributionsFieldBuilder() { if (dividendsIncomeDistributionsBuilder_ == null) { if (!(dataCase_ == 40)) { data_ = org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } dividendsIncomeDistributionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.DividendsIncomeDistributions, org.openfeed.DividendsIncomeDistributions.Builder, org.openfeed.DividendsIncomeDistributionsOrBuilder>( (org.openfeed.DividendsIncomeDistributions) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 40; onChanged(); return dividendsIncomeDistributionsBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.NumberOfTrades, org.openfeed.NumberOfTrades.Builder, org.openfeed.NumberOfTradesOrBuilder> numberOfTradesBuilder_; /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; * @return Whether the numberOfTrades field is set. */ @java.lang.Override public boolean hasNumberOfTrades() { return dataCase_ == 41; } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; * @return The numberOfTrades. */ @java.lang.Override public org.openfeed.NumberOfTrades getNumberOfTrades() { if (numberOfTradesBuilder_ == null) { if (dataCase_ == 41) { return (org.openfeed.NumberOfTrades) data_; } return org.openfeed.NumberOfTrades.getDefaultInstance(); } else { if (dataCase_ == 41) { return numberOfTradesBuilder_.getMessage(); } return org.openfeed.NumberOfTrades.getDefaultInstance(); } } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ public Builder setNumberOfTrades(org.openfeed.NumberOfTrades value) { if (numberOfTradesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { numberOfTradesBuilder_.setMessage(value); } dataCase_ = 41; return this; } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ public Builder setNumberOfTrades( org.openfeed.NumberOfTrades.Builder builderForValue) { if (numberOfTradesBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { numberOfTradesBuilder_.setMessage(builderForValue.build()); } dataCase_ = 41; return this; } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ public Builder mergeNumberOfTrades(org.openfeed.NumberOfTrades value) { if (numberOfTradesBuilder_ == null) { if (dataCase_ == 41 && data_ != org.openfeed.NumberOfTrades.getDefaultInstance()) { data_ = org.openfeed.NumberOfTrades.newBuilder((org.openfeed.NumberOfTrades) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 41) { numberOfTradesBuilder_.mergeFrom(value); } else { numberOfTradesBuilder_.setMessage(value); } } dataCase_ = 41; return this; } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ public Builder clearNumberOfTrades() { if (numberOfTradesBuilder_ == null) { if (dataCase_ == 41) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 41) { dataCase_ = 0; data_ = null; } numberOfTradesBuilder_.clear(); } return this; } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ public org.openfeed.NumberOfTrades.Builder getNumberOfTradesBuilder() { return getNumberOfTradesFieldBuilder().getBuilder(); } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ @java.lang.Override public org.openfeed.NumberOfTradesOrBuilder getNumberOfTradesOrBuilder() { if ((dataCase_ == 41) && (numberOfTradesBuilder_ != null)) { return numberOfTradesBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 41) { return (org.openfeed.NumberOfTrades) data_; } return org.openfeed.NumberOfTrades.getDefaultInstance(); } } /** * .org.openfeed.NumberOfTrades numberOfTrades = 41; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.NumberOfTrades, org.openfeed.NumberOfTrades.Builder, org.openfeed.NumberOfTradesOrBuilder> getNumberOfTradesFieldBuilder() { if (numberOfTradesBuilder_ == null) { if (!(dataCase_ == 41)) { data_ = org.openfeed.NumberOfTrades.getDefaultInstance(); } numberOfTradesBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.NumberOfTrades, org.openfeed.NumberOfTrades.Builder, org.openfeed.NumberOfTradesOrBuilder>( (org.openfeed.NumberOfTrades) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 41; onChanged(); return numberOfTradesBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.MonetaryValue, org.openfeed.MonetaryValue.Builder, org.openfeed.MonetaryValueOrBuilder> monetaryValueBuilder_; /** * .org.openfeed.MonetaryValue monetaryValue = 42; * @return Whether the monetaryValue field is set. */ @java.lang.Override public boolean hasMonetaryValue() { return dataCase_ == 42; } /** * .org.openfeed.MonetaryValue monetaryValue = 42; * @return The monetaryValue. */ @java.lang.Override public org.openfeed.MonetaryValue getMonetaryValue() { if (monetaryValueBuilder_ == null) { if (dataCase_ == 42) { return (org.openfeed.MonetaryValue) data_; } return org.openfeed.MonetaryValue.getDefaultInstance(); } else { if (dataCase_ == 42) { return monetaryValueBuilder_.getMessage(); } return org.openfeed.MonetaryValue.getDefaultInstance(); } } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ public Builder setMonetaryValue(org.openfeed.MonetaryValue value) { if (monetaryValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { monetaryValueBuilder_.setMessage(value); } dataCase_ = 42; return this; } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ public Builder setMonetaryValue( org.openfeed.MonetaryValue.Builder builderForValue) { if (monetaryValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { monetaryValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 42; return this; } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ public Builder mergeMonetaryValue(org.openfeed.MonetaryValue value) { if (monetaryValueBuilder_ == null) { if (dataCase_ == 42 && data_ != org.openfeed.MonetaryValue.getDefaultInstance()) { data_ = org.openfeed.MonetaryValue.newBuilder((org.openfeed.MonetaryValue) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 42) { monetaryValueBuilder_.mergeFrom(value); } else { monetaryValueBuilder_.setMessage(value); } } dataCase_ = 42; return this; } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ public Builder clearMonetaryValue() { if (monetaryValueBuilder_ == null) { if (dataCase_ == 42) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 42) { dataCase_ = 0; data_ = null; } monetaryValueBuilder_.clear(); } return this; } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ public org.openfeed.MonetaryValue.Builder getMonetaryValueBuilder() { return getMonetaryValueFieldBuilder().getBuilder(); } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ @java.lang.Override public org.openfeed.MonetaryValueOrBuilder getMonetaryValueOrBuilder() { if ((dataCase_ == 42) && (monetaryValueBuilder_ != null)) { return monetaryValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 42) { return (org.openfeed.MonetaryValue) data_; } return org.openfeed.MonetaryValue.getDefaultInstance(); } } /** * .org.openfeed.MonetaryValue monetaryValue = 42; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.MonetaryValue, org.openfeed.MonetaryValue.Builder, org.openfeed.MonetaryValueOrBuilder> getMonetaryValueFieldBuilder() { if (monetaryValueBuilder_ == null) { if (!(dataCase_ == 42)) { data_ = org.openfeed.MonetaryValue.getDefaultInstance(); } monetaryValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.MonetaryValue, org.openfeed.MonetaryValue.Builder, org.openfeed.MonetaryValueOrBuilder>( (org.openfeed.MonetaryValue) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 42; onChanged(); return monetaryValueBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.CapitalDistributions, org.openfeed.CapitalDistributions.Builder, org.openfeed.CapitalDistributionsOrBuilder> capitalDistributionsBuilder_; /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; * @return Whether the capitalDistributions field is set. */ @java.lang.Override public boolean hasCapitalDistributions() { return dataCase_ == 43; } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; * @return The capitalDistributions. */ @java.lang.Override public org.openfeed.CapitalDistributions getCapitalDistributions() { if (capitalDistributionsBuilder_ == null) { if (dataCase_ == 43) { return (org.openfeed.CapitalDistributions) data_; } return org.openfeed.CapitalDistributions.getDefaultInstance(); } else { if (dataCase_ == 43) { return capitalDistributionsBuilder_.getMessage(); } return org.openfeed.CapitalDistributions.getDefaultInstance(); } } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ public Builder setCapitalDistributions(org.openfeed.CapitalDistributions value) { if (capitalDistributionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { capitalDistributionsBuilder_.setMessage(value); } dataCase_ = 43; return this; } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ public Builder setCapitalDistributions( org.openfeed.CapitalDistributions.Builder builderForValue) { if (capitalDistributionsBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { capitalDistributionsBuilder_.setMessage(builderForValue.build()); } dataCase_ = 43; return this; } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ public Builder mergeCapitalDistributions(org.openfeed.CapitalDistributions value) { if (capitalDistributionsBuilder_ == null) { if (dataCase_ == 43 && data_ != org.openfeed.CapitalDistributions.getDefaultInstance()) { data_ = org.openfeed.CapitalDistributions.newBuilder((org.openfeed.CapitalDistributions) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 43) { capitalDistributionsBuilder_.mergeFrom(value); } else { capitalDistributionsBuilder_.setMessage(value); } } dataCase_ = 43; return this; } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ public Builder clearCapitalDistributions() { if (capitalDistributionsBuilder_ == null) { if (dataCase_ == 43) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 43) { dataCase_ = 0; data_ = null; } capitalDistributionsBuilder_.clear(); } return this; } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ public org.openfeed.CapitalDistributions.Builder getCapitalDistributionsBuilder() { return getCapitalDistributionsFieldBuilder().getBuilder(); } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ @java.lang.Override public org.openfeed.CapitalDistributionsOrBuilder getCapitalDistributionsOrBuilder() { if ((dataCase_ == 43) && (capitalDistributionsBuilder_ != null)) { return capitalDistributionsBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 43) { return (org.openfeed.CapitalDistributions) data_; } return org.openfeed.CapitalDistributions.getDefaultInstance(); } } /** * .org.openfeed.CapitalDistributions capitalDistributions = 43; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.CapitalDistributions, org.openfeed.CapitalDistributions.Builder, org.openfeed.CapitalDistributionsOrBuilder> getCapitalDistributionsFieldBuilder() { if (capitalDistributionsBuilder_ == null) { if (!(dataCase_ == 43)) { data_ = org.openfeed.CapitalDistributions.getDefaultInstance(); } capitalDistributionsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.CapitalDistributions, org.openfeed.CapitalDistributions.Builder, org.openfeed.CapitalDistributionsOrBuilder>( (org.openfeed.CapitalDistributions) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 43; onChanged(); return capitalDistributionsBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.SharesOutstanding, org.openfeed.SharesOutstanding.Builder, org.openfeed.SharesOutstandingOrBuilder> sharesOutstandingBuilder_; /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; * @return Whether the sharesOutstanding field is set. */ @java.lang.Override public boolean hasSharesOutstanding() { return dataCase_ == 44; } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; * @return The sharesOutstanding. */ @java.lang.Override public org.openfeed.SharesOutstanding getSharesOutstanding() { if (sharesOutstandingBuilder_ == null) { if (dataCase_ == 44) { return (org.openfeed.SharesOutstanding) data_; } return org.openfeed.SharesOutstanding.getDefaultInstance(); } else { if (dataCase_ == 44) { return sharesOutstandingBuilder_.getMessage(); } return org.openfeed.SharesOutstanding.getDefaultInstance(); } } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ public Builder setSharesOutstanding(org.openfeed.SharesOutstanding value) { if (sharesOutstandingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { sharesOutstandingBuilder_.setMessage(value); } dataCase_ = 44; return this; } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ public Builder setSharesOutstanding( org.openfeed.SharesOutstanding.Builder builderForValue) { if (sharesOutstandingBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { sharesOutstandingBuilder_.setMessage(builderForValue.build()); } dataCase_ = 44; return this; } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ public Builder mergeSharesOutstanding(org.openfeed.SharesOutstanding value) { if (sharesOutstandingBuilder_ == null) { if (dataCase_ == 44 && data_ != org.openfeed.SharesOutstanding.getDefaultInstance()) { data_ = org.openfeed.SharesOutstanding.newBuilder((org.openfeed.SharesOutstanding) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 44) { sharesOutstandingBuilder_.mergeFrom(value); } else { sharesOutstandingBuilder_.setMessage(value); } } dataCase_ = 44; return this; } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ public Builder clearSharesOutstanding() { if (sharesOutstandingBuilder_ == null) { if (dataCase_ == 44) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 44) { dataCase_ = 0; data_ = null; } sharesOutstandingBuilder_.clear(); } return this; } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ public org.openfeed.SharesOutstanding.Builder getSharesOutstandingBuilder() { return getSharesOutstandingFieldBuilder().getBuilder(); } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ @java.lang.Override public org.openfeed.SharesOutstandingOrBuilder getSharesOutstandingOrBuilder() { if ((dataCase_ == 44) && (sharesOutstandingBuilder_ != null)) { return sharesOutstandingBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 44) { return (org.openfeed.SharesOutstanding) data_; } return org.openfeed.SharesOutstanding.getDefaultInstance(); } } /** * .org.openfeed.SharesOutstanding sharesOutstanding = 44; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.SharesOutstanding, org.openfeed.SharesOutstanding.Builder, org.openfeed.SharesOutstandingOrBuilder> getSharesOutstandingFieldBuilder() { if (sharesOutstandingBuilder_ == null) { if (!(dataCase_ == 44)) { data_ = org.openfeed.SharesOutstanding.getDefaultInstance(); } sharesOutstandingBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.SharesOutstanding, org.openfeed.SharesOutstanding.Builder, org.openfeed.SharesOutstandingOrBuilder>( (org.openfeed.SharesOutstanding) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 44; onChanged(); return sharesOutstandingBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.NetAssetValue, org.openfeed.NetAssetValue.Builder, org.openfeed.NetAssetValueOrBuilder> netAssetValueBuilder_; /** * .org.openfeed.NetAssetValue netAssetValue = 45; * @return Whether the netAssetValue field is set. */ @java.lang.Override public boolean hasNetAssetValue() { return dataCase_ == 45; } /** * .org.openfeed.NetAssetValue netAssetValue = 45; * @return The netAssetValue. */ @java.lang.Override public org.openfeed.NetAssetValue getNetAssetValue() { if (netAssetValueBuilder_ == null) { if (dataCase_ == 45) { return (org.openfeed.NetAssetValue) data_; } return org.openfeed.NetAssetValue.getDefaultInstance(); } else { if (dataCase_ == 45) { return netAssetValueBuilder_.getMessage(); } return org.openfeed.NetAssetValue.getDefaultInstance(); } } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ public Builder setNetAssetValue(org.openfeed.NetAssetValue value) { if (netAssetValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { netAssetValueBuilder_.setMessage(value); } dataCase_ = 45; return this; } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ public Builder setNetAssetValue( org.openfeed.NetAssetValue.Builder builderForValue) { if (netAssetValueBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { netAssetValueBuilder_.setMessage(builderForValue.build()); } dataCase_ = 45; return this; } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ public Builder mergeNetAssetValue(org.openfeed.NetAssetValue value) { if (netAssetValueBuilder_ == null) { if (dataCase_ == 45 && data_ != org.openfeed.NetAssetValue.getDefaultInstance()) { data_ = org.openfeed.NetAssetValue.newBuilder((org.openfeed.NetAssetValue) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 45) { netAssetValueBuilder_.mergeFrom(value); } else { netAssetValueBuilder_.setMessage(value); } } dataCase_ = 45; return this; } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ public Builder clearNetAssetValue() { if (netAssetValueBuilder_ == null) { if (dataCase_ == 45) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 45) { dataCase_ = 0; data_ = null; } netAssetValueBuilder_.clear(); } return this; } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ public org.openfeed.NetAssetValue.Builder getNetAssetValueBuilder() { return getNetAssetValueFieldBuilder().getBuilder(); } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ @java.lang.Override public org.openfeed.NetAssetValueOrBuilder getNetAssetValueOrBuilder() { if ((dataCase_ == 45) && (netAssetValueBuilder_ != null)) { return netAssetValueBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 45) { return (org.openfeed.NetAssetValue) data_; } return org.openfeed.NetAssetValue.getDefaultInstance(); } } /** * .org.openfeed.NetAssetValue netAssetValue = 45; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.NetAssetValue, org.openfeed.NetAssetValue.Builder, org.openfeed.NetAssetValueOrBuilder> getNetAssetValueFieldBuilder() { if (netAssetValueBuilder_ == null) { if (!(dataCase_ == 45)) { data_ = org.openfeed.NetAssetValue.getDefaultInstance(); } netAssetValueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.NetAssetValue, org.openfeed.NetAssetValue.Builder, org.openfeed.NetAssetValueOrBuilder>( (org.openfeed.NetAssetValue) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 45; onChanged(); return netAssetValueBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSummary, org.openfeed.MarketSummary.Builder, org.openfeed.MarketSummaryOrBuilder> marketSummaryBuilder_; /** * .org.openfeed.MarketSummary marketSummary = 46; * @return Whether the marketSummary field is set. */ @java.lang.Override public boolean hasMarketSummary() { return dataCase_ == 46; } /** * .org.openfeed.MarketSummary marketSummary = 46; * @return The marketSummary. */ @java.lang.Override public org.openfeed.MarketSummary getMarketSummary() { if (marketSummaryBuilder_ == null) { if (dataCase_ == 46) { return (org.openfeed.MarketSummary) data_; } return org.openfeed.MarketSummary.getDefaultInstance(); } else { if (dataCase_ == 46) { return marketSummaryBuilder_.getMessage(); } return org.openfeed.MarketSummary.getDefaultInstance(); } } /** * .org.openfeed.MarketSummary marketSummary = 46; */ public Builder setMarketSummary(org.openfeed.MarketSummary value) { if (marketSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { marketSummaryBuilder_.setMessage(value); } dataCase_ = 46; return this; } /** * .org.openfeed.MarketSummary marketSummary = 46; */ public Builder setMarketSummary( org.openfeed.MarketSummary.Builder builderForValue) { if (marketSummaryBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { marketSummaryBuilder_.setMessage(builderForValue.build()); } dataCase_ = 46; return this; } /** * .org.openfeed.MarketSummary marketSummary = 46; */ public Builder mergeMarketSummary(org.openfeed.MarketSummary value) { if (marketSummaryBuilder_ == null) { if (dataCase_ == 46 && data_ != org.openfeed.MarketSummary.getDefaultInstance()) { data_ = org.openfeed.MarketSummary.newBuilder((org.openfeed.MarketSummary) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 46) { marketSummaryBuilder_.mergeFrom(value); } else { marketSummaryBuilder_.setMessage(value); } } dataCase_ = 46; return this; } /** * .org.openfeed.MarketSummary marketSummary = 46; */ public Builder clearMarketSummary() { if (marketSummaryBuilder_ == null) { if (dataCase_ == 46) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 46) { dataCase_ = 0; data_ = null; } marketSummaryBuilder_.clear(); } return this; } /** * .org.openfeed.MarketSummary marketSummary = 46; */ public org.openfeed.MarketSummary.Builder getMarketSummaryBuilder() { return getMarketSummaryFieldBuilder().getBuilder(); } /** * .org.openfeed.MarketSummary marketSummary = 46; */ @java.lang.Override public org.openfeed.MarketSummaryOrBuilder getMarketSummaryOrBuilder() { if ((dataCase_ == 46) && (marketSummaryBuilder_ != null)) { return marketSummaryBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 46) { return (org.openfeed.MarketSummary) data_; } return org.openfeed.MarketSummary.getDefaultInstance(); } } /** * .org.openfeed.MarketSummary marketSummary = 46; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSummary, org.openfeed.MarketSummary.Builder, org.openfeed.MarketSummaryOrBuilder> getMarketSummaryFieldBuilder() { if (marketSummaryBuilder_ == null) { if (!(dataCase_ == 46)) { data_ = org.openfeed.MarketSummary.getDefaultInstance(); } marketSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.MarketSummary, org.openfeed.MarketSummary.Builder, org.openfeed.MarketSummaryOrBuilder>( (org.openfeed.MarketSummary) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 46; onChanged(); return marketSummaryBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.HighRolling, org.openfeed.HighRolling.Builder, org.openfeed.HighRollingOrBuilder> highRollingBuilder_; /** * .org.openfeed.HighRolling highRolling = 47; * @return Whether the highRolling field is set. */ @java.lang.Override public boolean hasHighRolling() { return dataCase_ == 47; } /** * .org.openfeed.HighRolling highRolling = 47; * @return The highRolling. */ @java.lang.Override public org.openfeed.HighRolling getHighRolling() { if (highRollingBuilder_ == null) { if (dataCase_ == 47) { return (org.openfeed.HighRolling) data_; } return org.openfeed.HighRolling.getDefaultInstance(); } else { if (dataCase_ == 47) { return highRollingBuilder_.getMessage(); } return org.openfeed.HighRolling.getDefaultInstance(); } } /** * .org.openfeed.HighRolling highRolling = 47; */ public Builder setHighRolling(org.openfeed.HighRolling value) { if (highRollingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { highRollingBuilder_.setMessage(value); } dataCase_ = 47; return this; } /** * .org.openfeed.HighRolling highRolling = 47; */ public Builder setHighRolling( org.openfeed.HighRolling.Builder builderForValue) { if (highRollingBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { highRollingBuilder_.setMessage(builderForValue.build()); } dataCase_ = 47; return this; } /** * .org.openfeed.HighRolling highRolling = 47; */ public Builder mergeHighRolling(org.openfeed.HighRolling value) { if (highRollingBuilder_ == null) { if (dataCase_ == 47 && data_ != org.openfeed.HighRolling.getDefaultInstance()) { data_ = org.openfeed.HighRolling.newBuilder((org.openfeed.HighRolling) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 47) { highRollingBuilder_.mergeFrom(value); } else { highRollingBuilder_.setMessage(value); } } dataCase_ = 47; return this; } /** * .org.openfeed.HighRolling highRolling = 47; */ public Builder clearHighRolling() { if (highRollingBuilder_ == null) { if (dataCase_ == 47) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 47) { dataCase_ = 0; data_ = null; } highRollingBuilder_.clear(); } return this; } /** * .org.openfeed.HighRolling highRolling = 47; */ public org.openfeed.HighRolling.Builder getHighRollingBuilder() { return getHighRollingFieldBuilder().getBuilder(); } /** * .org.openfeed.HighRolling highRolling = 47; */ @java.lang.Override public org.openfeed.HighRollingOrBuilder getHighRollingOrBuilder() { if ((dataCase_ == 47) && (highRollingBuilder_ != null)) { return highRollingBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 47) { return (org.openfeed.HighRolling) data_; } return org.openfeed.HighRolling.getDefaultInstance(); } } /** * .org.openfeed.HighRolling highRolling = 47; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.HighRolling, org.openfeed.HighRolling.Builder, org.openfeed.HighRollingOrBuilder> getHighRollingFieldBuilder() { if (highRollingBuilder_ == null) { if (!(dataCase_ == 47)) { data_ = org.openfeed.HighRolling.getDefaultInstance(); } highRollingBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.HighRolling, org.openfeed.HighRolling.Builder, org.openfeed.HighRollingOrBuilder>( (org.openfeed.HighRolling) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 47; onChanged(); return highRollingBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.LowRolling, org.openfeed.LowRolling.Builder, org.openfeed.LowRollingOrBuilder> lowRollingBuilder_; /** * .org.openfeed.LowRolling lowRolling = 48; * @return Whether the lowRolling field is set. */ @java.lang.Override public boolean hasLowRolling() { return dataCase_ == 48; } /** * .org.openfeed.LowRolling lowRolling = 48; * @return The lowRolling. */ @java.lang.Override public org.openfeed.LowRolling getLowRolling() { if (lowRollingBuilder_ == null) { if (dataCase_ == 48) { return (org.openfeed.LowRolling) data_; } return org.openfeed.LowRolling.getDefaultInstance(); } else { if (dataCase_ == 48) { return lowRollingBuilder_.getMessage(); } return org.openfeed.LowRolling.getDefaultInstance(); } } /** * .org.openfeed.LowRolling lowRolling = 48; */ public Builder setLowRolling(org.openfeed.LowRolling value) { if (lowRollingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { lowRollingBuilder_.setMessage(value); } dataCase_ = 48; return this; } /** * .org.openfeed.LowRolling lowRolling = 48; */ public Builder setLowRolling( org.openfeed.LowRolling.Builder builderForValue) { if (lowRollingBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { lowRollingBuilder_.setMessage(builderForValue.build()); } dataCase_ = 48; return this; } /** * .org.openfeed.LowRolling lowRolling = 48; */ public Builder mergeLowRolling(org.openfeed.LowRolling value) { if (lowRollingBuilder_ == null) { if (dataCase_ == 48 && data_ != org.openfeed.LowRolling.getDefaultInstance()) { data_ = org.openfeed.LowRolling.newBuilder((org.openfeed.LowRolling) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 48) { lowRollingBuilder_.mergeFrom(value); } else { lowRollingBuilder_.setMessage(value); } } dataCase_ = 48; return this; } /** * .org.openfeed.LowRolling lowRolling = 48; */ public Builder clearLowRolling() { if (lowRollingBuilder_ == null) { if (dataCase_ == 48) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 48) { dataCase_ = 0; data_ = null; } lowRollingBuilder_.clear(); } return this; } /** * .org.openfeed.LowRolling lowRolling = 48; */ public org.openfeed.LowRolling.Builder getLowRollingBuilder() { return getLowRollingFieldBuilder().getBuilder(); } /** * .org.openfeed.LowRolling lowRolling = 48; */ @java.lang.Override public org.openfeed.LowRollingOrBuilder getLowRollingOrBuilder() { if ((dataCase_ == 48) && (lowRollingBuilder_ != null)) { return lowRollingBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 48) { return (org.openfeed.LowRolling) data_; } return org.openfeed.LowRolling.getDefaultInstance(); } } /** * .org.openfeed.LowRolling lowRolling = 48; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.LowRolling, org.openfeed.LowRolling.Builder, org.openfeed.LowRollingOrBuilder> getLowRollingFieldBuilder() { if (lowRollingBuilder_ == null) { if (!(dataCase_ == 48)) { data_ = org.openfeed.LowRolling.getDefaultInstance(); } lowRollingBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.LowRolling, org.openfeed.LowRolling.Builder, org.openfeed.LowRollingOrBuilder>( (org.openfeed.LowRolling) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 48; onChanged(); return lowRollingBuilder_; } private com.google.protobuf.SingleFieldBuilder< org.openfeed.RequestForQuote, org.openfeed.RequestForQuote.Builder, org.openfeed.RequestForQuoteOrBuilder> requestForQuoteBuilder_; /** * .org.openfeed.RequestForQuote requestForQuote = 49; * @return Whether the requestForQuote field is set. */ @java.lang.Override public boolean hasRequestForQuote() { return dataCase_ == 49; } /** * .org.openfeed.RequestForQuote requestForQuote = 49; * @return The requestForQuote. */ @java.lang.Override public org.openfeed.RequestForQuote getRequestForQuote() { if (requestForQuoteBuilder_ == null) { if (dataCase_ == 49) { return (org.openfeed.RequestForQuote) data_; } return org.openfeed.RequestForQuote.getDefaultInstance(); } else { if (dataCase_ == 49) { return requestForQuoteBuilder_.getMessage(); } return org.openfeed.RequestForQuote.getDefaultInstance(); } } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ public Builder setRequestForQuote(org.openfeed.RequestForQuote value) { if (requestForQuoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { requestForQuoteBuilder_.setMessage(value); } dataCase_ = 49; return this; } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ public Builder setRequestForQuote( org.openfeed.RequestForQuote.Builder builderForValue) { if (requestForQuoteBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { requestForQuoteBuilder_.setMessage(builderForValue.build()); } dataCase_ = 49; return this; } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ public Builder mergeRequestForQuote(org.openfeed.RequestForQuote value) { if (requestForQuoteBuilder_ == null) { if (dataCase_ == 49 && data_ != org.openfeed.RequestForQuote.getDefaultInstance()) { data_ = org.openfeed.RequestForQuote.newBuilder((org.openfeed.RequestForQuote) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 49) { requestForQuoteBuilder_.mergeFrom(value); } else { requestForQuoteBuilder_.setMessage(value); } } dataCase_ = 49; return this; } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ public Builder clearRequestForQuote() { if (requestForQuoteBuilder_ == null) { if (dataCase_ == 49) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 49) { dataCase_ = 0; data_ = null; } requestForQuoteBuilder_.clear(); } return this; } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ public org.openfeed.RequestForQuote.Builder getRequestForQuoteBuilder() { return getRequestForQuoteFieldBuilder().getBuilder(); } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ @java.lang.Override public org.openfeed.RequestForQuoteOrBuilder getRequestForQuoteOrBuilder() { if ((dataCase_ == 49) && (requestForQuoteBuilder_ != null)) { return requestForQuoteBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 49) { return (org.openfeed.RequestForQuote) data_; } return org.openfeed.RequestForQuote.getDefaultInstance(); } } /** * .org.openfeed.RequestForQuote requestForQuote = 49; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.RequestForQuote, org.openfeed.RequestForQuote.Builder, org.openfeed.RequestForQuoteOrBuilder> getRequestForQuoteFieldBuilder() { if (requestForQuoteBuilder_ == null) { if (!(dataCase_ == 49)) { data_ = org.openfeed.RequestForQuote.getDefaultInstance(); } requestForQuoteBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.RequestForQuote, org.openfeed.RequestForQuote.Builder, org.openfeed.RequestForQuoteOrBuilder>( (org.openfeed.RequestForQuote) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 49; onChanged(); return requestForQuoteBuilder_; } // @@protoc_insertion_point(builder_scope:org.openfeed.MarketUpdate) } // @@protoc_insertion_point(class_scope:org.openfeed.MarketUpdate) private static final org.openfeed.MarketUpdate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.openfeed.MarketUpdate(); } public static org.openfeed.MarketUpdate getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MarketUpdate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.openfeed.MarketUpdate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy