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

org.openfeed.MarketSummary 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;

/**
 * 
 * / Intra and EOD Market Summary
 * 
* * Protobuf type {@code org.openfeed.MarketSummary} */ public final class MarketSummary extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org.openfeed.MarketSummary) MarketSummaryOrBuilder { 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= */ "", MarketSummary.class.getName()); } // Use MarketSummary.newBuilder() to construct. private MarketSummary(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MarketSummary() { clear_ = 0; session_ = ""; summaryType_ = 0; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openfeed.MarketSummary.class, org.openfeed.MarketSummary.Builder.class); } /** *
   * Clears sets of fields
   * 
* * Protobuf enum {@code org.openfeed.MarketSummary.ClearSet} */ public enum ClearSet implements com.google.protobuf.ProtocolMessageEnum { /** * NONE = 0; */ NONE(0), /** * ALL = 1; */ ALL(1), /** * BA = 2; */ BA(2), /** * CUSTOM_1 = 3; */ CUSTOM_1(3), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 3, /* suffix= */ "", ClearSet.class.getName()); } /** * NONE = 0; */ public static final int NONE_VALUE = 0; /** * ALL = 1; */ public static final int ALL_VALUE = 1; /** * BA = 2; */ public static final int BA_VALUE = 2; /** * CUSTOM_1 = 3; */ public static final int CUSTOM_1_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ClearSet valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ClearSet forNumber(int value) { switch (value) { case 0: return NONE; case 1: return ALL; case 2: return BA; case 3: return CUSTOM_1; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ClearSet> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ClearSet findValueByNumber(int number) { return ClearSet.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.openfeed.MarketSummary.getDescriptor().getEnumTypes().get(0); } private static final ClearSet[] VALUES = values(); public static ClearSet valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ClearSet(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.openfeed.MarketSummary.ClearSet) } /** *
   * / Used to differentiate various ddf messages.
   * 
* * Protobuf enum {@code org.openfeed.MarketSummary.SummaryType} */ public enum SummaryType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * DDF 2/1 Exchange refresh
     * 
* * EXCHANGE_REFRESH = 0; */ EXCHANGE_REFRESH(0), /** *
     * DDF 2/6 Live Prices refresh
     * 
* * REFRESH_LIVE_PRICE = 1; */ REFRESH_LIVE_PRICE(1), /** *
     * DDF 3/C end-of-day commodity prices
     * 
* * EOD_COMMODITY_PRICES = 2; */ EOD_COMMODITY_PRICES(2), /** *
     * DDF 3/S end-of-day stock and forex prices and volume
     * 
* * EOD_STOCK_FOREX_PRICES = 3; */ EOD_STOCK_FOREX_PRICES(3), /** *
     * DDF 3/I end-of-day commodity volume and open interest message
     * 
* * EOD_COMMODITY_STATS = 4; */ EOD_COMMODITY_STATS(4), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 3, /* suffix= */ "", SummaryType.class.getName()); } /** *
     * DDF 2/1 Exchange refresh
     * 
* * EXCHANGE_REFRESH = 0; */ public static final int EXCHANGE_REFRESH_VALUE = 0; /** *
     * DDF 2/6 Live Prices refresh
     * 
* * REFRESH_LIVE_PRICE = 1; */ public static final int REFRESH_LIVE_PRICE_VALUE = 1; /** *
     * DDF 3/C end-of-day commodity prices
     * 
* * EOD_COMMODITY_PRICES = 2; */ public static final int EOD_COMMODITY_PRICES_VALUE = 2; /** *
     * DDF 3/S end-of-day stock and forex prices and volume
     * 
* * EOD_STOCK_FOREX_PRICES = 3; */ public static final int EOD_STOCK_FOREX_PRICES_VALUE = 3; /** *
     * DDF 3/I end-of-day commodity volume and open interest message
     * 
* * EOD_COMMODITY_STATS = 4; */ public static final int EOD_COMMODITY_STATS_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SummaryType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static SummaryType forNumber(int value) { switch (value) { case 0: return EXCHANGE_REFRESH; case 1: return REFRESH_LIVE_PRICE; case 2: return EOD_COMMODITY_PRICES; case 3: return EOD_STOCK_FOREX_PRICES; case 4: return EOD_COMMODITY_STATS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SummaryType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SummaryType findValueByNumber(int number) { return SummaryType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.openfeed.MarketSummary.getDescriptor().getEnumTypes().get(1); } private static final SummaryType[] VALUES = values(); public static SummaryType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private SummaryType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org.openfeed.MarketSummary.SummaryType) } private int bitField0_; public static final int TRANSACTIONTIME_FIELD_NUMBER = 1; private long transactionTime_ = 0L; /** * sint64 transactionTime = 1; * @return The transactionTime. */ @java.lang.Override public long getTransactionTime() { return transactionTime_; } public static final int TRADINGDATE_FIELD_NUMBER = 2; private int tradingDate_ = 0; /** *
   * / Date only, format 2012-07-04 -> 20120704
   * 
* * sint32 tradingDate = 2; * @return The tradingDate. */ @java.lang.Override public int getTradingDate() { return tradingDate_; } public static final int STARTOFDAY_FIELD_NUMBER = 3; private boolean startOfDay_ = false; /** * bool startOfDay = 3; * @return The startOfDay. */ @java.lang.Override public boolean getStartOfDay() { return startOfDay_; } public static final int ENDOFDAY_FIELD_NUMBER = 4; private boolean endOfDay_ = false; /** * bool endOfDay = 4; * @return The endOfDay. */ @java.lang.Override public boolean getEndOfDay() { return endOfDay_; } public static final int CLEAR_FIELD_NUMBER = 5; private int clear_ = 0; /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @return The enum numeric value on the wire for clear. */ @java.lang.Override public int getClearValue() { return clear_; } /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @return The clear. */ @java.lang.Override public org.openfeed.MarketSummary.ClearSet getClear() { org.openfeed.MarketSummary.ClearSet result = org.openfeed.MarketSummary.ClearSet.forNumber(clear_); return result == null ? org.openfeed.MarketSummary.ClearSet.UNRECOGNIZED : result; } public static final int INSTRUMENTSTATUS_FIELD_NUMBER = 9; private org.openfeed.InstrumentStatus instrumentStatus_; /** *
   * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; * @return Whether the instrumentStatus field is set. */ @java.lang.Override public boolean hasInstrumentStatus() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; * @return The instrumentStatus. */ @java.lang.Override public org.openfeed.InstrumentStatus getInstrumentStatus() { return instrumentStatus_ == null ? org.openfeed.InstrumentStatus.getDefaultInstance() : instrumentStatus_; } /** *
   * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ @java.lang.Override public org.openfeed.InstrumentStatusOrBuilder getInstrumentStatusOrBuilder() { return instrumentStatus_ == null ? org.openfeed.InstrumentStatus.getDefaultInstance() : instrumentStatus_; } public static final int BBO_FIELD_NUMBER = 10; private org.openfeed.BestBidOffer bbo_; /** * .org.openfeed.BestBidOffer bbo = 10; * @return Whether the bbo field is set. */ @java.lang.Override public boolean hasBbo() { return ((bitField0_ & 0x00000002) != 0); } /** * .org.openfeed.BestBidOffer bbo = 10; * @return The bbo. */ @java.lang.Override public org.openfeed.BestBidOffer getBbo() { return bbo_ == null ? org.openfeed.BestBidOffer.getDefaultInstance() : bbo_; } /** * .org.openfeed.BestBidOffer bbo = 10; */ @java.lang.Override public org.openfeed.BestBidOfferOrBuilder getBboOrBuilder() { return bbo_ == null ? org.openfeed.BestBidOffer.getDefaultInstance() : bbo_; } public static final int OPEN_FIELD_NUMBER = 11; private org.openfeed.Open open_; /** * .org.openfeed.Open open = 11; * @return Whether the open field is set. */ @java.lang.Override public boolean hasOpen() { return ((bitField0_ & 0x00000004) != 0); } /** * .org.openfeed.Open open = 11; * @return The open. */ @java.lang.Override public org.openfeed.Open getOpen() { return open_ == null ? org.openfeed.Open.getDefaultInstance() : open_; } /** * .org.openfeed.Open open = 11; */ @java.lang.Override public org.openfeed.OpenOrBuilder getOpenOrBuilder() { return open_ == null ? org.openfeed.Open.getDefaultInstance() : open_; } public static final int HIGH_FIELD_NUMBER = 12; private org.openfeed.High high_; /** * .org.openfeed.High high = 12; * @return Whether the high field is set. */ @java.lang.Override public boolean hasHigh() { return ((bitField0_ & 0x00000008) != 0); } /** * .org.openfeed.High high = 12; * @return The high. */ @java.lang.Override public org.openfeed.High getHigh() { return high_ == null ? org.openfeed.High.getDefaultInstance() : high_; } /** * .org.openfeed.High high = 12; */ @java.lang.Override public org.openfeed.HighOrBuilder getHighOrBuilder() { return high_ == null ? org.openfeed.High.getDefaultInstance() : high_; } public static final int LOW_FIELD_NUMBER = 13; private org.openfeed.Low low_; /** * .org.openfeed.Low low = 13; * @return Whether the low field is set. */ @java.lang.Override public boolean hasLow() { return ((bitField0_ & 0x00000010) != 0); } /** * .org.openfeed.Low low = 13; * @return The low. */ @java.lang.Override public org.openfeed.Low getLow() { return low_ == null ? org.openfeed.Low.getDefaultInstance() : low_; } /** * .org.openfeed.Low low = 13; */ @java.lang.Override public org.openfeed.LowOrBuilder getLowOrBuilder() { return low_ == null ? org.openfeed.Low.getDefaultInstance() : low_; } public static final int CLOSE_FIELD_NUMBER = 14; private org.openfeed.Close close_; /** * .org.openfeed.Close close = 14; * @return Whether the close field is set. */ @java.lang.Override public boolean hasClose() { return ((bitField0_ & 0x00000020) != 0); } /** * .org.openfeed.Close close = 14; * @return The close. */ @java.lang.Override public org.openfeed.Close getClose() { return close_ == null ? org.openfeed.Close.getDefaultInstance() : close_; } /** * .org.openfeed.Close close = 14; */ @java.lang.Override public org.openfeed.CloseOrBuilder getCloseOrBuilder() { return close_ == null ? org.openfeed.Close.getDefaultInstance() : close_; } public static final int PREVCLOSE_FIELD_NUMBER = 15; private org.openfeed.PrevClose prevClose_; /** * .org.openfeed.PrevClose prevClose = 15; * @return Whether the prevClose field is set. */ @java.lang.Override public boolean hasPrevClose() { return ((bitField0_ & 0x00000040) != 0); } /** * .org.openfeed.PrevClose prevClose = 15; * @return The prevClose. */ @java.lang.Override public org.openfeed.PrevClose getPrevClose() { return prevClose_ == null ? org.openfeed.PrevClose.getDefaultInstance() : prevClose_; } /** * .org.openfeed.PrevClose prevClose = 15; */ @java.lang.Override public org.openfeed.PrevCloseOrBuilder getPrevCloseOrBuilder() { return prevClose_ == null ? org.openfeed.PrevClose.getDefaultInstance() : prevClose_; } public static final int LAST_FIELD_NUMBER = 16; private org.openfeed.Last last_; /** * .org.openfeed.Last last = 16; * @return Whether the last field is set. */ @java.lang.Override public boolean hasLast() { return ((bitField0_ & 0x00000080) != 0); } /** * .org.openfeed.Last last = 16; * @return The last. */ @java.lang.Override public org.openfeed.Last getLast() { return last_ == null ? org.openfeed.Last.getDefaultInstance() : last_; } /** * .org.openfeed.Last last = 16; */ @java.lang.Override public org.openfeed.LastOrBuilder getLastOrBuilder() { return last_ == null ? org.openfeed.Last.getDefaultInstance() : last_; } public static final int VOLUME_FIELD_NUMBER = 17; private org.openfeed.Volume volume_; /** * .org.openfeed.Volume volume = 17; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return ((bitField0_ & 0x00000100) != 0); } /** * .org.openfeed.Volume volume = 17; * @return The volume. */ @java.lang.Override public org.openfeed.Volume getVolume() { return volume_ == null ? org.openfeed.Volume.getDefaultInstance() : volume_; } /** * .org.openfeed.Volume volume = 17; */ @java.lang.Override public org.openfeed.VolumeOrBuilder getVolumeOrBuilder() { return volume_ == null ? org.openfeed.Volume.getDefaultInstance() : volume_; } public static final int SETTLEMENT_FIELD_NUMBER = 18; private org.openfeed.Settlement settlement_; /** * .org.openfeed.Settlement settlement = 18; * @return Whether the settlement field is set. */ @java.lang.Override public boolean hasSettlement() { return ((bitField0_ & 0x00000200) != 0); } /** * .org.openfeed.Settlement settlement = 18; * @return The settlement. */ @java.lang.Override public org.openfeed.Settlement getSettlement() { return settlement_ == null ? org.openfeed.Settlement.getDefaultInstance() : settlement_; } /** * .org.openfeed.Settlement settlement = 18; */ @java.lang.Override public org.openfeed.SettlementOrBuilder getSettlementOrBuilder() { return settlement_ == null ? org.openfeed.Settlement.getDefaultInstance() : settlement_; } public static final int OPENINTEREST_FIELD_NUMBER = 19; private org.openfeed.OpenInterest openInterest_; /** * .org.openfeed.OpenInterest openInterest = 19; * @return Whether the openInterest field is set. */ @java.lang.Override public boolean hasOpenInterest() { return ((bitField0_ & 0x00000400) != 0); } /** * .org.openfeed.OpenInterest openInterest = 19; * @return The openInterest. */ @java.lang.Override public org.openfeed.OpenInterest getOpenInterest() { return openInterest_ == null ? org.openfeed.OpenInterest.getDefaultInstance() : openInterest_; } /** * .org.openfeed.OpenInterest openInterest = 19; */ @java.lang.Override public org.openfeed.OpenInterestOrBuilder getOpenInterestOrBuilder() { return openInterest_ == null ? org.openfeed.OpenInterest.getDefaultInstance() : openInterest_; } public static final int VWAP_FIELD_NUMBER = 20; private org.openfeed.Vwap vwap_; /** * .org.openfeed.Vwap vwap = 20; * @return Whether the vwap field is set. */ @java.lang.Override public boolean hasVwap() { return ((bitField0_ & 0x00000800) != 0); } /** * .org.openfeed.Vwap vwap = 20; * @return The vwap. */ @java.lang.Override public org.openfeed.Vwap getVwap() { return vwap_ == null ? org.openfeed.Vwap.getDefaultInstance() : vwap_; } /** * .org.openfeed.Vwap vwap = 20; */ @java.lang.Override public org.openfeed.VwapOrBuilder getVwapOrBuilder() { return vwap_ == null ? org.openfeed.Vwap.getDefaultInstance() : vwap_; } public static final int SESSION_FIELD_NUMBER = 21; @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** *
   * / Used by CME ITC.
   * 
* * string session = 21; * @return The session. */ @java.lang.Override public java.lang.String getSession() { java.lang.Object ref = session_; 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(); session_ = s; return s; } } /** *
   * / Used by CME ITC.
   * 
* * string session = 21; * @return The bytes for session. */ @java.lang.Override public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); session_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUMMARYTYPE_FIELD_NUMBER = 22; private int summaryType_ = 0; /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @return The enum numeric value on the wire for summaryType. */ @java.lang.Override public int getSummaryTypeValue() { return summaryType_; } /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @return The summaryType. */ @java.lang.Override public org.openfeed.MarketSummary.SummaryType getSummaryType() { org.openfeed.MarketSummary.SummaryType result = org.openfeed.MarketSummary.SummaryType.forNumber(summaryType_); return result == null ? org.openfeed.MarketSummary.SummaryType.UNRECOGNIZED : result; } public static final int PREVVOLUME_FIELD_NUMBER = 23; private org.openfeed.Volume prevVolume_; /** *
   * / Total traded volume for the prior day.
   * 
* * .org.openfeed.Volume prevVolume = 23; * @return Whether the prevVolume field is set. */ @java.lang.Override public boolean hasPrevVolume() { return ((bitField0_ & 0x00001000) != 0); } /** *
   * / Total traded volume for the prior day.
   * 
* * .org.openfeed.Volume prevVolume = 23; * @return The prevVolume. */ @java.lang.Override public org.openfeed.Volume getPrevVolume() { return prevVolume_ == null ? org.openfeed.Volume.getDefaultInstance() : prevVolume_; } /** *
   * / Total traded volume for the prior day.
   * 
* * .org.openfeed.Volume prevVolume = 23; */ @java.lang.Override public org.openfeed.VolumeOrBuilder getPrevVolumeOrBuilder() { return prevVolume_ == null ? org.openfeed.Volume.getDefaultInstance() : prevVolume_; } public static final int TRANSIENT_FIELD_NUMBER = 24; private boolean transient_ = false; /** *
   * / True if not persisted in the EOD database.
   * 
* * bool transient = 24; * @return The transient. */ @java.lang.Override public boolean getTransient() { return transient_; } 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 (transactionTime_ != 0L) { output.writeSInt64(1, transactionTime_); } if (tradingDate_ != 0) { output.writeSInt32(2, tradingDate_); } if (startOfDay_ != false) { output.writeBool(3, startOfDay_); } if (endOfDay_ != false) { output.writeBool(4, endOfDay_); } if (clear_ != org.openfeed.MarketSummary.ClearSet.NONE.getNumber()) { output.writeEnum(5, clear_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getInstrumentStatus()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(10, getBbo()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(11, getOpen()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(12, getHigh()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(13, getLow()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(14, getClose()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(15, getPrevClose()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(16, getLast()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(17, getVolume()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(18, getSettlement()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(19, getOpenInterest()); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(20, getVwap()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessage.writeString(output, 21, session_); } if (summaryType_ != org.openfeed.MarketSummary.SummaryType.EXCHANGE_REFRESH.getNumber()) { output.writeEnum(22, summaryType_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(23, getPrevVolume()); } if (transient_ != false) { output.writeBool(24, transient_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (transactionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(1, transactionTime_); } if (tradingDate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(2, tradingDate_); } if (startOfDay_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, startOfDay_); } if (endOfDay_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, endOfDay_); } if (clear_ != org.openfeed.MarketSummary.ClearSet.NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, clear_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getInstrumentStatus()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getBbo()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getOpen()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getHigh()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getLow()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getClose()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getPrevClose()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getLast()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getVolume()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getSettlement()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getOpenInterest()); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getVwap()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(session_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(21, session_); } if (summaryType_ != org.openfeed.MarketSummary.SummaryType.EXCHANGE_REFRESH.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(22, summaryType_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getPrevVolume()); } if (transient_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(24, transient_); } 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.MarketSummary)) { return super.equals(obj); } org.openfeed.MarketSummary other = (org.openfeed.MarketSummary) obj; if (getTransactionTime() != other.getTransactionTime()) return false; if (getTradingDate() != other.getTradingDate()) return false; if (getStartOfDay() != other.getStartOfDay()) return false; if (getEndOfDay() != other.getEndOfDay()) return false; if (clear_ != other.clear_) return false; if (hasInstrumentStatus() != other.hasInstrumentStatus()) return false; if (hasInstrumentStatus()) { if (!getInstrumentStatus() .equals(other.getInstrumentStatus())) return false; } if (hasBbo() != other.hasBbo()) return false; if (hasBbo()) { if (!getBbo() .equals(other.getBbo())) return false; } if (hasOpen() != other.hasOpen()) return false; if (hasOpen()) { if (!getOpen() .equals(other.getOpen())) return false; } if (hasHigh() != other.hasHigh()) return false; if (hasHigh()) { if (!getHigh() .equals(other.getHigh())) return false; } if (hasLow() != other.hasLow()) return false; if (hasLow()) { if (!getLow() .equals(other.getLow())) return false; } if (hasClose() != other.hasClose()) return false; if (hasClose()) { if (!getClose() .equals(other.getClose())) return false; } if (hasPrevClose() != other.hasPrevClose()) return false; if (hasPrevClose()) { if (!getPrevClose() .equals(other.getPrevClose())) return false; } if (hasLast() != other.hasLast()) return false; if (hasLast()) { if (!getLast() .equals(other.getLast())) return false; } if (hasVolume() != other.hasVolume()) return false; if (hasVolume()) { if (!getVolume() .equals(other.getVolume())) return false; } if (hasSettlement() != other.hasSettlement()) return false; if (hasSettlement()) { if (!getSettlement() .equals(other.getSettlement())) return false; } if (hasOpenInterest() != other.hasOpenInterest()) return false; if (hasOpenInterest()) { if (!getOpenInterest() .equals(other.getOpenInterest())) return false; } if (hasVwap() != other.hasVwap()) return false; if (hasVwap()) { if (!getVwap() .equals(other.getVwap())) return false; } if (!getSession() .equals(other.getSession())) return false; if (summaryType_ != other.summaryType_) return false; if (hasPrevVolume() != other.hasPrevVolume()) return false; if (hasPrevVolume()) { if (!getPrevVolume() .equals(other.getPrevVolume())) return false; } if (getTransient() != other.getTransient()) return false; 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) + TRANSACTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTransactionTime()); hash = (37 * hash) + TRADINGDATE_FIELD_NUMBER; hash = (53 * hash) + getTradingDate(); hash = (37 * hash) + STARTOFDAY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getStartOfDay()); hash = (37 * hash) + ENDOFDAY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEndOfDay()); hash = (37 * hash) + CLEAR_FIELD_NUMBER; hash = (53 * hash) + clear_; if (hasInstrumentStatus()) { hash = (37 * hash) + INSTRUMENTSTATUS_FIELD_NUMBER; hash = (53 * hash) + getInstrumentStatus().hashCode(); } if (hasBbo()) { hash = (37 * hash) + BBO_FIELD_NUMBER; hash = (53 * hash) + getBbo().hashCode(); } if (hasOpen()) { hash = (37 * hash) + OPEN_FIELD_NUMBER; hash = (53 * hash) + getOpen().hashCode(); } if (hasHigh()) { hash = (37 * hash) + HIGH_FIELD_NUMBER; hash = (53 * hash) + getHigh().hashCode(); } if (hasLow()) { hash = (37 * hash) + LOW_FIELD_NUMBER; hash = (53 * hash) + getLow().hashCode(); } if (hasClose()) { hash = (37 * hash) + CLOSE_FIELD_NUMBER; hash = (53 * hash) + getClose().hashCode(); } if (hasPrevClose()) { hash = (37 * hash) + PREVCLOSE_FIELD_NUMBER; hash = (53 * hash) + getPrevClose().hashCode(); } if (hasLast()) { hash = (37 * hash) + LAST_FIELD_NUMBER; hash = (53 * hash) + getLast().hashCode(); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); } if (hasSettlement()) { hash = (37 * hash) + SETTLEMENT_FIELD_NUMBER; hash = (53 * hash) + getSettlement().hashCode(); } if (hasOpenInterest()) { hash = (37 * hash) + OPENINTEREST_FIELD_NUMBER; hash = (53 * hash) + getOpenInterest().hashCode(); } if (hasVwap()) { hash = (37 * hash) + VWAP_FIELD_NUMBER; hash = (53 * hash) + getVwap().hashCode(); } hash = (37 * hash) + SESSION_FIELD_NUMBER; hash = (53 * hash) + getSession().hashCode(); hash = (37 * hash) + SUMMARYTYPE_FIELD_NUMBER; hash = (53 * hash) + summaryType_; if (hasPrevVolume()) { hash = (37 * hash) + PREVVOLUME_FIELD_NUMBER; hash = (53 * hash) + getPrevVolume().hashCode(); } hash = (37 * hash) + TRANSIENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTransient()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.openfeed.MarketSummary parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.MarketSummary parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.MarketSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.MarketSummary 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.MarketSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.MarketSummary parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.MarketSummary parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.openfeed.MarketSummary 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.MarketSummary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static org.openfeed.MarketSummary 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.MarketSummary parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.openfeed.MarketSummary 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.MarketSummary 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; } /** *
   * / Intra and EOD Market Summary
   * 
* * Protobuf type {@code org.openfeed.MarketSummary} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org.openfeed.MarketSummary) org.openfeed.MarketSummaryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openfeed.MarketSummary.class, org.openfeed.MarketSummary.Builder.class); } // Construct using org.openfeed.MarketSummary.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getInstrumentStatusFieldBuilder(); getBboFieldBuilder(); getOpenFieldBuilder(); getHighFieldBuilder(); getLowFieldBuilder(); getCloseFieldBuilder(); getPrevCloseFieldBuilder(); getLastFieldBuilder(); getVolumeFieldBuilder(); getSettlementFieldBuilder(); getOpenInterestFieldBuilder(); getVwapFieldBuilder(); getPrevVolumeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; transactionTime_ = 0L; tradingDate_ = 0; startOfDay_ = false; endOfDay_ = false; clear_ = 0; instrumentStatus_ = null; if (instrumentStatusBuilder_ != null) { instrumentStatusBuilder_.dispose(); instrumentStatusBuilder_ = null; } bbo_ = null; if (bboBuilder_ != null) { bboBuilder_.dispose(); bboBuilder_ = null; } open_ = null; if (openBuilder_ != null) { openBuilder_.dispose(); openBuilder_ = null; } high_ = null; if (highBuilder_ != null) { highBuilder_.dispose(); highBuilder_ = null; } low_ = null; if (lowBuilder_ != null) { lowBuilder_.dispose(); lowBuilder_ = null; } close_ = null; if (closeBuilder_ != null) { closeBuilder_.dispose(); closeBuilder_ = null; } prevClose_ = null; if (prevCloseBuilder_ != null) { prevCloseBuilder_.dispose(); prevCloseBuilder_ = null; } last_ = null; if (lastBuilder_ != null) { lastBuilder_.dispose(); lastBuilder_ = null; } volume_ = null; if (volumeBuilder_ != null) { volumeBuilder_.dispose(); volumeBuilder_ = null; } settlement_ = null; if (settlementBuilder_ != null) { settlementBuilder_.dispose(); settlementBuilder_ = null; } openInterest_ = null; if (openInterestBuilder_ != null) { openInterestBuilder_.dispose(); openInterestBuilder_ = null; } vwap_ = null; if (vwapBuilder_ != null) { vwapBuilder_.dispose(); vwapBuilder_ = null; } session_ = ""; summaryType_ = 0; prevVolume_ = null; if (prevVolumeBuilder_ != null) { prevVolumeBuilder_.dispose(); prevVolumeBuilder_ = null; } transient_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.openfeed.Openfeed.internal_static_org_openfeed_MarketSummary_descriptor; } @java.lang.Override public org.openfeed.MarketSummary getDefaultInstanceForType() { return org.openfeed.MarketSummary.getDefaultInstance(); } @java.lang.Override public org.openfeed.MarketSummary build() { org.openfeed.MarketSummary result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.openfeed.MarketSummary buildPartial() { org.openfeed.MarketSummary result = new org.openfeed.MarketSummary(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.openfeed.MarketSummary result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.transactionTime_ = transactionTime_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.tradingDate_ = tradingDate_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.startOfDay_ = startOfDay_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.endOfDay_ = endOfDay_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.clear_ = clear_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { result.instrumentStatus_ = instrumentStatusBuilder_ == null ? instrumentStatus_ : instrumentStatusBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { result.bbo_ = bboBuilder_ == null ? bbo_ : bboBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000080) != 0)) { result.open_ = openBuilder_ == null ? open_ : openBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000100) != 0)) { result.high_ = highBuilder_ == null ? high_ : highBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000200) != 0)) { result.low_ = lowBuilder_ == null ? low_ : lowBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000400) != 0)) { result.close_ = closeBuilder_ == null ? close_ : closeBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000800) != 0)) { result.prevClose_ = prevCloseBuilder_ == null ? prevClose_ : prevCloseBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00001000) != 0)) { result.last_ = lastBuilder_ == null ? last_ : lastBuilder_.build(); to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00002000) != 0)) { result.volume_ = volumeBuilder_ == null ? volume_ : volumeBuilder_.build(); to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00004000) != 0)) { result.settlement_ = settlementBuilder_ == null ? settlement_ : settlementBuilder_.build(); to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00008000) != 0)) { result.openInterest_ = openInterestBuilder_ == null ? openInterest_ : openInterestBuilder_.build(); to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00010000) != 0)) { result.vwap_ = vwapBuilder_ == null ? vwap_ : vwapBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00020000) != 0)) { result.session_ = session_; } if (((from_bitField0_ & 0x00040000) != 0)) { result.summaryType_ = summaryType_; } if (((from_bitField0_ & 0x00080000) != 0)) { result.prevVolume_ = prevVolumeBuilder_ == null ? prevVolume_ : prevVolumeBuilder_.build(); to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00100000) != 0)) { result.transient_ = transient_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.openfeed.MarketSummary) { return mergeFrom((org.openfeed.MarketSummary)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.openfeed.MarketSummary other) { if (other == org.openfeed.MarketSummary.getDefaultInstance()) return this; if (other.getTransactionTime() != 0L) { setTransactionTime(other.getTransactionTime()); } if (other.getTradingDate() != 0) { setTradingDate(other.getTradingDate()); } if (other.getStartOfDay() != false) { setStartOfDay(other.getStartOfDay()); } if (other.getEndOfDay() != false) { setEndOfDay(other.getEndOfDay()); } if (other.clear_ != 0) { setClearValue(other.getClearValue()); } if (other.hasInstrumentStatus()) { mergeInstrumentStatus(other.getInstrumentStatus()); } if (other.hasBbo()) { mergeBbo(other.getBbo()); } if (other.hasOpen()) { mergeOpen(other.getOpen()); } if (other.hasHigh()) { mergeHigh(other.getHigh()); } if (other.hasLow()) { mergeLow(other.getLow()); } if (other.hasClose()) { mergeClose(other.getClose()); } if (other.hasPrevClose()) { mergePrevClose(other.getPrevClose()); } if (other.hasLast()) { mergeLast(other.getLast()); } if (other.hasVolume()) { mergeVolume(other.getVolume()); } if (other.hasSettlement()) { mergeSettlement(other.getSettlement()); } if (other.hasOpenInterest()) { mergeOpenInterest(other.getOpenInterest()); } if (other.hasVwap()) { mergeVwap(other.getVwap()); } if (!other.getSession().isEmpty()) { session_ = other.session_; bitField0_ |= 0x00020000; onChanged(); } if (other.summaryType_ != 0) { setSummaryTypeValue(other.getSummaryTypeValue()); } if (other.hasPrevVolume()) { mergePrevVolume(other.getPrevVolume()); } if (other.getTransient() != false) { setTransient(other.getTransient()); } 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: { transactionTime_ = input.readSInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { tradingDate_ = input.readSInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { startOfDay_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { endOfDay_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { clear_ = input.readEnum(); bitField0_ |= 0x00000010; break; } // case 40 case 74: { input.readMessage( getInstrumentStatusFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 case 82: { input.readMessage( getBboFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 82 case 90: { input.readMessage( getOpenFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 90 case 98: { input.readMessage( getHighFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 98 case 106: { input.readMessage( getLowFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 106 case 114: { input.readMessage( getCloseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 114 case 122: { input.readMessage( getPrevCloseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 122 case 130: { input.readMessage( getLastFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 130 case 138: { input.readMessage( getVolumeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 138 case 146: { input.readMessage( getSettlementFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00004000; break; } // case 146 case 154: { input.readMessage( getOpenInterestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 154 case 162: { input.readMessage( getVwapFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 162 case 170: { session_ = input.readStringRequireUtf8(); bitField0_ |= 0x00020000; break; } // case 170 case 176: { summaryType_ = input.readEnum(); bitField0_ |= 0x00040000; break; } // case 176 case 186: { input.readMessage( getPrevVolumeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00080000; break; } // case 186 case 192: { transient_ = input.readBool(); bitField0_ |= 0x00100000; break; } // case 192 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 bitField0_; private long transactionTime_ ; /** * sint64 transactionTime = 1; * @return The transactionTime. */ @java.lang.Override public long getTransactionTime() { return transactionTime_; } /** * sint64 transactionTime = 1; * @param value The transactionTime to set. * @return This builder for chaining. */ public Builder setTransactionTime(long value) { transactionTime_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * sint64 transactionTime = 1; * @return This builder for chaining. */ public Builder clearTransactionTime() { bitField0_ = (bitField0_ & ~0x00000001); transactionTime_ = 0L; onChanged(); return this; } private int tradingDate_ ; /** *
     * / Date only, format 2012-07-04 -> 20120704
     * 
* * sint32 tradingDate = 2; * @return The tradingDate. */ @java.lang.Override public int getTradingDate() { return tradingDate_; } /** *
     * / Date only, format 2012-07-04 -> 20120704
     * 
* * sint32 tradingDate = 2; * @param value The tradingDate to set. * @return This builder for chaining. */ public Builder setTradingDate(int value) { tradingDate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * / Date only, format 2012-07-04 -> 20120704
     * 
* * sint32 tradingDate = 2; * @return This builder for chaining. */ public Builder clearTradingDate() { bitField0_ = (bitField0_ & ~0x00000002); tradingDate_ = 0; onChanged(); return this; } private boolean startOfDay_ ; /** * bool startOfDay = 3; * @return The startOfDay. */ @java.lang.Override public boolean getStartOfDay() { return startOfDay_; } /** * bool startOfDay = 3; * @param value The startOfDay to set. * @return This builder for chaining. */ public Builder setStartOfDay(boolean value) { startOfDay_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * bool startOfDay = 3; * @return This builder for chaining. */ public Builder clearStartOfDay() { bitField0_ = (bitField0_ & ~0x00000004); startOfDay_ = false; onChanged(); return this; } private boolean endOfDay_ ; /** * bool endOfDay = 4; * @return The endOfDay. */ @java.lang.Override public boolean getEndOfDay() { return endOfDay_; } /** * bool endOfDay = 4; * @param value The endOfDay to set. * @return This builder for chaining. */ public Builder setEndOfDay(boolean value) { endOfDay_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * bool endOfDay = 4; * @return This builder for chaining. */ public Builder clearEndOfDay() { bitField0_ = (bitField0_ & ~0x00000008); endOfDay_ = false; onChanged(); return this; } private int clear_ = 0; /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @return The enum numeric value on the wire for clear. */ @java.lang.Override public int getClearValue() { return clear_; } /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @param value The enum numeric value on the wire for clear to set. * @return This builder for chaining. */ public Builder setClearValue(int value) { clear_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @return The clear. */ @java.lang.Override public org.openfeed.MarketSummary.ClearSet getClear() { org.openfeed.MarketSummary.ClearSet result = org.openfeed.MarketSummary.ClearSet.forNumber(clear_); return result == null ? org.openfeed.MarketSummary.ClearSet.UNRECOGNIZED : result; } /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @param value The clear to set. * @return This builder for chaining. */ public Builder setClear(org.openfeed.MarketSummary.ClearSet value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; clear_ = value.getNumber(); onChanged(); return this; } /** * .org.openfeed.MarketSummary.ClearSet clear = 5; * @return This builder for chaining. */ public Builder clearClear() { bitField0_ = (bitField0_ & ~0x00000010); clear_ = 0; onChanged(); return this; } private org.openfeed.InstrumentStatus instrumentStatus_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.InstrumentStatus, org.openfeed.InstrumentStatus.Builder, org.openfeed.InstrumentStatusOrBuilder> instrumentStatusBuilder_; /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; * @return Whether the instrumentStatus field is set. */ public boolean hasInstrumentStatus() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; * @return The instrumentStatus. */ public org.openfeed.InstrumentStatus getInstrumentStatus() { if (instrumentStatusBuilder_ == null) { return instrumentStatus_ == null ? org.openfeed.InstrumentStatus.getDefaultInstance() : instrumentStatus_; } else { return instrumentStatusBuilder_.getMessage(); } } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ public Builder setInstrumentStatus(org.openfeed.InstrumentStatus value) { if (instrumentStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } instrumentStatus_ = value; } else { instrumentStatusBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ public Builder setInstrumentStatus( org.openfeed.InstrumentStatus.Builder builderForValue) { if (instrumentStatusBuilder_ == null) { instrumentStatus_ = builderForValue.build(); } else { instrumentStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ public Builder mergeInstrumentStatus(org.openfeed.InstrumentStatus value) { if (instrumentStatusBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && instrumentStatus_ != null && instrumentStatus_ != org.openfeed.InstrumentStatus.getDefaultInstance()) { getInstrumentStatusBuilder().mergeFrom(value); } else { instrumentStatus_ = value; } } else { instrumentStatusBuilder_.mergeFrom(value); } if (instrumentStatus_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ public Builder clearInstrumentStatus() { bitField0_ = (bitField0_ & ~0x00000020); instrumentStatus_ = null; if (instrumentStatusBuilder_ != null) { instrumentStatusBuilder_.dispose(); instrumentStatusBuilder_ = null; } onChanged(); return this; } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ public org.openfeed.InstrumentStatus.Builder getInstrumentStatusBuilder() { bitField0_ |= 0x00000020; onChanged(); return getInstrumentStatusFieldBuilder().getBuilder(); } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ public org.openfeed.InstrumentStatusOrBuilder getInstrumentStatusOrBuilder() { if (instrumentStatusBuilder_ != null) { return instrumentStatusBuilder_.getMessageOrBuilder(); } else { return instrumentStatus_ == null ? org.openfeed.InstrumentStatus.getDefaultInstance() : instrumentStatus_; } } /** *
     * 
* * .org.openfeed.InstrumentStatus instrumentStatus = 9; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.InstrumentStatus, org.openfeed.InstrumentStatus.Builder, org.openfeed.InstrumentStatusOrBuilder> getInstrumentStatusFieldBuilder() { if (instrumentStatusBuilder_ == null) { instrumentStatusBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.InstrumentStatus, org.openfeed.InstrumentStatus.Builder, org.openfeed.InstrumentStatusOrBuilder>( getInstrumentStatus(), getParentForChildren(), isClean()); instrumentStatus_ = null; } return instrumentStatusBuilder_; } private org.openfeed.BestBidOffer bbo_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.BestBidOffer, org.openfeed.BestBidOffer.Builder, org.openfeed.BestBidOfferOrBuilder> bboBuilder_; /** * .org.openfeed.BestBidOffer bbo = 10; * @return Whether the bbo field is set. */ public boolean hasBbo() { return ((bitField0_ & 0x00000040) != 0); } /** * .org.openfeed.BestBidOffer bbo = 10; * @return The bbo. */ public org.openfeed.BestBidOffer getBbo() { if (bboBuilder_ == null) { return bbo_ == null ? org.openfeed.BestBidOffer.getDefaultInstance() : bbo_; } else { return bboBuilder_.getMessage(); } } /** * .org.openfeed.BestBidOffer bbo = 10; */ public Builder setBbo(org.openfeed.BestBidOffer value) { if (bboBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bbo_ = value; } else { bboBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * .org.openfeed.BestBidOffer bbo = 10; */ public Builder setBbo( org.openfeed.BestBidOffer.Builder builderForValue) { if (bboBuilder_ == null) { bbo_ = builderForValue.build(); } else { bboBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * .org.openfeed.BestBidOffer bbo = 10; */ public Builder mergeBbo(org.openfeed.BestBidOffer value) { if (bboBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && bbo_ != null && bbo_ != org.openfeed.BestBidOffer.getDefaultInstance()) { getBboBuilder().mergeFrom(value); } else { bbo_ = value; } } else { bboBuilder_.mergeFrom(value); } if (bbo_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * .org.openfeed.BestBidOffer bbo = 10; */ public Builder clearBbo() { bitField0_ = (bitField0_ & ~0x00000040); bbo_ = null; if (bboBuilder_ != null) { bboBuilder_.dispose(); bboBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.BestBidOffer bbo = 10; */ public org.openfeed.BestBidOffer.Builder getBboBuilder() { bitField0_ |= 0x00000040; onChanged(); return getBboFieldBuilder().getBuilder(); } /** * .org.openfeed.BestBidOffer bbo = 10; */ public org.openfeed.BestBidOfferOrBuilder getBboOrBuilder() { if (bboBuilder_ != null) { return bboBuilder_.getMessageOrBuilder(); } else { return bbo_ == null ? org.openfeed.BestBidOffer.getDefaultInstance() : bbo_; } } /** * .org.openfeed.BestBidOffer bbo = 10; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.BestBidOffer, org.openfeed.BestBidOffer.Builder, org.openfeed.BestBidOfferOrBuilder> getBboFieldBuilder() { if (bboBuilder_ == null) { bboBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.BestBidOffer, org.openfeed.BestBidOffer.Builder, org.openfeed.BestBidOfferOrBuilder>( getBbo(), getParentForChildren(), isClean()); bbo_ = null; } return bboBuilder_; } private org.openfeed.Open open_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Open, org.openfeed.Open.Builder, org.openfeed.OpenOrBuilder> openBuilder_; /** * .org.openfeed.Open open = 11; * @return Whether the open field is set. */ public boolean hasOpen() { return ((bitField0_ & 0x00000080) != 0); } /** * .org.openfeed.Open open = 11; * @return The open. */ public org.openfeed.Open getOpen() { if (openBuilder_ == null) { return open_ == null ? org.openfeed.Open.getDefaultInstance() : open_; } else { return openBuilder_.getMessage(); } } /** * .org.openfeed.Open open = 11; */ public Builder setOpen(org.openfeed.Open value) { if (openBuilder_ == null) { if (value == null) { throw new NullPointerException(); } open_ = value; } else { openBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * .org.openfeed.Open open = 11; */ public Builder setOpen( org.openfeed.Open.Builder builderForValue) { if (openBuilder_ == null) { open_ = builderForValue.build(); } else { openBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * .org.openfeed.Open open = 11; */ public Builder mergeOpen(org.openfeed.Open value) { if (openBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && open_ != null && open_ != org.openfeed.Open.getDefaultInstance()) { getOpenBuilder().mergeFrom(value); } else { open_ = value; } } else { openBuilder_.mergeFrom(value); } if (open_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** * .org.openfeed.Open open = 11; */ public Builder clearOpen() { bitField0_ = (bitField0_ & ~0x00000080); open_ = null; if (openBuilder_ != null) { openBuilder_.dispose(); openBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Open open = 11; */ public org.openfeed.Open.Builder getOpenBuilder() { bitField0_ |= 0x00000080; onChanged(); return getOpenFieldBuilder().getBuilder(); } /** * .org.openfeed.Open open = 11; */ public org.openfeed.OpenOrBuilder getOpenOrBuilder() { if (openBuilder_ != null) { return openBuilder_.getMessageOrBuilder(); } else { return open_ == null ? org.openfeed.Open.getDefaultInstance() : open_; } } /** * .org.openfeed.Open open = 11; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Open, org.openfeed.Open.Builder, org.openfeed.OpenOrBuilder> getOpenFieldBuilder() { if (openBuilder_ == null) { openBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Open, org.openfeed.Open.Builder, org.openfeed.OpenOrBuilder>( getOpen(), getParentForChildren(), isClean()); open_ = null; } return openBuilder_; } private org.openfeed.High high_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.High, org.openfeed.High.Builder, org.openfeed.HighOrBuilder> highBuilder_; /** * .org.openfeed.High high = 12; * @return Whether the high field is set. */ public boolean hasHigh() { return ((bitField0_ & 0x00000100) != 0); } /** * .org.openfeed.High high = 12; * @return The high. */ public org.openfeed.High getHigh() { if (highBuilder_ == null) { return high_ == null ? org.openfeed.High.getDefaultInstance() : high_; } else { return highBuilder_.getMessage(); } } /** * .org.openfeed.High high = 12; */ public Builder setHigh(org.openfeed.High value) { if (highBuilder_ == null) { if (value == null) { throw new NullPointerException(); } high_ = value; } else { highBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** * .org.openfeed.High high = 12; */ public Builder setHigh( org.openfeed.High.Builder builderForValue) { if (highBuilder_ == null) { high_ = builderForValue.build(); } else { highBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** * .org.openfeed.High high = 12; */ public Builder mergeHigh(org.openfeed.High value) { if (highBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && high_ != null && high_ != org.openfeed.High.getDefaultInstance()) { getHighBuilder().mergeFrom(value); } else { high_ = value; } } else { highBuilder_.mergeFrom(value); } if (high_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** * .org.openfeed.High high = 12; */ public Builder clearHigh() { bitField0_ = (bitField0_ & ~0x00000100); high_ = null; if (highBuilder_ != null) { highBuilder_.dispose(); highBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.High high = 12; */ public org.openfeed.High.Builder getHighBuilder() { bitField0_ |= 0x00000100; onChanged(); return getHighFieldBuilder().getBuilder(); } /** * .org.openfeed.High high = 12; */ public org.openfeed.HighOrBuilder getHighOrBuilder() { if (highBuilder_ != null) { return highBuilder_.getMessageOrBuilder(); } else { return high_ == null ? org.openfeed.High.getDefaultInstance() : high_; } } /** * .org.openfeed.High high = 12; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.High, org.openfeed.High.Builder, org.openfeed.HighOrBuilder> getHighFieldBuilder() { if (highBuilder_ == null) { highBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.High, org.openfeed.High.Builder, org.openfeed.HighOrBuilder>( getHigh(), getParentForChildren(), isClean()); high_ = null; } return highBuilder_; } private org.openfeed.Low low_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Low, org.openfeed.Low.Builder, org.openfeed.LowOrBuilder> lowBuilder_; /** * .org.openfeed.Low low = 13; * @return Whether the low field is set. */ public boolean hasLow() { return ((bitField0_ & 0x00000200) != 0); } /** * .org.openfeed.Low low = 13; * @return The low. */ public org.openfeed.Low getLow() { if (lowBuilder_ == null) { return low_ == null ? org.openfeed.Low.getDefaultInstance() : low_; } else { return lowBuilder_.getMessage(); } } /** * .org.openfeed.Low low = 13; */ public Builder setLow(org.openfeed.Low value) { if (lowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } low_ = value; } else { lowBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * .org.openfeed.Low low = 13; */ public Builder setLow( org.openfeed.Low.Builder builderForValue) { if (lowBuilder_ == null) { low_ = builderForValue.build(); } else { lowBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** * .org.openfeed.Low low = 13; */ public Builder mergeLow(org.openfeed.Low value) { if (lowBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && low_ != null && low_ != org.openfeed.Low.getDefaultInstance()) { getLowBuilder().mergeFrom(value); } else { low_ = value; } } else { lowBuilder_.mergeFrom(value); } if (low_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** * .org.openfeed.Low low = 13; */ public Builder clearLow() { bitField0_ = (bitField0_ & ~0x00000200); low_ = null; if (lowBuilder_ != null) { lowBuilder_.dispose(); lowBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Low low = 13; */ public org.openfeed.Low.Builder getLowBuilder() { bitField0_ |= 0x00000200; onChanged(); return getLowFieldBuilder().getBuilder(); } /** * .org.openfeed.Low low = 13; */ public org.openfeed.LowOrBuilder getLowOrBuilder() { if (lowBuilder_ != null) { return lowBuilder_.getMessageOrBuilder(); } else { return low_ == null ? org.openfeed.Low.getDefaultInstance() : low_; } } /** * .org.openfeed.Low low = 13; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Low, org.openfeed.Low.Builder, org.openfeed.LowOrBuilder> getLowFieldBuilder() { if (lowBuilder_ == null) { lowBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Low, org.openfeed.Low.Builder, org.openfeed.LowOrBuilder>( getLow(), getParentForChildren(), isClean()); low_ = null; } return lowBuilder_; } private org.openfeed.Close close_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Close, org.openfeed.Close.Builder, org.openfeed.CloseOrBuilder> closeBuilder_; /** * .org.openfeed.Close close = 14; * @return Whether the close field is set. */ public boolean hasClose() { return ((bitField0_ & 0x00000400) != 0); } /** * .org.openfeed.Close close = 14; * @return The close. */ public org.openfeed.Close getClose() { if (closeBuilder_ == null) { return close_ == null ? org.openfeed.Close.getDefaultInstance() : close_; } else { return closeBuilder_.getMessage(); } } /** * .org.openfeed.Close close = 14; */ public Builder setClose(org.openfeed.Close value) { if (closeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } close_ = value; } else { closeBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * .org.openfeed.Close close = 14; */ public Builder setClose( org.openfeed.Close.Builder builderForValue) { if (closeBuilder_ == null) { close_ = builderForValue.build(); } else { closeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * .org.openfeed.Close close = 14; */ public Builder mergeClose(org.openfeed.Close value) { if (closeBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && close_ != null && close_ != org.openfeed.Close.getDefaultInstance()) { getCloseBuilder().mergeFrom(value); } else { close_ = value; } } else { closeBuilder_.mergeFrom(value); } if (close_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** * .org.openfeed.Close close = 14; */ public Builder clearClose() { bitField0_ = (bitField0_ & ~0x00000400); close_ = null; if (closeBuilder_ != null) { closeBuilder_.dispose(); closeBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Close close = 14; */ public org.openfeed.Close.Builder getCloseBuilder() { bitField0_ |= 0x00000400; onChanged(); return getCloseFieldBuilder().getBuilder(); } /** * .org.openfeed.Close close = 14; */ public org.openfeed.CloseOrBuilder getCloseOrBuilder() { if (closeBuilder_ != null) { return closeBuilder_.getMessageOrBuilder(); } else { return close_ == null ? org.openfeed.Close.getDefaultInstance() : close_; } } /** * .org.openfeed.Close close = 14; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Close, org.openfeed.Close.Builder, org.openfeed.CloseOrBuilder> getCloseFieldBuilder() { if (closeBuilder_ == null) { closeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Close, org.openfeed.Close.Builder, org.openfeed.CloseOrBuilder>( getClose(), getParentForChildren(), isClean()); close_ = null; } return closeBuilder_; } private org.openfeed.PrevClose prevClose_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.PrevClose, org.openfeed.PrevClose.Builder, org.openfeed.PrevCloseOrBuilder> prevCloseBuilder_; /** * .org.openfeed.PrevClose prevClose = 15; * @return Whether the prevClose field is set. */ public boolean hasPrevClose() { return ((bitField0_ & 0x00000800) != 0); } /** * .org.openfeed.PrevClose prevClose = 15; * @return The prevClose. */ public org.openfeed.PrevClose getPrevClose() { if (prevCloseBuilder_ == null) { return prevClose_ == null ? org.openfeed.PrevClose.getDefaultInstance() : prevClose_; } else { return prevCloseBuilder_.getMessage(); } } /** * .org.openfeed.PrevClose prevClose = 15; */ public Builder setPrevClose(org.openfeed.PrevClose value) { if (prevCloseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } prevClose_ = value; } else { prevCloseBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** * .org.openfeed.PrevClose prevClose = 15; */ public Builder setPrevClose( org.openfeed.PrevClose.Builder builderForValue) { if (prevCloseBuilder_ == null) { prevClose_ = builderForValue.build(); } else { prevCloseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** * .org.openfeed.PrevClose prevClose = 15; */ public Builder mergePrevClose(org.openfeed.PrevClose value) { if (prevCloseBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && prevClose_ != null && prevClose_ != org.openfeed.PrevClose.getDefaultInstance()) { getPrevCloseBuilder().mergeFrom(value); } else { prevClose_ = value; } } else { prevCloseBuilder_.mergeFrom(value); } if (prevClose_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** * .org.openfeed.PrevClose prevClose = 15; */ public Builder clearPrevClose() { bitField0_ = (bitField0_ & ~0x00000800); prevClose_ = null; if (prevCloseBuilder_ != null) { prevCloseBuilder_.dispose(); prevCloseBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.PrevClose prevClose = 15; */ public org.openfeed.PrevClose.Builder getPrevCloseBuilder() { bitField0_ |= 0x00000800; onChanged(); return getPrevCloseFieldBuilder().getBuilder(); } /** * .org.openfeed.PrevClose prevClose = 15; */ public org.openfeed.PrevCloseOrBuilder getPrevCloseOrBuilder() { if (prevCloseBuilder_ != null) { return prevCloseBuilder_.getMessageOrBuilder(); } else { return prevClose_ == null ? org.openfeed.PrevClose.getDefaultInstance() : prevClose_; } } /** * .org.openfeed.PrevClose prevClose = 15; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.PrevClose, org.openfeed.PrevClose.Builder, org.openfeed.PrevCloseOrBuilder> getPrevCloseFieldBuilder() { if (prevCloseBuilder_ == null) { prevCloseBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.PrevClose, org.openfeed.PrevClose.Builder, org.openfeed.PrevCloseOrBuilder>( getPrevClose(), getParentForChildren(), isClean()); prevClose_ = null; } return prevCloseBuilder_; } private org.openfeed.Last last_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Last, org.openfeed.Last.Builder, org.openfeed.LastOrBuilder> lastBuilder_; /** * .org.openfeed.Last last = 16; * @return Whether the last field is set. */ public boolean hasLast() { return ((bitField0_ & 0x00001000) != 0); } /** * .org.openfeed.Last last = 16; * @return The last. */ public org.openfeed.Last getLast() { if (lastBuilder_ == null) { return last_ == null ? org.openfeed.Last.getDefaultInstance() : last_; } else { return lastBuilder_.getMessage(); } } /** * .org.openfeed.Last last = 16; */ public Builder setLast(org.openfeed.Last value) { if (lastBuilder_ == null) { if (value == null) { throw new NullPointerException(); } last_ = value; } else { lastBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** * .org.openfeed.Last last = 16; */ public Builder setLast( org.openfeed.Last.Builder builderForValue) { if (lastBuilder_ == null) { last_ = builderForValue.build(); } else { lastBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** * .org.openfeed.Last last = 16; */ public Builder mergeLast(org.openfeed.Last value) { if (lastBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && last_ != null && last_ != org.openfeed.Last.getDefaultInstance()) { getLastBuilder().mergeFrom(value); } else { last_ = value; } } else { lastBuilder_.mergeFrom(value); } if (last_ != null) { bitField0_ |= 0x00001000; onChanged(); } return this; } /** * .org.openfeed.Last last = 16; */ public Builder clearLast() { bitField0_ = (bitField0_ & ~0x00001000); last_ = null; if (lastBuilder_ != null) { lastBuilder_.dispose(); lastBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Last last = 16; */ public org.openfeed.Last.Builder getLastBuilder() { bitField0_ |= 0x00001000; onChanged(); return getLastFieldBuilder().getBuilder(); } /** * .org.openfeed.Last last = 16; */ public org.openfeed.LastOrBuilder getLastOrBuilder() { if (lastBuilder_ != null) { return lastBuilder_.getMessageOrBuilder(); } else { return last_ == null ? org.openfeed.Last.getDefaultInstance() : last_; } } /** * .org.openfeed.Last last = 16; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Last, org.openfeed.Last.Builder, org.openfeed.LastOrBuilder> getLastFieldBuilder() { if (lastBuilder_ == null) { lastBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Last, org.openfeed.Last.Builder, org.openfeed.LastOrBuilder>( getLast(), getParentForChildren(), isClean()); last_ = null; } return lastBuilder_; } private org.openfeed.Volume volume_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder> volumeBuilder_; /** * .org.openfeed.Volume volume = 17; * @return Whether the volume field is set. */ public boolean hasVolume() { return ((bitField0_ & 0x00002000) != 0); } /** * .org.openfeed.Volume volume = 17; * @return The volume. */ public org.openfeed.Volume getVolume() { if (volumeBuilder_ == null) { return volume_ == null ? org.openfeed.Volume.getDefaultInstance() : volume_; } else { return volumeBuilder_.getMessage(); } } /** * .org.openfeed.Volume volume = 17; */ public Builder setVolume(org.openfeed.Volume value) { if (volumeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } volume_ = value; } else { volumeBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** * .org.openfeed.Volume volume = 17; */ public Builder setVolume( org.openfeed.Volume.Builder builderForValue) { if (volumeBuilder_ == null) { volume_ = builderForValue.build(); } else { volumeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** * .org.openfeed.Volume volume = 17; */ public Builder mergeVolume(org.openfeed.Volume value) { if (volumeBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && volume_ != null && volume_ != org.openfeed.Volume.getDefaultInstance()) { getVolumeBuilder().mergeFrom(value); } else { volume_ = value; } } else { volumeBuilder_.mergeFrom(value); } if (volume_ != null) { bitField0_ |= 0x00002000; onChanged(); } return this; } /** * .org.openfeed.Volume volume = 17; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00002000); volume_ = null; if (volumeBuilder_ != null) { volumeBuilder_.dispose(); volumeBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Volume volume = 17; */ public org.openfeed.Volume.Builder getVolumeBuilder() { bitField0_ |= 0x00002000; onChanged(); return getVolumeFieldBuilder().getBuilder(); } /** * .org.openfeed.Volume volume = 17; */ public org.openfeed.VolumeOrBuilder getVolumeOrBuilder() { if (volumeBuilder_ != null) { return volumeBuilder_.getMessageOrBuilder(); } else { return volume_ == null ? org.openfeed.Volume.getDefaultInstance() : volume_; } } /** * .org.openfeed.Volume volume = 17; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder> getVolumeFieldBuilder() { if (volumeBuilder_ == null) { volumeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder>( getVolume(), getParentForChildren(), isClean()); volume_ = null; } return volumeBuilder_; } private org.openfeed.Settlement settlement_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Settlement, org.openfeed.Settlement.Builder, org.openfeed.SettlementOrBuilder> settlementBuilder_; /** * .org.openfeed.Settlement settlement = 18; * @return Whether the settlement field is set. */ public boolean hasSettlement() { return ((bitField0_ & 0x00004000) != 0); } /** * .org.openfeed.Settlement settlement = 18; * @return The settlement. */ public org.openfeed.Settlement getSettlement() { if (settlementBuilder_ == null) { return settlement_ == null ? org.openfeed.Settlement.getDefaultInstance() : settlement_; } else { return settlementBuilder_.getMessage(); } } /** * .org.openfeed.Settlement settlement = 18; */ public Builder setSettlement(org.openfeed.Settlement value) { if (settlementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settlement_ = value; } else { settlementBuilder_.setMessage(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** * .org.openfeed.Settlement settlement = 18; */ public Builder setSettlement( org.openfeed.Settlement.Builder builderForValue) { if (settlementBuilder_ == null) { settlement_ = builderForValue.build(); } else { settlementBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; onChanged(); return this; } /** * .org.openfeed.Settlement settlement = 18; */ public Builder mergeSettlement(org.openfeed.Settlement value) { if (settlementBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && settlement_ != null && settlement_ != org.openfeed.Settlement.getDefaultInstance()) { getSettlementBuilder().mergeFrom(value); } else { settlement_ = value; } } else { settlementBuilder_.mergeFrom(value); } if (settlement_ != null) { bitField0_ |= 0x00004000; onChanged(); } return this; } /** * .org.openfeed.Settlement settlement = 18; */ public Builder clearSettlement() { bitField0_ = (bitField0_ & ~0x00004000); settlement_ = null; if (settlementBuilder_ != null) { settlementBuilder_.dispose(); settlementBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Settlement settlement = 18; */ public org.openfeed.Settlement.Builder getSettlementBuilder() { bitField0_ |= 0x00004000; onChanged(); return getSettlementFieldBuilder().getBuilder(); } /** * .org.openfeed.Settlement settlement = 18; */ public org.openfeed.SettlementOrBuilder getSettlementOrBuilder() { if (settlementBuilder_ != null) { return settlementBuilder_.getMessageOrBuilder(); } else { return settlement_ == null ? org.openfeed.Settlement.getDefaultInstance() : settlement_; } } /** * .org.openfeed.Settlement settlement = 18; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Settlement, org.openfeed.Settlement.Builder, org.openfeed.SettlementOrBuilder> getSettlementFieldBuilder() { if (settlementBuilder_ == null) { settlementBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Settlement, org.openfeed.Settlement.Builder, org.openfeed.SettlementOrBuilder>( getSettlement(), getParentForChildren(), isClean()); settlement_ = null; } return settlementBuilder_; } private org.openfeed.OpenInterest openInterest_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.OpenInterest, org.openfeed.OpenInterest.Builder, org.openfeed.OpenInterestOrBuilder> openInterestBuilder_; /** * .org.openfeed.OpenInterest openInterest = 19; * @return Whether the openInterest field is set. */ public boolean hasOpenInterest() { return ((bitField0_ & 0x00008000) != 0); } /** * .org.openfeed.OpenInterest openInterest = 19; * @return The openInterest. */ public org.openfeed.OpenInterest getOpenInterest() { if (openInterestBuilder_ == null) { return openInterest_ == null ? org.openfeed.OpenInterest.getDefaultInstance() : openInterest_; } else { return openInterestBuilder_.getMessage(); } } /** * .org.openfeed.OpenInterest openInterest = 19; */ public Builder setOpenInterest(org.openfeed.OpenInterest value) { if (openInterestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } openInterest_ = value; } else { openInterestBuilder_.setMessage(value); } bitField0_ |= 0x00008000; onChanged(); return this; } /** * .org.openfeed.OpenInterest openInterest = 19; */ public Builder setOpenInterest( org.openfeed.OpenInterest.Builder builderForValue) { if (openInterestBuilder_ == null) { openInterest_ = builderForValue.build(); } else { openInterestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; onChanged(); return this; } /** * .org.openfeed.OpenInterest openInterest = 19; */ public Builder mergeOpenInterest(org.openfeed.OpenInterest value) { if (openInterestBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && openInterest_ != null && openInterest_ != org.openfeed.OpenInterest.getDefaultInstance()) { getOpenInterestBuilder().mergeFrom(value); } else { openInterest_ = value; } } else { openInterestBuilder_.mergeFrom(value); } if (openInterest_ != null) { bitField0_ |= 0x00008000; onChanged(); } return this; } /** * .org.openfeed.OpenInterest openInterest = 19; */ public Builder clearOpenInterest() { bitField0_ = (bitField0_ & ~0x00008000); openInterest_ = null; if (openInterestBuilder_ != null) { openInterestBuilder_.dispose(); openInterestBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.OpenInterest openInterest = 19; */ public org.openfeed.OpenInterest.Builder getOpenInterestBuilder() { bitField0_ |= 0x00008000; onChanged(); return getOpenInterestFieldBuilder().getBuilder(); } /** * .org.openfeed.OpenInterest openInterest = 19; */ public org.openfeed.OpenInterestOrBuilder getOpenInterestOrBuilder() { if (openInterestBuilder_ != null) { return openInterestBuilder_.getMessageOrBuilder(); } else { return openInterest_ == null ? org.openfeed.OpenInterest.getDefaultInstance() : openInterest_; } } /** * .org.openfeed.OpenInterest openInterest = 19; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.OpenInterest, org.openfeed.OpenInterest.Builder, org.openfeed.OpenInterestOrBuilder> getOpenInterestFieldBuilder() { if (openInterestBuilder_ == null) { openInterestBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.OpenInterest, org.openfeed.OpenInterest.Builder, org.openfeed.OpenInterestOrBuilder>( getOpenInterest(), getParentForChildren(), isClean()); openInterest_ = null; } return openInterestBuilder_; } private org.openfeed.Vwap vwap_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Vwap, org.openfeed.Vwap.Builder, org.openfeed.VwapOrBuilder> vwapBuilder_; /** * .org.openfeed.Vwap vwap = 20; * @return Whether the vwap field is set. */ public boolean hasVwap() { return ((bitField0_ & 0x00010000) != 0); } /** * .org.openfeed.Vwap vwap = 20; * @return The vwap. */ public org.openfeed.Vwap getVwap() { if (vwapBuilder_ == null) { return vwap_ == null ? org.openfeed.Vwap.getDefaultInstance() : vwap_; } else { return vwapBuilder_.getMessage(); } } /** * .org.openfeed.Vwap vwap = 20; */ public Builder setVwap(org.openfeed.Vwap value) { if (vwapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } vwap_ = value; } else { vwapBuilder_.setMessage(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** * .org.openfeed.Vwap vwap = 20; */ public Builder setVwap( org.openfeed.Vwap.Builder builderForValue) { if (vwapBuilder_ == null) { vwap_ = builderForValue.build(); } else { vwapBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; onChanged(); return this; } /** * .org.openfeed.Vwap vwap = 20; */ public Builder mergeVwap(org.openfeed.Vwap value) { if (vwapBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0) && vwap_ != null && vwap_ != org.openfeed.Vwap.getDefaultInstance()) { getVwapBuilder().mergeFrom(value); } else { vwap_ = value; } } else { vwapBuilder_.mergeFrom(value); } if (vwap_ != null) { bitField0_ |= 0x00010000; onChanged(); } return this; } /** * .org.openfeed.Vwap vwap = 20; */ public Builder clearVwap() { bitField0_ = (bitField0_ & ~0x00010000); vwap_ = null; if (vwapBuilder_ != null) { vwapBuilder_.dispose(); vwapBuilder_ = null; } onChanged(); return this; } /** * .org.openfeed.Vwap vwap = 20; */ public org.openfeed.Vwap.Builder getVwapBuilder() { bitField0_ |= 0x00010000; onChanged(); return getVwapFieldBuilder().getBuilder(); } /** * .org.openfeed.Vwap vwap = 20; */ public org.openfeed.VwapOrBuilder getVwapOrBuilder() { if (vwapBuilder_ != null) { return vwapBuilder_.getMessageOrBuilder(); } else { return vwap_ == null ? org.openfeed.Vwap.getDefaultInstance() : vwap_; } } /** * .org.openfeed.Vwap vwap = 20; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Vwap, org.openfeed.Vwap.Builder, org.openfeed.VwapOrBuilder> getVwapFieldBuilder() { if (vwapBuilder_ == null) { vwapBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Vwap, org.openfeed.Vwap.Builder, org.openfeed.VwapOrBuilder>( getVwap(), getParentForChildren(), isClean()); vwap_ = null; } return vwapBuilder_; } private java.lang.Object session_ = ""; /** *
     * / Used by CME ITC.
     * 
* * string session = 21; * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * / Used by CME ITC.
     * 
* * string session = 21; * @return The bytes for session. */ public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); session_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * / Used by CME ITC.
     * 
* * string session = 21; * @param value The session to set. * @return This builder for chaining. */ public Builder setSession( java.lang.String value) { if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     * / Used by CME ITC.
     * 
* * string session = 21; * @return This builder for chaining. */ public Builder clearSession() { session_ = getDefaultInstance().getSession(); bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } /** *
     * / Used by CME ITC.
     * 
* * string session = 21; * @param value The bytes for session to set. * @return This builder for chaining. */ public Builder setSessionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } private int summaryType_ = 0; /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @return The enum numeric value on the wire for summaryType. */ @java.lang.Override public int getSummaryTypeValue() { return summaryType_; } /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @param value The enum numeric value on the wire for summaryType to set. * @return This builder for chaining. */ public Builder setSummaryTypeValue(int value) { summaryType_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @return The summaryType. */ @java.lang.Override public org.openfeed.MarketSummary.SummaryType getSummaryType() { org.openfeed.MarketSummary.SummaryType result = org.openfeed.MarketSummary.SummaryType.forNumber(summaryType_); return result == null ? org.openfeed.MarketSummary.SummaryType.UNRECOGNIZED : result; } /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @param value The summaryType to set. * @return This builder for chaining. */ public Builder setSummaryType(org.openfeed.MarketSummary.SummaryType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; summaryType_ = value.getNumber(); onChanged(); return this; } /** * .org.openfeed.MarketSummary.SummaryType summaryType = 22; * @return This builder for chaining. */ public Builder clearSummaryType() { bitField0_ = (bitField0_ & ~0x00040000); summaryType_ = 0; onChanged(); return this; } private org.openfeed.Volume prevVolume_; private com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder> prevVolumeBuilder_; /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; * @return Whether the prevVolume field is set. */ public boolean hasPrevVolume() { return ((bitField0_ & 0x00080000) != 0); } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; * @return The prevVolume. */ public org.openfeed.Volume getPrevVolume() { if (prevVolumeBuilder_ == null) { return prevVolume_ == null ? org.openfeed.Volume.getDefaultInstance() : prevVolume_; } else { return prevVolumeBuilder_.getMessage(); } } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ public Builder setPrevVolume(org.openfeed.Volume value) { if (prevVolumeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } prevVolume_ = value; } else { prevVolumeBuilder_.setMessage(value); } bitField0_ |= 0x00080000; onChanged(); return this; } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ public Builder setPrevVolume( org.openfeed.Volume.Builder builderForValue) { if (prevVolumeBuilder_ == null) { prevVolume_ = builderForValue.build(); } else { prevVolumeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00080000; onChanged(); return this; } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ public Builder mergePrevVolume(org.openfeed.Volume value) { if (prevVolumeBuilder_ == null) { if (((bitField0_ & 0x00080000) != 0) && prevVolume_ != null && prevVolume_ != org.openfeed.Volume.getDefaultInstance()) { getPrevVolumeBuilder().mergeFrom(value); } else { prevVolume_ = value; } } else { prevVolumeBuilder_.mergeFrom(value); } if (prevVolume_ != null) { bitField0_ |= 0x00080000; onChanged(); } return this; } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ public Builder clearPrevVolume() { bitField0_ = (bitField0_ & ~0x00080000); prevVolume_ = null; if (prevVolumeBuilder_ != null) { prevVolumeBuilder_.dispose(); prevVolumeBuilder_ = null; } onChanged(); return this; } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ public org.openfeed.Volume.Builder getPrevVolumeBuilder() { bitField0_ |= 0x00080000; onChanged(); return getPrevVolumeFieldBuilder().getBuilder(); } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ public org.openfeed.VolumeOrBuilder getPrevVolumeOrBuilder() { if (prevVolumeBuilder_ != null) { return prevVolumeBuilder_.getMessageOrBuilder(); } else { return prevVolume_ == null ? org.openfeed.Volume.getDefaultInstance() : prevVolume_; } } /** *
     * / Total traded volume for the prior day.
     * 
* * .org.openfeed.Volume prevVolume = 23; */ private com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder> getPrevVolumeFieldBuilder() { if (prevVolumeBuilder_ == null) { prevVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.openfeed.Volume, org.openfeed.Volume.Builder, org.openfeed.VolumeOrBuilder>( getPrevVolume(), getParentForChildren(), isClean()); prevVolume_ = null; } return prevVolumeBuilder_; } private boolean transient_ ; /** *
     * / True if not persisted in the EOD database.
     * 
* * bool transient = 24; * @return The transient. */ @java.lang.Override public boolean getTransient() { return transient_; } /** *
     * / True if not persisted in the EOD database.
     * 
* * bool transient = 24; * @param value The transient to set. * @return This builder for chaining. */ public Builder setTransient(boolean value) { transient_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     * / True if not persisted in the EOD database.
     * 
* * bool transient = 24; * @return This builder for chaining. */ public Builder clearTransient() { bitField0_ = (bitField0_ & ~0x00100000); transient_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:org.openfeed.MarketSummary) } // @@protoc_insertion_point(class_scope:org.openfeed.MarketSummary) private static final org.openfeed.MarketSummary DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.openfeed.MarketSummary(); } public static org.openfeed.MarketSummary getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MarketSummary 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.MarketSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy