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

com.moomoo.openapi.pb.QotCommon Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Qot_Common.proto

package com.moomoo.openapi.pb;

public final class QotCommon {
  private QotCommon() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code Qot_Common.QotMarket}
   */
  public enum QotMarket
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     *未知市场
     * 
* * QotMarket_Unknown = 0; */ QotMarket_Unknown(0), /** *
     *香港市场
     * 
* * QotMarket_HK_Security = 1; */ QotMarket_HK_Security(1), /** *
     *港期货(已废弃,使用QotMarket_HK_Security即可)
     * 
* * QotMarket_HK_Future = 2; */ QotMarket_HK_Future(2), /** *
     *美国市场
     * 
* * QotMarket_US_Security = 11; */ QotMarket_US_Security(11), /** *
     *沪股市场
     * 
* * QotMarket_CNSH_Security = 21; */ QotMarket_CNSH_Security(21), /** *
     *深股市场
     * 
* * QotMarket_CNSZ_Security = 22; */ QotMarket_CNSZ_Security(22), /** *
     *新加坡市场
     * 
* * QotMarket_SG_Security = 31; */ QotMarket_SG_Security(31), /** *
     *日本市场
     * 
* * QotMarket_JP_Security = 41; */ QotMarket_JP_Security(41), ; /** *
     *未知市场
     * 
* * QotMarket_Unknown = 0; */ public static final int QotMarket_Unknown_VALUE = 0; /** *
     *香港市场
     * 
* * QotMarket_HK_Security = 1; */ public static final int QotMarket_HK_Security_VALUE = 1; /** *
     *港期货(已废弃,使用QotMarket_HK_Security即可)
     * 
* * QotMarket_HK_Future = 2; */ public static final int QotMarket_HK_Future_VALUE = 2; /** *
     *美国市场
     * 
* * QotMarket_US_Security = 11; */ public static final int QotMarket_US_Security_VALUE = 11; /** *
     *沪股市场
     * 
* * QotMarket_CNSH_Security = 21; */ public static final int QotMarket_CNSH_Security_VALUE = 21; /** *
     *深股市场
     * 
* * QotMarket_CNSZ_Security = 22; */ public static final int QotMarket_CNSZ_Security_VALUE = 22; /** *
     *新加坡市场
     * 
* * QotMarket_SG_Security = 31; */ public static final int QotMarket_SG_Security_VALUE = 31; /** *
     *日本市场
     * 
* * QotMarket_JP_Security = 41; */ public static final int QotMarket_JP_Security_VALUE = 41; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static QotMarket valueOf(int value) { return forNumber(value); } public static QotMarket forNumber(int value) { switch (value) { case 0: return QotMarket_Unknown; case 1: return QotMarket_HK_Security; case 2: return QotMarket_HK_Future; case 11: return QotMarket_US_Security; case 21: return QotMarket_CNSH_Security; case 22: return QotMarket_CNSZ_Security; case 31: return QotMarket_SG_Security; case 41: return QotMarket_JP_Security; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< QotMarket> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public QotMarket findValueByNumber(int number) { return QotMarket.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(0); } private static final QotMarket[] VALUES = values(); public static QotMarket valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private QotMarket(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.QotMarket) } /** * Protobuf enum {@code Qot_Common.SecurityType} */ public enum SecurityType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * SecurityType_Unknown = 0; */ SecurityType_Unknown(0), /** *
     *债券
     * 
* * SecurityType_Bond = 1; */ SecurityType_Bond(1), /** *
     *一揽子权证
     * 
* * SecurityType_Bwrt = 2; */ SecurityType_Bwrt(2), /** *
     *正股
     * 
* * SecurityType_Eqty = 3; */ SecurityType_Eqty(3), /** *
     *信托,基金
     * 
* * SecurityType_Trust = 4; */ SecurityType_Trust(4), /** *
     *窝轮
     * 
* * SecurityType_Warrant = 5; */ SecurityType_Warrant(5), /** *
     *指数
     * 
* * SecurityType_Index = 6; */ SecurityType_Index(6), /** *
     *板块
     * 
* * SecurityType_Plate = 7; */ SecurityType_Plate(7), /** *
     *期权
     * 
* * SecurityType_Drvt = 8; */ SecurityType_Drvt(8), /** *
     *板块集
     * 
* * SecurityType_PlateSet = 9; */ SecurityType_PlateSet(9), /** *
     *期货
     * 
* * SecurityType_Future = 10; */ SecurityType_Future(10), ; /** *
     *未知
     * 
* * SecurityType_Unknown = 0; */ public static final int SecurityType_Unknown_VALUE = 0; /** *
     *债券
     * 
* * SecurityType_Bond = 1; */ public static final int SecurityType_Bond_VALUE = 1; /** *
     *一揽子权证
     * 
* * SecurityType_Bwrt = 2; */ public static final int SecurityType_Bwrt_VALUE = 2; /** *
     *正股
     * 
* * SecurityType_Eqty = 3; */ public static final int SecurityType_Eqty_VALUE = 3; /** *
     *信托,基金
     * 
* * SecurityType_Trust = 4; */ public static final int SecurityType_Trust_VALUE = 4; /** *
     *窝轮
     * 
* * SecurityType_Warrant = 5; */ public static final int SecurityType_Warrant_VALUE = 5; /** *
     *指数
     * 
* * SecurityType_Index = 6; */ public static final int SecurityType_Index_VALUE = 6; /** *
     *板块
     * 
* * SecurityType_Plate = 7; */ public static final int SecurityType_Plate_VALUE = 7; /** *
     *期权
     * 
* * SecurityType_Drvt = 8; */ public static final int SecurityType_Drvt_VALUE = 8; /** *
     *板块集
     * 
* * SecurityType_PlateSet = 9; */ public static final int SecurityType_PlateSet_VALUE = 9; /** *
     *期货
     * 
* * SecurityType_Future = 10; */ public static final int SecurityType_Future_VALUE = 10; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SecurityType valueOf(int value) { return forNumber(value); } public static SecurityType forNumber(int value) { switch (value) { case 0: return SecurityType_Unknown; case 1: return SecurityType_Bond; case 2: return SecurityType_Bwrt; case 3: return SecurityType_Eqty; case 4: return SecurityType_Trust; case 5: return SecurityType_Warrant; case 6: return SecurityType_Index; case 7: return SecurityType_Plate; case 8: return SecurityType_Drvt; case 9: return SecurityType_PlateSet; case 10: return SecurityType_Future; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SecurityType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SecurityType findValueByNumber(int number) { return SecurityType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(1); } private static final SecurityType[] VALUES = values(); public static SecurityType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private SecurityType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.SecurityType) } /** * Protobuf enum {@code Qot_Common.PlateSetType} */ public enum PlateSetType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *所有板块
     * 
* * PlateSetType_All = 0; */ PlateSetType_All(0), /** *
     *行业板块
     * 
* * PlateSetType_Industry = 1; */ PlateSetType_Industry(1), /** *
     *地域板块,港美股市场的地域分类数据暂为空
     * 
* * PlateSetType_Region = 2; */ PlateSetType_Region(2), /** *
     *概念板块
     * 
* * PlateSetType_Concept = 3; */ PlateSetType_Concept(3), /** *
     *其他板块, 仅用于3207(获取股票所属板块)协议返回,不可作为其他协议的请求参数
     * 
* * PlateSetType_Other = 4; */ PlateSetType_Other(4), ; /** *
     *所有板块
     * 
* * PlateSetType_All = 0; */ public static final int PlateSetType_All_VALUE = 0; /** *
     *行业板块
     * 
* * PlateSetType_Industry = 1; */ public static final int PlateSetType_Industry_VALUE = 1; /** *
     *地域板块,港美股市场的地域分类数据暂为空
     * 
* * PlateSetType_Region = 2; */ public static final int PlateSetType_Region_VALUE = 2; /** *
     *概念板块
     * 
* * PlateSetType_Concept = 3; */ public static final int PlateSetType_Concept_VALUE = 3; /** *
     *其他板块, 仅用于3207(获取股票所属板块)协议返回,不可作为其他协议的请求参数
     * 
* * PlateSetType_Other = 4; */ public static final int PlateSetType_Other_VALUE = 4; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PlateSetType valueOf(int value) { return forNumber(value); } public static PlateSetType forNumber(int value) { switch (value) { case 0: return PlateSetType_All; case 1: return PlateSetType_Industry; case 2: return PlateSetType_Region; case 3: return PlateSetType_Concept; case 4: return PlateSetType_Other; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PlateSetType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PlateSetType findValueByNumber(int number) { return PlateSetType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(2); } private static final PlateSetType[] VALUES = values(); public static PlateSetType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private PlateSetType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.PlateSetType) } /** * Protobuf enum {@code Qot_Common.WarrantType} */ public enum WarrantType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * WarrantType_Unknown = 0; */ WarrantType_Unknown(0), /** *
     *认购
     * 
* * WarrantType_Buy = 1; */ WarrantType_Buy(1), /** *
     *认沽
     * 
* * WarrantType_Sell = 2; */ WarrantType_Sell(2), /** *
     *牛
     * 
* * WarrantType_Bull = 3; */ WarrantType_Bull(3), /** *
     *熊
     * 
* * WarrantType_Bear = 4; */ WarrantType_Bear(4), /** *
     *界内证
     * 
* * WarrantType_InLine = 5; */ WarrantType_InLine(5), ; /** *
     *未知
     * 
* * WarrantType_Unknown = 0; */ public static final int WarrantType_Unknown_VALUE = 0; /** *
     *认购
     * 
* * WarrantType_Buy = 1; */ public static final int WarrantType_Buy_VALUE = 1; /** *
     *认沽
     * 
* * WarrantType_Sell = 2; */ public static final int WarrantType_Sell_VALUE = 2; /** *
     *牛
     * 
* * WarrantType_Bull = 3; */ public static final int WarrantType_Bull_VALUE = 3; /** *
     *熊
     * 
* * WarrantType_Bear = 4; */ public static final int WarrantType_Bear_VALUE = 4; /** *
     *界内证
     * 
* * WarrantType_InLine = 5; */ public static final int WarrantType_InLine_VALUE = 5; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static WarrantType valueOf(int value) { return forNumber(value); } public static WarrantType forNumber(int value) { switch (value) { case 0: return WarrantType_Unknown; case 1: return WarrantType_Buy; case 2: return WarrantType_Sell; case 3: return WarrantType_Bull; case 4: return WarrantType_Bear; case 5: return WarrantType_InLine; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< WarrantType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public WarrantType findValueByNumber(int number) { return WarrantType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(3); } private static final WarrantType[] VALUES = values(); public static WarrantType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private WarrantType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.WarrantType) } /** * Protobuf enum {@code Qot_Common.OptionType} */ public enum OptionType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * OptionType_Unknown = 0; */ OptionType_Unknown(0), /** *
     *涨
     * 
* * OptionType_Call = 1; */ OptionType_Call(1), /** *
     *跌
     * 
* * OptionType_Put = 2; */ OptionType_Put(2), ; /** *
     *未知
     * 
* * OptionType_Unknown = 0; */ public static final int OptionType_Unknown_VALUE = 0; /** *
     *涨
     * 
* * OptionType_Call = 1; */ public static final int OptionType_Call_VALUE = 1; /** *
     *跌
     * 
* * OptionType_Put = 2; */ public static final int OptionType_Put_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OptionType valueOf(int value) { return forNumber(value); } public static OptionType forNumber(int value) { switch (value) { case 0: return OptionType_Unknown; case 1: return OptionType_Call; case 2: return OptionType_Put; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< OptionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OptionType findValueByNumber(int number) { return OptionType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(4); } private static final OptionType[] VALUES = values(); public static OptionType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private OptionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.OptionType) } /** * Protobuf enum {@code Qot_Common.IndexOptionType} */ public enum IndexOptionType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * IndexOptionType_Unknown = 0; */ IndexOptionType_Unknown(0), /** *
     *正常普通的指数期权
     * 
* * IndexOptionType_Normal = 1; */ IndexOptionType_Normal(1), /** *
     *小型指数期权
     * 
* * IndexOptionType_Small = 2; */ IndexOptionType_Small(2), ; /** *
     *未知
     * 
* * IndexOptionType_Unknown = 0; */ public static final int IndexOptionType_Unknown_VALUE = 0; /** *
     *正常普通的指数期权
     * 
* * IndexOptionType_Normal = 1; */ public static final int IndexOptionType_Normal_VALUE = 1; /** *
     *小型指数期权
     * 
* * IndexOptionType_Small = 2; */ public static final int IndexOptionType_Small_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IndexOptionType valueOf(int value) { return forNumber(value); } public static IndexOptionType forNumber(int value) { switch (value) { case 0: return IndexOptionType_Unknown; case 1: return IndexOptionType_Normal; case 2: return IndexOptionType_Small; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< IndexOptionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public IndexOptionType findValueByNumber(int number) { return IndexOptionType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(5); } private static final IndexOptionType[] VALUES = values(); public static IndexOptionType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private IndexOptionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.IndexOptionType) } /** * Protobuf enum {@code Qot_Common.OptionAreaType} */ public enum OptionAreaType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * OptionAreaType_Unknown = 0; */ OptionAreaType_Unknown(0), /** *
     *美式
     * 
* * OptionAreaType_American = 1; */ OptionAreaType_American(1), /** *
     *欧式
     * 
* * OptionAreaType_European = 2; */ OptionAreaType_European(2), /** *
     *百慕大
     * 
* * OptionAreaType_Bermuda = 3; */ OptionAreaType_Bermuda(3), ; /** *
     *未知
     * 
* * OptionAreaType_Unknown = 0; */ public static final int OptionAreaType_Unknown_VALUE = 0; /** *
     *美式
     * 
* * OptionAreaType_American = 1; */ public static final int OptionAreaType_American_VALUE = 1; /** *
     *欧式
     * 
* * OptionAreaType_European = 2; */ public static final int OptionAreaType_European_VALUE = 2; /** *
     *百慕大
     * 
* * OptionAreaType_Bermuda = 3; */ public static final int OptionAreaType_Bermuda_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OptionAreaType valueOf(int value) { return forNumber(value); } public static OptionAreaType forNumber(int value) { switch (value) { case 0: return OptionAreaType_Unknown; case 1: return OptionAreaType_American; case 2: return OptionAreaType_European; case 3: return OptionAreaType_Bermuda; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< OptionAreaType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OptionAreaType findValueByNumber(int number) { return OptionAreaType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(6); } private static final OptionAreaType[] VALUES = values(); public static OptionAreaType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private OptionAreaType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.OptionAreaType) } /** * Protobuf enum {@code Qot_Common.QotMarketState} */ public enum QotMarketState implements com.google.protobuf.ProtocolMessageEnum { /** *
     * 无交易
     * 
* * QotMarketState_None = 0; */ QotMarketState_None(0), /** *
     * 竞价 
     * 
* * QotMarketState_Auction = 1; */ QotMarketState_Auction(1), /** *
     * 早盘前等待开盘
     * 
* * QotMarketState_WaitingOpen = 2; */ QotMarketState_WaitingOpen(2), /** *
     * 早盘 
     * 
* * QotMarketState_Morning = 3; */ QotMarketState_Morning(3), /** *
     * 午间休市 
     * 
* * QotMarketState_Rest = 4; */ QotMarketState_Rest(4), /** *
     * 午盘 
     * 
* * QotMarketState_Afternoon = 5; */ QotMarketState_Afternoon(5), /** *
     * 收盘
     * 
* * QotMarketState_Closed = 6; */ QotMarketState_Closed(6), /** *
     * 盘前
     * 
* * QotMarketState_PreMarketBegin = 8; */ QotMarketState_PreMarketBegin(8), /** *
     * 盘前结束 
     * 
* * QotMarketState_PreMarketEnd = 9; */ QotMarketState_PreMarketEnd(9), /** *
     * 盘后
     * 
* * QotMarketState_AfterHoursBegin = 10; */ QotMarketState_AfterHoursBegin(10), /** *
     * 盘后结束	 
     * 
* * QotMarketState_AfterHoursEnd = 11; */ QotMarketState_AfterHoursEnd(11), /** *
     * 夜市开盘 
     * 
* * QotMarketState_NightOpen = 13; */ QotMarketState_NightOpen(13), /** *
     * 夜市收盘 
     * 
* * QotMarketState_NightEnd = 14; */ QotMarketState_NightEnd(14), /** *
     * 期货日市开盘 
     * 
* * QotMarketState_FutureDayOpen = 15; */ QotMarketState_FutureDayOpen(15), /** *
     * 期货日市休市 
     * 
* * QotMarketState_FutureDayBreak = 16; */ QotMarketState_FutureDayBreak(16), /** *
     * 期货日市收盘 
     * 
* * QotMarketState_FutureDayClose = 17; */ QotMarketState_FutureDayClose(17), /** *
     * 期货日市等待开盘 
     * 
* * QotMarketState_FutureDayWaitForOpen = 18; */ QotMarketState_FutureDayWaitForOpen(18), /** *
     * 盘后竞价,港股市场增加CAS机制对应的市场状态	
     * 
* * QotMarketState_HkCas = 19; */ QotMarketState_HkCas(19), /** *
     * 夜市等待开盘(已废弃)
     * 
* * QotMarketState_FutureNightWait = 20; */ QotMarketState_FutureNightWait(20), /** *
     * 期货下午开盘(已废弃)
     * 
* * QotMarketState_FutureAfternoon = 21; */ QotMarketState_FutureAfternoon(21), /** *
     *美国期货新增加状态
     * 
* * QotMarketState_FutureSwitchDate = 22; */ QotMarketState_FutureSwitchDate(22), /** *
     * 期货开盘
     * 
* * QotMarketState_FutureOpen = 23; */ QotMarketState_FutureOpen(23), /** *
     * 期货中盘休息
     * 
* * QotMarketState_FutureBreak = 24; */ QotMarketState_FutureBreak(24), /** *
     * 期货休息后开盘
     * 
* * QotMarketState_FutureBreakOver = 25; */ QotMarketState_FutureBreakOver(25), /** *
     * 期货收盘
     * 
* * QotMarketState_FutureClose = 26; */ QotMarketState_FutureClose(26), /** *
     *科创板新增状态
     * 
* * QotMarketState_StibAfterHoursWait = 27; */ QotMarketState_StibAfterHoursWait(27), /** *
     * 科创板的盘后交易开始(已废弃)
     * 
* * QotMarketState_StibAfterHoursBegin = 28; */ QotMarketState_StibAfterHoursBegin(28), /** *
     * 科创板的盘后交易结束(已废弃)
     * 
* * QotMarketState_StibAfterHoursEnd = 29; */ QotMarketState_StibAfterHoursEnd(29), ; /** *
     * 无交易
     * 
* * QotMarketState_None = 0; */ public static final int QotMarketState_None_VALUE = 0; /** *
     * 竞价 
     * 
* * QotMarketState_Auction = 1; */ public static final int QotMarketState_Auction_VALUE = 1; /** *
     * 早盘前等待开盘
     * 
* * QotMarketState_WaitingOpen = 2; */ public static final int QotMarketState_WaitingOpen_VALUE = 2; /** *
     * 早盘 
     * 
* * QotMarketState_Morning = 3; */ public static final int QotMarketState_Morning_VALUE = 3; /** *
     * 午间休市 
     * 
* * QotMarketState_Rest = 4; */ public static final int QotMarketState_Rest_VALUE = 4; /** *
     * 午盘 
     * 
* * QotMarketState_Afternoon = 5; */ public static final int QotMarketState_Afternoon_VALUE = 5; /** *
     * 收盘
     * 
* * QotMarketState_Closed = 6; */ public static final int QotMarketState_Closed_VALUE = 6; /** *
     * 盘前
     * 
* * QotMarketState_PreMarketBegin = 8; */ public static final int QotMarketState_PreMarketBegin_VALUE = 8; /** *
     * 盘前结束 
     * 
* * QotMarketState_PreMarketEnd = 9; */ public static final int QotMarketState_PreMarketEnd_VALUE = 9; /** *
     * 盘后
     * 
* * QotMarketState_AfterHoursBegin = 10; */ public static final int QotMarketState_AfterHoursBegin_VALUE = 10; /** *
     * 盘后结束	 
     * 
* * QotMarketState_AfterHoursEnd = 11; */ public static final int QotMarketState_AfterHoursEnd_VALUE = 11; /** *
     * 夜市开盘 
     * 
* * QotMarketState_NightOpen = 13; */ public static final int QotMarketState_NightOpen_VALUE = 13; /** *
     * 夜市收盘 
     * 
* * QotMarketState_NightEnd = 14; */ public static final int QotMarketState_NightEnd_VALUE = 14; /** *
     * 期货日市开盘 
     * 
* * QotMarketState_FutureDayOpen = 15; */ public static final int QotMarketState_FutureDayOpen_VALUE = 15; /** *
     * 期货日市休市 
     * 
* * QotMarketState_FutureDayBreak = 16; */ public static final int QotMarketState_FutureDayBreak_VALUE = 16; /** *
     * 期货日市收盘 
     * 
* * QotMarketState_FutureDayClose = 17; */ public static final int QotMarketState_FutureDayClose_VALUE = 17; /** *
     * 期货日市等待开盘 
     * 
* * QotMarketState_FutureDayWaitForOpen = 18; */ public static final int QotMarketState_FutureDayWaitForOpen_VALUE = 18; /** *
     * 盘后竞价,港股市场增加CAS机制对应的市场状态	
     * 
* * QotMarketState_HkCas = 19; */ public static final int QotMarketState_HkCas_VALUE = 19; /** *
     * 夜市等待开盘(已废弃)
     * 
* * QotMarketState_FutureNightWait = 20; */ public static final int QotMarketState_FutureNightWait_VALUE = 20; /** *
     * 期货下午开盘(已废弃)
     * 
* * QotMarketState_FutureAfternoon = 21; */ public static final int QotMarketState_FutureAfternoon_VALUE = 21; /** *
     *美国期货新增加状态
     * 
* * QotMarketState_FutureSwitchDate = 22; */ public static final int QotMarketState_FutureSwitchDate_VALUE = 22; /** *
     * 期货开盘
     * 
* * QotMarketState_FutureOpen = 23; */ public static final int QotMarketState_FutureOpen_VALUE = 23; /** *
     * 期货中盘休息
     * 
* * QotMarketState_FutureBreak = 24; */ public static final int QotMarketState_FutureBreak_VALUE = 24; /** *
     * 期货休息后开盘
     * 
* * QotMarketState_FutureBreakOver = 25; */ public static final int QotMarketState_FutureBreakOver_VALUE = 25; /** *
     * 期货收盘
     * 
* * QotMarketState_FutureClose = 26; */ public static final int QotMarketState_FutureClose_VALUE = 26; /** *
     *科创板新增状态
     * 
* * QotMarketState_StibAfterHoursWait = 27; */ public static final int QotMarketState_StibAfterHoursWait_VALUE = 27; /** *
     * 科创板的盘后交易开始(已废弃)
     * 
* * QotMarketState_StibAfterHoursBegin = 28; */ public static final int QotMarketState_StibAfterHoursBegin_VALUE = 28; /** *
     * 科创板的盘后交易结束(已废弃)
     * 
* * QotMarketState_StibAfterHoursEnd = 29; */ public static final int QotMarketState_StibAfterHoursEnd_VALUE = 29; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static QotMarketState valueOf(int value) { return forNumber(value); } public static QotMarketState forNumber(int value) { switch (value) { case 0: return QotMarketState_None; case 1: return QotMarketState_Auction; case 2: return QotMarketState_WaitingOpen; case 3: return QotMarketState_Morning; case 4: return QotMarketState_Rest; case 5: return QotMarketState_Afternoon; case 6: return QotMarketState_Closed; case 8: return QotMarketState_PreMarketBegin; case 9: return QotMarketState_PreMarketEnd; case 10: return QotMarketState_AfterHoursBegin; case 11: return QotMarketState_AfterHoursEnd; case 13: return QotMarketState_NightOpen; case 14: return QotMarketState_NightEnd; case 15: return QotMarketState_FutureDayOpen; case 16: return QotMarketState_FutureDayBreak; case 17: return QotMarketState_FutureDayClose; case 18: return QotMarketState_FutureDayWaitForOpen; case 19: return QotMarketState_HkCas; case 20: return QotMarketState_FutureNightWait; case 21: return QotMarketState_FutureAfternoon; case 22: return QotMarketState_FutureSwitchDate; case 23: return QotMarketState_FutureOpen; case 24: return QotMarketState_FutureBreak; case 25: return QotMarketState_FutureBreakOver; case 26: return QotMarketState_FutureClose; case 27: return QotMarketState_StibAfterHoursWait; case 28: return QotMarketState_StibAfterHoursBegin; case 29: return QotMarketState_StibAfterHoursEnd; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< QotMarketState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public QotMarketState findValueByNumber(int number) { return QotMarketState.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(7); } private static final QotMarketState[] VALUES = values(); public static QotMarketState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private QotMarketState(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.QotMarketState) } /** *
   *交易日查询市场
   * 
* * Protobuf enum {@code Qot_Common.TradeDateMarket} */ public enum TradeDateMarket implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * TradeDateMarket_Unknown = 0; */ TradeDateMarket_Unknown(0), /** *
     *港股市场
     * 
* * TradeDateMarket_HK = 1; */ TradeDateMarket_HK(1), /** *
     *美股市场
     * 
* * TradeDateMarket_US = 2; */ TradeDateMarket_US(2), /** *
     *A股市场
     * 
* * TradeDateMarket_CN = 3; */ TradeDateMarket_CN(3), /** *
     *深(沪)股通
     * 
* * TradeDateMarket_NT = 4; */ TradeDateMarket_NT(4), /** *
     *港股通(深、沪)
     * 
* * TradeDateMarket_ST = 5; */ TradeDateMarket_ST(5), /** *
     *日本期货
     * 
* * TradeDateMarket_JP_Future = 6; */ TradeDateMarket_JP_Future(6), /** *
     *新加坡期货
     * 
* * TradeDateMarket_SG_Future = 7; */ TradeDateMarket_SG_Future(7), ; /** *
     *未知
     * 
* * TradeDateMarket_Unknown = 0; */ public static final int TradeDateMarket_Unknown_VALUE = 0; /** *
     *港股市场
     * 
* * TradeDateMarket_HK = 1; */ public static final int TradeDateMarket_HK_VALUE = 1; /** *
     *美股市场
     * 
* * TradeDateMarket_US = 2; */ public static final int TradeDateMarket_US_VALUE = 2; /** *
     *A股市场
     * 
* * TradeDateMarket_CN = 3; */ public static final int TradeDateMarket_CN_VALUE = 3; /** *
     *深(沪)股通
     * 
* * TradeDateMarket_NT = 4; */ public static final int TradeDateMarket_NT_VALUE = 4; /** *
     *港股通(深、沪)
     * 
* * TradeDateMarket_ST = 5; */ public static final int TradeDateMarket_ST_VALUE = 5; /** *
     *日本期货
     * 
* * TradeDateMarket_JP_Future = 6; */ public static final int TradeDateMarket_JP_Future_VALUE = 6; /** *
     *新加坡期货
     * 
* * TradeDateMarket_SG_Future = 7; */ public static final int TradeDateMarket_SG_Future_VALUE = 7; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TradeDateMarket valueOf(int value) { return forNumber(value); } public static TradeDateMarket forNumber(int value) { switch (value) { case 0: return TradeDateMarket_Unknown; case 1: return TradeDateMarket_HK; case 2: return TradeDateMarket_US; case 3: return TradeDateMarket_CN; case 4: return TradeDateMarket_NT; case 5: return TradeDateMarket_ST; case 6: return TradeDateMarket_JP_Future; case 7: return TradeDateMarket_SG_Future; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TradeDateMarket> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TradeDateMarket findValueByNumber(int number) { return TradeDateMarket.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(8); } private static final TradeDateMarket[] VALUES = values(); public static TradeDateMarket valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private TradeDateMarket(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.TradeDateMarket) } /** *
   *交易日类型
   * 
* * Protobuf enum {@code Qot_Common.TradeDateType} */ public enum TradeDateType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *全天交易
     * 
* * TradeDateType_Whole = 0; */ TradeDateType_Whole(0), /** *
     *上午交易,下午休市
     * 
* * TradeDateType_Morning = 1; */ TradeDateType_Morning(1), /** *
     *下午交易,上午休市
     * 
* * TradeDateType_Afternoon = 2; */ TradeDateType_Afternoon(2), ; /** *
     *全天交易
     * 
* * TradeDateType_Whole = 0; */ public static final int TradeDateType_Whole_VALUE = 0; /** *
     *上午交易,下午休市
     * 
* * TradeDateType_Morning = 1; */ public static final int TradeDateType_Morning_VALUE = 1; /** *
     *下午交易,上午休市
     * 
* * TradeDateType_Afternoon = 2; */ public static final int TradeDateType_Afternoon_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TradeDateType valueOf(int value) { return forNumber(value); } public static TradeDateType forNumber(int value) { switch (value) { case 0: return TradeDateType_Whole; case 1: return TradeDateType_Morning; case 2: return TradeDateType_Afternoon; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TradeDateType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TradeDateType findValueByNumber(int number) { return TradeDateType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(9); } private static final TradeDateType[] VALUES = values(); public static TradeDateType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private TradeDateType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.TradeDateType) } /** * Protobuf enum {@code Qot_Common.RehabType} */ public enum RehabType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *不复权
     * 
* * RehabType_None = 0; */ RehabType_None(0), /** *
     *前复权
     * 
* * RehabType_Forward = 1; */ RehabType_Forward(1), /** *
     *后复权
     * 
* * RehabType_Backward = 2; */ RehabType_Backward(2), ; /** *
     *不复权
     * 
* * RehabType_None = 0; */ public static final int RehabType_None_VALUE = 0; /** *
     *前复权
     * 
* * RehabType_Forward = 1; */ public static final int RehabType_Forward_VALUE = 1; /** *
     *后复权
     * 
* * RehabType_Backward = 2; */ public static final int RehabType_Backward_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RehabType valueOf(int value) { return forNumber(value); } public static RehabType forNumber(int value) { switch (value) { case 0: return RehabType_None; case 1: return RehabType_Forward; case 2: return RehabType_Backward; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RehabType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RehabType findValueByNumber(int number) { return RehabType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(10); } private static final RehabType[] VALUES = values(); public static RehabType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private RehabType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.RehabType) } /** *
   *枚举值兼容旧协议定义
   * 
* * Protobuf enum {@code Qot_Common.KLType} */ public enum KLType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * KLType_Unknown = 0; */ KLType_Unknown(0), /** *
     *1分K
     * 
* * KLType_1Min = 1; */ KLType_1Min(1), /** *
     *日K
     * 
* * KLType_Day = 2; */ KLType_Day(2), /** *
     *周K
     * 
* * KLType_Week = 3; */ KLType_Week(3), /** *
     *月K	
     * 
* * KLType_Month = 4; */ KLType_Month(4), /** *
     *年K
     * 
* * KLType_Year = 5; */ KLType_Year(5), /** *
     *5分K
     * 
* * KLType_5Min = 6; */ KLType_5Min(6), /** *
     *15分K
     * 
* * KLType_15Min = 7; */ KLType_15Min(7), /** *
     *30分K
     * 
* * KLType_30Min = 8; */ KLType_30Min(8), /** *
     *60分K		
     * 
* * KLType_60Min = 9; */ KLType_60Min(9), /** *
     *3分K
     * 
* * KLType_3Min = 10; */ KLType_3Min(10), /** *
     *季K
     * 
* * KLType_Quarter = 11; */ KLType_Quarter(11), ; /** *
     *未知
     * 
* * KLType_Unknown = 0; */ public static final int KLType_Unknown_VALUE = 0; /** *
     *1分K
     * 
* * KLType_1Min = 1; */ public static final int KLType_1Min_VALUE = 1; /** *
     *日K
     * 
* * KLType_Day = 2; */ public static final int KLType_Day_VALUE = 2; /** *
     *周K
     * 
* * KLType_Week = 3; */ public static final int KLType_Week_VALUE = 3; /** *
     *月K	
     * 
* * KLType_Month = 4; */ public static final int KLType_Month_VALUE = 4; /** *
     *年K
     * 
* * KLType_Year = 5; */ public static final int KLType_Year_VALUE = 5; /** *
     *5分K
     * 
* * KLType_5Min = 6; */ public static final int KLType_5Min_VALUE = 6; /** *
     *15分K
     * 
* * KLType_15Min = 7; */ public static final int KLType_15Min_VALUE = 7; /** *
     *30分K
     * 
* * KLType_30Min = 8; */ public static final int KLType_30Min_VALUE = 8; /** *
     *60分K		
     * 
* * KLType_60Min = 9; */ public static final int KLType_60Min_VALUE = 9; /** *
     *3分K
     * 
* * KLType_3Min = 10; */ public static final int KLType_3Min_VALUE = 10; /** *
     *季K
     * 
* * KLType_Quarter = 11; */ public static final int KLType_Quarter_VALUE = 11; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static KLType valueOf(int value) { return forNumber(value); } public static KLType forNumber(int value) { switch (value) { case 0: return KLType_Unknown; case 1: return KLType_1Min; case 2: return KLType_Day; case 3: return KLType_Week; case 4: return KLType_Month; case 5: return KLType_Year; case 6: return KLType_5Min; case 7: return KLType_15Min; case 8: return KLType_30Min; case 9: return KLType_60Min; case 10: return KLType_3Min; case 11: return KLType_Quarter; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< KLType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public KLType findValueByNumber(int number) { return KLType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(11); } private static final KLType[] VALUES = values(); public static KLType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private KLType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.KLType) } /** * Protobuf enum {@code Qot_Common.KLFields} */ public enum KLFields implements com.google.protobuf.ProtocolMessageEnum { /** *
     * 
* * KLFields_None = 0; */ KLFields_None(0), /** *
     *最高价
     * 
* * KLFields_High = 1; */ KLFields_High(1), /** *
     *开盘价
     * 
* * KLFields_Open = 2; */ KLFields_Open(2), /** *
     *最低价
     * 
* * KLFields_Low = 4; */ KLFields_Low(4), /** *
     *收盘价
     * 
* * KLFields_Close = 8; */ KLFields_Close(8), /** *
     *昨收价
     * 
* * KLFields_LastClose = 16; */ KLFields_LastClose(16), /** *
     *成交量
     * 
* * KLFields_Volume = 32; */ KLFields_Volume(32), /** *
     *成交额
     * 
* * KLFields_Turnover = 64; */ KLFields_Turnover(64), /** *
     *换手率
     * 
* * KLFields_TurnoverRate = 128; */ KLFields_TurnoverRate(128), /** *
     *市盈率
     * 
* * KLFields_PE = 256; */ KLFields_PE(256), /** *
     *涨跌幅
     * 
* * KLFields_ChangeRate = 512; */ KLFields_ChangeRate(512), ; /** *
     * 
* * KLFields_None = 0; */ public static final int KLFields_None_VALUE = 0; /** *
     *最高价
     * 
* * KLFields_High = 1; */ public static final int KLFields_High_VALUE = 1; /** *
     *开盘价
     * 
* * KLFields_Open = 2; */ public static final int KLFields_Open_VALUE = 2; /** *
     *最低价
     * 
* * KLFields_Low = 4; */ public static final int KLFields_Low_VALUE = 4; /** *
     *收盘价
     * 
* * KLFields_Close = 8; */ public static final int KLFields_Close_VALUE = 8; /** *
     *昨收价
     * 
* * KLFields_LastClose = 16; */ public static final int KLFields_LastClose_VALUE = 16; /** *
     *成交量
     * 
* * KLFields_Volume = 32; */ public static final int KLFields_Volume_VALUE = 32; /** *
     *成交额
     * 
* * KLFields_Turnover = 64; */ public static final int KLFields_Turnover_VALUE = 64; /** *
     *换手率
     * 
* * KLFields_TurnoverRate = 128; */ public static final int KLFields_TurnoverRate_VALUE = 128; /** *
     *市盈率
     * 
* * KLFields_PE = 256; */ public static final int KLFields_PE_VALUE = 256; /** *
     *涨跌幅
     * 
* * KLFields_ChangeRate = 512; */ public static final int KLFields_ChangeRate_VALUE = 512; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static KLFields valueOf(int value) { return forNumber(value); } public static KLFields forNumber(int value) { switch (value) { case 0: return KLFields_None; case 1: return KLFields_High; case 2: return KLFields_Open; case 4: return KLFields_Low; case 8: return KLFields_Close; case 16: return KLFields_LastClose; case 32: return KLFields_Volume; case 64: return KLFields_Turnover; case 128: return KLFields_TurnoverRate; case 256: return KLFields_PE; case 512: return KLFields_ChangeRate; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< KLFields> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public KLFields findValueByNumber(int number) { return KLFields.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(12); } private static final KLFields[] VALUES = values(); public static KLFields valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private KLFields(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.KLFields) } /** *
   *订阅类型
   *枚举值兼容旧协议定义
   * 
* * Protobuf enum {@code Qot_Common.SubType} */ public enum SubType implements com.google.protobuf.ProtocolMessageEnum { /** * SubType_None = 0; */ SubType_None(0), /** *
     *基础报价
     * 
* * SubType_Basic = 1; */ SubType_Basic(1), /** *
     *摆盘
     * 
* * SubType_OrderBook = 2; */ SubType_OrderBook(2), /** *
     *逐笔
     * 
* * SubType_Ticker = 4; */ SubType_Ticker(4), /** *
     *分时
     * 
* * SubType_RT = 5; */ SubType_RT(5), /** *
     *日K
     * 
* * SubType_KL_Day = 6; */ SubType_KL_Day(6), /** *
     *5分K
     * 
* * SubType_KL_5Min = 7; */ SubType_KL_5Min(7), /** *
     *15分K
     * 
* * SubType_KL_15Min = 8; */ SubType_KL_15Min(8), /** *
     *30分K
     * 
* * SubType_KL_30Min = 9; */ SubType_KL_30Min(9), /** *
     *60分K
     * 
* * SubType_KL_60Min = 10; */ SubType_KL_60Min(10), /** *
     *1分K
     * 
* * SubType_KL_1Min = 11; */ SubType_KL_1Min(11), /** *
     *周K
     * 
* * SubType_KL_Week = 12; */ SubType_KL_Week(12), /** *
     *月K
     * 
* * SubType_KL_Month = 13; */ SubType_KL_Month(13), /** *
     *经纪队列
     * 
* * SubType_Broker = 14; */ SubType_Broker(14), /** *
     *季K
     * 
* * SubType_KL_Qurater = 15; */ SubType_KL_Qurater(15), /** *
     *年K
     * 
* * SubType_KL_Year = 16; */ SubType_KL_Year(16), /** *
     *3分K
     * 
* * SubType_KL_3Min = 17; */ SubType_KL_3Min(17), ; /** * SubType_None = 0; */ public static final int SubType_None_VALUE = 0; /** *
     *基础报价
     * 
* * SubType_Basic = 1; */ public static final int SubType_Basic_VALUE = 1; /** *
     *摆盘
     * 
* * SubType_OrderBook = 2; */ public static final int SubType_OrderBook_VALUE = 2; /** *
     *逐笔
     * 
* * SubType_Ticker = 4; */ public static final int SubType_Ticker_VALUE = 4; /** *
     *分时
     * 
* * SubType_RT = 5; */ public static final int SubType_RT_VALUE = 5; /** *
     *日K
     * 
* * SubType_KL_Day = 6; */ public static final int SubType_KL_Day_VALUE = 6; /** *
     *5分K
     * 
* * SubType_KL_5Min = 7; */ public static final int SubType_KL_5Min_VALUE = 7; /** *
     *15分K
     * 
* * SubType_KL_15Min = 8; */ public static final int SubType_KL_15Min_VALUE = 8; /** *
     *30分K
     * 
* * SubType_KL_30Min = 9; */ public static final int SubType_KL_30Min_VALUE = 9; /** *
     *60分K
     * 
* * SubType_KL_60Min = 10; */ public static final int SubType_KL_60Min_VALUE = 10; /** *
     *1分K
     * 
* * SubType_KL_1Min = 11; */ public static final int SubType_KL_1Min_VALUE = 11; /** *
     *周K
     * 
* * SubType_KL_Week = 12; */ public static final int SubType_KL_Week_VALUE = 12; /** *
     *月K
     * 
* * SubType_KL_Month = 13; */ public static final int SubType_KL_Month_VALUE = 13; /** *
     *经纪队列
     * 
* * SubType_Broker = 14; */ public static final int SubType_Broker_VALUE = 14; /** *
     *季K
     * 
* * SubType_KL_Qurater = 15; */ public static final int SubType_KL_Qurater_VALUE = 15; /** *
     *年K
     * 
* * SubType_KL_Year = 16; */ public static final int SubType_KL_Year_VALUE = 16; /** *
     *3分K
     * 
* * SubType_KL_3Min = 17; */ public static final int SubType_KL_3Min_VALUE = 17; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SubType valueOf(int value) { return forNumber(value); } public static SubType forNumber(int value) { switch (value) { case 0: return SubType_None; case 1: return SubType_Basic; case 2: return SubType_OrderBook; case 4: return SubType_Ticker; case 5: return SubType_RT; case 6: return SubType_KL_Day; case 7: return SubType_KL_5Min; case 8: return SubType_KL_15Min; case 9: return SubType_KL_30Min; case 10: return SubType_KL_60Min; case 11: return SubType_KL_1Min; case 12: return SubType_KL_Week; case 13: return SubType_KL_Month; case 14: return SubType_Broker; case 15: return SubType_KL_Qurater; case 16: return SubType_KL_Year; case 17: return SubType_KL_3Min; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SubType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SubType findValueByNumber(int number) { return SubType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(13); } private static final SubType[] VALUES = values(); public static SubType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private SubType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.SubType) } /** * Protobuf enum {@code Qot_Common.TickerDirection} */ public enum TickerDirection implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * TickerDirection_Unknown = 0; */ TickerDirection_Unknown(0), /** *
     *外盘
     * 
* * TickerDirection_Bid = 1; */ TickerDirection_Bid(1), /** *
     *内盘
     * 
* * TickerDirection_Ask = 2; */ TickerDirection_Ask(2), /** *
     *中性盘
     * 
* * TickerDirection_Neutral = 3; */ TickerDirection_Neutral(3), ; /** *
     *未知
     * 
* * TickerDirection_Unknown = 0; */ public static final int TickerDirection_Unknown_VALUE = 0; /** *
     *外盘
     * 
* * TickerDirection_Bid = 1; */ public static final int TickerDirection_Bid_VALUE = 1; /** *
     *内盘
     * 
* * TickerDirection_Ask = 2; */ public static final int TickerDirection_Ask_VALUE = 2; /** *
     *中性盘
     * 
* * TickerDirection_Neutral = 3; */ public static final int TickerDirection_Neutral_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TickerDirection valueOf(int value) { return forNumber(value); } public static TickerDirection forNumber(int value) { switch (value) { case 0: return TickerDirection_Unknown; case 1: return TickerDirection_Bid; case 2: return TickerDirection_Ask; case 3: return TickerDirection_Neutral; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TickerDirection> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TickerDirection findValueByNumber(int number) { return TickerDirection.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(14); } private static final TickerDirection[] VALUES = values(); public static TickerDirection valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private TickerDirection(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.TickerDirection) } /** * Protobuf enum {@code Qot_Common.TickerType} */ public enum TickerType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * TickerType_Unknown = 0; */ TickerType_Unknown(0), /** *
     *自动对盘
     * 
* * TickerType_Automatch = 1; */ TickerType_Automatch(1), /** *
     *开市前成交盘
     * 
* * TickerType_Late = 2; */ TickerType_Late(2), /** *
     *非自动对盘
     * 
* * TickerType_NoneAutomatch = 3; */ TickerType_NoneAutomatch(3), /** *
     *同一证券商自动对盘
     * 
* * TickerType_InterAutomatch = 4; */ TickerType_InterAutomatch(4), /** *
     *同一证券商非自动对盘
     * 
* * TickerType_InterNoneAutomatch = 5; */ TickerType_InterNoneAutomatch(5), /** *
     *碎股交易
     * 
* * TickerType_OddLot = 6; */ TickerType_OddLot(6), /** *
     *竞价交易	
     * 
* * TickerType_Auction = 7; */ TickerType_Auction(7), /** *
     *批量交易
     * 
* * TickerType_Bulk = 8; */ TickerType_Bulk(8), /** *
     *现金交易
     * 
* * TickerType_Crash = 9; */ TickerType_Crash(9), /** *
     *跨市场交易
     * 
* * TickerType_CrossMarket = 10; */ TickerType_CrossMarket(10), /** *
     *批量卖出
     * 
* * TickerType_BulkSold = 11; */ TickerType_BulkSold(11), /** *
     *离价交易
     * 
* * TickerType_FreeOnBoard = 12; */ TickerType_FreeOnBoard(12), /** *
     *第127条交易(纽交所规则)或第155条交易
     * 
* * TickerType_Rule127Or155 = 13; */ TickerType_Rule127Or155(13), /** *
     *延迟交易
     * 
* * TickerType_Delay = 14; */ TickerType_Delay(14), /** *
     *中央收市价
     * 
* * TickerType_MarketCenterClosePrice = 15; */ TickerType_MarketCenterClosePrice(15), /** *
     *隔日交易
     * 
* * TickerType_NextDay = 16; */ TickerType_NextDay(16), /** *
     *中央开盘价交易
     * 
* * TickerType_MarketCenterOpening = 17; */ TickerType_MarketCenterOpening(17), /** *
     *前参考价
     * 
* * TickerType_PriorReferencePrice = 18; */ TickerType_PriorReferencePrice(18), /** *
     *中央开盘价
     * 
* * TickerType_MarketCenterOpenPrice = 19; */ TickerType_MarketCenterOpenPrice(19), /** *
     *卖方
     * 
* * TickerType_Seller = 20; */ TickerType_Seller(20), /** *
     *T类交易(盘前和盘后交易)
     * 
* * TickerType_T = 21; */ TickerType_T(21), /** *
     *延长交易时段
     * 
* * TickerType_ExtendedTradingHours = 22; */ TickerType_ExtendedTradingHours(22), /** *
     *合单交易
     * 
* * TickerType_Contingent = 23; */ TickerType_Contingent(23), /** *
     *平均价成交
     * 
* * TickerType_AvgPrice = 24; */ TickerType_AvgPrice(24), /** *
     *场外售出
     * 
* * TickerType_OTCSold = 25; */ TickerType_OTCSold(25), /** *
     *碎股跨市场交易
     * 
* * TickerType_OddLotCrossMarket = 26; */ TickerType_OddLotCrossMarket(26), /** *
     *衍生工具定价
     * 
* * TickerType_DerivativelyPriced = 27; */ TickerType_DerivativelyPriced(27), /** *
     *再开盘定价
     * 
* * TickerType_ReOpeningPriced = 28; */ TickerType_ReOpeningPriced(28), /** *
     *收盘定价
     * 
* * TickerType_ClosingPriced = 29; */ TickerType_ClosingPriced(29), /** *
     *综合延迟价格
     * 
* * TickerType_ComprehensiveDelayPrice = 30; */ TickerType_ComprehensiveDelayPrice(30), /** *
     *交易的一方不是香港交易所的成员,属于场外交易
     * 
* * TickerType_Overseas = 31; */ TickerType_Overseas(31), ; /** *
     *未知
     * 
* * TickerType_Unknown = 0; */ public static final int TickerType_Unknown_VALUE = 0; /** *
     *自动对盘
     * 
* * TickerType_Automatch = 1; */ public static final int TickerType_Automatch_VALUE = 1; /** *
     *开市前成交盘
     * 
* * TickerType_Late = 2; */ public static final int TickerType_Late_VALUE = 2; /** *
     *非自动对盘
     * 
* * TickerType_NoneAutomatch = 3; */ public static final int TickerType_NoneAutomatch_VALUE = 3; /** *
     *同一证券商自动对盘
     * 
* * TickerType_InterAutomatch = 4; */ public static final int TickerType_InterAutomatch_VALUE = 4; /** *
     *同一证券商非自动对盘
     * 
* * TickerType_InterNoneAutomatch = 5; */ public static final int TickerType_InterNoneAutomatch_VALUE = 5; /** *
     *碎股交易
     * 
* * TickerType_OddLot = 6; */ public static final int TickerType_OddLot_VALUE = 6; /** *
     *竞价交易	
     * 
* * TickerType_Auction = 7; */ public static final int TickerType_Auction_VALUE = 7; /** *
     *批量交易
     * 
* * TickerType_Bulk = 8; */ public static final int TickerType_Bulk_VALUE = 8; /** *
     *现金交易
     * 
* * TickerType_Crash = 9; */ public static final int TickerType_Crash_VALUE = 9; /** *
     *跨市场交易
     * 
* * TickerType_CrossMarket = 10; */ public static final int TickerType_CrossMarket_VALUE = 10; /** *
     *批量卖出
     * 
* * TickerType_BulkSold = 11; */ public static final int TickerType_BulkSold_VALUE = 11; /** *
     *离价交易
     * 
* * TickerType_FreeOnBoard = 12; */ public static final int TickerType_FreeOnBoard_VALUE = 12; /** *
     *第127条交易(纽交所规则)或第155条交易
     * 
* * TickerType_Rule127Or155 = 13; */ public static final int TickerType_Rule127Or155_VALUE = 13; /** *
     *延迟交易
     * 
* * TickerType_Delay = 14; */ public static final int TickerType_Delay_VALUE = 14; /** *
     *中央收市价
     * 
* * TickerType_MarketCenterClosePrice = 15; */ public static final int TickerType_MarketCenterClosePrice_VALUE = 15; /** *
     *隔日交易
     * 
* * TickerType_NextDay = 16; */ public static final int TickerType_NextDay_VALUE = 16; /** *
     *中央开盘价交易
     * 
* * TickerType_MarketCenterOpening = 17; */ public static final int TickerType_MarketCenterOpening_VALUE = 17; /** *
     *前参考价
     * 
* * TickerType_PriorReferencePrice = 18; */ public static final int TickerType_PriorReferencePrice_VALUE = 18; /** *
     *中央开盘价
     * 
* * TickerType_MarketCenterOpenPrice = 19; */ public static final int TickerType_MarketCenterOpenPrice_VALUE = 19; /** *
     *卖方
     * 
* * TickerType_Seller = 20; */ public static final int TickerType_Seller_VALUE = 20; /** *
     *T类交易(盘前和盘后交易)
     * 
* * TickerType_T = 21; */ public static final int TickerType_T_VALUE = 21; /** *
     *延长交易时段
     * 
* * TickerType_ExtendedTradingHours = 22; */ public static final int TickerType_ExtendedTradingHours_VALUE = 22; /** *
     *合单交易
     * 
* * TickerType_Contingent = 23; */ public static final int TickerType_Contingent_VALUE = 23; /** *
     *平均价成交
     * 
* * TickerType_AvgPrice = 24; */ public static final int TickerType_AvgPrice_VALUE = 24; /** *
     *场外售出
     * 
* * TickerType_OTCSold = 25; */ public static final int TickerType_OTCSold_VALUE = 25; /** *
     *碎股跨市场交易
     * 
* * TickerType_OddLotCrossMarket = 26; */ public static final int TickerType_OddLotCrossMarket_VALUE = 26; /** *
     *衍生工具定价
     * 
* * TickerType_DerivativelyPriced = 27; */ public static final int TickerType_DerivativelyPriced_VALUE = 27; /** *
     *再开盘定价
     * 
* * TickerType_ReOpeningPriced = 28; */ public static final int TickerType_ReOpeningPriced_VALUE = 28; /** *
     *收盘定价
     * 
* * TickerType_ClosingPriced = 29; */ public static final int TickerType_ClosingPriced_VALUE = 29; /** *
     *综合延迟价格
     * 
* * TickerType_ComprehensiveDelayPrice = 30; */ public static final int TickerType_ComprehensiveDelayPrice_VALUE = 30; /** *
     *交易的一方不是香港交易所的成员,属于场外交易
     * 
* * TickerType_Overseas = 31; */ public static final int TickerType_Overseas_VALUE = 31; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TickerType valueOf(int value) { return forNumber(value); } public static TickerType forNumber(int value) { switch (value) { case 0: return TickerType_Unknown; case 1: return TickerType_Automatch; case 2: return TickerType_Late; case 3: return TickerType_NoneAutomatch; case 4: return TickerType_InterAutomatch; case 5: return TickerType_InterNoneAutomatch; case 6: return TickerType_OddLot; case 7: return TickerType_Auction; case 8: return TickerType_Bulk; case 9: return TickerType_Crash; case 10: return TickerType_CrossMarket; case 11: return TickerType_BulkSold; case 12: return TickerType_FreeOnBoard; case 13: return TickerType_Rule127Or155; case 14: return TickerType_Delay; case 15: return TickerType_MarketCenterClosePrice; case 16: return TickerType_NextDay; case 17: return TickerType_MarketCenterOpening; case 18: return TickerType_PriorReferencePrice; case 19: return TickerType_MarketCenterOpenPrice; case 20: return TickerType_Seller; case 21: return TickerType_T; case 22: return TickerType_ExtendedTradingHours; case 23: return TickerType_Contingent; case 24: return TickerType_AvgPrice; case 25: return TickerType_OTCSold; case 26: return TickerType_OddLotCrossMarket; case 27: return TickerType_DerivativelyPriced; case 28: return TickerType_ReOpeningPriced; case 29: return TickerType_ClosingPriced; case 30: return TickerType_ComprehensiveDelayPrice; case 31: return TickerType_Overseas; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TickerType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TickerType findValueByNumber(int number) { return TickerType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(15); } private static final TickerType[] VALUES = values(); public static TickerType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private TickerType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.TickerType) } /** * Protobuf enum {@code Qot_Common.DarkStatus} */ public enum DarkStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
     *无暗盘交易
     * 
* * DarkStatus_None = 0; */ DarkStatus_None(0), /** *
     *暗盘交易中
     * 
* * DarkStatus_Trading = 1; */ DarkStatus_Trading(1), /** *
     *暗盘交易结束
     * 
* * DarkStatus_End = 2; */ DarkStatus_End(2), ; /** *
     *无暗盘交易
     * 
* * DarkStatus_None = 0; */ public static final int DarkStatus_None_VALUE = 0; /** *
     *暗盘交易中
     * 
* * DarkStatus_Trading = 1; */ public static final int DarkStatus_Trading_VALUE = 1; /** *
     *暗盘交易结束
     * 
* * DarkStatus_End = 2; */ public static final int DarkStatus_End_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DarkStatus valueOf(int value) { return forNumber(value); } public static DarkStatus forNumber(int value) { switch (value) { case 0: return DarkStatus_None; case 1: return DarkStatus_Trading; case 2: return DarkStatus_End; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< DarkStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DarkStatus findValueByNumber(int number) { return DarkStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(16); } private static final DarkStatus[] VALUES = values(); public static DarkStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private DarkStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.DarkStatus) } /** * Protobuf enum {@code Qot_Common.SecurityStatus} */ public enum SecurityStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * SecurityStatus_Unknown = 0; */ SecurityStatus_Unknown(0), /** *
     *正常状态
     * 
* * SecurityStatus_Normal = 1; */ SecurityStatus_Normal(1), /** *
     *待上市
     * 
* * SecurityStatus_Listing = 2; */ SecurityStatus_Listing(2), /** *
     *申购中
     * 
* * SecurityStatus_Purchasing = 3; */ SecurityStatus_Purchasing(3), /** *
     *认购中
     * 
* * SecurityStatus_Subscribing = 4; */ SecurityStatus_Subscribing(4), /** *
     *暗盘开盘前
     * 
* * SecurityStatus_BeforeDrakTradeOpening = 5; */ SecurityStatus_BeforeDrakTradeOpening(5), /** *
     *暗盘交易中
     * 
* * SecurityStatus_DrakTrading = 6; */ SecurityStatus_DrakTrading(6), /** *
     *暗盘已收盘
     * 
* * SecurityStatus_DrakTradeEnd = 7; */ SecurityStatus_DrakTradeEnd(7), /** *
     *待开盘
     * 
* * SecurityStatus_ToBeOpen = 8; */ SecurityStatus_ToBeOpen(8), /** *
     *停牌
     * 
* * SecurityStatus_Suspended = 9; */ SecurityStatus_Suspended(9), /** *
     *已收回
     * 
* * SecurityStatus_Called = 10; */ SecurityStatus_Called(10), /** *
     *已过最后交易日
     * 
* * SecurityStatus_ExpiredLastTradingDate = 11; */ SecurityStatus_ExpiredLastTradingDate(11), /** *
     *已过期
     * 
* * SecurityStatus_Expired = 12; */ SecurityStatus_Expired(12), /** *
     *已退市
     * 
* * SecurityStatus_Delisted = 13; */ SecurityStatus_Delisted(13), /** *
     *公司行动中,交易关闭,转至临时代码交易
     * 
* * SecurityStatus_ChangeToTemporaryCode = 14; */ SecurityStatus_ChangeToTemporaryCode(14), /** *
     *临时买卖结束,交易关闭
     * 
* * SecurityStatus_TemporaryCodeTradeEnd = 15; */ SecurityStatus_TemporaryCodeTradeEnd(15), /** *
     *已转板,旧代码交易关闭
     * 
* * SecurityStatus_ChangedPlateTradeEnd = 16; */ SecurityStatus_ChangedPlateTradeEnd(16), /** *
     *已换代码,旧代码交易关闭
     * 
* * SecurityStatus_ChangedCodeTradeEnd = 17; */ SecurityStatus_ChangedCodeTradeEnd(17), /** *
     *可恢复性熔断
     * 
* * SecurityStatus_RecoverableCircuitBreaker = 18; */ SecurityStatus_RecoverableCircuitBreaker(18), /** *
     *不可恢复性熔断
     * 
* * SecurityStatus_UnRecoverableCircuitBreaker = 19; */ SecurityStatus_UnRecoverableCircuitBreaker(19), /** *
     *盘后撮合
     * 
* * SecurityStatus_AfterCombination = 20; */ SecurityStatus_AfterCombination(20), /** *
     *盘后交易
     * 
* * SecurityStatus_AfterTransation = 21; */ SecurityStatus_AfterTransation(21), ; /** *
     *未知
     * 
* * SecurityStatus_Unknown = 0; */ public static final int SecurityStatus_Unknown_VALUE = 0; /** *
     *正常状态
     * 
* * SecurityStatus_Normal = 1; */ public static final int SecurityStatus_Normal_VALUE = 1; /** *
     *待上市
     * 
* * SecurityStatus_Listing = 2; */ public static final int SecurityStatus_Listing_VALUE = 2; /** *
     *申购中
     * 
* * SecurityStatus_Purchasing = 3; */ public static final int SecurityStatus_Purchasing_VALUE = 3; /** *
     *认购中
     * 
* * SecurityStatus_Subscribing = 4; */ public static final int SecurityStatus_Subscribing_VALUE = 4; /** *
     *暗盘开盘前
     * 
* * SecurityStatus_BeforeDrakTradeOpening = 5; */ public static final int SecurityStatus_BeforeDrakTradeOpening_VALUE = 5; /** *
     *暗盘交易中
     * 
* * SecurityStatus_DrakTrading = 6; */ public static final int SecurityStatus_DrakTrading_VALUE = 6; /** *
     *暗盘已收盘
     * 
* * SecurityStatus_DrakTradeEnd = 7; */ public static final int SecurityStatus_DrakTradeEnd_VALUE = 7; /** *
     *待开盘
     * 
* * SecurityStatus_ToBeOpen = 8; */ public static final int SecurityStatus_ToBeOpen_VALUE = 8; /** *
     *停牌
     * 
* * SecurityStatus_Suspended = 9; */ public static final int SecurityStatus_Suspended_VALUE = 9; /** *
     *已收回
     * 
* * SecurityStatus_Called = 10; */ public static final int SecurityStatus_Called_VALUE = 10; /** *
     *已过最后交易日
     * 
* * SecurityStatus_ExpiredLastTradingDate = 11; */ public static final int SecurityStatus_ExpiredLastTradingDate_VALUE = 11; /** *
     *已过期
     * 
* * SecurityStatus_Expired = 12; */ public static final int SecurityStatus_Expired_VALUE = 12; /** *
     *已退市
     * 
* * SecurityStatus_Delisted = 13; */ public static final int SecurityStatus_Delisted_VALUE = 13; /** *
     *公司行动中,交易关闭,转至临时代码交易
     * 
* * SecurityStatus_ChangeToTemporaryCode = 14; */ public static final int SecurityStatus_ChangeToTemporaryCode_VALUE = 14; /** *
     *临时买卖结束,交易关闭
     * 
* * SecurityStatus_TemporaryCodeTradeEnd = 15; */ public static final int SecurityStatus_TemporaryCodeTradeEnd_VALUE = 15; /** *
     *已转板,旧代码交易关闭
     * 
* * SecurityStatus_ChangedPlateTradeEnd = 16; */ public static final int SecurityStatus_ChangedPlateTradeEnd_VALUE = 16; /** *
     *已换代码,旧代码交易关闭
     * 
* * SecurityStatus_ChangedCodeTradeEnd = 17; */ public static final int SecurityStatus_ChangedCodeTradeEnd_VALUE = 17; /** *
     *可恢复性熔断
     * 
* * SecurityStatus_RecoverableCircuitBreaker = 18; */ public static final int SecurityStatus_RecoverableCircuitBreaker_VALUE = 18; /** *
     *不可恢复性熔断
     * 
* * SecurityStatus_UnRecoverableCircuitBreaker = 19; */ public static final int SecurityStatus_UnRecoverableCircuitBreaker_VALUE = 19; /** *
     *盘后撮合
     * 
* * SecurityStatus_AfterCombination = 20; */ public static final int SecurityStatus_AfterCombination_VALUE = 20; /** *
     *盘后交易
     * 
* * SecurityStatus_AfterTransation = 21; */ public static final int SecurityStatus_AfterTransation_VALUE = 21; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SecurityStatus valueOf(int value) { return forNumber(value); } public static SecurityStatus forNumber(int value) { switch (value) { case 0: return SecurityStatus_Unknown; case 1: return SecurityStatus_Normal; case 2: return SecurityStatus_Listing; case 3: return SecurityStatus_Purchasing; case 4: return SecurityStatus_Subscribing; case 5: return SecurityStatus_BeforeDrakTradeOpening; case 6: return SecurityStatus_DrakTrading; case 7: return SecurityStatus_DrakTradeEnd; case 8: return SecurityStatus_ToBeOpen; case 9: return SecurityStatus_Suspended; case 10: return SecurityStatus_Called; case 11: return SecurityStatus_ExpiredLastTradingDate; case 12: return SecurityStatus_Expired; case 13: return SecurityStatus_Delisted; case 14: return SecurityStatus_ChangeToTemporaryCode; case 15: return SecurityStatus_TemporaryCodeTradeEnd; case 16: return SecurityStatus_ChangedPlateTradeEnd; case 17: return SecurityStatus_ChangedCodeTradeEnd; case 18: return SecurityStatus_RecoverableCircuitBreaker; case 19: return SecurityStatus_UnRecoverableCircuitBreaker; case 20: return SecurityStatus_AfterCombination; case 21: return SecurityStatus_AfterTransation; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SecurityStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SecurityStatus findValueByNumber(int number) { return SecurityStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(17); } private static final SecurityStatus[] VALUES = values(); public static SecurityStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private SecurityStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.SecurityStatus) } /** * Protobuf enum {@code Qot_Common.HolderCategory} */ public enum HolderCategory implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * HolderCategory_Unknow = 0; */ HolderCategory_Unknow(0), /** *
     *机构
     * 
* * HolderCategory_Agency = 1; */ HolderCategory_Agency(1), /** *
     *基金
     * 
* * HolderCategory_Fund = 2; */ HolderCategory_Fund(2), /** *
     *高管
     * 
* * HolderCategory_SeniorManager = 3; */ HolderCategory_SeniorManager(3), ; /** *
     *未知
     * 
* * HolderCategory_Unknow = 0; */ public static final int HolderCategory_Unknow_VALUE = 0; /** *
     *机构
     * 
* * HolderCategory_Agency = 1; */ public static final int HolderCategory_Agency_VALUE = 1; /** *
     *基金
     * 
* * HolderCategory_Fund = 2; */ public static final int HolderCategory_Fund_VALUE = 2; /** *
     *高管
     * 
* * HolderCategory_SeniorManager = 3; */ public static final int HolderCategory_SeniorManager_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static HolderCategory valueOf(int value) { return forNumber(value); } public static HolderCategory forNumber(int value) { switch (value) { case 0: return HolderCategory_Unknow; case 1: return HolderCategory_Agency; case 2: return HolderCategory_Fund; case 3: return HolderCategory_SeniorManager; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< HolderCategory> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public HolderCategory findValueByNumber(int number) { return HolderCategory.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(18); } private static final HolderCategory[] VALUES = values(); public static HolderCategory valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private HolderCategory(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.HolderCategory) } /** *
   *推送数据的分类,目前只有逐笔在使用
   * 
* * Protobuf enum {@code Qot_Common.PushDataType} */ public enum PushDataType implements com.google.protobuf.ProtocolMessageEnum { /** * PushDataType_Unknow = 0; */ PushDataType_Unknow(0), /** *
     *实时推送的数据
     * 
* * PushDataType_Realtime = 1; */ PushDataType_Realtime(1), /** *
     *对后台行情连接断开期间拉取补充的数据 最多50个
     * 
* * PushDataType_ByDisConn = 2; */ PushDataType_ByDisConn(2), /** *
     *非实时非连接断开补充数据
     * 
* * PushDataType_Cache = 3; */ PushDataType_Cache(3), ; /** * PushDataType_Unknow = 0; */ public static final int PushDataType_Unknow_VALUE = 0; /** *
     *实时推送的数据
     * 
* * PushDataType_Realtime = 1; */ public static final int PushDataType_Realtime_VALUE = 1; /** *
     *对后台行情连接断开期间拉取补充的数据 最多50个
     * 
* * PushDataType_ByDisConn = 2; */ public static final int PushDataType_ByDisConn_VALUE = 2; /** *
     *非实时非连接断开补充数据
     * 
* * PushDataType_Cache = 3; */ public static final int PushDataType_Cache_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PushDataType valueOf(int value) { return forNumber(value); } public static PushDataType forNumber(int value) { switch (value) { case 0: return PushDataType_Unknow; case 1: return PushDataType_Realtime; case 2: return PushDataType_ByDisConn; case 3: return PushDataType_Cache; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PushDataType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PushDataType findValueByNumber(int number) { return PushDataType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(19); } private static final PushDataType[] VALUES = values(); public static PushDataType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private PushDataType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.PushDataType) } /** *
   *窝轮排序
   * 
* * Protobuf enum {@code Qot_Common.SortField} */ public enum SortField implements com.google.protobuf.ProtocolMessageEnum { /** * SortField_Unknow = 0; */ SortField_Unknow(0), /** *
     *代码
     * 
* * SortField_Code = 1; */ SortField_Code(1), /** *
     *最新价
     * 
* * SortField_CurPrice = 2; */ SortField_CurPrice(2), /** *
     *涨跌额
     * 
* * SortField_PriceChangeVal = 3; */ SortField_PriceChangeVal(3), /** *
     *涨跌幅%
     * 
* * SortField_ChangeRate = 4; */ SortField_ChangeRate(4), /** *
     *状态
     * 
* * SortField_Status = 5; */ SortField_Status(5), /** *
     *买入价
     * 
* * SortField_BidPrice = 6; */ SortField_BidPrice(6), /** *
     *卖出价
     * 
* * SortField_AskPrice = 7; */ SortField_AskPrice(7), /** *
     *买量
     * 
* * SortField_BidVol = 8; */ SortField_BidVol(8), /** *
     *卖量
     * 
* * SortField_AskVol = 9; */ SortField_AskVol(9), /** *
     *成交量
     * 
* * SortField_Volume = 10; */ SortField_Volume(10), /** *
     *成交额
     * 
* * SortField_Turnover = 11; */ SortField_Turnover(11), /** *
     *振幅%
     * 
* * SortField_Amplitude = 30; */ SortField_Amplitude(30), /** *
     *以下排序字段只支持用于Qot_GetWarrant协议
     * 
* * SortField_Score = 12; */ SortField_Score(12), /** *
     *溢价%
     * 
* * SortField_Premium = 13; */ SortField_Premium(13), /** *
     *有效杠杆
     * 
* * SortField_EffectiveLeverage = 14; */ SortField_EffectiveLeverage(14), /** *
     *对冲值,仅认购认沽支持该字段
     * 
* * SortField_Delta = 15; */ SortField_Delta(15), /** *
     *引伸波幅,仅认购认沽支持该字段
     * 
* * SortField_ImpliedVolatility = 16; */ SortField_ImpliedVolatility(16), /** *
     *类型
     * 
* * SortField_Type = 17; */ SortField_Type(17), /** *
     *行权价
     * 
* * SortField_StrikePrice = 18; */ SortField_StrikePrice(18), /** *
     *打和点
     * 
* * SortField_BreakEvenPoint = 19; */ SortField_BreakEvenPoint(19), /** *
     *到期日
     * 
* * SortField_MaturityTime = 20; */ SortField_MaturityTime(20), /** *
     *上市日期
     * 
* * SortField_ListTime = 21; */ SortField_ListTime(21), /** *
     *最后交易日
     * 
* * SortField_LastTradeTime = 22; */ SortField_LastTradeTime(22), /** *
     *杠杆比率
     * 
* * SortField_Leverage = 23; */ SortField_Leverage(23), /** *
     *价内/价外%
     * 
* * SortField_InOutMoney = 24; */ SortField_InOutMoney(24), /** *
     *收回价,仅牛熊证支持该字段
     * 
* * SortField_RecoveryPrice = 25; */ SortField_RecoveryPrice(25), /** *
     * 换股价
     * 
* * SortField_ChangePrice = 26; */ SortField_ChangePrice(26), /** *
     *换股比率
     * 
* * SortField_Change = 27; */ SortField_Change(27), /** *
     *街货比%
     * 
* * SortField_StreetRate = 28; */ SortField_StreetRate(28), /** *
     *街货量
     * 
* * SortField_StreetVol = 29; */ SortField_StreetVol(29), /** *
     * 窝轮名称
     * 
* * SortField_WarrantName = 31; */ SortField_WarrantName(31), /** *
     *发行人
     * 
* * SortField_Issuer = 32; */ SortField_Issuer(32), /** *
     * 每手
     * 
* * SortField_LotSize = 33; */ SortField_LotSize(33), /** *
     *发行量
     * 
* * SortField_IssueSize = 34; */ SortField_IssueSize(34), /** *
     *上限价,仅用于界内证
     * 
* * SortField_UpperStrikePrice = 45; */ SortField_UpperStrikePrice(45), /** *
     *下限价,仅用于界内证
     * 
* * SortField_LowerStrikePrice = 46; */ SortField_LowerStrikePrice(46), /** *
     *界内界外,仅用于界内证
     * 
* * SortField_InLinePriceStatus = 47; */ SortField_InLinePriceStatus(47), /** *
     *以下排序字段只支持用于Qot_GetPlateSecurity协议,并仅支持美股
     * 
* * SortField_PreCurPrice = 35; */ SortField_PreCurPrice(35), /** *
     *盘后最新价
     * 
* * SortField_AfterCurPrice = 36; */ SortField_AfterCurPrice(36), /** *
     *盘前涨跌额
     * 
* * SortField_PrePriceChangeVal = 37; */ SortField_PrePriceChangeVal(37), /** *
     *盘后涨跌额
     * 
* * SortField_AfterPriceChangeVal = 38; */ SortField_AfterPriceChangeVal(38), /** *
     *盘前涨跌幅%
     * 
* * SortField_PreChangeRate = 39; */ SortField_PreChangeRate(39), /** *
     *盘后涨跌幅%
     * 
* * SortField_AfterChangeRate = 40; */ SortField_AfterChangeRate(40), /** *
     *盘前振幅%
     * 
* * SortField_PreAmplitude = 41; */ SortField_PreAmplitude(41), /** *
     *盘后振幅%
     * 
* * SortField_AfterAmplitude = 42; */ SortField_AfterAmplitude(42), /** *
     *盘前成交额
     * 
* * SortField_PreTurnover = 43; */ SortField_PreTurnover(43), /** *
     *盘后成交额
     * 
* * SortField_AfterTurnover = 44; */ SortField_AfterTurnover(44), /** *
     *以下排序字段只支持用于Qot_GetPlateSecurity协议,并仅支持期货
     * 
* * SortField_LastSettlePrice = 48; */ SortField_LastSettlePrice(48), /** *
     *持仓量
     * 
* * SortField_Position = 49; */ SortField_Position(49), /** *
     *日增仓
     * 
* * SortField_PositionChange = 50; */ SortField_PositionChange(50), ; /** * SortField_Unknow = 0; */ public static final int SortField_Unknow_VALUE = 0; /** *
     *代码
     * 
* * SortField_Code = 1; */ public static final int SortField_Code_VALUE = 1; /** *
     *最新价
     * 
* * SortField_CurPrice = 2; */ public static final int SortField_CurPrice_VALUE = 2; /** *
     *涨跌额
     * 
* * SortField_PriceChangeVal = 3; */ public static final int SortField_PriceChangeVal_VALUE = 3; /** *
     *涨跌幅%
     * 
* * SortField_ChangeRate = 4; */ public static final int SortField_ChangeRate_VALUE = 4; /** *
     *状态
     * 
* * SortField_Status = 5; */ public static final int SortField_Status_VALUE = 5; /** *
     *买入价
     * 
* * SortField_BidPrice = 6; */ public static final int SortField_BidPrice_VALUE = 6; /** *
     *卖出价
     * 
* * SortField_AskPrice = 7; */ public static final int SortField_AskPrice_VALUE = 7; /** *
     *买量
     * 
* * SortField_BidVol = 8; */ public static final int SortField_BidVol_VALUE = 8; /** *
     *卖量
     * 
* * SortField_AskVol = 9; */ public static final int SortField_AskVol_VALUE = 9; /** *
     *成交量
     * 
* * SortField_Volume = 10; */ public static final int SortField_Volume_VALUE = 10; /** *
     *成交额
     * 
* * SortField_Turnover = 11; */ public static final int SortField_Turnover_VALUE = 11; /** *
     *振幅%
     * 
* * SortField_Amplitude = 30; */ public static final int SortField_Amplitude_VALUE = 30; /** *
     *以下排序字段只支持用于Qot_GetWarrant协议
     * 
* * SortField_Score = 12; */ public static final int SortField_Score_VALUE = 12; /** *
     *溢价%
     * 
* * SortField_Premium = 13; */ public static final int SortField_Premium_VALUE = 13; /** *
     *有效杠杆
     * 
* * SortField_EffectiveLeverage = 14; */ public static final int SortField_EffectiveLeverage_VALUE = 14; /** *
     *对冲值,仅认购认沽支持该字段
     * 
* * SortField_Delta = 15; */ public static final int SortField_Delta_VALUE = 15; /** *
     *引伸波幅,仅认购认沽支持该字段
     * 
* * SortField_ImpliedVolatility = 16; */ public static final int SortField_ImpliedVolatility_VALUE = 16; /** *
     *类型
     * 
* * SortField_Type = 17; */ public static final int SortField_Type_VALUE = 17; /** *
     *行权价
     * 
* * SortField_StrikePrice = 18; */ public static final int SortField_StrikePrice_VALUE = 18; /** *
     *打和点
     * 
* * SortField_BreakEvenPoint = 19; */ public static final int SortField_BreakEvenPoint_VALUE = 19; /** *
     *到期日
     * 
* * SortField_MaturityTime = 20; */ public static final int SortField_MaturityTime_VALUE = 20; /** *
     *上市日期
     * 
* * SortField_ListTime = 21; */ public static final int SortField_ListTime_VALUE = 21; /** *
     *最后交易日
     * 
* * SortField_LastTradeTime = 22; */ public static final int SortField_LastTradeTime_VALUE = 22; /** *
     *杠杆比率
     * 
* * SortField_Leverage = 23; */ public static final int SortField_Leverage_VALUE = 23; /** *
     *价内/价外%
     * 
* * SortField_InOutMoney = 24; */ public static final int SortField_InOutMoney_VALUE = 24; /** *
     *收回价,仅牛熊证支持该字段
     * 
* * SortField_RecoveryPrice = 25; */ public static final int SortField_RecoveryPrice_VALUE = 25; /** *
     * 换股价
     * 
* * SortField_ChangePrice = 26; */ public static final int SortField_ChangePrice_VALUE = 26; /** *
     *换股比率
     * 
* * SortField_Change = 27; */ public static final int SortField_Change_VALUE = 27; /** *
     *街货比%
     * 
* * SortField_StreetRate = 28; */ public static final int SortField_StreetRate_VALUE = 28; /** *
     *街货量
     * 
* * SortField_StreetVol = 29; */ public static final int SortField_StreetVol_VALUE = 29; /** *
     * 窝轮名称
     * 
* * SortField_WarrantName = 31; */ public static final int SortField_WarrantName_VALUE = 31; /** *
     *发行人
     * 
* * SortField_Issuer = 32; */ public static final int SortField_Issuer_VALUE = 32; /** *
     * 每手
     * 
* * SortField_LotSize = 33; */ public static final int SortField_LotSize_VALUE = 33; /** *
     *发行量
     * 
* * SortField_IssueSize = 34; */ public static final int SortField_IssueSize_VALUE = 34; /** *
     *上限价,仅用于界内证
     * 
* * SortField_UpperStrikePrice = 45; */ public static final int SortField_UpperStrikePrice_VALUE = 45; /** *
     *下限价,仅用于界内证
     * 
* * SortField_LowerStrikePrice = 46; */ public static final int SortField_LowerStrikePrice_VALUE = 46; /** *
     *界内界外,仅用于界内证
     * 
* * SortField_InLinePriceStatus = 47; */ public static final int SortField_InLinePriceStatus_VALUE = 47; /** *
     *以下排序字段只支持用于Qot_GetPlateSecurity协议,并仅支持美股
     * 
* * SortField_PreCurPrice = 35; */ public static final int SortField_PreCurPrice_VALUE = 35; /** *
     *盘后最新价
     * 
* * SortField_AfterCurPrice = 36; */ public static final int SortField_AfterCurPrice_VALUE = 36; /** *
     *盘前涨跌额
     * 
* * SortField_PrePriceChangeVal = 37; */ public static final int SortField_PrePriceChangeVal_VALUE = 37; /** *
     *盘后涨跌额
     * 
* * SortField_AfterPriceChangeVal = 38; */ public static final int SortField_AfterPriceChangeVal_VALUE = 38; /** *
     *盘前涨跌幅%
     * 
* * SortField_PreChangeRate = 39; */ public static final int SortField_PreChangeRate_VALUE = 39; /** *
     *盘后涨跌幅%
     * 
* * SortField_AfterChangeRate = 40; */ public static final int SortField_AfterChangeRate_VALUE = 40; /** *
     *盘前振幅%
     * 
* * SortField_PreAmplitude = 41; */ public static final int SortField_PreAmplitude_VALUE = 41; /** *
     *盘后振幅%
     * 
* * SortField_AfterAmplitude = 42; */ public static final int SortField_AfterAmplitude_VALUE = 42; /** *
     *盘前成交额
     * 
* * SortField_PreTurnover = 43; */ public static final int SortField_PreTurnover_VALUE = 43; /** *
     *盘后成交额
     * 
* * SortField_AfterTurnover = 44; */ public static final int SortField_AfterTurnover_VALUE = 44; /** *
     *以下排序字段只支持用于Qot_GetPlateSecurity协议,并仅支持期货
     * 
* * SortField_LastSettlePrice = 48; */ public static final int SortField_LastSettlePrice_VALUE = 48; /** *
     *持仓量
     * 
* * SortField_Position = 49; */ public static final int SortField_Position_VALUE = 49; /** *
     *日增仓
     * 
* * SortField_PositionChange = 50; */ public static final int SortField_PositionChange_VALUE = 50; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SortField valueOf(int value) { return forNumber(value); } public static SortField forNumber(int value) { switch (value) { case 0: return SortField_Unknow; case 1: return SortField_Code; case 2: return SortField_CurPrice; case 3: return SortField_PriceChangeVal; case 4: return SortField_ChangeRate; case 5: return SortField_Status; case 6: return SortField_BidPrice; case 7: return SortField_AskPrice; case 8: return SortField_BidVol; case 9: return SortField_AskVol; case 10: return SortField_Volume; case 11: return SortField_Turnover; case 30: return SortField_Amplitude; case 12: return SortField_Score; case 13: return SortField_Premium; case 14: return SortField_EffectiveLeverage; case 15: return SortField_Delta; case 16: return SortField_ImpliedVolatility; case 17: return SortField_Type; case 18: return SortField_StrikePrice; case 19: return SortField_BreakEvenPoint; case 20: return SortField_MaturityTime; case 21: return SortField_ListTime; case 22: return SortField_LastTradeTime; case 23: return SortField_Leverage; case 24: return SortField_InOutMoney; case 25: return SortField_RecoveryPrice; case 26: return SortField_ChangePrice; case 27: return SortField_Change; case 28: return SortField_StreetRate; case 29: return SortField_StreetVol; case 31: return SortField_WarrantName; case 32: return SortField_Issuer; case 33: return SortField_LotSize; case 34: return SortField_IssueSize; case 45: return SortField_UpperStrikePrice; case 46: return SortField_LowerStrikePrice; case 47: return SortField_InLinePriceStatus; case 35: return SortField_PreCurPrice; case 36: return SortField_AfterCurPrice; case 37: return SortField_PrePriceChangeVal; case 38: return SortField_AfterPriceChangeVal; case 39: return SortField_PreChangeRate; case 40: return SortField_AfterChangeRate; case 41: return SortField_PreAmplitude; case 42: return SortField_AfterAmplitude; case 43: return SortField_PreTurnover; case 44: return SortField_AfterTurnover; case 48: return SortField_LastSettlePrice; case 49: return SortField_Position; case 50: return SortField_PositionChange; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SortField> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SortField findValueByNumber(int number) { return SortField.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(20); } private static final SortField[] VALUES = values(); public static SortField valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private SortField(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.SortField) } /** *
   *窝轮发行人
   * 
* * Protobuf enum {@code Qot_Common.Issuer} */ public enum Issuer implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * Issuer_Unknow = 0; */ Issuer_Unknow(0), /** *
     *法兴
     * 
* * Issuer_SG = 1; */ Issuer_SG(1), /** *
     *法巴
     * 
* * Issuer_BP = 2; */ Issuer_BP(2), /** *
     *瑞信
     * 
* * Issuer_CS = 3; */ Issuer_CS(3), /** *
     *花旗	
     * 
* * Issuer_CT = 4; */ Issuer_CT(4), /** *
     *东亚
     * 
* * Issuer_EA = 5; */ Issuer_EA(5), /** *
     *高盛
     * 
* * Issuer_GS = 6; */ Issuer_GS(6), /** *
     *汇丰
     * 
* * Issuer_HS = 7; */ Issuer_HS(7), /** *
     *摩通	
     * 
* * Issuer_JP = 8; */ Issuer_JP(8), /** *
     *麦银	
     * 
* * Issuer_MB = 9; */ Issuer_MB(9), /** *
     *渣打
     * 
* * Issuer_SC = 10; */ Issuer_SC(10), /** *
     *瑞银
     * 
* * Issuer_UB = 11; */ Issuer_UB(11), /** *
     *中银
     * 
* * Issuer_BI = 12; */ Issuer_BI(12), /** *
     *德银
     * 
* * Issuer_DB = 13; */ Issuer_DB(13), /** *
     *大和
     * 
* * Issuer_DC = 14; */ Issuer_DC(14), /** *
     *美林
     * 
* * Issuer_ML = 15; */ Issuer_ML(15), /** *
     *野村
     * 
* * Issuer_NM = 16; */ Issuer_NM(16), /** *
     *荷合
     * 
* * Issuer_RB = 17; */ Issuer_RB(17), /** *
     *苏皇	
     * 
* * Issuer_RS = 18; */ Issuer_RS(18), /** *
     *巴克莱
     * 
* * Issuer_BC = 19; */ Issuer_BC(19), /** *
     *海通
     * 
* * Issuer_HT = 20; */ Issuer_HT(20), /** *
     *瑞通
     * 
* * Issuer_VT = 21; */ Issuer_VT(21), /** *
     *比联
     * 
* * Issuer_KC = 22; */ Issuer_KC(22), /** *
     *摩利
     * 
* * Issuer_MS = 23; */ Issuer_MS(23), /** *
     *国君
     * 
* * Issuer_GJ = 24; */ Issuer_GJ(24), /** *
     *星展
     * 
* * Issuer_XZ = 25; */ Issuer_XZ(25), ; /** *
     *未知
     * 
* * Issuer_Unknow = 0; */ public static final int Issuer_Unknow_VALUE = 0; /** *
     *法兴
     * 
* * Issuer_SG = 1; */ public static final int Issuer_SG_VALUE = 1; /** *
     *法巴
     * 
* * Issuer_BP = 2; */ public static final int Issuer_BP_VALUE = 2; /** *
     *瑞信
     * 
* * Issuer_CS = 3; */ public static final int Issuer_CS_VALUE = 3; /** *
     *花旗	
     * 
* * Issuer_CT = 4; */ public static final int Issuer_CT_VALUE = 4; /** *
     *东亚
     * 
* * Issuer_EA = 5; */ public static final int Issuer_EA_VALUE = 5; /** *
     *高盛
     * 
* * Issuer_GS = 6; */ public static final int Issuer_GS_VALUE = 6; /** *
     *汇丰
     * 
* * Issuer_HS = 7; */ public static final int Issuer_HS_VALUE = 7; /** *
     *摩通	
     * 
* * Issuer_JP = 8; */ public static final int Issuer_JP_VALUE = 8; /** *
     *麦银	
     * 
* * Issuer_MB = 9; */ public static final int Issuer_MB_VALUE = 9; /** *
     *渣打
     * 
* * Issuer_SC = 10; */ public static final int Issuer_SC_VALUE = 10; /** *
     *瑞银
     * 
* * Issuer_UB = 11; */ public static final int Issuer_UB_VALUE = 11; /** *
     *中银
     * 
* * Issuer_BI = 12; */ public static final int Issuer_BI_VALUE = 12; /** *
     *德银
     * 
* * Issuer_DB = 13; */ public static final int Issuer_DB_VALUE = 13; /** *
     *大和
     * 
* * Issuer_DC = 14; */ public static final int Issuer_DC_VALUE = 14; /** *
     *美林
     * 
* * Issuer_ML = 15; */ public static final int Issuer_ML_VALUE = 15; /** *
     *野村
     * 
* * Issuer_NM = 16; */ public static final int Issuer_NM_VALUE = 16; /** *
     *荷合
     * 
* * Issuer_RB = 17; */ public static final int Issuer_RB_VALUE = 17; /** *
     *苏皇	
     * 
* * Issuer_RS = 18; */ public static final int Issuer_RS_VALUE = 18; /** *
     *巴克莱
     * 
* * Issuer_BC = 19; */ public static final int Issuer_BC_VALUE = 19; /** *
     *海通
     * 
* * Issuer_HT = 20; */ public static final int Issuer_HT_VALUE = 20; /** *
     *瑞通
     * 
* * Issuer_VT = 21; */ public static final int Issuer_VT_VALUE = 21; /** *
     *比联
     * 
* * Issuer_KC = 22; */ public static final int Issuer_KC_VALUE = 22; /** *
     *摩利
     * 
* * Issuer_MS = 23; */ public static final int Issuer_MS_VALUE = 23; /** *
     *国君
     * 
* * Issuer_GJ = 24; */ public static final int Issuer_GJ_VALUE = 24; /** *
     *星展
     * 
* * Issuer_XZ = 25; */ public static final int Issuer_XZ_VALUE = 25; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Issuer valueOf(int value) { return forNumber(value); } public static Issuer forNumber(int value) { switch (value) { case 0: return Issuer_Unknow; case 1: return Issuer_SG; case 2: return Issuer_BP; case 3: return Issuer_CS; case 4: return Issuer_CT; case 5: return Issuer_EA; case 6: return Issuer_GS; case 7: return Issuer_HS; case 8: return Issuer_JP; case 9: return Issuer_MB; case 10: return Issuer_SC; case 11: return Issuer_UB; case 12: return Issuer_BI; case 13: return Issuer_DB; case 14: return Issuer_DC; case 15: return Issuer_ML; case 16: return Issuer_NM; case 17: return Issuer_RB; case 18: return Issuer_RS; case 19: return Issuer_BC; case 20: return Issuer_HT; case 21: return Issuer_VT; case 22: return Issuer_KC; case 23: return Issuer_MS; case 24: return Issuer_GJ; case 25: return Issuer_XZ; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Issuer> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Issuer findValueByNumber(int number) { return Issuer.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(21); } private static final Issuer[] VALUES = values(); public static Issuer valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private Issuer(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.Issuer) } /** *
   *窝轮上市日
   * 
* * Protobuf enum {@code Qot_Common.IpoPeriod} */ public enum IpoPeriod implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * IpoPeriod_Unknow = 0; */ IpoPeriod_Unknow(0), /** *
     *今日上市
     * 
* * IpoPeriod_Today = 1; */ IpoPeriod_Today(1), /** *
     *明日上市
     * 
* * IpoPeriod_Tomorrow = 2; */ IpoPeriod_Tomorrow(2), /** *
     *未来一周上市
     * 
* * IpoPeriod_Nextweek = 3; */ IpoPeriod_Nextweek(3), /** *
     *过去一周上市
     * 
* * IpoPeriod_Lastweek = 4; */ IpoPeriod_Lastweek(4), /** *
     *过去一月上市
     * 
* * IpoPeriod_Lastmonth = 5; */ IpoPeriod_Lastmonth(5), ; /** *
     *未知
     * 
* * IpoPeriod_Unknow = 0; */ public static final int IpoPeriod_Unknow_VALUE = 0; /** *
     *今日上市
     * 
* * IpoPeriod_Today = 1; */ public static final int IpoPeriod_Today_VALUE = 1; /** *
     *明日上市
     * 
* * IpoPeriod_Tomorrow = 2; */ public static final int IpoPeriod_Tomorrow_VALUE = 2; /** *
     *未来一周上市
     * 
* * IpoPeriod_Nextweek = 3; */ public static final int IpoPeriod_Nextweek_VALUE = 3; /** *
     *过去一周上市
     * 
* * IpoPeriod_Lastweek = 4; */ public static final int IpoPeriod_Lastweek_VALUE = 4; /** *
     *过去一月上市
     * 
* * IpoPeriod_Lastmonth = 5; */ public static final int IpoPeriod_Lastmonth_VALUE = 5; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IpoPeriod valueOf(int value) { return forNumber(value); } public static IpoPeriod forNumber(int value) { switch (value) { case 0: return IpoPeriod_Unknow; case 1: return IpoPeriod_Today; case 2: return IpoPeriod_Tomorrow; case 3: return IpoPeriod_Nextweek; case 4: return IpoPeriod_Lastweek; case 5: return IpoPeriod_Lastmonth; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< IpoPeriod> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public IpoPeriod findValueByNumber(int number) { return IpoPeriod.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(22); } private static final IpoPeriod[] VALUES = values(); public static IpoPeriod valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private IpoPeriod(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.IpoPeriod) } /** *
   *窝轮价外/内,界内证表示界内界外
   * 
* * Protobuf enum {@code Qot_Common.PriceType} */ public enum PriceType implements com.google.protobuf.ProtocolMessageEnum { /** * PriceType_Unknow = 0; */ PriceType_Unknow(0), /** *
     *价外,界内证表示界外
     * 
* * PriceType_Outside = 1; */ PriceType_Outside(1), /** *
     *价内,界内证表示界内
     * 
* * PriceType_WithIn = 2; */ PriceType_WithIn(2), ; /** * PriceType_Unknow = 0; */ public static final int PriceType_Unknow_VALUE = 0; /** *
     *价外,界内证表示界外
     * 
* * PriceType_Outside = 1; */ public static final int PriceType_Outside_VALUE = 1; /** *
     *价内,界内证表示界内
     * 
* * PriceType_WithIn = 2; */ public static final int PriceType_WithIn_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PriceType valueOf(int value) { return forNumber(value); } public static PriceType forNumber(int value) { switch (value) { case 0: return PriceType_Unknow; case 1: return PriceType_Outside; case 2: return PriceType_WithIn; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PriceType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PriceType findValueByNumber(int number) { return PriceType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(23); } private static final PriceType[] VALUES = values(); public static PriceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private PriceType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.PriceType) } /** *
   *窝轮状态
   * 
* * Protobuf enum {@code Qot_Common.WarrantStatus} */ public enum WarrantStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * WarrantStatus_Unknow = 0; */ WarrantStatus_Unknow(0), /** *
     *正常状态
     * 
* * WarrantStatus_Normal = 1; */ WarrantStatus_Normal(1), /** *
     *停牌
     * 
* * WarrantStatus_Suspend = 2; */ WarrantStatus_Suspend(2), /** *
     *终止交易
     * 
* * WarrantStatus_StopTrade = 3; */ WarrantStatus_StopTrade(3), /** *
     *等待上市
     * 
* * WarrantStatus_PendingListing = 4; */ WarrantStatus_PendingListing(4), ; /** *
     *未知
     * 
* * WarrantStatus_Unknow = 0; */ public static final int WarrantStatus_Unknow_VALUE = 0; /** *
     *正常状态
     * 
* * WarrantStatus_Normal = 1; */ public static final int WarrantStatus_Normal_VALUE = 1; /** *
     *停牌
     * 
* * WarrantStatus_Suspend = 2; */ public static final int WarrantStatus_Suspend_VALUE = 2; /** *
     *终止交易
     * 
* * WarrantStatus_StopTrade = 3; */ public static final int WarrantStatus_StopTrade_VALUE = 3; /** *
     *等待上市
     * 
* * WarrantStatus_PendingListing = 4; */ public static final int WarrantStatus_PendingListing_VALUE = 4; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static WarrantStatus valueOf(int value) { return forNumber(value); } public static WarrantStatus forNumber(int value) { switch (value) { case 0: return WarrantStatus_Unknow; case 1: return WarrantStatus_Normal; case 2: return WarrantStatus_Suspend; case 3: return WarrantStatus_StopTrade; case 4: return WarrantStatus_PendingListing; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< WarrantStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public WarrantStatus findValueByNumber(int number) { return WarrantStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(24); } private static final WarrantStatus[] VALUES = values(); public static WarrantStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private WarrantStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.WarrantStatus) } /** * Protobuf enum {@code Qot_Common.CompanyAct} */ public enum CompanyAct implements com.google.protobuf.ProtocolMessageEnum { /** *
     *无
     * 
* * CompanyAct_None = 0; */ CompanyAct_None(0), /** *
     *拆股		
     * 
* * CompanyAct_Split = 1; */ CompanyAct_Split(1), /** *
     *合股
     * 
* * CompanyAct_Join = 2; */ CompanyAct_Join(2), /** *
     *送股
     * 
* * CompanyAct_Bonus = 4; */ CompanyAct_Bonus(4), /** *
     *转赠股
     * 
* * CompanyAct_Transfer = 8; */ CompanyAct_Transfer(8), /** *
     *配股	
     * 
* * CompanyAct_Allot = 16; */ CompanyAct_Allot(16), /** *
     *增发股
     * 
* * CompanyAct_Add = 32; */ CompanyAct_Add(32), /** *
     *现金分红
     * 
* * CompanyAct_Dividend = 64; */ CompanyAct_Dividend(64), /** *
     *特别股息	
     * 
* * CompanyAct_SPDividend = 128; */ CompanyAct_SPDividend(128), ; /** *
     *无
     * 
* * CompanyAct_None = 0; */ public static final int CompanyAct_None_VALUE = 0; /** *
     *拆股		
     * 
* * CompanyAct_Split = 1; */ public static final int CompanyAct_Split_VALUE = 1; /** *
     *合股
     * 
* * CompanyAct_Join = 2; */ public static final int CompanyAct_Join_VALUE = 2; /** *
     *送股
     * 
* * CompanyAct_Bonus = 4; */ public static final int CompanyAct_Bonus_VALUE = 4; /** *
     *转赠股
     * 
* * CompanyAct_Transfer = 8; */ public static final int CompanyAct_Transfer_VALUE = 8; /** *
     *配股	
     * 
* * CompanyAct_Allot = 16; */ public static final int CompanyAct_Allot_VALUE = 16; /** *
     *增发股
     * 
* * CompanyAct_Add = 32; */ public static final int CompanyAct_Add_VALUE = 32; /** *
     *现金分红
     * 
* * CompanyAct_Dividend = 64; */ public static final int CompanyAct_Dividend_VALUE = 64; /** *
     *特别股息	
     * 
* * CompanyAct_SPDividend = 128; */ public static final int CompanyAct_SPDividend_VALUE = 128; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CompanyAct valueOf(int value) { return forNumber(value); } public static CompanyAct forNumber(int value) { switch (value) { case 0: return CompanyAct_None; case 1: return CompanyAct_Split; case 2: return CompanyAct_Join; case 4: return CompanyAct_Bonus; case 8: return CompanyAct_Transfer; case 16: return CompanyAct_Allot; case 32: return CompanyAct_Add; case 64: return CompanyAct_Dividend; case 128: return CompanyAct_SPDividend; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CompanyAct> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CompanyAct findValueByNumber(int number) { return CompanyAct.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(25); } private static final CompanyAct[] VALUES = values(); public static CompanyAct valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private CompanyAct(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.CompanyAct) } /** *
   *行情权限
   * 
* * Protobuf enum {@code Qot_Common.QotRight} */ public enum QotRight implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * QotRight_Unknow = 0; */ QotRight_Unknow(0), /** *
     *Bmp,无法订阅
     * 
* * QotRight_Bmp = 1; */ QotRight_Bmp(1), /** *
     *Level1
     * 
* * QotRight_Level1 = 2; */ QotRight_Level1(2), /** *
     *Level2
     * 
* * QotRight_Level2 = 3; */ QotRight_Level2(3), /** *
     *SF高级行情
     * 
* * QotRight_SF = 4; */ QotRight_SF(4), /** *
     *无权限
     * 
* * QotRight_No = 5; */ QotRight_No(5), ; /** *
     *未知
     * 
* * QotRight_Unknow = 0; */ public static final int QotRight_Unknow_VALUE = 0; /** *
     *Bmp,无法订阅
     * 
* * QotRight_Bmp = 1; */ public static final int QotRight_Bmp_VALUE = 1; /** *
     *Level1
     * 
* * QotRight_Level1 = 2; */ public static final int QotRight_Level1_VALUE = 2; /** *
     *Level2
     * 
* * QotRight_Level2 = 3; */ public static final int QotRight_Level2_VALUE = 3; /** *
     *SF高级行情
     * 
* * QotRight_SF = 4; */ public static final int QotRight_SF_VALUE = 4; /** *
     *无权限
     * 
* * QotRight_No = 5; */ public static final int QotRight_No_VALUE = 5; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static QotRight valueOf(int value) { return forNumber(value); } public static QotRight forNumber(int value) { switch (value) { case 0: return QotRight_Unknow; case 1: return QotRight_Bmp; case 2: return QotRight_Level1; case 3: return QotRight_Level2; case 4: return QotRight_SF; case 5: return QotRight_No; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< QotRight> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public QotRight findValueByNumber(int number) { return QotRight.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(26); } private static final QotRight[] VALUES = values(); public static QotRight valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private QotRight(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.QotRight) } /** *
   * 提醒类型
   * 
* * Protobuf enum {@code Qot_Common.PriceReminderType} */ public enum PriceReminderType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * 未知
     * 
* * PriceReminderType_Unknown = 0; */ PriceReminderType_Unknown(0), /** *
     * 价格涨到
     * 
* * PriceReminderType_PriceUp = 1; */ PriceReminderType_PriceUp(1), /** *
     * 价格跌到
     * 
* * PriceReminderType_PriceDown = 2; */ PriceReminderType_PriceDown(2), /** *
     * 日涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_ChangeRateUp = 3; */ PriceReminderType_ChangeRateUp(3), /** *
     * 日跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_ChangeRateDown = 4; */ PriceReminderType_ChangeRateDown(4), /** *
     * 5 分钟涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_5MinChangeRateUp = 5; */ PriceReminderType_5MinChangeRateUp(5), /** *
     * 5 分钟跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_5MinChangeRateDown = 6; */ PriceReminderType_5MinChangeRateDown(6), /** *
     * 成交量超过
     * 
* * PriceReminderType_VolumeUp = 7; */ PriceReminderType_VolumeUp(7), /** *
     * 成交额超过
     * 
* * PriceReminderType_TurnoverUp = 8; */ PriceReminderType_TurnoverUp(8), /** *
     * 换手率超过(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_TurnoverRateUp = 9; */ PriceReminderType_TurnoverRateUp(9), /** *
     * 买一价高于
     * 
* * PriceReminderType_BidPriceUp = 10; */ PriceReminderType_BidPriceUp(10), /** *
     * 卖一价低于
     * 
* * PriceReminderType_AskPriceDown = 11; */ PriceReminderType_AskPriceDown(11), /** *
     * 买一量高于    
     * 
* * PriceReminderType_BidVolUp = 12; */ PriceReminderType_BidVolUp(12), /** *
     * 卖一量高于
     * 
* * PriceReminderType_AskVolUp = 13; */ PriceReminderType_AskVolUp(13), /** *
     * 3 分钟涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_3MinChangeRateUp = 14; */ PriceReminderType_3MinChangeRateUp(14), /** *
     * 3 分钟跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_3MinChangeRateDown = 15; */ PriceReminderType_3MinChangeRateDown(15), ; /** *
     * 未知
     * 
* * PriceReminderType_Unknown = 0; */ public static final int PriceReminderType_Unknown_VALUE = 0; /** *
     * 价格涨到
     * 
* * PriceReminderType_PriceUp = 1; */ public static final int PriceReminderType_PriceUp_VALUE = 1; /** *
     * 价格跌到
     * 
* * PriceReminderType_PriceDown = 2; */ public static final int PriceReminderType_PriceDown_VALUE = 2; /** *
     * 日涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_ChangeRateUp = 3; */ public static final int PriceReminderType_ChangeRateUp_VALUE = 3; /** *
     * 日跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_ChangeRateDown = 4; */ public static final int PriceReminderType_ChangeRateDown_VALUE = 4; /** *
     * 5 分钟涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_5MinChangeRateUp = 5; */ public static final int PriceReminderType_5MinChangeRateUp_VALUE = 5; /** *
     * 5 分钟跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_5MinChangeRateDown = 6; */ public static final int PriceReminderType_5MinChangeRateDown_VALUE = 6; /** *
     * 成交量超过
     * 
* * PriceReminderType_VolumeUp = 7; */ public static final int PriceReminderType_VolumeUp_VALUE = 7; /** *
     * 成交额超过
     * 
* * PriceReminderType_TurnoverUp = 8; */ public static final int PriceReminderType_TurnoverUp_VALUE = 8; /** *
     * 换手率超过(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_TurnoverRateUp = 9; */ public static final int PriceReminderType_TurnoverRateUp_VALUE = 9; /** *
     * 买一价高于
     * 
* * PriceReminderType_BidPriceUp = 10; */ public static final int PriceReminderType_BidPriceUp_VALUE = 10; /** *
     * 卖一价低于
     * 
* * PriceReminderType_AskPriceDown = 11; */ public static final int PriceReminderType_AskPriceDown_VALUE = 11; /** *
     * 买一量高于    
     * 
* * PriceReminderType_BidVolUp = 12; */ public static final int PriceReminderType_BidVolUp_VALUE = 12; /** *
     * 卖一量高于
     * 
* * PriceReminderType_AskVolUp = 13; */ public static final int PriceReminderType_AskVolUp_VALUE = 13; /** *
     * 3 分钟涨幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_3MinChangeRateUp = 14; */ public static final int PriceReminderType_3MinChangeRateUp_VALUE = 14; /** *
     * 3 分钟跌幅超(该字段为百分比字段,设置时填 20 表示 20%)
     * 
* * PriceReminderType_3MinChangeRateDown = 15; */ public static final int PriceReminderType_3MinChangeRateDown_VALUE = 15; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PriceReminderType valueOf(int value) { return forNumber(value); } public static PriceReminderType forNumber(int value) { switch (value) { case 0: return PriceReminderType_Unknown; case 1: return PriceReminderType_PriceUp; case 2: return PriceReminderType_PriceDown; case 3: return PriceReminderType_ChangeRateUp; case 4: return PriceReminderType_ChangeRateDown; case 5: return PriceReminderType_5MinChangeRateUp; case 6: return PriceReminderType_5MinChangeRateDown; case 7: return PriceReminderType_VolumeUp; case 8: return PriceReminderType_TurnoverUp; case 9: return PriceReminderType_TurnoverRateUp; case 10: return PriceReminderType_BidPriceUp; case 11: return PriceReminderType_AskPriceDown; case 12: return PriceReminderType_BidVolUp; case 13: return PriceReminderType_AskVolUp; case 14: return PriceReminderType_3MinChangeRateUp; case 15: return PriceReminderType_3MinChangeRateDown; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PriceReminderType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PriceReminderType findValueByNumber(int number) { return PriceReminderType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(27); } private static final PriceReminderType[] VALUES = values(); public static PriceReminderType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private PriceReminderType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.PriceReminderType) } /** *
   * 提醒频率
   * 
* * Protobuf enum {@code Qot_Common.PriceReminderFreq} */ public enum PriceReminderFreq implements com.google.protobuf.ProtocolMessageEnum { /** *
     * 未知
     * 
* * PriceReminderFreq_Unknown = 0; */ PriceReminderFreq_Unknown(0), /** *
     * 持续提醒
     * 
* * PriceReminderFreq_Always = 1; */ PriceReminderFreq_Always(1), /** *
     * 每日一次
     * 
* * PriceReminderFreq_OnceADay = 2; */ PriceReminderFreq_OnceADay(2), /** *
     * 仅提醒一次
     * 
* * PriceReminderFreq_OnlyOnce = 3; */ PriceReminderFreq_OnlyOnce(3), ; /** *
     * 未知
     * 
* * PriceReminderFreq_Unknown = 0; */ public static final int PriceReminderFreq_Unknown_VALUE = 0; /** *
     * 持续提醒
     * 
* * PriceReminderFreq_Always = 1; */ public static final int PriceReminderFreq_Always_VALUE = 1; /** *
     * 每日一次
     * 
* * PriceReminderFreq_OnceADay = 2; */ public static final int PriceReminderFreq_OnceADay_VALUE = 2; /** *
     * 仅提醒一次
     * 
* * PriceReminderFreq_OnlyOnce = 3; */ public static final int PriceReminderFreq_OnlyOnce_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PriceReminderFreq valueOf(int value) { return forNumber(value); } public static PriceReminderFreq forNumber(int value) { switch (value) { case 0: return PriceReminderFreq_Unknown; case 1: return PriceReminderFreq_Always; case 2: return PriceReminderFreq_OnceADay; case 3: return PriceReminderFreq_OnlyOnce; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PriceReminderFreq> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PriceReminderFreq findValueByNumber(int number) { return PriceReminderFreq.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(28); } private static final PriceReminderFreq[] VALUES = values(); public static PriceReminderFreq valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private PriceReminderFreq(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.PriceReminderFreq) } /** *
   * 资产类别
   * 
* * Protobuf enum {@code Qot_Common.AssetClass} */ public enum AssetClass implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * AssetClass_Unknow = 0; */ AssetClass_Unknow(0), /** *
     *股票
     * 
* * AssetClass_Stock = 1; */ AssetClass_Stock(1), /** *
     *债券
     * 
* * AssetClass_Bond = 2; */ AssetClass_Bond(2), /** *
     *商品
     * 
* * AssetClass_Commodity = 3; */ AssetClass_Commodity(3), /** *
     *货币市场
     * 
* * AssetClass_CurrencyMarket = 4; */ AssetClass_CurrencyMarket(4), /** *
     *期货
     * 
* * AssetClass_Future = 5; */ AssetClass_Future(5), /** *
     *掉期
     * 
* * AssetClass_Swap = 6; */ AssetClass_Swap(6), ; /** *
     *未知
     * 
* * AssetClass_Unknow = 0; */ public static final int AssetClass_Unknow_VALUE = 0; /** *
     *股票
     * 
* * AssetClass_Stock = 1; */ public static final int AssetClass_Stock_VALUE = 1; /** *
     *债券
     * 
* * AssetClass_Bond = 2; */ public static final int AssetClass_Bond_VALUE = 2; /** *
     *商品
     * 
* * AssetClass_Commodity = 3; */ public static final int AssetClass_Commodity_VALUE = 3; /** *
     *货币市场
     * 
* * AssetClass_CurrencyMarket = 4; */ public static final int AssetClass_CurrencyMarket_VALUE = 4; /** *
     *期货
     * 
* * AssetClass_Future = 5; */ public static final int AssetClass_Future_VALUE = 5; /** *
     *掉期
     * 
* * AssetClass_Swap = 6; */ public static final int AssetClass_Swap_VALUE = 6; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AssetClass valueOf(int value) { return forNumber(value); } public static AssetClass forNumber(int value) { switch (value) { case 0: return AssetClass_Unknow; case 1: return AssetClass_Stock; case 2: return AssetClass_Bond; case 3: return AssetClass_Commodity; case 4: return AssetClass_CurrencyMarket; case 5: return AssetClass_Future; case 6: return AssetClass_Swap; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AssetClass> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AssetClass findValueByNumber(int number) { return AssetClass.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(29); } private static final AssetClass[] VALUES = values(); public static AssetClass valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private AssetClass(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.AssetClass) } /** *
   * 交割周期
   * 
* * Protobuf enum {@code Qot_Common.ExpirationCycle} */ public enum ExpirationCycle implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * ExpirationCycle_Unknown = 0; */ ExpirationCycle_Unknown(0), /** *
     *周期权
     * 
* * ExpirationCycle_Week = 1; */ ExpirationCycle_Week(1), /** *
     *月期权
     * 
* * ExpirationCycle_Month = 2; */ ExpirationCycle_Month(2), ; /** *
     *未知
     * 
* * ExpirationCycle_Unknown = 0; */ public static final int ExpirationCycle_Unknown_VALUE = 0; /** *
     *周期权
     * 
* * ExpirationCycle_Week = 1; */ public static final int ExpirationCycle_Week_VALUE = 1; /** *
     *月期权
     * 
* * ExpirationCycle_Month = 2; */ public static final int ExpirationCycle_Month_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ExpirationCycle valueOf(int value) { return forNumber(value); } public static ExpirationCycle forNumber(int value) { switch (value) { case 0: return ExpirationCycle_Unknown; case 1: return ExpirationCycle_Week; case 2: return ExpirationCycle_Month; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ExpirationCycle> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ExpirationCycle findValueByNumber(int number) { return ExpirationCycle.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(30); } private static final ExpirationCycle[] VALUES = values(); public static ExpirationCycle valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ExpirationCycle(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.ExpirationCycle) } /** *
   * 所属交易所
   * 
* * Protobuf enum {@code Qot_Common.ExchType} */ public enum ExchType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未知
     * 
* * ExchType_Unknown = 0; */ ExchType_Unknown(0), /** *
     * 港交所·主板
     * 
* * ExchType_HK_MainBoard = 1; */ ExchType_HK_MainBoard(1), /** *
     *港交所·创业板
     * 
* * ExchType_HK_GEMBoard = 2; */ ExchType_HK_GEMBoard(2), /** *
     *港交所
     * 
* * ExchType_HK_HKEX = 3; */ ExchType_HK_HKEX(3), /** *
     *纽交所
     * 
* * ExchType_US_NYSE = 4; */ ExchType_US_NYSE(4), /** *
     *纳斯达克
     * 
* * ExchType_US_Nasdaq = 5; */ ExchType_US_Nasdaq(5), /** *
     *OTC 市场
     * 
* * ExchType_US_Pink = 6; */ ExchType_US_Pink(6), /** *
     *美交所 
     * 
* * ExchType_US_AMEX = 7; */ ExchType_US_AMEX(7), /** *
     *美国(仅美股期权适用)
     * 
* * ExchType_US_Option = 8; */ ExchType_US_Option(8), /** *
     *NYMEX 
     * 
* * ExchType_US_NYMEX = 9; */ ExchType_US_NYMEX(9), /** *
     *COMEX
     * 
* * ExchType_US_COMEX = 10; */ ExchType_US_COMEX(10), /** *
     *CBOT
     * 
* * ExchType_US_CBOT = 11; */ ExchType_US_CBOT(11), /** *
     *CME
     * 
* * ExchType_US_CME = 12; */ ExchType_US_CME(12), /** *
     *CBOE
     * 
* * ExchType_US_CBOE = 13; */ ExchType_US_CBOE(13), /** *
     *上交所  
     * 
* * ExchType_CN_SH = 14; */ ExchType_CN_SH(14), /** *
     *深交所
     * 
* * ExchType_CN_SZ = 15; */ ExchType_CN_SZ(15), /** *
     *科创板
     * 
* * ExchType_CN_STIB = 16; */ ExchType_CN_STIB(16), /** *
     *新交所
     * 
* * ExchType_SG_SGX = 17; */ ExchType_SG_SGX(17), /** *
     *大阪交易所 
     * 
* * ExchType_JP_OSE = 18; */ ExchType_JP_OSE(18), ; /** *
     *未知
     * 
* * ExchType_Unknown = 0; */ public static final int ExchType_Unknown_VALUE = 0; /** *
     * 港交所·主板
     * 
* * ExchType_HK_MainBoard = 1; */ public static final int ExchType_HK_MainBoard_VALUE = 1; /** *
     *港交所·创业板
     * 
* * ExchType_HK_GEMBoard = 2; */ public static final int ExchType_HK_GEMBoard_VALUE = 2; /** *
     *港交所
     * 
* * ExchType_HK_HKEX = 3; */ public static final int ExchType_HK_HKEX_VALUE = 3; /** *
     *纽交所
     * 
* * ExchType_US_NYSE = 4; */ public static final int ExchType_US_NYSE_VALUE = 4; /** *
     *纳斯达克
     * 
* * ExchType_US_Nasdaq = 5; */ public static final int ExchType_US_Nasdaq_VALUE = 5; /** *
     *OTC 市场
     * 
* * ExchType_US_Pink = 6; */ public static final int ExchType_US_Pink_VALUE = 6; /** *
     *美交所 
     * 
* * ExchType_US_AMEX = 7; */ public static final int ExchType_US_AMEX_VALUE = 7; /** *
     *美国(仅美股期权适用)
     * 
* * ExchType_US_Option = 8; */ public static final int ExchType_US_Option_VALUE = 8; /** *
     *NYMEX 
     * 
* * ExchType_US_NYMEX = 9; */ public static final int ExchType_US_NYMEX_VALUE = 9; /** *
     *COMEX
     * 
* * ExchType_US_COMEX = 10; */ public static final int ExchType_US_COMEX_VALUE = 10; /** *
     *CBOT
     * 
* * ExchType_US_CBOT = 11; */ public static final int ExchType_US_CBOT_VALUE = 11; /** *
     *CME
     * 
* * ExchType_US_CME = 12; */ public static final int ExchType_US_CME_VALUE = 12; /** *
     *CBOE
     * 
* * ExchType_US_CBOE = 13; */ public static final int ExchType_US_CBOE_VALUE = 13; /** *
     *上交所  
     * 
* * ExchType_CN_SH = 14; */ public static final int ExchType_CN_SH_VALUE = 14; /** *
     *深交所
     * 
* * ExchType_CN_SZ = 15; */ public static final int ExchType_CN_SZ_VALUE = 15; /** *
     *科创板
     * 
* * ExchType_CN_STIB = 16; */ public static final int ExchType_CN_STIB_VALUE = 16; /** *
     *新交所
     * 
* * ExchType_SG_SGX = 17; */ public static final int ExchType_SG_SGX_VALUE = 17; /** *
     *大阪交易所 
     * 
* * ExchType_JP_OSE = 18; */ public static final int ExchType_JP_OSE_VALUE = 18; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ExchType valueOf(int value) { return forNumber(value); } public static ExchType forNumber(int value) { switch (value) { case 0: return ExchType_Unknown; case 1: return ExchType_HK_MainBoard; case 2: return ExchType_HK_GEMBoard; case 3: return ExchType_HK_HKEX; case 4: return ExchType_US_NYSE; case 5: return ExchType_US_Nasdaq; case 6: return ExchType_US_Pink; case 7: return ExchType_US_AMEX; case 8: return ExchType_US_Option; case 9: return ExchType_US_NYMEX; case 10: return ExchType_US_COMEX; case 11: return ExchType_US_CBOT; case 12: return ExchType_US_CME; case 13: return ExchType_US_CBOE; case 14: return ExchType_CN_SH; case 15: return ExchType_CN_SZ; case 16: return ExchType_CN_STIB; case 17: return ExchType_SG_SGX; case 18: return ExchType_JP_OSE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ExchType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ExchType findValueByNumber(int number) { return ExchType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(31); } private static final ExchType[] VALUES = values(); public static ExchType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ExchType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.ExchType) } /** *
   * 周期类型
   * 
* * Protobuf enum {@code Qot_Common.PeriodType} */ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * 未知
     * 
* * PeriodType_Unknown = 0; */ PeriodType_Unknown(0), /** *
     * 实时
     * 
* * PeriodType_INTRADAY = 1; */ PeriodType_INTRADAY(1), /** *
     * 日
     * 
* * PeriodType_DAY = 2; */ PeriodType_DAY(2), /** *
     * 周
     * 
* * PeriodType_WEEK = 3; */ PeriodType_WEEK(3), /** *
     * 月
     * 
* * PeriodType_MONTH = 4; */ PeriodType_MONTH(4), ; /** *
     * 未知
     * 
* * PeriodType_Unknown = 0; */ public static final int PeriodType_Unknown_VALUE = 0; /** *
     * 实时
     * 
* * PeriodType_INTRADAY = 1; */ public static final int PeriodType_INTRADAY_VALUE = 1; /** *
     * 日
     * 
* * PeriodType_DAY = 2; */ public static final int PeriodType_DAY_VALUE = 2; /** *
     * 周
     * 
* * PeriodType_WEEK = 3; */ public static final int PeriodType_WEEK_VALUE = 3; /** *
     * 月
     * 
* * PeriodType_MONTH = 4; */ public static final int PeriodType_MONTH_VALUE = 4; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PeriodType valueOf(int value) { return forNumber(value); } public static PeriodType forNumber(int value) { switch (value) { case 0: return PeriodType_Unknown; case 1: return PeriodType_INTRADAY; case 2: return PeriodType_DAY; case 3: return PeriodType_WEEK; case 4: return PeriodType_MONTH; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PeriodType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PeriodType findValueByNumber(int number) { return PeriodType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 com.moomoo.openapi.pb.QotCommon.getDescriptor().getEnumTypes().get(32); } private static final PeriodType[] VALUES = values(); public static PeriodType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private PeriodType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_Common.PeriodType) } public interface SecurityOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.Security) com.google.protobuf.MessageOrBuilder { /** *
     *QotMarket,股票市场
     * 
* * required int32 market = 1; */ boolean hasMarket(); /** *
     *QotMarket,股票市场
     * 
* * required int32 market = 1; */ int getMarket(); /** *
     *股票代码
     * 
* * required string code = 2; */ boolean hasCode(); /** *
     *股票代码
     * 
* * required string code = 2; */ java.lang.String getCode(); /** *
     *股票代码
     * 
* * required string code = 2; */ com.google.protobuf.ByteString getCodeBytes(); } /** *
   *两个字段确定一支股票
   * 
* * Protobuf type {@code Qot_Common.Security} */ public static final class Security extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.Security) SecurityOrBuilder { private static final long serialVersionUID = 0L; // Use Security.newBuilder() to construct. private Security(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Security() { market_ = 0; code_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Security( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; market_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; code_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Security_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Security_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Security.class, com.moomoo.openapi.pb.QotCommon.Security.Builder.class); } private int bitField0_; public static final int MARKET_FIELD_NUMBER = 1; private int market_; /** *
     *QotMarket,股票市场
     * 
* * required int32 market = 1; */ public boolean hasMarket() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *QotMarket,股票市场
     * 
* * required int32 market = 1; */ public int getMarket() { return market_; } public static final int CODE_FIELD_NUMBER = 2; private volatile java.lang.Object code_; /** *
     *股票代码
     * 
* * required string code = 2; */ public boolean hasCode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *股票代码
     * 
* * required string code = 2; */ public java.lang.String getCode() { java.lang.Object ref = code_; 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(); if (bs.isValidUtf8()) { code_ = s; } return s; } } /** *
     *股票代码
     * 
* * required string code = 2; */ public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); code_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasMarket()) { memoizedIsInitialized = 0; return false; } if (!hasCode()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, market_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, market_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.Security)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.Security other = (com.moomoo.openapi.pb.QotCommon.Security) obj; boolean result = true; result = result && (hasMarket() == other.hasMarket()); if (hasMarket()) { result = result && (getMarket() == other.getMarket()); } result = result && (hasCode() == other.hasCode()); if (hasCode()) { result = result && getCode() .equals(other.getCode()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMarket()) { hash = (37 * hash) + MARKET_FIELD_NUMBER; hash = (53 * hash) + getMarket(); } if (hasCode()) { hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Security parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Security parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Security parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.Security prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     *两个字段确定一支股票
     * 
* * Protobuf type {@code Qot_Common.Security} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.Security) com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Security_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Security_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Security.class, com.moomoo.openapi.pb.QotCommon.Security.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.Security.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); market_ = 0; bitField0_ = (bitField0_ & ~0x00000001); code_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Security_descriptor; } public com.moomoo.openapi.pb.QotCommon.Security getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.Security build() { com.moomoo.openapi.pb.QotCommon.Security result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.Security buildPartial() { com.moomoo.openapi.pb.QotCommon.Security result = new com.moomoo.openapi.pb.QotCommon.Security(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.market_ = market_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.code_ = code_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.Security) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.Security)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.Security other) { if (other == com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) return this; if (other.hasMarket()) { setMarket(other.getMarket()); } if (other.hasCode()) { bitField0_ |= 0x00000002; code_ = other.code_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasMarket()) { return false; } if (!hasCode()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.Security parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.Security) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int market_ ; /** *
       *QotMarket,股票市场
       * 
* * required int32 market = 1; */ public boolean hasMarket() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *QotMarket,股票市场
       * 
* * required int32 market = 1; */ public int getMarket() { return market_; } /** *
       *QotMarket,股票市场
       * 
* * required int32 market = 1; */ public Builder setMarket(int value) { bitField0_ |= 0x00000001; market_ = value; onChanged(); return this; } /** *
       *QotMarket,股票市场
       * 
* * required int32 market = 1; */ public Builder clearMarket() { bitField0_ = (bitField0_ & ~0x00000001); market_ = 0; onChanged(); return this; } private java.lang.Object code_ = ""; /** *
       *股票代码
       * 
* * required string code = 2; */ public boolean hasCode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *股票代码
       * 
* * required string code = 2; */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { code_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *股票代码
       * 
* * required string code = 2; */ public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); code_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *股票代码
       * 
* * required string code = 2; */ public Builder setCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; code_ = value; onChanged(); return this; } /** *
       *股票代码
       * 
* * required string code = 2; */ public Builder clearCode() { bitField0_ = (bitField0_ & ~0x00000002); code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** *
       *股票代码
       * 
* * required string code = 2; */ public Builder setCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; code_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.Security) } // @@protoc_insertion_point(class_scope:Qot_Common.Security) private static final com.moomoo.openapi.pb.QotCommon.Security DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.Security(); } public static com.moomoo.openapi.pb.QotCommon.Security getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Security parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Security(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.Security getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KLineOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.KLine) com.google.protobuf.MessageOrBuilder { /** *
     *时间戳字符串
     * 
* * required string time = 1; */ boolean hasTime(); /** *
     *时间戳字符串
     * 
* * required string time = 1; */ java.lang.String getTime(); /** *
     *时间戳字符串
     * 
* * required string time = 1; */ com.google.protobuf.ByteString getTimeBytes(); /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 2; */ boolean hasIsBlank(); /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 2; */ boolean getIsBlank(); /** *
     *最高价
     * 
* * optional double highPrice = 3; */ boolean hasHighPrice(); /** *
     *最高价
     * 
* * optional double highPrice = 3; */ double getHighPrice(); /** *
     *开盘价
     * 
* * optional double openPrice = 4; */ boolean hasOpenPrice(); /** *
     *开盘价
     * 
* * optional double openPrice = 4; */ double getOpenPrice(); /** *
     *最低价
     * 
* * optional double lowPrice = 5; */ boolean hasLowPrice(); /** *
     *最低价
     * 
* * optional double lowPrice = 5; */ double getLowPrice(); /** *
     *收盘价
     * 
* * optional double closePrice = 6; */ boolean hasClosePrice(); /** *
     *收盘价
     * 
* * optional double closePrice = 6; */ double getClosePrice(); /** *
     *昨收价
     * 
* * optional double lastClosePrice = 7; */ boolean hasLastClosePrice(); /** *
     *昨收价
     * 
* * optional double lastClosePrice = 7; */ double getLastClosePrice(); /** *
     *成交量
     * 
* * optional int64 volume = 8; */ boolean hasVolume(); /** *
     *成交量
     * 
* * optional int64 volume = 8; */ long getVolume(); /** *
     *成交额
     * 
* * optional double turnover = 9; */ boolean hasTurnover(); /** *
     *成交额
     * 
* * optional double turnover = 9; */ double getTurnover(); /** *
     *换手率(该字段为百分比字段,展示为小数表示)
     * 
* * optional double turnoverRate = 10; */ boolean hasTurnoverRate(); /** *
     *换手率(该字段为百分比字段,展示为小数表示)
     * 
* * optional double turnoverRate = 10; */ double getTurnoverRate(); /** *
     *市盈率
     * 
* * optional double pe = 11; */ boolean hasPe(); /** *
     *市盈率
     * 
* * optional double pe = 11; */ double getPe(); /** *
     *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 12; */ boolean hasChangeRate(); /** *
     *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 12; */ double getChangeRate(); /** *
     *时间戳
     * 
* * optional double timestamp = 13; */ boolean hasTimestamp(); /** *
     *时间戳
     * 
* * optional double timestamp = 13; */ double getTimestamp(); } /** * Protobuf type {@code Qot_Common.KLine} */ public static final class KLine extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.KLine) KLineOrBuilder { private static final long serialVersionUID = 0L; // Use KLine.newBuilder() to construct. private KLine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KLine() { time_ = ""; isBlank_ = false; highPrice_ = 0D; openPrice_ = 0D; lowPrice_ = 0D; closePrice_ = 0D; lastClosePrice_ = 0D; volume_ = 0L; turnover_ = 0D; turnoverRate_ = 0D; pe_ = 0D; changeRate_ = 0D; timestamp_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KLine( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; time_ = bs; break; } case 16: { bitField0_ |= 0x00000002; isBlank_ = input.readBool(); break; } case 25: { bitField0_ |= 0x00000004; highPrice_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; openPrice_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; lowPrice_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000020; closePrice_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000040; lastClosePrice_ = input.readDouble(); break; } case 64: { bitField0_ |= 0x00000080; volume_ = input.readInt64(); break; } case 73: { bitField0_ |= 0x00000100; turnover_ = input.readDouble(); break; } case 81: { bitField0_ |= 0x00000200; turnoverRate_ = input.readDouble(); break; } case 89: { bitField0_ |= 0x00000400; pe_ = input.readDouble(); break; } case 97: { bitField0_ |= 0x00000800; changeRate_ = input.readDouble(); break; } case 105: { bitField0_ |= 0x00001000; timestamp_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_KLine_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_KLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.KLine.class, com.moomoo.openapi.pb.QotCommon.KLine.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private volatile java.lang.Object time_; /** *
     *时间戳字符串
     * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *时间戳字符串
     * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; 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(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** *
     *时间戳字符串
     * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ISBLANK_FIELD_NUMBER = 2; private boolean isBlank_; /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 2; */ public boolean hasIsBlank() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 2; */ public boolean getIsBlank() { return isBlank_; } public static final int HIGHPRICE_FIELD_NUMBER = 3; private double highPrice_; /** *
     *最高价
     * 
* * optional double highPrice = 3; */ public boolean hasHighPrice() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *最高价
     * 
* * optional double highPrice = 3; */ public double getHighPrice() { return highPrice_; } public static final int OPENPRICE_FIELD_NUMBER = 4; private double openPrice_; /** *
     *开盘价
     * 
* * optional double openPrice = 4; */ public boolean hasOpenPrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *开盘价
     * 
* * optional double openPrice = 4; */ public double getOpenPrice() { return openPrice_; } public static final int LOWPRICE_FIELD_NUMBER = 5; private double lowPrice_; /** *
     *最低价
     * 
* * optional double lowPrice = 5; */ public boolean hasLowPrice() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *最低价
     * 
* * optional double lowPrice = 5; */ public double getLowPrice() { return lowPrice_; } public static final int CLOSEPRICE_FIELD_NUMBER = 6; private double closePrice_; /** *
     *收盘价
     * 
* * optional double closePrice = 6; */ public boolean hasClosePrice() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *收盘价
     * 
* * optional double closePrice = 6; */ public double getClosePrice() { return closePrice_; } public static final int LASTCLOSEPRICE_FIELD_NUMBER = 7; private double lastClosePrice_; /** *
     *昨收价
     * 
* * optional double lastClosePrice = 7; */ public boolean hasLastClosePrice() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *昨收价
     * 
* * optional double lastClosePrice = 7; */ public double getLastClosePrice() { return lastClosePrice_; } public static final int VOLUME_FIELD_NUMBER = 8; private long volume_; /** *
     *成交量
     * 
* * optional int64 volume = 8; */ public boolean hasVolume() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *成交量
     * 
* * optional int64 volume = 8; */ public long getVolume() { return volume_; } public static final int TURNOVER_FIELD_NUMBER = 9; private double turnover_; /** *
     *成交额
     * 
* * optional double turnover = 9; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *成交额
     * 
* * optional double turnover = 9; */ public double getTurnover() { return turnover_; } public static final int TURNOVERRATE_FIELD_NUMBER = 10; private double turnoverRate_; /** *
     *换手率(该字段为百分比字段,展示为小数表示)
     * 
* * optional double turnoverRate = 10; */ public boolean hasTurnoverRate() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
     *换手率(该字段为百分比字段,展示为小数表示)
     * 
* * optional double turnoverRate = 10; */ public double getTurnoverRate() { return turnoverRate_; } public static final int PE_FIELD_NUMBER = 11; private double pe_; /** *
     *市盈率
     * 
* * optional double pe = 11; */ public boolean hasPe() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *市盈率
     * 
* * optional double pe = 11; */ public double getPe() { return pe_; } public static final int CHANGERATE_FIELD_NUMBER = 12; private double changeRate_; /** *
     *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 12; */ public boolean hasChangeRate() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
     *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 12; */ public double getChangeRate() { return changeRate_; } public static final int TIMESTAMP_FIELD_NUMBER = 13; private double timestamp_; /** *
     *时间戳
     * 
* * optional double timestamp = 13; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
     *时间戳
     * 
* * optional double timestamp = 13; */ public double getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTime()) { memoizedIsInitialized = 0; return false; } if (!hasIsBlank()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, isBlank_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, highPrice_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, openPrice_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, lowPrice_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(6, closePrice_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, lastClosePrice_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(8, volume_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(9, turnover_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeDouble(10, turnoverRate_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeDouble(11, pe_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeDouble(12, changeRate_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeDouble(13, timestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isBlank_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, highPrice_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, openPrice_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, lowPrice_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, closePrice_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, lastClosePrice_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, volume_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, turnover_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, turnoverRate_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(11, pe_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, changeRate_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(13, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.KLine)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.KLine other = (com.moomoo.openapi.pb.QotCommon.KLine) obj; boolean result = true; result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && (hasIsBlank() == other.hasIsBlank()); if (hasIsBlank()) { result = result && (getIsBlank() == other.getIsBlank()); } result = result && (hasHighPrice() == other.hasHighPrice()); if (hasHighPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getHighPrice()) == java.lang.Double.doubleToLongBits( other.getHighPrice())); } result = result && (hasOpenPrice() == other.hasOpenPrice()); if (hasOpenPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getOpenPrice()) == java.lang.Double.doubleToLongBits( other.getOpenPrice())); } result = result && (hasLowPrice() == other.hasLowPrice()); if (hasLowPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLowPrice()) == java.lang.Double.doubleToLongBits( other.getLowPrice())); } result = result && (hasClosePrice() == other.hasClosePrice()); if (hasClosePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getClosePrice()) == java.lang.Double.doubleToLongBits( other.getClosePrice())); } result = result && (hasLastClosePrice() == other.hasLastClosePrice()); if (hasLastClosePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLastClosePrice()) == java.lang.Double.doubleToLongBits( other.getLastClosePrice())); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && (hasTurnover() == other.hasTurnover()); if (hasTurnover()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnover()) == java.lang.Double.doubleToLongBits( other.getTurnover())); } result = result && (hasTurnoverRate() == other.hasTurnoverRate()); if (hasTurnoverRate()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnoverRate()) == java.lang.Double.doubleToLongBits( other.getTurnoverRate())); } result = result && (hasPe() == other.hasPe()); if (hasPe()) { result = result && ( java.lang.Double.doubleToLongBits(getPe()) == java.lang.Double.doubleToLongBits( other.getPe())); } result = result && (hasChangeRate() == other.hasChangeRate()); if (hasChangeRate()) { result = result && ( java.lang.Double.doubleToLongBits(getChangeRate()) == java.lang.Double.doubleToLongBits( other.getChangeRate())); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getTimestamp()) == java.lang.Double.doubleToLongBits( other.getTimestamp())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasIsBlank()) { hash = (37 * hash) + ISBLANK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsBlank()); } if (hasHighPrice()) { hash = (37 * hash) + HIGHPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHighPrice())); } if (hasOpenPrice()) { hash = (37 * hash) + OPENPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getOpenPrice())); } if (hasLowPrice()) { hash = (37 * hash) + LOWPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLowPrice())); } if (hasClosePrice()) { hash = (37 * hash) + CLOSEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getClosePrice())); } if (hasLastClosePrice()) { hash = (37 * hash) + LASTCLOSEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLastClosePrice())); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } if (hasTurnover()) { hash = (37 * hash) + TURNOVER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnover())); } if (hasTurnoverRate()) { hash = (37 * hash) + TURNOVERRATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnoverRate())); } if (hasPe()) { hash = (37 * hash) + PE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPe())); } if (hasChangeRate()) { hash = (37 * hash) + CHANGERATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getChangeRate())); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTimestamp())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.KLine parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.KLine parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.KLine parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.KLine prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.KLine} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.KLine) com.moomoo.openapi.pb.QotCommon.KLineOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_KLine_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_KLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.KLine.class, com.moomoo.openapi.pb.QotCommon.KLine.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.KLine.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); time_ = ""; bitField0_ = (bitField0_ & ~0x00000001); isBlank_ = false; bitField0_ = (bitField0_ & ~0x00000002); highPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); openPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); lowPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); closePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); lastClosePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); turnover_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); turnoverRate_ = 0D; bitField0_ = (bitField0_ & ~0x00000200); pe_ = 0D; bitField0_ = (bitField0_ & ~0x00000400); changeRate_ = 0D; bitField0_ = (bitField0_ & ~0x00000800); timestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00001000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_KLine_descriptor; } public com.moomoo.openapi.pb.QotCommon.KLine getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.KLine.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.KLine build() { com.moomoo.openapi.pb.QotCommon.KLine result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.KLine buildPartial() { com.moomoo.openapi.pb.QotCommon.KLine result = new com.moomoo.openapi.pb.QotCommon.KLine(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.time_ = time_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.isBlank_ = isBlank_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.highPrice_ = highPrice_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.openPrice_ = openPrice_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.lowPrice_ = lowPrice_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.closePrice_ = closePrice_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.lastClosePrice_ = lastClosePrice_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.volume_ = volume_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.turnover_ = turnover_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.turnoverRate_ = turnoverRate_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.pe_ = pe_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.changeRate_ = changeRate_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.KLine) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.KLine)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.KLine other) { if (other == com.moomoo.openapi.pb.QotCommon.KLine.getDefaultInstance()) return this; if (other.hasTime()) { bitField0_ |= 0x00000001; time_ = other.time_; onChanged(); } if (other.hasIsBlank()) { setIsBlank(other.getIsBlank()); } if (other.hasHighPrice()) { setHighPrice(other.getHighPrice()); } if (other.hasOpenPrice()) { setOpenPrice(other.getOpenPrice()); } if (other.hasLowPrice()) { setLowPrice(other.getLowPrice()); } if (other.hasClosePrice()) { setClosePrice(other.getClosePrice()); } if (other.hasLastClosePrice()) { setLastClosePrice(other.getLastClosePrice()); } if (other.hasVolume()) { setVolume(other.getVolume()); } if (other.hasTurnover()) { setTurnover(other.getTurnover()); } if (other.hasTurnoverRate()) { setTurnoverRate(other.getTurnoverRate()); } if (other.hasPe()) { setPe(other.getPe()); } if (other.hasChangeRate()) { setChangeRate(other.getChangeRate()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTime()) { return false; } if (!hasIsBlank()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.KLine parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.KLine) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object time_ = ""; /** *
       *时间戳字符串
       * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *时间戳字符串
       * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *时间戳字符串
       * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *时间戳字符串
       * 
* * required string time = 1; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } /** *
       *时间戳字符串
       * 
* * required string time = 1; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000001); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** *
       *时间戳字符串
       * 
* * required string time = 1; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } private boolean isBlank_ ; /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 2; */ public boolean hasIsBlank() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 2; */ public boolean getIsBlank() { return isBlank_; } /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 2; */ public Builder setIsBlank(boolean value) { bitField0_ |= 0x00000002; isBlank_ = value; onChanged(); return this; } /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 2; */ public Builder clearIsBlank() { bitField0_ = (bitField0_ & ~0x00000002); isBlank_ = false; onChanged(); return this; } private double highPrice_ ; /** *
       *最高价
       * 
* * optional double highPrice = 3; */ public boolean hasHighPrice() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *最高价
       * 
* * optional double highPrice = 3; */ public double getHighPrice() { return highPrice_; } /** *
       *最高价
       * 
* * optional double highPrice = 3; */ public Builder setHighPrice(double value) { bitField0_ |= 0x00000004; highPrice_ = value; onChanged(); return this; } /** *
       *最高价
       * 
* * optional double highPrice = 3; */ public Builder clearHighPrice() { bitField0_ = (bitField0_ & ~0x00000004); highPrice_ = 0D; onChanged(); return this; } private double openPrice_ ; /** *
       *开盘价
       * 
* * optional double openPrice = 4; */ public boolean hasOpenPrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *开盘价
       * 
* * optional double openPrice = 4; */ public double getOpenPrice() { return openPrice_; } /** *
       *开盘价
       * 
* * optional double openPrice = 4; */ public Builder setOpenPrice(double value) { bitField0_ |= 0x00000008; openPrice_ = value; onChanged(); return this; } /** *
       *开盘价
       * 
* * optional double openPrice = 4; */ public Builder clearOpenPrice() { bitField0_ = (bitField0_ & ~0x00000008); openPrice_ = 0D; onChanged(); return this; } private double lowPrice_ ; /** *
       *最低价
       * 
* * optional double lowPrice = 5; */ public boolean hasLowPrice() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *最低价
       * 
* * optional double lowPrice = 5; */ public double getLowPrice() { return lowPrice_; } /** *
       *最低价
       * 
* * optional double lowPrice = 5; */ public Builder setLowPrice(double value) { bitField0_ |= 0x00000010; lowPrice_ = value; onChanged(); return this; } /** *
       *最低价
       * 
* * optional double lowPrice = 5; */ public Builder clearLowPrice() { bitField0_ = (bitField0_ & ~0x00000010); lowPrice_ = 0D; onChanged(); return this; } private double closePrice_ ; /** *
       *收盘价
       * 
* * optional double closePrice = 6; */ public boolean hasClosePrice() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *收盘价
       * 
* * optional double closePrice = 6; */ public double getClosePrice() { return closePrice_; } /** *
       *收盘价
       * 
* * optional double closePrice = 6; */ public Builder setClosePrice(double value) { bitField0_ |= 0x00000020; closePrice_ = value; onChanged(); return this; } /** *
       *收盘价
       * 
* * optional double closePrice = 6; */ public Builder clearClosePrice() { bitField0_ = (bitField0_ & ~0x00000020); closePrice_ = 0D; onChanged(); return this; } private double lastClosePrice_ ; /** *
       *昨收价
       * 
* * optional double lastClosePrice = 7; */ public boolean hasLastClosePrice() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *昨收价
       * 
* * optional double lastClosePrice = 7; */ public double getLastClosePrice() { return lastClosePrice_; } /** *
       *昨收价
       * 
* * optional double lastClosePrice = 7; */ public Builder setLastClosePrice(double value) { bitField0_ |= 0x00000040; lastClosePrice_ = value; onChanged(); return this; } /** *
       *昨收价
       * 
* * optional double lastClosePrice = 7; */ public Builder clearLastClosePrice() { bitField0_ = (bitField0_ & ~0x00000040); lastClosePrice_ = 0D; onChanged(); return this; } private long volume_ ; /** *
       *成交量
       * 
* * optional int64 volume = 8; */ public boolean hasVolume() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *成交量
       * 
* * optional int64 volume = 8; */ public long getVolume() { return volume_; } /** *
       *成交量
       * 
* * optional int64 volume = 8; */ public Builder setVolume(long value) { bitField0_ |= 0x00000080; volume_ = value; onChanged(); return this; } /** *
       *成交量
       * 
* * optional int64 volume = 8; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000080); volume_ = 0L; onChanged(); return this; } private double turnover_ ; /** *
       *成交额
       * 
* * optional double turnover = 9; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *成交额
       * 
* * optional double turnover = 9; */ public double getTurnover() { return turnover_; } /** *
       *成交额
       * 
* * optional double turnover = 9; */ public Builder setTurnover(double value) { bitField0_ |= 0x00000100; turnover_ = value; onChanged(); return this; } /** *
       *成交额
       * 
* * optional double turnover = 9; */ public Builder clearTurnover() { bitField0_ = (bitField0_ & ~0x00000100); turnover_ = 0D; onChanged(); return this; } private double turnoverRate_ ; /** *
       *换手率(该字段为百分比字段,展示为小数表示)
       * 
* * optional double turnoverRate = 10; */ public boolean hasTurnoverRate() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
       *换手率(该字段为百分比字段,展示为小数表示)
       * 
* * optional double turnoverRate = 10; */ public double getTurnoverRate() { return turnoverRate_; } /** *
       *换手率(该字段为百分比字段,展示为小数表示)
       * 
* * optional double turnoverRate = 10; */ public Builder setTurnoverRate(double value) { bitField0_ |= 0x00000200; turnoverRate_ = value; onChanged(); return this; } /** *
       *换手率(该字段为百分比字段,展示为小数表示)
       * 
* * optional double turnoverRate = 10; */ public Builder clearTurnoverRate() { bitField0_ = (bitField0_ & ~0x00000200); turnoverRate_ = 0D; onChanged(); return this; } private double pe_ ; /** *
       *市盈率
       * 
* * optional double pe = 11; */ public boolean hasPe() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *市盈率
       * 
* * optional double pe = 11; */ public double getPe() { return pe_; } /** *
       *市盈率
       * 
* * optional double pe = 11; */ public Builder setPe(double value) { bitField0_ |= 0x00000400; pe_ = value; onChanged(); return this; } /** *
       *市盈率
       * 
* * optional double pe = 11; */ public Builder clearPe() { bitField0_ = (bitField0_ & ~0x00000400); pe_ = 0D; onChanged(); return this; } private double changeRate_ ; /** *
       *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 12; */ public boolean hasChangeRate() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
       *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 12; */ public double getChangeRate() { return changeRate_; } /** *
       *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 12; */ public Builder setChangeRate(double value) { bitField0_ |= 0x00000800; changeRate_ = value; onChanged(); return this; } /** *
       *涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 12; */ public Builder clearChangeRate() { bitField0_ = (bitField0_ & ~0x00000800); changeRate_ = 0D; onChanged(); return this; } private double timestamp_ ; /** *
       *时间戳
       * 
* * optional double timestamp = 13; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
       *时间戳
       * 
* * optional double timestamp = 13; */ public double getTimestamp() { return timestamp_; } /** *
       *时间戳
       * 
* * optional double timestamp = 13; */ public Builder setTimestamp(double value) { bitField0_ |= 0x00001000; timestamp_ = value; onChanged(); return this; } /** *
       *时间戳
       * 
* * optional double timestamp = 13; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00001000); timestamp_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.KLine) } // @@protoc_insertion_point(class_scope:Qot_Common.KLine) private static final com.moomoo.openapi.pb.QotCommon.KLine DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.KLine(); } public static com.moomoo.openapi.pb.QotCommon.KLine getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public KLine parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new KLine(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.KLine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionBasicQotExDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.OptionBasicQotExData) com.google.protobuf.MessageOrBuilder { /** *
     *行权价
     * 
* * required double strikePrice = 1; */ boolean hasStrikePrice(); /** *
     *行权价
     * 
* * required double strikePrice = 1; */ double getStrikePrice(); /** *
     *每份合约数(整型数据)
     * 
* * required int32 contractSize = 2; */ boolean hasContractSize(); /** *
     *每份合约数(整型数据)
     * 
* * required int32 contractSize = 2; */ int getContractSize(); /** *
     *每份合约数(浮点型数据)
     * 
* * optional double contractSizeFloat = 17; */ boolean hasContractSizeFloat(); /** *
     *每份合约数(浮点型数据)
     * 
* * optional double contractSizeFloat = 17; */ double getContractSizeFloat(); /** *
     *未平仓合约数
     * 
* * required int32 openInterest = 3; */ boolean hasOpenInterest(); /** *
     *未平仓合约数
     * 
* * required int32 openInterest = 3; */ int getOpenInterest(); /** *
     *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double impliedVolatility = 4; */ boolean hasImpliedVolatility(); /** *
     *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double impliedVolatility = 4; */ double getImpliedVolatility(); /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 5; */ boolean hasPremium(); /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 5; */ double getPremium(); /** *
     *希腊值 Delta
     * 
* * required double delta = 6; */ boolean hasDelta(); /** *
     *希腊值 Delta
     * 
* * required double delta = 6; */ double getDelta(); /** *
     *希腊值 Gamma
     * 
* * required double gamma = 7; */ boolean hasGamma(); /** *
     *希腊值 Gamma
     * 
* * required double gamma = 7; */ double getGamma(); /** *
     *希腊值 Vega
     * 
* * required double vega = 8; */ boolean hasVega(); /** *
     *希腊值 Vega
     * 
* * required double vega = 8; */ double getVega(); /** *
     *希腊值 Theta
     * 
* * required double theta = 9; */ boolean hasTheta(); /** *
     *希腊值 Theta
     * 
* * required double theta = 9; */ double getTheta(); /** *
     *希腊值 Rho
     * 
* * required double rho = 10; */ boolean hasRho(); /** *
     *希腊值 Rho
     * 
* * required double rho = 10; */ double getRho(); /** *
     *净未平仓合约数,仅港股期权适用
     * 
* * optional int32 netOpenInterest = 11; */ boolean hasNetOpenInterest(); /** *
     *净未平仓合约数,仅港股期权适用
     * 
* * optional int32 netOpenInterest = 11; */ int getNetOpenInterest(); /** *
     *距离到期日天数,负数表示已过期
     * 
* * optional int32 expiryDateDistance = 12; */ boolean hasExpiryDateDistance(); /** *
     *距离到期日天数,负数表示已过期
     * 
* * optional int32 expiryDateDistance = 12; */ int getExpiryDateDistance(); /** *
     *合约名义金额,仅港股期权适用
     * 
* * optional double contractNominalValue = 13; */ boolean hasContractNominalValue(); /** *
     *合约名义金额,仅港股期权适用
     * 
* * optional double contractNominalValue = 13; */ double getContractNominalValue(); /** *
     *相等正股手数,指数期权无该字段,仅港股期权适用
     * 
* * optional double ownerLotMultiplier = 14; */ boolean hasOwnerLotMultiplier(); /** *
     *相等正股手数,指数期权无该字段,仅港股期权适用
     * 
* * optional double ownerLotMultiplier = 14; */ double getOwnerLotMultiplier(); /** *
     *OptionAreaType,期权类型(按行权时间)
     * 
* * optional int32 optionAreaType = 15; */ boolean hasOptionAreaType(); /** *
     *OptionAreaType,期权类型(按行权时间)
     * 
* * optional int32 optionAreaType = 15; */ int getOptionAreaType(); /** *
     *合约乘数
     * 
* * optional double contractMultiplier = 16; */ boolean hasContractMultiplier(); /** *
     *合约乘数
     * 
* * optional double contractMultiplier = 16; */ double getContractMultiplier(); /** *
     *IndexOptionType,指数期权类型
     * 
* * optional int32 indexOptionType = 18; */ boolean hasIndexOptionType(); /** *
     *IndexOptionType,指数期权类型
     * 
* * optional int32 indexOptionType = 18; */ int getIndexOptionType(); } /** * Protobuf type {@code Qot_Common.OptionBasicQotExData} */ public static final class OptionBasicQotExData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.OptionBasicQotExData) OptionBasicQotExDataOrBuilder { private static final long serialVersionUID = 0L; // Use OptionBasicQotExData.newBuilder() to construct. private OptionBasicQotExData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OptionBasicQotExData() { strikePrice_ = 0D; contractSize_ = 0; contractSizeFloat_ = 0D; openInterest_ = 0; impliedVolatility_ = 0D; premium_ = 0D; delta_ = 0D; gamma_ = 0D; vega_ = 0D; theta_ = 0D; rho_ = 0D; netOpenInterest_ = 0; expiryDateDistance_ = 0; contractNominalValue_ = 0D; ownerLotMultiplier_ = 0D; optionAreaType_ = 0; contractMultiplier_ = 0D; indexOptionType_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OptionBasicQotExData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 9: { bitField0_ |= 0x00000001; strikePrice_ = input.readDouble(); break; } case 16: { bitField0_ |= 0x00000002; contractSize_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000008; openInterest_ = input.readInt32(); break; } case 33: { bitField0_ |= 0x00000010; impliedVolatility_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000020; premium_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000040; delta_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000080; gamma_ = input.readDouble(); break; } case 65: { bitField0_ |= 0x00000100; vega_ = input.readDouble(); break; } case 73: { bitField0_ |= 0x00000200; theta_ = input.readDouble(); break; } case 81: { bitField0_ |= 0x00000400; rho_ = input.readDouble(); break; } case 88: { bitField0_ |= 0x00000800; netOpenInterest_ = input.readInt32(); break; } case 96: { bitField0_ |= 0x00001000; expiryDateDistance_ = input.readInt32(); break; } case 105: { bitField0_ |= 0x00002000; contractNominalValue_ = input.readDouble(); break; } case 113: { bitField0_ |= 0x00004000; ownerLotMultiplier_ = input.readDouble(); break; } case 120: { bitField0_ |= 0x00008000; optionAreaType_ = input.readInt32(); break; } case 129: { bitField0_ |= 0x00010000; contractMultiplier_ = input.readDouble(); break; } case 137: { bitField0_ |= 0x00000004; contractSizeFloat_ = input.readDouble(); break; } case 144: { bitField0_ |= 0x00020000; indexOptionType_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionBasicQotExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionBasicQotExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.class, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder.class); } private int bitField0_; public static final int STRIKEPRICE_FIELD_NUMBER = 1; private double strikePrice_; /** *
     *行权价
     * 
* * required double strikePrice = 1; */ public boolean hasStrikePrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *行权价
     * 
* * required double strikePrice = 1; */ public double getStrikePrice() { return strikePrice_; } public static final int CONTRACTSIZE_FIELD_NUMBER = 2; private int contractSize_; /** *
     *每份合约数(整型数据)
     * 
* * required int32 contractSize = 2; */ public boolean hasContractSize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *每份合约数(整型数据)
     * 
* * required int32 contractSize = 2; */ public int getContractSize() { return contractSize_; } public static final int CONTRACTSIZEFLOAT_FIELD_NUMBER = 17; private double contractSizeFloat_; /** *
     *每份合约数(浮点型数据)
     * 
* * optional double contractSizeFloat = 17; */ public boolean hasContractSizeFloat() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *每份合约数(浮点型数据)
     * 
* * optional double contractSizeFloat = 17; */ public double getContractSizeFloat() { return contractSizeFloat_; } public static final int OPENINTEREST_FIELD_NUMBER = 3; private int openInterest_; /** *
     *未平仓合约数
     * 
* * required int32 openInterest = 3; */ public boolean hasOpenInterest() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *未平仓合约数
     * 
* * required int32 openInterest = 3; */ public int getOpenInterest() { return openInterest_; } public static final int IMPLIEDVOLATILITY_FIELD_NUMBER = 4; private double impliedVolatility_; /** *
     *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double impliedVolatility = 4; */ public boolean hasImpliedVolatility() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double impliedVolatility = 4; */ public double getImpliedVolatility() { return impliedVolatility_; } public static final int PREMIUM_FIELD_NUMBER = 5; private double premium_; /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 5; */ public boolean hasPremium() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 5; */ public double getPremium() { return premium_; } public static final int DELTA_FIELD_NUMBER = 6; private double delta_; /** *
     *希腊值 Delta
     * 
* * required double delta = 6; */ public boolean hasDelta() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *希腊值 Delta
     * 
* * required double delta = 6; */ public double getDelta() { return delta_; } public static final int GAMMA_FIELD_NUMBER = 7; private double gamma_; /** *
     *希腊值 Gamma
     * 
* * required double gamma = 7; */ public boolean hasGamma() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *希腊值 Gamma
     * 
* * required double gamma = 7; */ public double getGamma() { return gamma_; } public static final int VEGA_FIELD_NUMBER = 8; private double vega_; /** *
     *希腊值 Vega
     * 
* * required double vega = 8; */ public boolean hasVega() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *希腊值 Vega
     * 
* * required double vega = 8; */ public double getVega() { return vega_; } public static final int THETA_FIELD_NUMBER = 9; private double theta_; /** *
     *希腊值 Theta
     * 
* * required double theta = 9; */ public boolean hasTheta() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
     *希腊值 Theta
     * 
* * required double theta = 9; */ public double getTheta() { return theta_; } public static final int RHO_FIELD_NUMBER = 10; private double rho_; /** *
     *希腊值 Rho
     * 
* * required double rho = 10; */ public boolean hasRho() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *希腊值 Rho
     * 
* * required double rho = 10; */ public double getRho() { return rho_; } public static final int NETOPENINTEREST_FIELD_NUMBER = 11; private int netOpenInterest_; /** *
     *净未平仓合约数,仅港股期权适用
     * 
* * optional int32 netOpenInterest = 11; */ public boolean hasNetOpenInterest() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
     *净未平仓合约数,仅港股期权适用
     * 
* * optional int32 netOpenInterest = 11; */ public int getNetOpenInterest() { return netOpenInterest_; } public static final int EXPIRYDATEDISTANCE_FIELD_NUMBER = 12; private int expiryDateDistance_; /** *
     *距离到期日天数,负数表示已过期
     * 
* * optional int32 expiryDateDistance = 12; */ public boolean hasExpiryDateDistance() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
     *距离到期日天数,负数表示已过期
     * 
* * optional int32 expiryDateDistance = 12; */ public int getExpiryDateDistance() { return expiryDateDistance_; } public static final int CONTRACTNOMINALVALUE_FIELD_NUMBER = 13; private double contractNominalValue_; /** *
     *合约名义金额,仅港股期权适用
     * 
* * optional double contractNominalValue = 13; */ public boolean hasContractNominalValue() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
     *合约名义金额,仅港股期权适用
     * 
* * optional double contractNominalValue = 13; */ public double getContractNominalValue() { return contractNominalValue_; } public static final int OWNERLOTMULTIPLIER_FIELD_NUMBER = 14; private double ownerLotMultiplier_; /** *
     *相等正股手数,指数期权无该字段,仅港股期权适用
     * 
* * optional double ownerLotMultiplier = 14; */ public boolean hasOwnerLotMultiplier() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
     *相等正股手数,指数期权无该字段,仅港股期权适用
     * 
* * optional double ownerLotMultiplier = 14; */ public double getOwnerLotMultiplier() { return ownerLotMultiplier_; } public static final int OPTIONAREATYPE_FIELD_NUMBER = 15; private int optionAreaType_; /** *
     *OptionAreaType,期权类型(按行权时间)
     * 
* * optional int32 optionAreaType = 15; */ public boolean hasOptionAreaType() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
     *OptionAreaType,期权类型(按行权时间)
     * 
* * optional int32 optionAreaType = 15; */ public int getOptionAreaType() { return optionAreaType_; } public static final int CONTRACTMULTIPLIER_FIELD_NUMBER = 16; private double contractMultiplier_; /** *
     *合约乘数
     * 
* * optional double contractMultiplier = 16; */ public boolean hasContractMultiplier() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
     *合约乘数
     * 
* * optional double contractMultiplier = 16; */ public double getContractMultiplier() { return contractMultiplier_; } public static final int INDEXOPTIONTYPE_FIELD_NUMBER = 18; private int indexOptionType_; /** *
     *IndexOptionType,指数期权类型
     * 
* * optional int32 indexOptionType = 18; */ public boolean hasIndexOptionType() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
     *IndexOptionType,指数期权类型
     * 
* * optional int32 indexOptionType = 18; */ public int getIndexOptionType() { return indexOptionType_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasStrikePrice()) { memoizedIsInitialized = 0; return false; } if (!hasContractSize()) { memoizedIsInitialized = 0; return false; } if (!hasOpenInterest()) { memoizedIsInitialized = 0; return false; } if (!hasImpliedVolatility()) { memoizedIsInitialized = 0; return false; } if (!hasPremium()) { memoizedIsInitialized = 0; return false; } if (!hasDelta()) { memoizedIsInitialized = 0; return false; } if (!hasGamma()) { memoizedIsInitialized = 0; return false; } if (!hasVega()) { memoizedIsInitialized = 0; return false; } if (!hasTheta()) { memoizedIsInitialized = 0; return false; } if (!hasRho()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, strikePrice_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, contractSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(3, openInterest_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(4, impliedVolatility_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(5, premium_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(6, delta_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeDouble(7, gamma_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(8, vega_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeDouble(9, theta_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeDouble(10, rho_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeInt32(11, netOpenInterest_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeInt32(12, expiryDateDistance_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeDouble(13, contractNominalValue_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeDouble(14, ownerLotMultiplier_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeInt32(15, optionAreaType_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeDouble(16, contractMultiplier_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(17, contractSizeFloat_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeInt32(18, indexOptionType_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, strikePrice_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, contractSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, openInterest_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, impliedVolatility_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, premium_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, delta_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, gamma_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, vega_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, theta_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, rho_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, netOpenInterest_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, expiryDateDistance_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(13, contractNominalValue_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(14, ownerLotMultiplier_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(15, optionAreaType_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(16, contractMultiplier_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(17, contractSizeFloat_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(18, indexOptionType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData other = (com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData) obj; boolean result = true; result = result && (hasStrikePrice() == other.hasStrikePrice()); if (hasStrikePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getStrikePrice()) == java.lang.Double.doubleToLongBits( other.getStrikePrice())); } result = result && (hasContractSize() == other.hasContractSize()); if (hasContractSize()) { result = result && (getContractSize() == other.getContractSize()); } result = result && (hasContractSizeFloat() == other.hasContractSizeFloat()); if (hasContractSizeFloat()) { result = result && ( java.lang.Double.doubleToLongBits(getContractSizeFloat()) == java.lang.Double.doubleToLongBits( other.getContractSizeFloat())); } result = result && (hasOpenInterest() == other.hasOpenInterest()); if (hasOpenInterest()) { result = result && (getOpenInterest() == other.getOpenInterest()); } result = result && (hasImpliedVolatility() == other.hasImpliedVolatility()); if (hasImpliedVolatility()) { result = result && ( java.lang.Double.doubleToLongBits(getImpliedVolatility()) == java.lang.Double.doubleToLongBits( other.getImpliedVolatility())); } result = result && (hasPremium() == other.hasPremium()); if (hasPremium()) { result = result && ( java.lang.Double.doubleToLongBits(getPremium()) == java.lang.Double.doubleToLongBits( other.getPremium())); } result = result && (hasDelta() == other.hasDelta()); if (hasDelta()) { result = result && ( java.lang.Double.doubleToLongBits(getDelta()) == java.lang.Double.doubleToLongBits( other.getDelta())); } result = result && (hasGamma() == other.hasGamma()); if (hasGamma()) { result = result && ( java.lang.Double.doubleToLongBits(getGamma()) == java.lang.Double.doubleToLongBits( other.getGamma())); } result = result && (hasVega() == other.hasVega()); if (hasVega()) { result = result && ( java.lang.Double.doubleToLongBits(getVega()) == java.lang.Double.doubleToLongBits( other.getVega())); } result = result && (hasTheta() == other.hasTheta()); if (hasTheta()) { result = result && ( java.lang.Double.doubleToLongBits(getTheta()) == java.lang.Double.doubleToLongBits( other.getTheta())); } result = result && (hasRho() == other.hasRho()); if (hasRho()) { result = result && ( java.lang.Double.doubleToLongBits(getRho()) == java.lang.Double.doubleToLongBits( other.getRho())); } result = result && (hasNetOpenInterest() == other.hasNetOpenInterest()); if (hasNetOpenInterest()) { result = result && (getNetOpenInterest() == other.getNetOpenInterest()); } result = result && (hasExpiryDateDistance() == other.hasExpiryDateDistance()); if (hasExpiryDateDistance()) { result = result && (getExpiryDateDistance() == other.getExpiryDateDistance()); } result = result && (hasContractNominalValue() == other.hasContractNominalValue()); if (hasContractNominalValue()) { result = result && ( java.lang.Double.doubleToLongBits(getContractNominalValue()) == java.lang.Double.doubleToLongBits( other.getContractNominalValue())); } result = result && (hasOwnerLotMultiplier() == other.hasOwnerLotMultiplier()); if (hasOwnerLotMultiplier()) { result = result && ( java.lang.Double.doubleToLongBits(getOwnerLotMultiplier()) == java.lang.Double.doubleToLongBits( other.getOwnerLotMultiplier())); } result = result && (hasOptionAreaType() == other.hasOptionAreaType()); if (hasOptionAreaType()) { result = result && (getOptionAreaType() == other.getOptionAreaType()); } result = result && (hasContractMultiplier() == other.hasContractMultiplier()); if (hasContractMultiplier()) { result = result && ( java.lang.Double.doubleToLongBits(getContractMultiplier()) == java.lang.Double.doubleToLongBits( other.getContractMultiplier())); } result = result && (hasIndexOptionType() == other.hasIndexOptionType()); if (hasIndexOptionType()) { result = result && (getIndexOptionType() == other.getIndexOptionType()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasStrikePrice()) { hash = (37 * hash) + STRIKEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStrikePrice())); } if (hasContractSize()) { hash = (37 * hash) + CONTRACTSIZE_FIELD_NUMBER; hash = (53 * hash) + getContractSize(); } if (hasContractSizeFloat()) { hash = (37 * hash) + CONTRACTSIZEFLOAT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getContractSizeFloat())); } if (hasOpenInterest()) { hash = (37 * hash) + OPENINTEREST_FIELD_NUMBER; hash = (53 * hash) + getOpenInterest(); } if (hasImpliedVolatility()) { hash = (37 * hash) + IMPLIEDVOLATILITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getImpliedVolatility())); } if (hasPremium()) { hash = (37 * hash) + PREMIUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPremium())); } if (hasDelta()) { hash = (37 * hash) + DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDelta())); } if (hasGamma()) { hash = (37 * hash) + GAMMA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getGamma())); } if (hasVega()) { hash = (37 * hash) + VEGA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getVega())); } if (hasTheta()) { hash = (37 * hash) + THETA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTheta())); } if (hasRho()) { hash = (37 * hash) + RHO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRho())); } if (hasNetOpenInterest()) { hash = (37 * hash) + NETOPENINTEREST_FIELD_NUMBER; hash = (53 * hash) + getNetOpenInterest(); } if (hasExpiryDateDistance()) { hash = (37 * hash) + EXPIRYDATEDISTANCE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDateDistance(); } if (hasContractNominalValue()) { hash = (37 * hash) + CONTRACTNOMINALVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getContractNominalValue())); } if (hasOwnerLotMultiplier()) { hash = (37 * hash) + OWNERLOTMULTIPLIER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getOwnerLotMultiplier())); } if (hasOptionAreaType()) { hash = (37 * hash) + OPTIONAREATYPE_FIELD_NUMBER; hash = (53 * hash) + getOptionAreaType(); } if (hasContractMultiplier()) { hash = (37 * hash) + CONTRACTMULTIPLIER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getContractMultiplier())); } if (hasIndexOptionType()) { hash = (37 * hash) + INDEXOPTIONTYPE_FIELD_NUMBER; hash = (53 * hash) + getIndexOptionType(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.OptionBasicQotExData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.OptionBasicQotExData) com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionBasicQotExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionBasicQotExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.class, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); strikePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); contractSize_ = 0; bitField0_ = (bitField0_ & ~0x00000002); contractSizeFloat_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); openInterest_ = 0; bitField0_ = (bitField0_ & ~0x00000008); impliedVolatility_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); premium_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); delta_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); gamma_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); vega_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); theta_ = 0D; bitField0_ = (bitField0_ & ~0x00000200); rho_ = 0D; bitField0_ = (bitField0_ & ~0x00000400); netOpenInterest_ = 0; bitField0_ = (bitField0_ & ~0x00000800); expiryDateDistance_ = 0; bitField0_ = (bitField0_ & ~0x00001000); contractNominalValue_ = 0D; bitField0_ = (bitField0_ & ~0x00002000); ownerLotMultiplier_ = 0D; bitField0_ = (bitField0_ & ~0x00004000); optionAreaType_ = 0; bitField0_ = (bitField0_ & ~0x00008000); contractMultiplier_ = 0D; bitField0_ = (bitField0_ & ~0x00010000); indexOptionType_ = 0; bitField0_ = (bitField0_ & ~0x00020000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionBasicQotExData_descriptor; } public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData build() { com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData buildPartial() { com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData result = new com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.strikePrice_ = strikePrice_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.contractSize_ = contractSize_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.contractSizeFloat_ = contractSizeFloat_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.openInterest_ = openInterest_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.impliedVolatility_ = impliedVolatility_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.premium_ = premium_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.delta_ = delta_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.gamma_ = gamma_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.vega_ = vega_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.theta_ = theta_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.rho_ = rho_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.netOpenInterest_ = netOpenInterest_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.expiryDateDistance_ = expiryDateDistance_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.contractNominalValue_ = contractNominalValue_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.ownerLotMultiplier_ = ownerLotMultiplier_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.optionAreaType_ = optionAreaType_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.contractMultiplier_ = contractMultiplier_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.indexOptionType_ = indexOptionType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData other) { if (other == com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance()) return this; if (other.hasStrikePrice()) { setStrikePrice(other.getStrikePrice()); } if (other.hasContractSize()) { setContractSize(other.getContractSize()); } if (other.hasContractSizeFloat()) { setContractSizeFloat(other.getContractSizeFloat()); } if (other.hasOpenInterest()) { setOpenInterest(other.getOpenInterest()); } if (other.hasImpliedVolatility()) { setImpliedVolatility(other.getImpliedVolatility()); } if (other.hasPremium()) { setPremium(other.getPremium()); } if (other.hasDelta()) { setDelta(other.getDelta()); } if (other.hasGamma()) { setGamma(other.getGamma()); } if (other.hasVega()) { setVega(other.getVega()); } if (other.hasTheta()) { setTheta(other.getTheta()); } if (other.hasRho()) { setRho(other.getRho()); } if (other.hasNetOpenInterest()) { setNetOpenInterest(other.getNetOpenInterest()); } if (other.hasExpiryDateDistance()) { setExpiryDateDistance(other.getExpiryDateDistance()); } if (other.hasContractNominalValue()) { setContractNominalValue(other.getContractNominalValue()); } if (other.hasOwnerLotMultiplier()) { setOwnerLotMultiplier(other.getOwnerLotMultiplier()); } if (other.hasOptionAreaType()) { setOptionAreaType(other.getOptionAreaType()); } if (other.hasContractMultiplier()) { setContractMultiplier(other.getContractMultiplier()); } if (other.hasIndexOptionType()) { setIndexOptionType(other.getIndexOptionType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasStrikePrice()) { return false; } if (!hasContractSize()) { return false; } if (!hasOpenInterest()) { return false; } if (!hasImpliedVolatility()) { return false; } if (!hasPremium()) { return false; } if (!hasDelta()) { return false; } if (!hasGamma()) { return false; } if (!hasVega()) { return false; } if (!hasTheta()) { return false; } if (!hasRho()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double strikePrice_ ; /** *
       *行权价
       * 
* * required double strikePrice = 1; */ public boolean hasStrikePrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *行权价
       * 
* * required double strikePrice = 1; */ public double getStrikePrice() { return strikePrice_; } /** *
       *行权价
       * 
* * required double strikePrice = 1; */ public Builder setStrikePrice(double value) { bitField0_ |= 0x00000001; strikePrice_ = value; onChanged(); return this; } /** *
       *行权价
       * 
* * required double strikePrice = 1; */ public Builder clearStrikePrice() { bitField0_ = (bitField0_ & ~0x00000001); strikePrice_ = 0D; onChanged(); return this; } private int contractSize_ ; /** *
       *每份合约数(整型数据)
       * 
* * required int32 contractSize = 2; */ public boolean hasContractSize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *每份合约数(整型数据)
       * 
* * required int32 contractSize = 2; */ public int getContractSize() { return contractSize_; } /** *
       *每份合约数(整型数据)
       * 
* * required int32 contractSize = 2; */ public Builder setContractSize(int value) { bitField0_ |= 0x00000002; contractSize_ = value; onChanged(); return this; } /** *
       *每份合约数(整型数据)
       * 
* * required int32 contractSize = 2; */ public Builder clearContractSize() { bitField0_ = (bitField0_ & ~0x00000002); contractSize_ = 0; onChanged(); return this; } private double contractSizeFloat_ ; /** *
       *每份合约数(浮点型数据)
       * 
* * optional double contractSizeFloat = 17; */ public boolean hasContractSizeFloat() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *每份合约数(浮点型数据)
       * 
* * optional double contractSizeFloat = 17; */ public double getContractSizeFloat() { return contractSizeFloat_; } /** *
       *每份合约数(浮点型数据)
       * 
* * optional double contractSizeFloat = 17; */ public Builder setContractSizeFloat(double value) { bitField0_ |= 0x00000004; contractSizeFloat_ = value; onChanged(); return this; } /** *
       *每份合约数(浮点型数据)
       * 
* * optional double contractSizeFloat = 17; */ public Builder clearContractSizeFloat() { bitField0_ = (bitField0_ & ~0x00000004); contractSizeFloat_ = 0D; onChanged(); return this; } private int openInterest_ ; /** *
       *未平仓合约数
       * 
* * required int32 openInterest = 3; */ public boolean hasOpenInterest() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *未平仓合约数
       * 
* * required int32 openInterest = 3; */ public int getOpenInterest() { return openInterest_; } /** *
       *未平仓合约数
       * 
* * required int32 openInterest = 3; */ public Builder setOpenInterest(int value) { bitField0_ |= 0x00000008; openInterest_ = value; onChanged(); return this; } /** *
       *未平仓合约数
       * 
* * required int32 openInterest = 3; */ public Builder clearOpenInterest() { bitField0_ = (bitField0_ & ~0x00000008); openInterest_ = 0; onChanged(); return this; } private double impliedVolatility_ ; /** *
       *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double impliedVolatility = 4; */ public boolean hasImpliedVolatility() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double impliedVolatility = 4; */ public double getImpliedVolatility() { return impliedVolatility_; } /** *
       *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double impliedVolatility = 4; */ public Builder setImpliedVolatility(double value) { bitField0_ |= 0x00000010; impliedVolatility_ = value; onChanged(); return this; } /** *
       *隐含波动率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double impliedVolatility = 4; */ public Builder clearImpliedVolatility() { bitField0_ = (bitField0_ & ~0x00000010); impliedVolatility_ = 0D; onChanged(); return this; } private double premium_ ; /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 5; */ public boolean hasPremium() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 5; */ public double getPremium() { return premium_; } /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 5; */ public Builder setPremium(double value) { bitField0_ |= 0x00000020; premium_ = value; onChanged(); return this; } /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 5; */ public Builder clearPremium() { bitField0_ = (bitField0_ & ~0x00000020); premium_ = 0D; onChanged(); return this; } private double delta_ ; /** *
       *希腊值 Delta
       * 
* * required double delta = 6; */ public boolean hasDelta() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *希腊值 Delta
       * 
* * required double delta = 6; */ public double getDelta() { return delta_; } /** *
       *希腊值 Delta
       * 
* * required double delta = 6; */ public Builder setDelta(double value) { bitField0_ |= 0x00000040; delta_ = value; onChanged(); return this; } /** *
       *希腊值 Delta
       * 
* * required double delta = 6; */ public Builder clearDelta() { bitField0_ = (bitField0_ & ~0x00000040); delta_ = 0D; onChanged(); return this; } private double gamma_ ; /** *
       *希腊值 Gamma
       * 
* * required double gamma = 7; */ public boolean hasGamma() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *希腊值 Gamma
       * 
* * required double gamma = 7; */ public double getGamma() { return gamma_; } /** *
       *希腊值 Gamma
       * 
* * required double gamma = 7; */ public Builder setGamma(double value) { bitField0_ |= 0x00000080; gamma_ = value; onChanged(); return this; } /** *
       *希腊值 Gamma
       * 
* * required double gamma = 7; */ public Builder clearGamma() { bitField0_ = (bitField0_ & ~0x00000080); gamma_ = 0D; onChanged(); return this; } private double vega_ ; /** *
       *希腊值 Vega
       * 
* * required double vega = 8; */ public boolean hasVega() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *希腊值 Vega
       * 
* * required double vega = 8; */ public double getVega() { return vega_; } /** *
       *希腊值 Vega
       * 
* * required double vega = 8; */ public Builder setVega(double value) { bitField0_ |= 0x00000100; vega_ = value; onChanged(); return this; } /** *
       *希腊值 Vega
       * 
* * required double vega = 8; */ public Builder clearVega() { bitField0_ = (bitField0_ & ~0x00000100); vega_ = 0D; onChanged(); return this; } private double theta_ ; /** *
       *希腊值 Theta
       * 
* * required double theta = 9; */ public boolean hasTheta() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
       *希腊值 Theta
       * 
* * required double theta = 9; */ public double getTheta() { return theta_; } /** *
       *希腊值 Theta
       * 
* * required double theta = 9; */ public Builder setTheta(double value) { bitField0_ |= 0x00000200; theta_ = value; onChanged(); return this; } /** *
       *希腊值 Theta
       * 
* * required double theta = 9; */ public Builder clearTheta() { bitField0_ = (bitField0_ & ~0x00000200); theta_ = 0D; onChanged(); return this; } private double rho_ ; /** *
       *希腊值 Rho
       * 
* * required double rho = 10; */ public boolean hasRho() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *希腊值 Rho
       * 
* * required double rho = 10; */ public double getRho() { return rho_; } /** *
       *希腊值 Rho
       * 
* * required double rho = 10; */ public Builder setRho(double value) { bitField0_ |= 0x00000400; rho_ = value; onChanged(); return this; } /** *
       *希腊值 Rho
       * 
* * required double rho = 10; */ public Builder clearRho() { bitField0_ = (bitField0_ & ~0x00000400); rho_ = 0D; onChanged(); return this; } private int netOpenInterest_ ; /** *
       *净未平仓合约数,仅港股期权适用
       * 
* * optional int32 netOpenInterest = 11; */ public boolean hasNetOpenInterest() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
       *净未平仓合约数,仅港股期权适用
       * 
* * optional int32 netOpenInterest = 11; */ public int getNetOpenInterest() { return netOpenInterest_; } /** *
       *净未平仓合约数,仅港股期权适用
       * 
* * optional int32 netOpenInterest = 11; */ public Builder setNetOpenInterest(int value) { bitField0_ |= 0x00000800; netOpenInterest_ = value; onChanged(); return this; } /** *
       *净未平仓合约数,仅港股期权适用
       * 
* * optional int32 netOpenInterest = 11; */ public Builder clearNetOpenInterest() { bitField0_ = (bitField0_ & ~0x00000800); netOpenInterest_ = 0; onChanged(); return this; } private int expiryDateDistance_ ; /** *
       *距离到期日天数,负数表示已过期
       * 
* * optional int32 expiryDateDistance = 12; */ public boolean hasExpiryDateDistance() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
       *距离到期日天数,负数表示已过期
       * 
* * optional int32 expiryDateDistance = 12; */ public int getExpiryDateDistance() { return expiryDateDistance_; } /** *
       *距离到期日天数,负数表示已过期
       * 
* * optional int32 expiryDateDistance = 12; */ public Builder setExpiryDateDistance(int value) { bitField0_ |= 0x00001000; expiryDateDistance_ = value; onChanged(); return this; } /** *
       *距离到期日天数,负数表示已过期
       * 
* * optional int32 expiryDateDistance = 12; */ public Builder clearExpiryDateDistance() { bitField0_ = (bitField0_ & ~0x00001000); expiryDateDistance_ = 0; onChanged(); return this; } private double contractNominalValue_ ; /** *
       *合约名义金额,仅港股期权适用
       * 
* * optional double contractNominalValue = 13; */ public boolean hasContractNominalValue() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
       *合约名义金额,仅港股期权适用
       * 
* * optional double contractNominalValue = 13; */ public double getContractNominalValue() { return contractNominalValue_; } /** *
       *合约名义金额,仅港股期权适用
       * 
* * optional double contractNominalValue = 13; */ public Builder setContractNominalValue(double value) { bitField0_ |= 0x00002000; contractNominalValue_ = value; onChanged(); return this; } /** *
       *合约名义金额,仅港股期权适用
       * 
* * optional double contractNominalValue = 13; */ public Builder clearContractNominalValue() { bitField0_ = (bitField0_ & ~0x00002000); contractNominalValue_ = 0D; onChanged(); return this; } private double ownerLotMultiplier_ ; /** *
       *相等正股手数,指数期权无该字段,仅港股期权适用
       * 
* * optional double ownerLotMultiplier = 14; */ public boolean hasOwnerLotMultiplier() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
       *相等正股手数,指数期权无该字段,仅港股期权适用
       * 
* * optional double ownerLotMultiplier = 14; */ public double getOwnerLotMultiplier() { return ownerLotMultiplier_; } /** *
       *相等正股手数,指数期权无该字段,仅港股期权适用
       * 
* * optional double ownerLotMultiplier = 14; */ public Builder setOwnerLotMultiplier(double value) { bitField0_ |= 0x00004000; ownerLotMultiplier_ = value; onChanged(); return this; } /** *
       *相等正股手数,指数期权无该字段,仅港股期权适用
       * 
* * optional double ownerLotMultiplier = 14; */ public Builder clearOwnerLotMultiplier() { bitField0_ = (bitField0_ & ~0x00004000); ownerLotMultiplier_ = 0D; onChanged(); return this; } private int optionAreaType_ ; /** *
       *OptionAreaType,期权类型(按行权时间)
       * 
* * optional int32 optionAreaType = 15; */ public boolean hasOptionAreaType() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
       *OptionAreaType,期权类型(按行权时间)
       * 
* * optional int32 optionAreaType = 15; */ public int getOptionAreaType() { return optionAreaType_; } /** *
       *OptionAreaType,期权类型(按行权时间)
       * 
* * optional int32 optionAreaType = 15; */ public Builder setOptionAreaType(int value) { bitField0_ |= 0x00008000; optionAreaType_ = value; onChanged(); return this; } /** *
       *OptionAreaType,期权类型(按行权时间)
       * 
* * optional int32 optionAreaType = 15; */ public Builder clearOptionAreaType() { bitField0_ = (bitField0_ & ~0x00008000); optionAreaType_ = 0; onChanged(); return this; } private double contractMultiplier_ ; /** *
       *合约乘数
       * 
* * optional double contractMultiplier = 16; */ public boolean hasContractMultiplier() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
       *合约乘数
       * 
* * optional double contractMultiplier = 16; */ public double getContractMultiplier() { return contractMultiplier_; } /** *
       *合约乘数
       * 
* * optional double contractMultiplier = 16; */ public Builder setContractMultiplier(double value) { bitField0_ |= 0x00010000; contractMultiplier_ = value; onChanged(); return this; } /** *
       *合约乘数
       * 
* * optional double contractMultiplier = 16; */ public Builder clearContractMultiplier() { bitField0_ = (bitField0_ & ~0x00010000); contractMultiplier_ = 0D; onChanged(); return this; } private int indexOptionType_ ; /** *
       *IndexOptionType,指数期权类型
       * 
* * optional int32 indexOptionType = 18; */ public boolean hasIndexOptionType() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
       *IndexOptionType,指数期权类型
       * 
* * optional int32 indexOptionType = 18; */ public int getIndexOptionType() { return indexOptionType_; } /** *
       *IndexOptionType,指数期权类型
       * 
* * optional int32 indexOptionType = 18; */ public Builder setIndexOptionType(int value) { bitField0_ |= 0x00020000; indexOptionType_ = value; onChanged(); return this; } /** *
       *IndexOptionType,指数期权类型
       * 
* * optional int32 indexOptionType = 18; */ public Builder clearIndexOptionType() { bitField0_ = (bitField0_ & ~0x00020000); indexOptionType_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.OptionBasicQotExData) } // @@protoc_insertion_point(class_scope:Qot_Common.OptionBasicQotExData) private static final com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData(); } public static com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OptionBasicQotExData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OptionBasicQotExData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PreAfterMarketDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.PreAfterMarketData) com.google.protobuf.MessageOrBuilder { /** *
     * 盘前或盘后 - 价格
     * 
* * optional double price = 1; */ boolean hasPrice(); /** *
     * 盘前或盘后 - 价格
     * 
* * optional double price = 1; */ double getPrice(); /** *
     * 盘前或盘后 - 最高价
     * 
* * optional double highPrice = 2; */ boolean hasHighPrice(); /** *
     * 盘前或盘后 - 最高价
     * 
* * optional double highPrice = 2; */ double getHighPrice(); /** *
     * 盘前或盘后 - 最低价
     * 
* * optional double lowPrice = 3; */ boolean hasLowPrice(); /** *
     * 盘前或盘后 - 最低价
     * 
* * optional double lowPrice = 3; */ double getLowPrice(); /** *
     * 盘前或盘后 - 成交量
     * 
* * optional int64 volume = 4; */ boolean hasVolume(); /** *
     * 盘前或盘后 - 成交量
     * 
* * optional int64 volume = 4; */ long getVolume(); /** *
     * 盘前或盘后 - 成交额
     * 
* * optional double turnover = 5; */ boolean hasTurnover(); /** *
     * 盘前或盘后 - 成交额
     * 
* * optional double turnover = 5; */ double getTurnover(); /** *
     * 盘前或盘后 - 涨跌额
     * 
* * optional double changeVal = 6; */ boolean hasChangeVal(); /** *
     * 盘前或盘后 - 涨跌额
     * 
* * optional double changeVal = 6; */ double getChangeVal(); /** *
     * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 7; */ boolean hasChangeRate(); /** *
     * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 7; */ double getChangeRate(); /** *
     * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double amplitude = 8; */ boolean hasAmplitude(); /** *
     * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double amplitude = 8; */ double getAmplitude(); } /** *
   *美股支持盘前盘后数据
   *科创板仅支持盘后数据:成交量,成交额
   * 
* * Protobuf type {@code Qot_Common.PreAfterMarketData} */ public static final class PreAfterMarketData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.PreAfterMarketData) PreAfterMarketDataOrBuilder { private static final long serialVersionUID = 0L; // Use PreAfterMarketData.newBuilder() to construct. private PreAfterMarketData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PreAfterMarketData() { price_ = 0D; highPrice_ = 0D; lowPrice_ = 0D; volume_ = 0L; turnover_ = 0D; changeVal_ = 0D; changeRate_ = 0D; amplitude_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PreAfterMarketData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 9: { bitField0_ |= 0x00000001; price_ = input.readDouble(); break; } case 17: { bitField0_ |= 0x00000002; highPrice_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; lowPrice_ = input.readDouble(); break; } case 32: { bitField0_ |= 0x00000008; volume_ = input.readInt64(); break; } case 41: { bitField0_ |= 0x00000010; turnover_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000020; changeVal_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000040; changeRate_ = input.readDouble(); break; } case 65: { bitField0_ |= 0x00000080; amplitude_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PreAfterMarketData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PreAfterMarketData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.class, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder.class); } private int bitField0_; public static final int PRICE_FIELD_NUMBER = 1; private double price_; /** *
     * 盘前或盘后 - 价格
     * 
* * optional double price = 1; */ public boolean hasPrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * 盘前或盘后 - 价格
     * 
* * optional double price = 1; */ public double getPrice() { return price_; } public static final int HIGHPRICE_FIELD_NUMBER = 2; private double highPrice_; /** *
     * 盘前或盘后 - 最高价
     * 
* * optional double highPrice = 2; */ public boolean hasHighPrice() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 盘前或盘后 - 最高价
     * 
* * optional double highPrice = 2; */ public double getHighPrice() { return highPrice_; } public static final int LOWPRICE_FIELD_NUMBER = 3; private double lowPrice_; /** *
     * 盘前或盘后 - 最低价
     * 
* * optional double lowPrice = 3; */ public boolean hasLowPrice() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * 盘前或盘后 - 最低价
     * 
* * optional double lowPrice = 3; */ public double getLowPrice() { return lowPrice_; } public static final int VOLUME_FIELD_NUMBER = 4; private long volume_; /** *
     * 盘前或盘后 - 成交量
     * 
* * optional int64 volume = 4; */ public boolean hasVolume() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     * 盘前或盘后 - 成交量
     * 
* * optional int64 volume = 4; */ public long getVolume() { return volume_; } public static final int TURNOVER_FIELD_NUMBER = 5; private double turnover_; /** *
     * 盘前或盘后 - 成交额
     * 
* * optional double turnover = 5; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     * 盘前或盘后 - 成交额
     * 
* * optional double turnover = 5; */ public double getTurnover() { return turnover_; } public static final int CHANGEVAL_FIELD_NUMBER = 6; private double changeVal_; /** *
     * 盘前或盘后 - 涨跌额
     * 
* * optional double changeVal = 6; */ public boolean hasChangeVal() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     * 盘前或盘后 - 涨跌额
     * 
* * optional double changeVal = 6; */ public double getChangeVal() { return changeVal_; } public static final int CHANGERATE_FIELD_NUMBER = 7; private double changeRate_; /** *
     * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 7; */ public boolean hasChangeRate() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double changeRate = 7; */ public double getChangeRate() { return changeRate_; } public static final int AMPLITUDE_FIELD_NUMBER = 8; private double amplitude_; /** *
     * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double amplitude = 8; */ public boolean hasAmplitude() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * optional double amplitude = 8; */ public double getAmplitude() { return amplitude_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, price_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, highPrice_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, lowPrice_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, volume_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, turnover_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(6, changeVal_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, changeRate_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeDouble(8, amplitude_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, price_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, highPrice_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, lowPrice_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, volume_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, turnover_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, changeVal_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, changeRate_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, amplitude_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.PreAfterMarketData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.PreAfterMarketData other = (com.moomoo.openapi.pb.QotCommon.PreAfterMarketData) obj; boolean result = true; result = result && (hasPrice() == other.hasPrice()); if (hasPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getPrice()) == java.lang.Double.doubleToLongBits( other.getPrice())); } result = result && (hasHighPrice() == other.hasHighPrice()); if (hasHighPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getHighPrice()) == java.lang.Double.doubleToLongBits( other.getHighPrice())); } result = result && (hasLowPrice() == other.hasLowPrice()); if (hasLowPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLowPrice()) == java.lang.Double.doubleToLongBits( other.getLowPrice())); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && (hasTurnover() == other.hasTurnover()); if (hasTurnover()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnover()) == java.lang.Double.doubleToLongBits( other.getTurnover())); } result = result && (hasChangeVal() == other.hasChangeVal()); if (hasChangeVal()) { result = result && ( java.lang.Double.doubleToLongBits(getChangeVal()) == java.lang.Double.doubleToLongBits( other.getChangeVal())); } result = result && (hasChangeRate() == other.hasChangeRate()); if (hasChangeRate()) { result = result && ( java.lang.Double.doubleToLongBits(getChangeRate()) == java.lang.Double.doubleToLongBits( other.getChangeRate())); } result = result && (hasAmplitude() == other.hasAmplitude()); if (hasAmplitude()) { result = result && ( java.lang.Double.doubleToLongBits(getAmplitude()) == java.lang.Double.doubleToLongBits( other.getAmplitude())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPrice()) { hash = (37 * hash) + PRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPrice())); } if (hasHighPrice()) { hash = (37 * hash) + HIGHPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHighPrice())); } if (hasLowPrice()) { hash = (37 * hash) + LOWPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLowPrice())); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } if (hasTurnover()) { hash = (37 * hash) + TURNOVER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnover())); } if (hasChangeVal()) { hash = (37 * hash) + CHANGEVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getChangeVal())); } if (hasChangeRate()) { hash = (37 * hash) + CHANGERATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getChangeRate())); } if (hasAmplitude()) { hash = (37 * hash) + AMPLITUDE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAmplitude())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     *美股支持盘前盘后数据
     *科创板仅支持盘后数据:成交量,成交额
     * 
* * Protobuf type {@code Qot_Common.PreAfterMarketData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.PreAfterMarketData) com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PreAfterMarketData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PreAfterMarketData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.class, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); price_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); highPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); lowPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); turnover_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); changeVal_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); changeRate_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); amplitude_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PreAfterMarketData_descriptor; } public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData build() { com.moomoo.openapi.pb.QotCommon.PreAfterMarketData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData buildPartial() { com.moomoo.openapi.pb.QotCommon.PreAfterMarketData result = new com.moomoo.openapi.pb.QotCommon.PreAfterMarketData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.price_ = price_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.highPrice_ = highPrice_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.lowPrice_ = lowPrice_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.volume_ = volume_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.turnover_ = turnover_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.changeVal_ = changeVal_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.changeRate_ = changeRate_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.amplitude_ = amplitude_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.PreAfterMarketData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.PreAfterMarketData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData other) { if (other == com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance()) return this; if (other.hasPrice()) { setPrice(other.getPrice()); } if (other.hasHighPrice()) { setHighPrice(other.getHighPrice()); } if (other.hasLowPrice()) { setLowPrice(other.getLowPrice()); } if (other.hasVolume()) { setVolume(other.getVolume()); } if (other.hasTurnover()) { setTurnover(other.getTurnover()); } if (other.hasChangeVal()) { setChangeVal(other.getChangeVal()); } if (other.hasChangeRate()) { setChangeRate(other.getChangeRate()); } if (other.hasAmplitude()) { setAmplitude(other.getAmplitude()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.PreAfterMarketData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.PreAfterMarketData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double price_ ; /** *
       * 盘前或盘后 - 价格
       * 
* * optional double price = 1; */ public boolean hasPrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * 盘前或盘后 - 价格
       * 
* * optional double price = 1; */ public double getPrice() { return price_; } /** *
       * 盘前或盘后 - 价格
       * 
* * optional double price = 1; */ public Builder setPrice(double value) { bitField0_ |= 0x00000001; price_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 价格
       * 
* * optional double price = 1; */ public Builder clearPrice() { bitField0_ = (bitField0_ & ~0x00000001); price_ = 0D; onChanged(); return this; } private double highPrice_ ; /** *
       * 盘前或盘后 - 最高价
       * 
* * optional double highPrice = 2; */ public boolean hasHighPrice() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 盘前或盘后 - 最高价
       * 
* * optional double highPrice = 2; */ public double getHighPrice() { return highPrice_; } /** *
       * 盘前或盘后 - 最高价
       * 
* * optional double highPrice = 2; */ public Builder setHighPrice(double value) { bitField0_ |= 0x00000002; highPrice_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 最高价
       * 
* * optional double highPrice = 2; */ public Builder clearHighPrice() { bitField0_ = (bitField0_ & ~0x00000002); highPrice_ = 0D; onChanged(); return this; } private double lowPrice_ ; /** *
       * 盘前或盘后 - 最低价
       * 
* * optional double lowPrice = 3; */ public boolean hasLowPrice() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * 盘前或盘后 - 最低价
       * 
* * optional double lowPrice = 3; */ public double getLowPrice() { return lowPrice_; } /** *
       * 盘前或盘后 - 最低价
       * 
* * optional double lowPrice = 3; */ public Builder setLowPrice(double value) { bitField0_ |= 0x00000004; lowPrice_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 最低价
       * 
* * optional double lowPrice = 3; */ public Builder clearLowPrice() { bitField0_ = (bitField0_ & ~0x00000004); lowPrice_ = 0D; onChanged(); return this; } private long volume_ ; /** *
       * 盘前或盘后 - 成交量
       * 
* * optional int64 volume = 4; */ public boolean hasVolume() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       * 盘前或盘后 - 成交量
       * 
* * optional int64 volume = 4; */ public long getVolume() { return volume_; } /** *
       * 盘前或盘后 - 成交量
       * 
* * optional int64 volume = 4; */ public Builder setVolume(long value) { bitField0_ |= 0x00000008; volume_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 成交量
       * 
* * optional int64 volume = 4; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000008); volume_ = 0L; onChanged(); return this; } private double turnover_ ; /** *
       * 盘前或盘后 - 成交额
       * 
* * optional double turnover = 5; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       * 盘前或盘后 - 成交额
       * 
* * optional double turnover = 5; */ public double getTurnover() { return turnover_; } /** *
       * 盘前或盘后 - 成交额
       * 
* * optional double turnover = 5; */ public Builder setTurnover(double value) { bitField0_ |= 0x00000010; turnover_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 成交额
       * 
* * optional double turnover = 5; */ public Builder clearTurnover() { bitField0_ = (bitField0_ & ~0x00000010); turnover_ = 0D; onChanged(); return this; } private double changeVal_ ; /** *
       * 盘前或盘后 - 涨跌额
       * 
* * optional double changeVal = 6; */ public boolean hasChangeVal() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       * 盘前或盘后 - 涨跌额
       * 
* * optional double changeVal = 6; */ public double getChangeVal() { return changeVal_; } /** *
       * 盘前或盘后 - 涨跌额
       * 
* * optional double changeVal = 6; */ public Builder setChangeVal(double value) { bitField0_ |= 0x00000020; changeVal_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 涨跌额
       * 
* * optional double changeVal = 6; */ public Builder clearChangeVal() { bitField0_ = (bitField0_ & ~0x00000020); changeVal_ = 0D; onChanged(); return this; } private double changeRate_ ; /** *
       * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 7; */ public boolean hasChangeRate() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 7; */ public double getChangeRate() { return changeRate_; } /** *
       * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 7; */ public Builder setChangeRate(double value) { bitField0_ |= 0x00000040; changeRate_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double changeRate = 7; */ public Builder clearChangeRate() { bitField0_ = (bitField0_ & ~0x00000040); changeRate_ = 0D; onChanged(); return this; } private double amplitude_ ; /** *
       * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double amplitude = 8; */ public boolean hasAmplitude() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double amplitude = 8; */ public double getAmplitude() { return amplitude_; } /** *
       * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double amplitude = 8; */ public Builder setAmplitude(double value) { bitField0_ |= 0x00000080; amplitude_ = value; onChanged(); return this; } /** *
       * 盘前或盘后 - 振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * optional double amplitude = 8; */ public Builder clearAmplitude() { bitField0_ = (bitField0_ & ~0x00000080); amplitude_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.PreAfterMarketData) } // @@protoc_insertion_point(class_scope:Qot_Common.PreAfterMarketData) private static final com.moomoo.openapi.pb.QotCommon.PreAfterMarketData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.PreAfterMarketData(); } public static com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public PreAfterMarketData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PreAfterMarketData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FutureBasicQotExDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.FutureBasicQotExData) com.google.protobuf.MessageOrBuilder { /** *
     *昨结
     * 
* * required double lastSettlePrice = 1; */ boolean hasLastSettlePrice(); /** *
     *昨结
     * 
* * required double lastSettlePrice = 1; */ double getLastSettlePrice(); /** *
     *持仓量
     * 
* * required int32 position = 2; */ boolean hasPosition(); /** *
     *持仓量
     * 
* * required int32 position = 2; */ int getPosition(); /** *
     *日增仓
     * 
* * required int32 positionChange = 3; */ boolean hasPositionChange(); /** *
     *日增仓
     * 
* * required int32 positionChange = 3; */ int getPositionChange(); /** *
     *距离到期日天数
     * 
* * optional int32 expiryDateDistance = 4; */ boolean hasExpiryDateDistance(); /** *
     *距离到期日天数
     * 
* * optional int32 expiryDateDistance = 4; */ int getExpiryDateDistance(); } /** * Protobuf type {@code Qot_Common.FutureBasicQotExData} */ public static final class FutureBasicQotExData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.FutureBasicQotExData) FutureBasicQotExDataOrBuilder { private static final long serialVersionUID = 0L; // Use FutureBasicQotExData.newBuilder() to construct. private FutureBasicQotExData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FutureBasicQotExData() { lastSettlePrice_ = 0D; position_ = 0; positionChange_ = 0; expiryDateDistance_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FutureBasicQotExData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 9: { bitField0_ |= 0x00000001; lastSettlePrice_ = input.readDouble(); break; } case 16: { bitField0_ |= 0x00000002; position_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; positionChange_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; expiryDateDistance_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureBasicQotExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureBasicQotExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.class, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder.class); } private int bitField0_; public static final int LASTSETTLEPRICE_FIELD_NUMBER = 1; private double lastSettlePrice_; /** *
     *昨结
     * 
* * required double lastSettlePrice = 1; */ public boolean hasLastSettlePrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *昨结
     * 
* * required double lastSettlePrice = 1; */ public double getLastSettlePrice() { return lastSettlePrice_; } public static final int POSITION_FIELD_NUMBER = 2; private int position_; /** *
     *持仓量
     * 
* * required int32 position = 2; */ public boolean hasPosition() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *持仓量
     * 
* * required int32 position = 2; */ public int getPosition() { return position_; } public static final int POSITIONCHANGE_FIELD_NUMBER = 3; private int positionChange_; /** *
     *日增仓
     * 
* * required int32 positionChange = 3; */ public boolean hasPositionChange() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *日增仓
     * 
* * required int32 positionChange = 3; */ public int getPositionChange() { return positionChange_; } public static final int EXPIRYDATEDISTANCE_FIELD_NUMBER = 4; private int expiryDateDistance_; /** *
     *距离到期日天数
     * 
* * optional int32 expiryDateDistance = 4; */ public boolean hasExpiryDateDistance() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *距离到期日天数
     * 
* * optional int32 expiryDateDistance = 4; */ public int getExpiryDateDistance() { return expiryDateDistance_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLastSettlePrice()) { memoizedIsInitialized = 0; return false; } if (!hasPosition()) { memoizedIsInitialized = 0; return false; } if (!hasPositionChange()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, lastSettlePrice_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, position_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, positionChange_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, expiryDateDistance_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, lastSettlePrice_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, position_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, positionChange_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, expiryDateDistance_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData other = (com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData) obj; boolean result = true; result = result && (hasLastSettlePrice() == other.hasLastSettlePrice()); if (hasLastSettlePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLastSettlePrice()) == java.lang.Double.doubleToLongBits( other.getLastSettlePrice())); } result = result && (hasPosition() == other.hasPosition()); if (hasPosition()) { result = result && (getPosition() == other.getPosition()); } result = result && (hasPositionChange() == other.hasPositionChange()); if (hasPositionChange()) { result = result && (getPositionChange() == other.getPositionChange()); } result = result && (hasExpiryDateDistance() == other.hasExpiryDateDistance()); if (hasExpiryDateDistance()) { result = result && (getExpiryDateDistance() == other.getExpiryDateDistance()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLastSettlePrice()) { hash = (37 * hash) + LASTSETTLEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLastSettlePrice())); } if (hasPosition()) { hash = (37 * hash) + POSITION_FIELD_NUMBER; hash = (53 * hash) + getPosition(); } if (hasPositionChange()) { hash = (37 * hash) + POSITIONCHANGE_FIELD_NUMBER; hash = (53 * hash) + getPositionChange(); } if (hasExpiryDateDistance()) { hash = (37 * hash) + EXPIRYDATEDISTANCE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDateDistance(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.FutureBasicQotExData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.FutureBasicQotExData) com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureBasicQotExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureBasicQotExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.class, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); lastSettlePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); position_ = 0; bitField0_ = (bitField0_ & ~0x00000002); positionChange_ = 0; bitField0_ = (bitField0_ & ~0x00000004); expiryDateDistance_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureBasicQotExData_descriptor; } public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData build() { com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData buildPartial() { com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData result = new com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.lastSettlePrice_ = lastSettlePrice_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.position_ = position_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.positionChange_ = positionChange_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.expiryDateDistance_ = expiryDateDistance_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData other) { if (other == com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance()) return this; if (other.hasLastSettlePrice()) { setLastSettlePrice(other.getLastSettlePrice()); } if (other.hasPosition()) { setPosition(other.getPosition()); } if (other.hasPositionChange()) { setPositionChange(other.getPositionChange()); } if (other.hasExpiryDateDistance()) { setExpiryDateDistance(other.getExpiryDateDistance()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasLastSettlePrice()) { return false; } if (!hasPosition()) { return false; } if (!hasPositionChange()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double lastSettlePrice_ ; /** *
       *昨结
       * 
* * required double lastSettlePrice = 1; */ public boolean hasLastSettlePrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *昨结
       * 
* * required double lastSettlePrice = 1; */ public double getLastSettlePrice() { return lastSettlePrice_; } /** *
       *昨结
       * 
* * required double lastSettlePrice = 1; */ public Builder setLastSettlePrice(double value) { bitField0_ |= 0x00000001; lastSettlePrice_ = value; onChanged(); return this; } /** *
       *昨结
       * 
* * required double lastSettlePrice = 1; */ public Builder clearLastSettlePrice() { bitField0_ = (bitField0_ & ~0x00000001); lastSettlePrice_ = 0D; onChanged(); return this; } private int position_ ; /** *
       *持仓量
       * 
* * required int32 position = 2; */ public boolean hasPosition() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *持仓量
       * 
* * required int32 position = 2; */ public int getPosition() { return position_; } /** *
       *持仓量
       * 
* * required int32 position = 2; */ public Builder setPosition(int value) { bitField0_ |= 0x00000002; position_ = value; onChanged(); return this; } /** *
       *持仓量
       * 
* * required int32 position = 2; */ public Builder clearPosition() { bitField0_ = (bitField0_ & ~0x00000002); position_ = 0; onChanged(); return this; } private int positionChange_ ; /** *
       *日增仓
       * 
* * required int32 positionChange = 3; */ public boolean hasPositionChange() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *日增仓
       * 
* * required int32 positionChange = 3; */ public int getPositionChange() { return positionChange_; } /** *
       *日增仓
       * 
* * required int32 positionChange = 3; */ public Builder setPositionChange(int value) { bitField0_ |= 0x00000004; positionChange_ = value; onChanged(); return this; } /** *
       *日增仓
       * 
* * required int32 positionChange = 3; */ public Builder clearPositionChange() { bitField0_ = (bitField0_ & ~0x00000004); positionChange_ = 0; onChanged(); return this; } private int expiryDateDistance_ ; /** *
       *距离到期日天数
       * 
* * optional int32 expiryDateDistance = 4; */ public boolean hasExpiryDateDistance() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *距离到期日天数
       * 
* * optional int32 expiryDateDistance = 4; */ public int getExpiryDateDistance() { return expiryDateDistance_; } /** *
       *距离到期日天数
       * 
* * optional int32 expiryDateDistance = 4; */ public Builder setExpiryDateDistance(int value) { bitField0_ |= 0x00000008; expiryDateDistance_ = value; onChanged(); return this; } /** *
       *距离到期日天数
       * 
* * optional int32 expiryDateDistance = 4; */ public Builder clearExpiryDateDistance() { bitField0_ = (bitField0_ & ~0x00000008); expiryDateDistance_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.FutureBasicQotExData) } // @@protoc_insertion_point(class_scope:Qot_Common.FutureBasicQotExData) private static final com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData(); } public static com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FutureBasicQotExData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FutureBasicQotExData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WarrantBasicQotExDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.WarrantBasicQotExData) com.google.protobuf.MessageOrBuilder { /** *
     *对冲值,仅认购认沽支持该字段
     * 
* * optional double delta = 1; */ boolean hasDelta(); /** *
     *对冲值,仅认购认沽支持该字段
     * 
* * optional double delta = 1; */ double getDelta(); /** *
     *引申波幅,仅认购认沽支持该字段
     * 
* * optional double impliedVolatility = 2; */ boolean hasImpliedVolatility(); /** *
     *引申波幅,仅认购认沽支持该字段
     * 
* * optional double impliedVolatility = 2; */ double getImpliedVolatility(); /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 3; */ boolean hasPremium(); /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 3; */ double getPremium(); } /** * Protobuf type {@code Qot_Common.WarrantBasicQotExData} */ public static final class WarrantBasicQotExData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.WarrantBasicQotExData) WarrantBasicQotExDataOrBuilder { private static final long serialVersionUID = 0L; // Use WarrantBasicQotExData.newBuilder() to construct. private WarrantBasicQotExData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WarrantBasicQotExData() { delta_ = 0D; impliedVolatility_ = 0D; premium_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WarrantBasicQotExData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 9: { bitField0_ |= 0x00000001; delta_ = input.readDouble(); break; } case 17: { bitField0_ |= 0x00000002; impliedVolatility_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; premium_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantBasicQotExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantBasicQotExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.class, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder.class); } private int bitField0_; public static final int DELTA_FIELD_NUMBER = 1; private double delta_; /** *
     *对冲值,仅认购认沽支持该字段
     * 
* * optional double delta = 1; */ public boolean hasDelta() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *对冲值,仅认购认沽支持该字段
     * 
* * optional double delta = 1; */ public double getDelta() { return delta_; } public static final int IMPLIEDVOLATILITY_FIELD_NUMBER = 2; private double impliedVolatility_; /** *
     *引申波幅,仅认购认沽支持该字段
     * 
* * optional double impliedVolatility = 2; */ public boolean hasImpliedVolatility() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *引申波幅,仅认购认沽支持该字段
     * 
* * optional double impliedVolatility = 2; */ public double getImpliedVolatility() { return impliedVolatility_; } public static final int PREMIUM_FIELD_NUMBER = 3; private double premium_; /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 3; */ public boolean hasPremium() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double premium = 3; */ public double getPremium() { return premium_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPremium()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, delta_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, impliedVolatility_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, premium_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, delta_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, impliedVolatility_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, premium_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData other = (com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData) obj; boolean result = true; result = result && (hasDelta() == other.hasDelta()); if (hasDelta()) { result = result && ( java.lang.Double.doubleToLongBits(getDelta()) == java.lang.Double.doubleToLongBits( other.getDelta())); } result = result && (hasImpliedVolatility() == other.hasImpliedVolatility()); if (hasImpliedVolatility()) { result = result && ( java.lang.Double.doubleToLongBits(getImpliedVolatility()) == java.lang.Double.doubleToLongBits( other.getImpliedVolatility())); } result = result && (hasPremium() == other.hasPremium()); if (hasPremium()) { result = result && ( java.lang.Double.doubleToLongBits(getPremium()) == java.lang.Double.doubleToLongBits( other.getPremium())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDelta()) { hash = (37 * hash) + DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDelta())); } if (hasImpliedVolatility()) { hash = (37 * hash) + IMPLIEDVOLATILITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getImpliedVolatility())); } if (hasPremium()) { hash = (37 * hash) + PREMIUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPremium())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.WarrantBasicQotExData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.WarrantBasicQotExData) com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantBasicQotExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantBasicQotExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.class, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); delta_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); impliedVolatility_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); premium_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantBasicQotExData_descriptor; } public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData build() { com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData buildPartial() { com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData result = new com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.delta_ = delta_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.impliedVolatility_ = impliedVolatility_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.premium_ = premium_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData other) { if (other == com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance()) return this; if (other.hasDelta()) { setDelta(other.getDelta()); } if (other.hasImpliedVolatility()) { setImpliedVolatility(other.getImpliedVolatility()); } if (other.hasPremium()) { setPremium(other.getPremium()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasPremium()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double delta_ ; /** *
       *对冲值,仅认购认沽支持该字段
       * 
* * optional double delta = 1; */ public boolean hasDelta() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *对冲值,仅认购认沽支持该字段
       * 
* * optional double delta = 1; */ public double getDelta() { return delta_; } /** *
       *对冲值,仅认购认沽支持该字段
       * 
* * optional double delta = 1; */ public Builder setDelta(double value) { bitField0_ |= 0x00000001; delta_ = value; onChanged(); return this; } /** *
       *对冲值,仅认购认沽支持该字段
       * 
* * optional double delta = 1; */ public Builder clearDelta() { bitField0_ = (bitField0_ & ~0x00000001); delta_ = 0D; onChanged(); return this; } private double impliedVolatility_ ; /** *
       *引申波幅,仅认购认沽支持该字段
       * 
* * optional double impliedVolatility = 2; */ public boolean hasImpliedVolatility() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *引申波幅,仅认购认沽支持该字段
       * 
* * optional double impliedVolatility = 2; */ public double getImpliedVolatility() { return impliedVolatility_; } /** *
       *引申波幅,仅认购认沽支持该字段
       * 
* * optional double impliedVolatility = 2; */ public Builder setImpliedVolatility(double value) { bitField0_ |= 0x00000002; impliedVolatility_ = value; onChanged(); return this; } /** *
       *引申波幅,仅认购认沽支持该字段
       * 
* * optional double impliedVolatility = 2; */ public Builder clearImpliedVolatility() { bitField0_ = (bitField0_ & ~0x00000002); impliedVolatility_ = 0D; onChanged(); return this; } private double premium_ ; /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 3; */ public boolean hasPremium() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 3; */ public double getPremium() { return premium_; } /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 3; */ public Builder setPremium(double value) { bitField0_ |= 0x00000004; premium_ = value; onChanged(); return this; } /** *
       *溢价(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double premium = 3; */ public Builder clearPremium() { bitField0_ = (bitField0_ & ~0x00000004); premium_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.WarrantBasicQotExData) } // @@protoc_insertion_point(class_scope:Qot_Common.WarrantBasicQotExData) private static final com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData(); } public static com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public WarrantBasicQotExData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WarrantBasicQotExData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BasicQotOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.BasicQot) com.google.protobuf.MessageOrBuilder { /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ boolean hasSecurity(); /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ com.moomoo.openapi.pb.QotCommon.Security getSecurity(); /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder(); /** *
     * 股票名称
     * 
* * optional string name = 24; */ boolean hasName(); /** *
     * 股票名称
     * 
* * optional string name = 24; */ java.lang.String getName(); /** *
     * 股票名称
     * 
* * optional string name = 24; */ com.google.protobuf.ByteString getNameBytes(); /** *
     *是否停牌
     * 
* * required bool isSuspended = 2; */ boolean hasIsSuspended(); /** *
     *是否停牌
     * 
* * required bool isSuspended = 2; */ boolean getIsSuspended(); /** *
     *上市日期字符串
     * 
* * required string listTime = 3; */ boolean hasListTime(); /** *
     *上市日期字符串
     * 
* * required string listTime = 3; */ java.lang.String getListTime(); /** *
     *上市日期字符串
     * 
* * required string listTime = 3; */ com.google.protobuf.ByteString getListTimeBytes(); /** *
     *价差
     * 
* * required double priceSpread = 4; */ boolean hasPriceSpread(); /** *
     *价差
     * 
* * required double priceSpread = 4; */ double getPriceSpread(); /** *
     *最新价的更新时间字符串,对其他字段不适用
     * 
* * required string updateTime = 5; */ boolean hasUpdateTime(); /** *
     *最新价的更新时间字符串,对其他字段不适用
     * 
* * required string updateTime = 5; */ java.lang.String getUpdateTime(); /** *
     *最新价的更新时间字符串,对其他字段不适用
     * 
* * required string updateTime = 5; */ com.google.protobuf.ByteString getUpdateTimeBytes(); /** *
     *最高价
     * 
* * required double highPrice = 6; */ boolean hasHighPrice(); /** *
     *最高价
     * 
* * required double highPrice = 6; */ double getHighPrice(); /** *
     *开盘价
     * 
* * required double openPrice = 7; */ boolean hasOpenPrice(); /** *
     *开盘价
     * 
* * required double openPrice = 7; */ double getOpenPrice(); /** *
     *最低价
     * 
* * required double lowPrice = 8; */ boolean hasLowPrice(); /** *
     *最低价
     * 
* * required double lowPrice = 8; */ double getLowPrice(); /** *
     *最新价
     * 
* * required double curPrice = 9; */ boolean hasCurPrice(); /** *
     *最新价
     * 
* * required double curPrice = 9; */ double getCurPrice(); /** *
     *昨收价
     * 
* * required double lastClosePrice = 10; */ boolean hasLastClosePrice(); /** *
     *昨收价
     * 
* * required double lastClosePrice = 10; */ double getLastClosePrice(); /** *
     *成交量
     * 
* * required int64 volume = 11; */ boolean hasVolume(); /** *
     *成交量
     * 
* * required int64 volume = 11; */ long getVolume(); /** *
     *成交额
     * 
* * required double turnover = 12; */ boolean hasTurnover(); /** *
     *成交额
     * 
* * required double turnover = 12; */ double getTurnover(); /** *
     *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double turnoverRate = 13; */ boolean hasTurnoverRate(); /** *
     *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double turnoverRate = 13; */ double getTurnoverRate(); /** *
     *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double amplitude = 14; */ boolean hasAmplitude(); /** *
     *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double amplitude = 14; */ double getAmplitude(); /** *
     *DarkStatus, 暗盘交易状态	
     * 
* * optional int32 darkStatus = 15; */ boolean hasDarkStatus(); /** *
     *DarkStatus, 暗盘交易状态	
     * 
* * optional int32 darkStatus = 15; */ int getDarkStatus(); /** *
     *期权特有字段
     * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ boolean hasOptionExData(); /** *
     *期权特有字段
     * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData getOptionExData(); /** *
     *期权特有字段
     * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder getOptionExDataOrBuilder(); /** *
     *上市日期时间戳
     * 
* * optional double listTimestamp = 17; */ boolean hasListTimestamp(); /** *
     *上市日期时间戳
     * 
* * optional double listTimestamp = 17; */ double getListTimestamp(); /** *
     *最新价的更新时间戳,对其他字段不适用
     * 
* * optional double updateTimestamp = 18; */ boolean hasUpdateTimestamp(); /** *
     *最新价的更新时间戳,对其他字段不适用
     * 
* * optional double updateTimestamp = 18; */ double getUpdateTimestamp(); /** *
     *盘前数据
     * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ boolean hasPreMarket(); /** *
     *盘前数据
     * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getPreMarket(); /** *
     *盘前数据
     * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder getPreMarketOrBuilder(); /** *
     *盘后数据
     * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ boolean hasAfterMarket(); /** *
     *盘后数据
     * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getAfterMarket(); /** *
     *盘后数据
     * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder getAfterMarketOrBuilder(); /** *
     *SecurityStatus, 股票状态
     * 
* * optional int32 secStatus = 21; */ boolean hasSecStatus(); /** *
     *SecurityStatus, 股票状态
     * 
* * optional int32 secStatus = 21; */ int getSecStatus(); /** *
     *期货特有字段
     * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ boolean hasFutureExData(); /** *
     *期货特有字段
     * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData getFutureExData(); /** *
     *期货特有字段
     * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder getFutureExDataOrBuilder(); /** *
     *窝轮特有字段
     * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ boolean hasWarrantExData(); /** *
     *窝轮特有字段
     * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData getWarrantExData(); /** *
     *窝轮特有字段
     * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder getWarrantExDataOrBuilder(); } /** * Protobuf type {@code Qot_Common.BasicQot} */ public static final class BasicQot extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.BasicQot) BasicQotOrBuilder { private static final long serialVersionUID = 0L; // Use BasicQot.newBuilder() to construct. private BasicQot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BasicQot() { name_ = ""; isSuspended_ = false; listTime_ = ""; priceSpread_ = 0D; updateTime_ = ""; highPrice_ = 0D; openPrice_ = 0D; lowPrice_ = 0D; curPrice_ = 0D; lastClosePrice_ = 0D; volume_ = 0L; turnover_ = 0D; turnoverRate_ = 0D; amplitude_ = 0D; darkStatus_ = 0; listTimestamp_ = 0D; updateTimestamp_ = 0D; secStatus_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BasicQot( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = security_.toBuilder(); } security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(security_); security_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000004; isSuspended_ = input.readBool(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; listTime_ = bs; break; } case 33: { bitField0_ |= 0x00000010; priceSpread_ = input.readDouble(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; updateTime_ = bs; break; } case 49: { bitField0_ |= 0x00000040; highPrice_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000080; openPrice_ = input.readDouble(); break; } case 65: { bitField0_ |= 0x00000100; lowPrice_ = input.readDouble(); break; } case 73: { bitField0_ |= 0x00000200; curPrice_ = input.readDouble(); break; } case 81: { bitField0_ |= 0x00000400; lastClosePrice_ = input.readDouble(); break; } case 88: { bitField0_ |= 0x00000800; volume_ = input.readInt64(); break; } case 97: { bitField0_ |= 0x00001000; turnover_ = input.readDouble(); break; } case 105: { bitField0_ |= 0x00002000; turnoverRate_ = input.readDouble(); break; } case 113: { bitField0_ |= 0x00004000; amplitude_ = input.readDouble(); break; } case 120: { bitField0_ |= 0x00008000; darkStatus_ = input.readInt32(); break; } case 130: { com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder subBuilder = null; if (((bitField0_ & 0x00010000) == 0x00010000)) { subBuilder = optionExData_.toBuilder(); } optionExData_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionExData_); optionExData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00010000; break; } case 137: { bitField0_ |= 0x00020000; listTimestamp_ = input.readDouble(); break; } case 145: { bitField0_ |= 0x00040000; updateTimestamp_ = input.readDouble(); break; } case 154: { com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder subBuilder = null; if (((bitField0_ & 0x00080000) == 0x00080000)) { subBuilder = preMarket_.toBuilder(); } preMarket_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(preMarket_); preMarket_ = subBuilder.buildPartial(); } bitField0_ |= 0x00080000; break; } case 162: { com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder subBuilder = null; if (((bitField0_ & 0x00100000) == 0x00100000)) { subBuilder = afterMarket_.toBuilder(); } afterMarket_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(afterMarket_); afterMarket_ = subBuilder.buildPartial(); } bitField0_ |= 0x00100000; break; } case 168: { bitField0_ |= 0x00200000; secStatus_ = input.readInt32(); break; } case 178: { com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder subBuilder = null; if (((bitField0_ & 0x00400000) == 0x00400000)) { subBuilder = futureExData_.toBuilder(); } futureExData_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(futureExData_); futureExData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00400000; break; } case 186: { com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder subBuilder = null; if (((bitField0_ & 0x00800000) == 0x00800000)) { subBuilder = warrantExData_.toBuilder(); } warrantExData_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(warrantExData_); warrantExData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00800000; break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_BasicQot_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_BasicQot_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.BasicQot.class, com.moomoo.openapi.pb.QotCommon.BasicQot.Builder.class); } private int bitField0_; public static final int SECURITY_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.QotCommon.Security security_; /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ public boolean hasSecurity() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurity() { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } public static final int NAME_FIELD_NUMBER = 24; private volatile java.lang.Object name_; /** *
     * 股票名称
     * 
* * optional string name = 24; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 股票名称
     * 
* * optional string name = 24; */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * 股票名称
     * 
* * optional string name = 24; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ISSUSPENDED_FIELD_NUMBER = 2; private boolean isSuspended_; /** *
     *是否停牌
     * 
* * required bool isSuspended = 2; */ public boolean hasIsSuspended() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *是否停牌
     * 
* * required bool isSuspended = 2; */ public boolean getIsSuspended() { return isSuspended_; } public static final int LISTTIME_FIELD_NUMBER = 3; private volatile java.lang.Object listTime_; /** *
     *上市日期字符串
     * 
* * required string listTime = 3; */ public boolean hasListTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *上市日期字符串
     * 
* * required string listTime = 3; */ public java.lang.String getListTime() { java.lang.Object ref = listTime_; 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(); if (bs.isValidUtf8()) { listTime_ = s; } return s; } } /** *
     *上市日期字符串
     * 
* * required string listTime = 3; */ public com.google.protobuf.ByteString getListTimeBytes() { java.lang.Object ref = listTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); listTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRICESPREAD_FIELD_NUMBER = 4; private double priceSpread_; /** *
     *价差
     * 
* * required double priceSpread = 4; */ public boolean hasPriceSpread() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *价差
     * 
* * required double priceSpread = 4; */ public double getPriceSpread() { return priceSpread_; } public static final int UPDATETIME_FIELD_NUMBER = 5; private volatile java.lang.Object updateTime_; /** *
     *最新价的更新时间字符串,对其他字段不适用
     * 
* * required string updateTime = 5; */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *最新价的更新时间字符串,对其他字段不适用
     * 
* * required string updateTime = 5; */ public java.lang.String getUpdateTime() { java.lang.Object ref = updateTime_; 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(); if (bs.isValidUtf8()) { updateTime_ = s; } return s; } } /** *
     *最新价的更新时间字符串,对其他字段不适用
     * 
* * required string updateTime = 5; */ public com.google.protobuf.ByteString getUpdateTimeBytes() { java.lang.Object ref = updateTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); updateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HIGHPRICE_FIELD_NUMBER = 6; private double highPrice_; /** *
     *最高价
     * 
* * required double highPrice = 6; */ public boolean hasHighPrice() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *最高价
     * 
* * required double highPrice = 6; */ public double getHighPrice() { return highPrice_; } public static final int OPENPRICE_FIELD_NUMBER = 7; private double openPrice_; /** *
     *开盘价
     * 
* * required double openPrice = 7; */ public boolean hasOpenPrice() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *开盘价
     * 
* * required double openPrice = 7; */ public double getOpenPrice() { return openPrice_; } public static final int LOWPRICE_FIELD_NUMBER = 8; private double lowPrice_; /** *
     *最低价
     * 
* * required double lowPrice = 8; */ public boolean hasLowPrice() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *最低价
     * 
* * required double lowPrice = 8; */ public double getLowPrice() { return lowPrice_; } public static final int CURPRICE_FIELD_NUMBER = 9; private double curPrice_; /** *
     *最新价
     * 
* * required double curPrice = 9; */ public boolean hasCurPrice() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
     *最新价
     * 
* * required double curPrice = 9; */ public double getCurPrice() { return curPrice_; } public static final int LASTCLOSEPRICE_FIELD_NUMBER = 10; private double lastClosePrice_; /** *
     *昨收价
     * 
* * required double lastClosePrice = 10; */ public boolean hasLastClosePrice() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *昨收价
     * 
* * required double lastClosePrice = 10; */ public double getLastClosePrice() { return lastClosePrice_; } public static final int VOLUME_FIELD_NUMBER = 11; private long volume_; /** *
     *成交量
     * 
* * required int64 volume = 11; */ public boolean hasVolume() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
     *成交量
     * 
* * required int64 volume = 11; */ public long getVolume() { return volume_; } public static final int TURNOVER_FIELD_NUMBER = 12; private double turnover_; /** *
     *成交额
     * 
* * required double turnover = 12; */ public boolean hasTurnover() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
     *成交额
     * 
* * required double turnover = 12; */ public double getTurnover() { return turnover_; } public static final int TURNOVERRATE_FIELD_NUMBER = 13; private double turnoverRate_; /** *
     *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double turnoverRate = 13; */ public boolean hasTurnoverRate() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
     *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double turnoverRate = 13; */ public double getTurnoverRate() { return turnoverRate_; } public static final int AMPLITUDE_FIELD_NUMBER = 14; private double amplitude_; /** *
     *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double amplitude = 14; */ public boolean hasAmplitude() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
     *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double amplitude = 14; */ public double getAmplitude() { return amplitude_; } public static final int DARKSTATUS_FIELD_NUMBER = 15; private int darkStatus_; /** *
     *DarkStatus, 暗盘交易状态	
     * 
* * optional int32 darkStatus = 15; */ public boolean hasDarkStatus() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
     *DarkStatus, 暗盘交易状态	
     * 
* * optional int32 darkStatus = 15; */ public int getDarkStatus() { return darkStatus_; } public static final int OPTIONEXDATA_FIELD_NUMBER = 16; private com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData optionExData_; /** *
     *期权特有字段
     * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public boolean hasOptionExData() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
     *期权特有字段
     * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData getOptionExData() { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance() : optionExData_; } /** *
     *期权特有字段
     * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder getOptionExDataOrBuilder() { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance() : optionExData_; } public static final int LISTTIMESTAMP_FIELD_NUMBER = 17; private double listTimestamp_; /** *
     *上市日期时间戳
     * 
* * optional double listTimestamp = 17; */ public boolean hasListTimestamp() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
     *上市日期时间戳
     * 
* * optional double listTimestamp = 17; */ public double getListTimestamp() { return listTimestamp_; } public static final int UPDATETIMESTAMP_FIELD_NUMBER = 18; private double updateTimestamp_; /** *
     *最新价的更新时间戳,对其他字段不适用
     * 
* * optional double updateTimestamp = 18; */ public boolean hasUpdateTimestamp() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** *
     *最新价的更新时间戳,对其他字段不适用
     * 
* * optional double updateTimestamp = 18; */ public double getUpdateTimestamp() { return updateTimestamp_; } public static final int PREMARKET_FIELD_NUMBER = 19; private com.moomoo.openapi.pb.QotCommon.PreAfterMarketData preMarket_; /** *
     *盘前数据
     * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public boolean hasPreMarket() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** *
     *盘前数据
     * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getPreMarket() { return preMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : preMarket_; } /** *
     *盘前数据
     * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder getPreMarketOrBuilder() { return preMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : preMarket_; } public static final int AFTERMARKET_FIELD_NUMBER = 20; private com.moomoo.openapi.pb.QotCommon.PreAfterMarketData afterMarket_; /** *
     *盘后数据
     * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public boolean hasAfterMarket() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** *
     *盘后数据
     * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getAfterMarket() { return afterMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : afterMarket_; } /** *
     *盘后数据
     * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder getAfterMarketOrBuilder() { return afterMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : afterMarket_; } public static final int SECSTATUS_FIELD_NUMBER = 21; private int secStatus_; /** *
     *SecurityStatus, 股票状态
     * 
* * optional int32 secStatus = 21; */ public boolean hasSecStatus() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** *
     *SecurityStatus, 股票状态
     * 
* * optional int32 secStatus = 21; */ public int getSecStatus() { return secStatus_; } public static final int FUTUREEXDATA_FIELD_NUMBER = 22; private com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData futureExData_; /** *
     *期货特有字段
     * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public boolean hasFutureExData() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** *
     *期货特有字段
     * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData getFutureExData() { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance() : futureExData_; } /** *
     *期货特有字段
     * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder getFutureExDataOrBuilder() { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance() : futureExData_; } public static final int WARRANTEXDATA_FIELD_NUMBER = 23; private com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData warrantExData_; /** *
     *窝轮特有字段
     * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public boolean hasWarrantExData() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** *
     *窝轮特有字段
     * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData getWarrantExData() { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance() : warrantExData_; } /** *
     *窝轮特有字段
     * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder getWarrantExDataOrBuilder() { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance() : warrantExData_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSecurity()) { memoizedIsInitialized = 0; return false; } if (!hasIsSuspended()) { memoizedIsInitialized = 0; return false; } if (!hasListTime()) { memoizedIsInitialized = 0; return false; } if (!hasPriceSpread()) { memoizedIsInitialized = 0; return false; } if (!hasUpdateTime()) { memoizedIsInitialized = 0; return false; } if (!hasHighPrice()) { memoizedIsInitialized = 0; return false; } if (!hasOpenPrice()) { memoizedIsInitialized = 0; return false; } if (!hasLowPrice()) { memoizedIsInitialized = 0; return false; } if (!hasCurPrice()) { memoizedIsInitialized = 0; return false; } if (!hasLastClosePrice()) { memoizedIsInitialized = 0; return false; } if (!hasVolume()) { memoizedIsInitialized = 0; return false; } if (!hasTurnover()) { memoizedIsInitialized = 0; return false; } if (!hasTurnoverRate()) { memoizedIsInitialized = 0; return false; } if (!hasAmplitude()) { memoizedIsInitialized = 0; return false; } if (!getSecurity().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasOptionExData()) { if (!getOptionExData().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasFutureExData()) { if (!getFutureExData().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasWarrantExData()) { if (!getWarrantExData().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getSecurity()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(2, isSuspended_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, listTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(4, priceSpread_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, updateTime_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(6, highPrice_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeDouble(7, openPrice_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(8, lowPrice_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeDouble(9, curPrice_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeDouble(10, lastClosePrice_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeInt64(11, volume_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeDouble(12, turnover_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeDouble(13, turnoverRate_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeDouble(14, amplitude_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeInt32(15, darkStatus_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeMessage(16, getOptionExData()); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeDouble(17, listTimestamp_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeDouble(18, updateTimestamp_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeMessage(19, getPreMarket()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeMessage(20, getAfterMarket()); } if (((bitField0_ & 0x00200000) == 0x00200000)) { output.writeInt32(21, secStatus_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { output.writeMessage(22, getFutureExData()); } if (((bitField0_ & 0x00800000) == 0x00800000)) { output.writeMessage(23, getWarrantExData()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, name_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSecurity()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isSuspended_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, listTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, priceSpread_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, updateTime_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, highPrice_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, openPrice_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, lowPrice_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, curPrice_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, lastClosePrice_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(11, volume_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, turnover_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(13, turnoverRate_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(14, amplitude_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(15, darkStatus_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getOptionExData()); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(17, listTimestamp_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(18, updateTimestamp_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getPreMarket()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getAfterMarket()); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(21, secStatus_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getFutureExData()); } if (((bitField0_ & 0x00800000) == 0x00800000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getWarrantExData()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, name_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.BasicQot)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.BasicQot other = (com.moomoo.openapi.pb.QotCommon.BasicQot) obj; boolean result = true; result = result && (hasSecurity() == other.hasSecurity()); if (hasSecurity()) { result = result && getSecurity() .equals(other.getSecurity()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasIsSuspended() == other.hasIsSuspended()); if (hasIsSuspended()) { result = result && (getIsSuspended() == other.getIsSuspended()); } result = result && (hasListTime() == other.hasListTime()); if (hasListTime()) { result = result && getListTime() .equals(other.getListTime()); } result = result && (hasPriceSpread() == other.hasPriceSpread()); if (hasPriceSpread()) { result = result && ( java.lang.Double.doubleToLongBits(getPriceSpread()) == java.lang.Double.doubleToLongBits( other.getPriceSpread())); } result = result && (hasUpdateTime() == other.hasUpdateTime()); if (hasUpdateTime()) { result = result && getUpdateTime() .equals(other.getUpdateTime()); } result = result && (hasHighPrice() == other.hasHighPrice()); if (hasHighPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getHighPrice()) == java.lang.Double.doubleToLongBits( other.getHighPrice())); } result = result && (hasOpenPrice() == other.hasOpenPrice()); if (hasOpenPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getOpenPrice()) == java.lang.Double.doubleToLongBits( other.getOpenPrice())); } result = result && (hasLowPrice() == other.hasLowPrice()); if (hasLowPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLowPrice()) == java.lang.Double.doubleToLongBits( other.getLowPrice())); } result = result && (hasCurPrice() == other.hasCurPrice()); if (hasCurPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getCurPrice()) == java.lang.Double.doubleToLongBits( other.getCurPrice())); } result = result && (hasLastClosePrice() == other.hasLastClosePrice()); if (hasLastClosePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLastClosePrice()) == java.lang.Double.doubleToLongBits( other.getLastClosePrice())); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && (hasTurnover() == other.hasTurnover()); if (hasTurnover()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnover()) == java.lang.Double.doubleToLongBits( other.getTurnover())); } result = result && (hasTurnoverRate() == other.hasTurnoverRate()); if (hasTurnoverRate()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnoverRate()) == java.lang.Double.doubleToLongBits( other.getTurnoverRate())); } result = result && (hasAmplitude() == other.hasAmplitude()); if (hasAmplitude()) { result = result && ( java.lang.Double.doubleToLongBits(getAmplitude()) == java.lang.Double.doubleToLongBits( other.getAmplitude())); } result = result && (hasDarkStatus() == other.hasDarkStatus()); if (hasDarkStatus()) { result = result && (getDarkStatus() == other.getDarkStatus()); } result = result && (hasOptionExData() == other.hasOptionExData()); if (hasOptionExData()) { result = result && getOptionExData() .equals(other.getOptionExData()); } result = result && (hasListTimestamp() == other.hasListTimestamp()); if (hasListTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getListTimestamp()) == java.lang.Double.doubleToLongBits( other.getListTimestamp())); } result = result && (hasUpdateTimestamp() == other.hasUpdateTimestamp()); if (hasUpdateTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getUpdateTimestamp()) == java.lang.Double.doubleToLongBits( other.getUpdateTimestamp())); } result = result && (hasPreMarket() == other.hasPreMarket()); if (hasPreMarket()) { result = result && getPreMarket() .equals(other.getPreMarket()); } result = result && (hasAfterMarket() == other.hasAfterMarket()); if (hasAfterMarket()) { result = result && getAfterMarket() .equals(other.getAfterMarket()); } result = result && (hasSecStatus() == other.hasSecStatus()); if (hasSecStatus()) { result = result && (getSecStatus() == other.getSecStatus()); } result = result && (hasFutureExData() == other.hasFutureExData()); if (hasFutureExData()) { result = result && getFutureExData() .equals(other.getFutureExData()); } result = result && (hasWarrantExData() == other.hasWarrantExData()); if (hasWarrantExData()) { result = result && getWarrantExData() .equals(other.getWarrantExData()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSecurity()) { hash = (37 * hash) + SECURITY_FIELD_NUMBER; hash = (53 * hash) + getSecurity().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasIsSuspended()) { hash = (37 * hash) + ISSUSPENDED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsSuspended()); } if (hasListTime()) { hash = (37 * hash) + LISTTIME_FIELD_NUMBER; hash = (53 * hash) + getListTime().hashCode(); } if (hasPriceSpread()) { hash = (37 * hash) + PRICESPREAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPriceSpread())); } if (hasUpdateTime()) { hash = (37 * hash) + UPDATETIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } if (hasHighPrice()) { hash = (37 * hash) + HIGHPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHighPrice())); } if (hasOpenPrice()) { hash = (37 * hash) + OPENPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getOpenPrice())); } if (hasLowPrice()) { hash = (37 * hash) + LOWPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLowPrice())); } if (hasCurPrice()) { hash = (37 * hash) + CURPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getCurPrice())); } if (hasLastClosePrice()) { hash = (37 * hash) + LASTCLOSEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLastClosePrice())); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } if (hasTurnover()) { hash = (37 * hash) + TURNOVER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnover())); } if (hasTurnoverRate()) { hash = (37 * hash) + TURNOVERRATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnoverRate())); } if (hasAmplitude()) { hash = (37 * hash) + AMPLITUDE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAmplitude())); } if (hasDarkStatus()) { hash = (37 * hash) + DARKSTATUS_FIELD_NUMBER; hash = (53 * hash) + getDarkStatus(); } if (hasOptionExData()) { hash = (37 * hash) + OPTIONEXDATA_FIELD_NUMBER; hash = (53 * hash) + getOptionExData().hashCode(); } if (hasListTimestamp()) { hash = (37 * hash) + LISTTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getListTimestamp())); } if (hasUpdateTimestamp()) { hash = (37 * hash) + UPDATETIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getUpdateTimestamp())); } if (hasPreMarket()) { hash = (37 * hash) + PREMARKET_FIELD_NUMBER; hash = (53 * hash) + getPreMarket().hashCode(); } if (hasAfterMarket()) { hash = (37 * hash) + AFTERMARKET_FIELD_NUMBER; hash = (53 * hash) + getAfterMarket().hashCode(); } if (hasSecStatus()) { hash = (37 * hash) + SECSTATUS_FIELD_NUMBER; hash = (53 * hash) + getSecStatus(); } if (hasFutureExData()) { hash = (37 * hash) + FUTUREEXDATA_FIELD_NUMBER; hash = (53 * hash) + getFutureExData().hashCode(); } if (hasWarrantExData()) { hash = (37 * hash) + WARRANTEXDATA_FIELD_NUMBER; hash = (53 * hash) + getWarrantExData().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.BasicQot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.BasicQot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.BasicQot} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.BasicQot) com.moomoo.openapi.pb.QotCommon.BasicQotOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_BasicQot_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_BasicQot_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.BasicQot.class, com.moomoo.openapi.pb.QotCommon.BasicQot.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.BasicQot.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSecurityFieldBuilder(); getOptionExDataFieldBuilder(); getPreMarketFieldBuilder(); getAfterMarketFieldBuilder(); getFutureExDataFieldBuilder(); getWarrantExDataFieldBuilder(); } } public Builder clear() { super.clear(); if (securityBuilder_ == null) { security_ = null; } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); isSuspended_ = false; bitField0_ = (bitField0_ & ~0x00000004); listTime_ = ""; bitField0_ = (bitField0_ & ~0x00000008); priceSpread_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); updateTime_ = ""; bitField0_ = (bitField0_ & ~0x00000020); highPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); openPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); lowPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); curPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000200); lastClosePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000400); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000800); turnover_ = 0D; bitField0_ = (bitField0_ & ~0x00001000); turnoverRate_ = 0D; bitField0_ = (bitField0_ & ~0x00002000); amplitude_ = 0D; bitField0_ = (bitField0_ & ~0x00004000); darkStatus_ = 0; bitField0_ = (bitField0_ & ~0x00008000); if (optionExDataBuilder_ == null) { optionExData_ = null; } else { optionExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00010000); listTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00020000); updateTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00040000); if (preMarketBuilder_ == null) { preMarket_ = null; } else { preMarketBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00080000); if (afterMarketBuilder_ == null) { afterMarket_ = null; } else { afterMarketBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); secStatus_ = 0; bitField0_ = (bitField0_ & ~0x00200000); if (futureExDataBuilder_ == null) { futureExData_ = null; } else { futureExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); if (warrantExDataBuilder_ == null) { warrantExData_ = null; } else { warrantExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00800000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_BasicQot_descriptor; } public com.moomoo.openapi.pb.QotCommon.BasicQot getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.BasicQot.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.BasicQot build() { com.moomoo.openapi.pb.QotCommon.BasicQot result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.BasicQot buildPartial() { com.moomoo.openapi.pb.QotCommon.BasicQot result = new com.moomoo.openapi.pb.QotCommon.BasicQot(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (securityBuilder_ == null) { result.security_ = security_; } else { result.security_ = securityBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.isSuspended_ = isSuspended_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.listTime_ = listTime_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.priceSpread_ = priceSpread_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.updateTime_ = updateTime_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.highPrice_ = highPrice_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.openPrice_ = openPrice_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.lowPrice_ = lowPrice_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.curPrice_ = curPrice_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.lastClosePrice_ = lastClosePrice_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.volume_ = volume_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.turnover_ = turnover_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.turnoverRate_ = turnoverRate_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.amplitude_ = amplitude_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.darkStatus_ = darkStatus_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } if (optionExDataBuilder_ == null) { result.optionExData_ = optionExData_; } else { result.optionExData_ = optionExDataBuilder_.build(); } if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.listTimestamp_ = listTimestamp_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } result.updateTimestamp_ = updateTimestamp_; if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00080000; } if (preMarketBuilder_ == null) { result.preMarket_ = preMarket_; } else { result.preMarket_ = preMarketBuilder_.build(); } if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00100000; } if (afterMarketBuilder_ == null) { result.afterMarket_ = afterMarket_; } else { result.afterMarket_ = afterMarketBuilder_.build(); } if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00200000; } result.secStatus_ = secStatus_; if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00400000; } if (futureExDataBuilder_ == null) { result.futureExData_ = futureExData_; } else { result.futureExData_ = futureExDataBuilder_.build(); } if (((from_bitField0_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x00800000; } if (warrantExDataBuilder_ == null) { result.warrantExData_ = warrantExData_; } else { result.warrantExData_ = warrantExDataBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.BasicQot) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.BasicQot)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.BasicQot other) { if (other == com.moomoo.openapi.pb.QotCommon.BasicQot.getDefaultInstance()) return this; if (other.hasSecurity()) { mergeSecurity(other.getSecurity()); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasIsSuspended()) { setIsSuspended(other.getIsSuspended()); } if (other.hasListTime()) { bitField0_ |= 0x00000008; listTime_ = other.listTime_; onChanged(); } if (other.hasPriceSpread()) { setPriceSpread(other.getPriceSpread()); } if (other.hasUpdateTime()) { bitField0_ |= 0x00000020; updateTime_ = other.updateTime_; onChanged(); } if (other.hasHighPrice()) { setHighPrice(other.getHighPrice()); } if (other.hasOpenPrice()) { setOpenPrice(other.getOpenPrice()); } if (other.hasLowPrice()) { setLowPrice(other.getLowPrice()); } if (other.hasCurPrice()) { setCurPrice(other.getCurPrice()); } if (other.hasLastClosePrice()) { setLastClosePrice(other.getLastClosePrice()); } if (other.hasVolume()) { setVolume(other.getVolume()); } if (other.hasTurnover()) { setTurnover(other.getTurnover()); } if (other.hasTurnoverRate()) { setTurnoverRate(other.getTurnoverRate()); } if (other.hasAmplitude()) { setAmplitude(other.getAmplitude()); } if (other.hasDarkStatus()) { setDarkStatus(other.getDarkStatus()); } if (other.hasOptionExData()) { mergeOptionExData(other.getOptionExData()); } if (other.hasListTimestamp()) { setListTimestamp(other.getListTimestamp()); } if (other.hasUpdateTimestamp()) { setUpdateTimestamp(other.getUpdateTimestamp()); } if (other.hasPreMarket()) { mergePreMarket(other.getPreMarket()); } if (other.hasAfterMarket()) { mergeAfterMarket(other.getAfterMarket()); } if (other.hasSecStatus()) { setSecStatus(other.getSecStatus()); } if (other.hasFutureExData()) { mergeFutureExData(other.getFutureExData()); } if (other.hasWarrantExData()) { mergeWarrantExData(other.getWarrantExData()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasSecurity()) { return false; } if (!hasIsSuspended()) { return false; } if (!hasListTime()) { return false; } if (!hasPriceSpread()) { return false; } if (!hasUpdateTime()) { return false; } if (!hasHighPrice()) { return false; } if (!hasOpenPrice()) { return false; } if (!hasLowPrice()) { return false; } if (!hasCurPrice()) { return false; } if (!hasLastClosePrice()) { return false; } if (!hasVolume()) { return false; } if (!hasTurnover()) { return false; } if (!hasTurnoverRate()) { return false; } if (!hasAmplitude()) { return false; } if (!getSecurity().isInitialized()) { return false; } if (hasOptionExData()) { if (!getOptionExData().isInitialized()) { return false; } } if (hasFutureExData()) { if (!getFutureExData().isInitialized()) { return false; } } if (hasWarrantExData()) { if (!getWarrantExData().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.BasicQot parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.BasicQot) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.QotCommon.Security security_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityBuilder_; /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public boolean hasSecurity() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurity() { if (securityBuilder_ == null) { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } else { return securityBuilder_.getMessage(); } } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder setSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } security_ = value; onChanged(); } else { securityBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder setSecurity( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityBuilder_ == null) { security_ = builderForValue.build(); onChanged(); } else { securityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && security_ != null && security_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { security_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(security_).mergeFrom(value).buildPartial(); } else { security_ = value; } onChanged(); } else { securityBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder clearSecurity() { if (securityBuilder_ == null) { security_ = null; onChanged(); } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSecurityFieldBuilder().getBuilder(); } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() { if (securityBuilder_ != null) { return securityBuilder_.getMessageOrBuilder(); } else { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getSecurityFieldBuilder() { if (securityBuilder_ == null) { securityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getSecurity(), getParentForChildren(), isClean()); security_ = null; } return securityBuilder_; } private java.lang.Object name_ = ""; /** *
       * 股票名称
       * 
* * optional string name = 24; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 股票名称
       * 
* * optional string name = 24; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * 股票名称
       * 
* * optional string name = 24; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * 股票名称
       * 
* * optional string name = 24; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * 股票名称
       * 
* * optional string name = 24; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * 股票名称
       * 
* * optional string name = 24; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private boolean isSuspended_ ; /** *
       *是否停牌
       * 
* * required bool isSuspended = 2; */ public boolean hasIsSuspended() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *是否停牌
       * 
* * required bool isSuspended = 2; */ public boolean getIsSuspended() { return isSuspended_; } /** *
       *是否停牌
       * 
* * required bool isSuspended = 2; */ public Builder setIsSuspended(boolean value) { bitField0_ |= 0x00000004; isSuspended_ = value; onChanged(); return this; } /** *
       *是否停牌
       * 
* * required bool isSuspended = 2; */ public Builder clearIsSuspended() { bitField0_ = (bitField0_ & ~0x00000004); isSuspended_ = false; onChanged(); return this; } private java.lang.Object listTime_ = ""; /** *
       *上市日期字符串
       * 
* * required string listTime = 3; */ public boolean hasListTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *上市日期字符串
       * 
* * required string listTime = 3; */ public java.lang.String getListTime() { java.lang.Object ref = listTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { listTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *上市日期字符串
       * 
* * required string listTime = 3; */ public com.google.protobuf.ByteString getListTimeBytes() { java.lang.Object ref = listTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); listTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *上市日期字符串
       * 
* * required string listTime = 3; */ public Builder setListTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; listTime_ = value; onChanged(); return this; } /** *
       *上市日期字符串
       * 
* * required string listTime = 3; */ public Builder clearListTime() { bitField0_ = (bitField0_ & ~0x00000008); listTime_ = getDefaultInstance().getListTime(); onChanged(); return this; } /** *
       *上市日期字符串
       * 
* * required string listTime = 3; */ public Builder setListTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; listTime_ = value; onChanged(); return this; } private double priceSpread_ ; /** *
       *价差
       * 
* * required double priceSpread = 4; */ public boolean hasPriceSpread() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *价差
       * 
* * required double priceSpread = 4; */ public double getPriceSpread() { return priceSpread_; } /** *
       *价差
       * 
* * required double priceSpread = 4; */ public Builder setPriceSpread(double value) { bitField0_ |= 0x00000010; priceSpread_ = value; onChanged(); return this; } /** *
       *价差
       * 
* * required double priceSpread = 4; */ public Builder clearPriceSpread() { bitField0_ = (bitField0_ & ~0x00000010); priceSpread_ = 0D; onChanged(); return this; } private java.lang.Object updateTime_ = ""; /** *
       *最新价的更新时间字符串,对其他字段不适用
       * 
* * required string updateTime = 5; */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *最新价的更新时间字符串,对其他字段不适用
       * 
* * required string updateTime = 5; */ public java.lang.String getUpdateTime() { java.lang.Object ref = updateTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { updateTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *最新价的更新时间字符串,对其他字段不适用
       * 
* * required string updateTime = 5; */ public com.google.protobuf.ByteString getUpdateTimeBytes() { java.lang.Object ref = updateTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); updateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *最新价的更新时间字符串,对其他字段不适用
       * 
* * required string updateTime = 5; */ public Builder setUpdateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; updateTime_ = value; onChanged(); return this; } /** *
       *最新价的更新时间字符串,对其他字段不适用
       * 
* * required string updateTime = 5; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000020); updateTime_ = getDefaultInstance().getUpdateTime(); onChanged(); return this; } /** *
       *最新价的更新时间字符串,对其他字段不适用
       * 
* * required string updateTime = 5; */ public Builder setUpdateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; updateTime_ = value; onChanged(); return this; } private double highPrice_ ; /** *
       *最高价
       * 
* * required double highPrice = 6; */ public boolean hasHighPrice() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *最高价
       * 
* * required double highPrice = 6; */ public double getHighPrice() { return highPrice_; } /** *
       *最高价
       * 
* * required double highPrice = 6; */ public Builder setHighPrice(double value) { bitField0_ |= 0x00000040; highPrice_ = value; onChanged(); return this; } /** *
       *最高价
       * 
* * required double highPrice = 6; */ public Builder clearHighPrice() { bitField0_ = (bitField0_ & ~0x00000040); highPrice_ = 0D; onChanged(); return this; } private double openPrice_ ; /** *
       *开盘价
       * 
* * required double openPrice = 7; */ public boolean hasOpenPrice() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *开盘价
       * 
* * required double openPrice = 7; */ public double getOpenPrice() { return openPrice_; } /** *
       *开盘价
       * 
* * required double openPrice = 7; */ public Builder setOpenPrice(double value) { bitField0_ |= 0x00000080; openPrice_ = value; onChanged(); return this; } /** *
       *开盘价
       * 
* * required double openPrice = 7; */ public Builder clearOpenPrice() { bitField0_ = (bitField0_ & ~0x00000080); openPrice_ = 0D; onChanged(); return this; } private double lowPrice_ ; /** *
       *最低价
       * 
* * required double lowPrice = 8; */ public boolean hasLowPrice() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *最低价
       * 
* * required double lowPrice = 8; */ public double getLowPrice() { return lowPrice_; } /** *
       *最低价
       * 
* * required double lowPrice = 8; */ public Builder setLowPrice(double value) { bitField0_ |= 0x00000100; lowPrice_ = value; onChanged(); return this; } /** *
       *最低价
       * 
* * required double lowPrice = 8; */ public Builder clearLowPrice() { bitField0_ = (bitField0_ & ~0x00000100); lowPrice_ = 0D; onChanged(); return this; } private double curPrice_ ; /** *
       *最新价
       * 
* * required double curPrice = 9; */ public boolean hasCurPrice() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
       *最新价
       * 
* * required double curPrice = 9; */ public double getCurPrice() { return curPrice_; } /** *
       *最新价
       * 
* * required double curPrice = 9; */ public Builder setCurPrice(double value) { bitField0_ |= 0x00000200; curPrice_ = value; onChanged(); return this; } /** *
       *最新价
       * 
* * required double curPrice = 9; */ public Builder clearCurPrice() { bitField0_ = (bitField0_ & ~0x00000200); curPrice_ = 0D; onChanged(); return this; } private double lastClosePrice_ ; /** *
       *昨收价
       * 
* * required double lastClosePrice = 10; */ public boolean hasLastClosePrice() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *昨收价
       * 
* * required double lastClosePrice = 10; */ public double getLastClosePrice() { return lastClosePrice_; } /** *
       *昨收价
       * 
* * required double lastClosePrice = 10; */ public Builder setLastClosePrice(double value) { bitField0_ |= 0x00000400; lastClosePrice_ = value; onChanged(); return this; } /** *
       *昨收价
       * 
* * required double lastClosePrice = 10; */ public Builder clearLastClosePrice() { bitField0_ = (bitField0_ & ~0x00000400); lastClosePrice_ = 0D; onChanged(); return this; } private long volume_ ; /** *
       *成交量
       * 
* * required int64 volume = 11; */ public boolean hasVolume() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
       *成交量
       * 
* * required int64 volume = 11; */ public long getVolume() { return volume_; } /** *
       *成交量
       * 
* * required int64 volume = 11; */ public Builder setVolume(long value) { bitField0_ |= 0x00000800; volume_ = value; onChanged(); return this; } /** *
       *成交量
       * 
* * required int64 volume = 11; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000800); volume_ = 0L; onChanged(); return this; } private double turnover_ ; /** *
       *成交额
       * 
* * required double turnover = 12; */ public boolean hasTurnover() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
       *成交额
       * 
* * required double turnover = 12; */ public double getTurnover() { return turnover_; } /** *
       *成交额
       * 
* * required double turnover = 12; */ public Builder setTurnover(double value) { bitField0_ |= 0x00001000; turnover_ = value; onChanged(); return this; } /** *
       *成交额
       * 
* * required double turnover = 12; */ public Builder clearTurnover() { bitField0_ = (bitField0_ & ~0x00001000); turnover_ = 0D; onChanged(); return this; } private double turnoverRate_ ; /** *
       *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double turnoverRate = 13; */ public boolean hasTurnoverRate() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
       *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double turnoverRate = 13; */ public double getTurnoverRate() { return turnoverRate_; } /** *
       *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double turnoverRate = 13; */ public Builder setTurnoverRate(double value) { bitField0_ |= 0x00002000; turnoverRate_ = value; onChanged(); return this; } /** *
       *换手率(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double turnoverRate = 13; */ public Builder clearTurnoverRate() { bitField0_ = (bitField0_ & ~0x00002000); turnoverRate_ = 0D; onChanged(); return this; } private double amplitude_ ; /** *
       *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double amplitude = 14; */ public boolean hasAmplitude() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
       *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double amplitude = 14; */ public double getAmplitude() { return amplitude_; } /** *
       *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double amplitude = 14; */ public Builder setAmplitude(double value) { bitField0_ |= 0x00004000; amplitude_ = value; onChanged(); return this; } /** *
       *振幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double amplitude = 14; */ public Builder clearAmplitude() { bitField0_ = (bitField0_ & ~0x00004000); amplitude_ = 0D; onChanged(); return this; } private int darkStatus_ ; /** *
       *DarkStatus, 暗盘交易状态	
       * 
* * optional int32 darkStatus = 15; */ public boolean hasDarkStatus() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
       *DarkStatus, 暗盘交易状态	
       * 
* * optional int32 darkStatus = 15; */ public int getDarkStatus() { return darkStatus_; } /** *
       *DarkStatus, 暗盘交易状态	
       * 
* * optional int32 darkStatus = 15; */ public Builder setDarkStatus(int value) { bitField0_ |= 0x00008000; darkStatus_ = value; onChanged(); return this; } /** *
       *DarkStatus, 暗盘交易状态	
       * 
* * optional int32 darkStatus = 15; */ public Builder clearDarkStatus() { bitField0_ = (bitField0_ & ~0x00008000); darkStatus_ = 0; onChanged(); return this; } private com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData optionExData_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder> optionExDataBuilder_; /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public boolean hasOptionExData() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData getOptionExData() { if (optionExDataBuilder_ == null) { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance() : optionExData_; } else { return optionExDataBuilder_.getMessage(); } } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public Builder setOptionExData(com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData value) { if (optionExDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } optionExData_ = value; onChanged(); } else { optionExDataBuilder_.setMessage(value); } bitField0_ |= 0x00010000; return this; } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public Builder setOptionExData( com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder builderForValue) { if (optionExDataBuilder_ == null) { optionExData_ = builderForValue.build(); onChanged(); } else { optionExDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; return this; } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public Builder mergeOptionExData(com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData value) { if (optionExDataBuilder_ == null) { if (((bitField0_ & 0x00010000) == 0x00010000) && optionExData_ != null && optionExData_ != com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance()) { optionExData_ = com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.newBuilder(optionExData_).mergeFrom(value).buildPartial(); } else { optionExData_ = value; } onChanged(); } else { optionExDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00010000; return this; } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public Builder clearOptionExData() { if (optionExDataBuilder_ == null) { optionExData_ = null; onChanged(); } else { optionExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00010000); return this; } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder getOptionExDataBuilder() { bitField0_ |= 0x00010000; onChanged(); return getOptionExDataFieldBuilder().getBuilder(); } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ public com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder getOptionExDataOrBuilder() { if (optionExDataBuilder_ != null) { return optionExDataBuilder_.getMessageOrBuilder(); } else { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.getDefaultInstance() : optionExData_; } } /** *
       *期权特有字段
       * 
* * optional .Qot_Common.OptionBasicQotExData optionExData = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder> getOptionExDataFieldBuilder() { if (optionExDataBuilder_ == null) { optionExDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.OptionBasicQotExDataOrBuilder>( getOptionExData(), getParentForChildren(), isClean()); optionExData_ = null; } return optionExDataBuilder_; } private double listTimestamp_ ; /** *
       *上市日期时间戳
       * 
* * optional double listTimestamp = 17; */ public boolean hasListTimestamp() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
       *上市日期时间戳
       * 
* * optional double listTimestamp = 17; */ public double getListTimestamp() { return listTimestamp_; } /** *
       *上市日期时间戳
       * 
* * optional double listTimestamp = 17; */ public Builder setListTimestamp(double value) { bitField0_ |= 0x00020000; listTimestamp_ = value; onChanged(); return this; } /** *
       *上市日期时间戳
       * 
* * optional double listTimestamp = 17; */ public Builder clearListTimestamp() { bitField0_ = (bitField0_ & ~0x00020000); listTimestamp_ = 0D; onChanged(); return this; } private double updateTimestamp_ ; /** *
       *最新价的更新时间戳,对其他字段不适用
       * 
* * optional double updateTimestamp = 18; */ public boolean hasUpdateTimestamp() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** *
       *最新价的更新时间戳,对其他字段不适用
       * 
* * optional double updateTimestamp = 18; */ public double getUpdateTimestamp() { return updateTimestamp_; } /** *
       *最新价的更新时间戳,对其他字段不适用
       * 
* * optional double updateTimestamp = 18; */ public Builder setUpdateTimestamp(double value) { bitField0_ |= 0x00040000; updateTimestamp_ = value; onChanged(); return this; } /** *
       *最新价的更新时间戳,对其他字段不适用
       * 
* * optional double updateTimestamp = 18; */ public Builder clearUpdateTimestamp() { bitField0_ = (bitField0_ & ~0x00040000); updateTimestamp_ = 0D; onChanged(); return this; } private com.moomoo.openapi.pb.QotCommon.PreAfterMarketData preMarket_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.PreAfterMarketData, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder, com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder> preMarketBuilder_; /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public boolean hasPreMarket() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getPreMarket() { if (preMarketBuilder_ == null) { return preMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : preMarket_; } else { return preMarketBuilder_.getMessage(); } } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public Builder setPreMarket(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData value) { if (preMarketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preMarket_ = value; onChanged(); } else { preMarketBuilder_.setMessage(value); } bitField0_ |= 0x00080000; return this; } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public Builder setPreMarket( com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder builderForValue) { if (preMarketBuilder_ == null) { preMarket_ = builderForValue.build(); onChanged(); } else { preMarketBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00080000; return this; } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public Builder mergePreMarket(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData value) { if (preMarketBuilder_ == null) { if (((bitField0_ & 0x00080000) == 0x00080000) && preMarket_ != null && preMarket_ != com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance()) { preMarket_ = com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.newBuilder(preMarket_).mergeFrom(value).buildPartial(); } else { preMarket_ = value; } onChanged(); } else { preMarketBuilder_.mergeFrom(value); } bitField0_ |= 0x00080000; return this; } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public Builder clearPreMarket() { if (preMarketBuilder_ == null) { preMarket_ = null; onChanged(); } else { preMarketBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00080000); return this; } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder getPreMarketBuilder() { bitField0_ |= 0x00080000; onChanged(); return getPreMarketFieldBuilder().getBuilder(); } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder getPreMarketOrBuilder() { if (preMarketBuilder_ != null) { return preMarketBuilder_.getMessageOrBuilder(); } else { return preMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : preMarket_; } } /** *
       *盘前数据
       * 
* * optional .Qot_Common.PreAfterMarketData preMarket = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.PreAfterMarketData, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder, com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder> getPreMarketFieldBuilder() { if (preMarketBuilder_ == null) { preMarketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.PreAfterMarketData, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder, com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder>( getPreMarket(), getParentForChildren(), isClean()); preMarket_ = null; } return preMarketBuilder_; } private com.moomoo.openapi.pb.QotCommon.PreAfterMarketData afterMarket_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.PreAfterMarketData, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder, com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder> afterMarketBuilder_; /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public boolean hasAfterMarket() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData getAfterMarket() { if (afterMarketBuilder_ == null) { return afterMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : afterMarket_; } else { return afterMarketBuilder_.getMessage(); } } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public Builder setAfterMarket(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData value) { if (afterMarketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } afterMarket_ = value; onChanged(); } else { afterMarketBuilder_.setMessage(value); } bitField0_ |= 0x00100000; return this; } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public Builder setAfterMarket( com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder builderForValue) { if (afterMarketBuilder_ == null) { afterMarket_ = builderForValue.build(); onChanged(); } else { afterMarketBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; return this; } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public Builder mergeAfterMarket(com.moomoo.openapi.pb.QotCommon.PreAfterMarketData value) { if (afterMarketBuilder_ == null) { if (((bitField0_ & 0x00100000) == 0x00100000) && afterMarket_ != null && afterMarket_ != com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance()) { afterMarket_ = com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.newBuilder(afterMarket_).mergeFrom(value).buildPartial(); } else { afterMarket_ = value; } onChanged(); } else { afterMarketBuilder_.mergeFrom(value); } bitField0_ |= 0x00100000; return this; } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public Builder clearAfterMarket() { if (afterMarketBuilder_ == null) { afterMarket_ = null; onChanged(); } else { afterMarketBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00100000); return this; } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder getAfterMarketBuilder() { bitField0_ |= 0x00100000; onChanged(); return getAfterMarketFieldBuilder().getBuilder(); } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ public com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder getAfterMarketOrBuilder() { if (afterMarketBuilder_ != null) { return afterMarketBuilder_.getMessageOrBuilder(); } else { return afterMarket_ == null ? com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.getDefaultInstance() : afterMarket_; } } /** *
       *盘后数据
       * 
* * optional .Qot_Common.PreAfterMarketData afterMarket = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.PreAfterMarketData, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder, com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder> getAfterMarketFieldBuilder() { if (afterMarketBuilder_ == null) { afterMarketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.PreAfterMarketData, com.moomoo.openapi.pb.QotCommon.PreAfterMarketData.Builder, com.moomoo.openapi.pb.QotCommon.PreAfterMarketDataOrBuilder>( getAfterMarket(), getParentForChildren(), isClean()); afterMarket_ = null; } return afterMarketBuilder_; } private int secStatus_ ; /** *
       *SecurityStatus, 股票状态
       * 
* * optional int32 secStatus = 21; */ public boolean hasSecStatus() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** *
       *SecurityStatus, 股票状态
       * 
* * optional int32 secStatus = 21; */ public int getSecStatus() { return secStatus_; } /** *
       *SecurityStatus, 股票状态
       * 
* * optional int32 secStatus = 21; */ public Builder setSecStatus(int value) { bitField0_ |= 0x00200000; secStatus_ = value; onChanged(); return this; } /** *
       *SecurityStatus, 股票状态
       * 
* * optional int32 secStatus = 21; */ public Builder clearSecStatus() { bitField0_ = (bitField0_ & ~0x00200000); secStatus_ = 0; onChanged(); return this; } private com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData futureExData_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder> futureExDataBuilder_; /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public boolean hasFutureExData() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData getFutureExData() { if (futureExDataBuilder_ == null) { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance() : futureExData_; } else { return futureExDataBuilder_.getMessage(); } } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public Builder setFutureExData(com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData value) { if (futureExDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } futureExData_ = value; onChanged(); } else { futureExDataBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public Builder setFutureExData( com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder builderForValue) { if (futureExDataBuilder_ == null) { futureExData_ = builderForValue.build(); onChanged(); } else { futureExDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public Builder mergeFutureExData(com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData value) { if (futureExDataBuilder_ == null) { if (((bitField0_ & 0x00400000) == 0x00400000) && futureExData_ != null && futureExData_ != com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance()) { futureExData_ = com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.newBuilder(futureExData_).mergeFrom(value).buildPartial(); } else { futureExData_ = value; } onChanged(); } else { futureExDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public Builder clearFutureExData() { if (futureExDataBuilder_ == null) { futureExData_ = null; onChanged(); } else { futureExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder getFutureExDataBuilder() { bitField0_ |= 0x00400000; onChanged(); return getFutureExDataFieldBuilder().getBuilder(); } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ public com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder getFutureExDataOrBuilder() { if (futureExDataBuilder_ != null) { return futureExDataBuilder_.getMessageOrBuilder(); } else { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.getDefaultInstance() : futureExData_; } } /** *
       *期货特有字段
       * 
* * optional .Qot_Common.FutureBasicQotExData futureExData = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder> getFutureExDataFieldBuilder() { if (futureExDataBuilder_ == null) { futureExDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.FutureBasicQotExDataOrBuilder>( getFutureExData(), getParentForChildren(), isClean()); futureExData_ = null; } return futureExDataBuilder_; } private com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData warrantExData_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder> warrantExDataBuilder_; /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public boolean hasWarrantExData() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData getWarrantExData() { if (warrantExDataBuilder_ == null) { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance() : warrantExData_; } else { return warrantExDataBuilder_.getMessage(); } } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public Builder setWarrantExData(com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData value) { if (warrantExDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } warrantExData_ = value; onChanged(); } else { warrantExDataBuilder_.setMessage(value); } bitField0_ |= 0x00800000; return this; } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public Builder setWarrantExData( com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder builderForValue) { if (warrantExDataBuilder_ == null) { warrantExData_ = builderForValue.build(); onChanged(); } else { warrantExDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00800000; return this; } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public Builder mergeWarrantExData(com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData value) { if (warrantExDataBuilder_ == null) { if (((bitField0_ & 0x00800000) == 0x00800000) && warrantExData_ != null && warrantExData_ != com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance()) { warrantExData_ = com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.newBuilder(warrantExData_).mergeFrom(value).buildPartial(); } else { warrantExData_ = value; } onChanged(); } else { warrantExDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00800000; return this; } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public Builder clearWarrantExData() { if (warrantExDataBuilder_ == null) { warrantExData_ = null; onChanged(); } else { warrantExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00800000); return this; } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder getWarrantExDataBuilder() { bitField0_ |= 0x00800000; onChanged(); return getWarrantExDataFieldBuilder().getBuilder(); } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ public com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder getWarrantExDataOrBuilder() { if (warrantExDataBuilder_ != null) { return warrantExDataBuilder_.getMessageOrBuilder(); } else { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.getDefaultInstance() : warrantExData_; } } /** *
       *窝轮特有字段
       * 
* * optional .Qot_Common.WarrantBasicQotExData warrantExData = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder> getWarrantExDataFieldBuilder() { if (warrantExDataBuilder_ == null) { warrantExDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExData.Builder, com.moomoo.openapi.pb.QotCommon.WarrantBasicQotExDataOrBuilder>( getWarrantExData(), getParentForChildren(), isClean()); warrantExData_ = null; } return warrantExDataBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.BasicQot) } // @@protoc_insertion_point(class_scope:Qot_Common.BasicQot) private static final com.moomoo.openapi.pb.QotCommon.BasicQot DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.BasicQot(); } public static com.moomoo.openapi.pb.QotCommon.BasicQot getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BasicQot parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BasicQot(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.BasicQot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeShareOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.TimeShare) com.google.protobuf.MessageOrBuilder { /** *
     *时间字符串
     * 
* * required string time = 1; */ boolean hasTime(); /** *
     *时间字符串
     * 
* * required string time = 1; */ java.lang.String getTime(); /** *
     *时间字符串
     * 
* * required string time = 1; */ com.google.protobuf.ByteString getTimeBytes(); /** *
     *距离0点过了多少分钟
     * 
* * required int32 minute = 2; */ boolean hasMinute(); /** *
     *距离0点过了多少分钟
     * 
* * required int32 minute = 2; */ int getMinute(); /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 3; */ boolean hasIsBlank(); /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 3; */ boolean getIsBlank(); /** *
     *当前价
     * 
* * optional double price = 4; */ boolean hasPrice(); /** *
     *当前价
     * 
* * optional double price = 4; */ double getPrice(); /** *
     *昨收价
     * 
* * optional double lastClosePrice = 5; */ boolean hasLastClosePrice(); /** *
     *昨收价
     * 
* * optional double lastClosePrice = 5; */ double getLastClosePrice(); /** *
     *均价
     * 
* * optional double avgPrice = 6; */ boolean hasAvgPrice(); /** *
     *均价
     * 
* * optional double avgPrice = 6; */ double getAvgPrice(); /** *
     *成交量
     * 
* * optional int64 volume = 7; */ boolean hasVolume(); /** *
     *成交量
     * 
* * optional int64 volume = 7; */ long getVolume(); /** *
     *成交额
     * 
* * optional double turnover = 8; */ boolean hasTurnover(); /** *
     *成交额
     * 
* * optional double turnover = 8; */ double getTurnover(); /** *
     *时间戳
     * 
* * optional double timestamp = 9; */ boolean hasTimestamp(); /** *
     *时间戳
     * 
* * optional double timestamp = 9; */ double getTimestamp(); } /** * Protobuf type {@code Qot_Common.TimeShare} */ public static final class TimeShare extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.TimeShare) TimeShareOrBuilder { private static final long serialVersionUID = 0L; // Use TimeShare.newBuilder() to construct. private TimeShare(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeShare() { time_ = ""; minute_ = 0; isBlank_ = false; price_ = 0D; lastClosePrice_ = 0D; avgPrice_ = 0D; volume_ = 0L; turnover_ = 0D; timestamp_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimeShare( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; time_ = bs; break; } case 16: { bitField0_ |= 0x00000002; minute_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; isBlank_ = input.readBool(); break; } case 33: { bitField0_ |= 0x00000008; price_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; lastClosePrice_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000020; avgPrice_ = input.readDouble(); break; } case 56: { bitField0_ |= 0x00000040; volume_ = input.readInt64(); break; } case 65: { bitField0_ |= 0x00000080; turnover_ = input.readDouble(); break; } case 73: { bitField0_ |= 0x00000100; timestamp_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_TimeShare_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_TimeShare_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.TimeShare.class, com.moomoo.openapi.pb.QotCommon.TimeShare.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private volatile java.lang.Object time_; /** *
     *时间字符串
     * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *时间字符串
     * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; 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(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** *
     *时间字符串
     * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MINUTE_FIELD_NUMBER = 2; private int minute_; /** *
     *距离0点过了多少分钟
     * 
* * required int32 minute = 2; */ public boolean hasMinute() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *距离0点过了多少分钟
     * 
* * required int32 minute = 2; */ public int getMinute() { return minute_; } public static final int ISBLANK_FIELD_NUMBER = 3; private boolean isBlank_; /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 3; */ public boolean hasIsBlank() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *是否是空内容的点,若为ture则只有时间信息
     * 
* * required bool isBlank = 3; */ public boolean getIsBlank() { return isBlank_; } public static final int PRICE_FIELD_NUMBER = 4; private double price_; /** *
     *当前价
     * 
* * optional double price = 4; */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *当前价
     * 
* * optional double price = 4; */ public double getPrice() { return price_; } public static final int LASTCLOSEPRICE_FIELD_NUMBER = 5; private double lastClosePrice_; /** *
     *昨收价
     * 
* * optional double lastClosePrice = 5; */ public boolean hasLastClosePrice() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *昨收价
     * 
* * optional double lastClosePrice = 5; */ public double getLastClosePrice() { return lastClosePrice_; } public static final int AVGPRICE_FIELD_NUMBER = 6; private double avgPrice_; /** *
     *均价
     * 
* * optional double avgPrice = 6; */ public boolean hasAvgPrice() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *均价
     * 
* * optional double avgPrice = 6; */ public double getAvgPrice() { return avgPrice_; } public static final int VOLUME_FIELD_NUMBER = 7; private long volume_; /** *
     *成交量
     * 
* * optional int64 volume = 7; */ public boolean hasVolume() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *成交量
     * 
* * optional int64 volume = 7; */ public long getVolume() { return volume_; } public static final int TURNOVER_FIELD_NUMBER = 8; private double turnover_; /** *
     *成交额
     * 
* * optional double turnover = 8; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *成交额
     * 
* * optional double turnover = 8; */ public double getTurnover() { return turnover_; } public static final int TIMESTAMP_FIELD_NUMBER = 9; private double timestamp_; /** *
     *时间戳
     * 
* * optional double timestamp = 9; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *时间戳
     * 
* * optional double timestamp = 9; */ public double getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTime()) { memoizedIsInitialized = 0; return false; } if (!hasMinute()) { memoizedIsInitialized = 0; return false; } if (!hasIsBlank()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, minute_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isBlank_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, price_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, lastClosePrice_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(6, avgPrice_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(7, volume_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeDouble(8, turnover_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(9, timestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, minute_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isBlank_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, price_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, lastClosePrice_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, avgPrice_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, volume_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, turnover_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.TimeShare)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.TimeShare other = (com.moomoo.openapi.pb.QotCommon.TimeShare) obj; boolean result = true; result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && (hasMinute() == other.hasMinute()); if (hasMinute()) { result = result && (getMinute() == other.getMinute()); } result = result && (hasIsBlank() == other.hasIsBlank()); if (hasIsBlank()) { result = result && (getIsBlank() == other.getIsBlank()); } result = result && (hasPrice() == other.hasPrice()); if (hasPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getPrice()) == java.lang.Double.doubleToLongBits( other.getPrice())); } result = result && (hasLastClosePrice() == other.hasLastClosePrice()); if (hasLastClosePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getLastClosePrice()) == java.lang.Double.doubleToLongBits( other.getLastClosePrice())); } result = result && (hasAvgPrice() == other.hasAvgPrice()); if (hasAvgPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getAvgPrice()) == java.lang.Double.doubleToLongBits( other.getAvgPrice())); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && (hasTurnover() == other.hasTurnover()); if (hasTurnover()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnover()) == java.lang.Double.doubleToLongBits( other.getTurnover())); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getTimestamp()) == java.lang.Double.doubleToLongBits( other.getTimestamp())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasMinute()) { hash = (37 * hash) + MINUTE_FIELD_NUMBER; hash = (53 * hash) + getMinute(); } if (hasIsBlank()) { hash = (37 * hash) + ISBLANK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsBlank()); } if (hasPrice()) { hash = (37 * hash) + PRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPrice())); } if (hasLastClosePrice()) { hash = (37 * hash) + LASTCLOSEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLastClosePrice())); } if (hasAvgPrice()) { hash = (37 * hash) + AVGPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAvgPrice())); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } if (hasTurnover()) { hash = (37 * hash) + TURNOVER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnover())); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTimestamp())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.TimeShare parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.TimeShare prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.TimeShare} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.TimeShare) com.moomoo.openapi.pb.QotCommon.TimeShareOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_TimeShare_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_TimeShare_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.TimeShare.class, com.moomoo.openapi.pb.QotCommon.TimeShare.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.TimeShare.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); time_ = ""; bitField0_ = (bitField0_ & ~0x00000001); minute_ = 0; bitField0_ = (bitField0_ & ~0x00000002); isBlank_ = false; bitField0_ = (bitField0_ & ~0x00000004); price_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); lastClosePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); avgPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); turnover_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); timestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_TimeShare_descriptor; } public com.moomoo.openapi.pb.QotCommon.TimeShare getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.TimeShare.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.TimeShare build() { com.moomoo.openapi.pb.QotCommon.TimeShare result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.TimeShare buildPartial() { com.moomoo.openapi.pb.QotCommon.TimeShare result = new com.moomoo.openapi.pb.QotCommon.TimeShare(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.time_ = time_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.minute_ = minute_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.isBlank_ = isBlank_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.price_ = price_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.lastClosePrice_ = lastClosePrice_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.avgPrice_ = avgPrice_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.volume_ = volume_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.turnover_ = turnover_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.TimeShare) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.TimeShare)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.TimeShare other) { if (other == com.moomoo.openapi.pb.QotCommon.TimeShare.getDefaultInstance()) return this; if (other.hasTime()) { bitField0_ |= 0x00000001; time_ = other.time_; onChanged(); } if (other.hasMinute()) { setMinute(other.getMinute()); } if (other.hasIsBlank()) { setIsBlank(other.getIsBlank()); } if (other.hasPrice()) { setPrice(other.getPrice()); } if (other.hasLastClosePrice()) { setLastClosePrice(other.getLastClosePrice()); } if (other.hasAvgPrice()) { setAvgPrice(other.getAvgPrice()); } if (other.hasVolume()) { setVolume(other.getVolume()); } if (other.hasTurnover()) { setTurnover(other.getTurnover()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTime()) { return false; } if (!hasMinute()) { return false; } if (!hasIsBlank()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.TimeShare parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.TimeShare) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object time_ = ""; /** *
       *时间字符串
       * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *时间字符串
       * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *时间字符串
       * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000001); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } private int minute_ ; /** *
       *距离0点过了多少分钟
       * 
* * required int32 minute = 2; */ public boolean hasMinute() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *距离0点过了多少分钟
       * 
* * required int32 minute = 2; */ public int getMinute() { return minute_; } /** *
       *距离0点过了多少分钟
       * 
* * required int32 minute = 2; */ public Builder setMinute(int value) { bitField0_ |= 0x00000002; minute_ = value; onChanged(); return this; } /** *
       *距离0点过了多少分钟
       * 
* * required int32 minute = 2; */ public Builder clearMinute() { bitField0_ = (bitField0_ & ~0x00000002); minute_ = 0; onChanged(); return this; } private boolean isBlank_ ; /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 3; */ public boolean hasIsBlank() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 3; */ public boolean getIsBlank() { return isBlank_; } /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 3; */ public Builder setIsBlank(boolean value) { bitField0_ |= 0x00000004; isBlank_ = value; onChanged(); return this; } /** *
       *是否是空内容的点,若为ture则只有时间信息
       * 
* * required bool isBlank = 3; */ public Builder clearIsBlank() { bitField0_ = (bitField0_ & ~0x00000004); isBlank_ = false; onChanged(); return this; } private double price_ ; /** *
       *当前价
       * 
* * optional double price = 4; */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *当前价
       * 
* * optional double price = 4; */ public double getPrice() { return price_; } /** *
       *当前价
       * 
* * optional double price = 4; */ public Builder setPrice(double value) { bitField0_ |= 0x00000008; price_ = value; onChanged(); return this; } /** *
       *当前价
       * 
* * optional double price = 4; */ public Builder clearPrice() { bitField0_ = (bitField0_ & ~0x00000008); price_ = 0D; onChanged(); return this; } private double lastClosePrice_ ; /** *
       *昨收价
       * 
* * optional double lastClosePrice = 5; */ public boolean hasLastClosePrice() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *昨收价
       * 
* * optional double lastClosePrice = 5; */ public double getLastClosePrice() { return lastClosePrice_; } /** *
       *昨收价
       * 
* * optional double lastClosePrice = 5; */ public Builder setLastClosePrice(double value) { bitField0_ |= 0x00000010; lastClosePrice_ = value; onChanged(); return this; } /** *
       *昨收价
       * 
* * optional double lastClosePrice = 5; */ public Builder clearLastClosePrice() { bitField0_ = (bitField0_ & ~0x00000010); lastClosePrice_ = 0D; onChanged(); return this; } private double avgPrice_ ; /** *
       *均价
       * 
* * optional double avgPrice = 6; */ public boolean hasAvgPrice() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *均价
       * 
* * optional double avgPrice = 6; */ public double getAvgPrice() { return avgPrice_; } /** *
       *均价
       * 
* * optional double avgPrice = 6; */ public Builder setAvgPrice(double value) { bitField0_ |= 0x00000020; avgPrice_ = value; onChanged(); return this; } /** *
       *均价
       * 
* * optional double avgPrice = 6; */ public Builder clearAvgPrice() { bitField0_ = (bitField0_ & ~0x00000020); avgPrice_ = 0D; onChanged(); return this; } private long volume_ ; /** *
       *成交量
       * 
* * optional int64 volume = 7; */ public boolean hasVolume() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *成交量
       * 
* * optional int64 volume = 7; */ public long getVolume() { return volume_; } /** *
       *成交量
       * 
* * optional int64 volume = 7; */ public Builder setVolume(long value) { bitField0_ |= 0x00000040; volume_ = value; onChanged(); return this; } /** *
       *成交量
       * 
* * optional int64 volume = 7; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000040); volume_ = 0L; onChanged(); return this; } private double turnover_ ; /** *
       *成交额
       * 
* * optional double turnover = 8; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *成交额
       * 
* * optional double turnover = 8; */ public double getTurnover() { return turnover_; } /** *
       *成交额
       * 
* * optional double turnover = 8; */ public Builder setTurnover(double value) { bitField0_ |= 0x00000080; turnover_ = value; onChanged(); return this; } /** *
       *成交额
       * 
* * optional double turnover = 8; */ public Builder clearTurnover() { bitField0_ = (bitField0_ & ~0x00000080); turnover_ = 0D; onChanged(); return this; } private double timestamp_ ; /** *
       *时间戳
       * 
* * optional double timestamp = 9; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *时间戳
       * 
* * optional double timestamp = 9; */ public double getTimestamp() { return timestamp_; } /** *
       *时间戳
       * 
* * optional double timestamp = 9; */ public Builder setTimestamp(double value) { bitField0_ |= 0x00000100; timestamp_ = value; onChanged(); return this; } /** *
       *时间戳
       * 
* * optional double timestamp = 9; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000100); timestamp_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.TimeShare) } // @@protoc_insertion_point(class_scope:Qot_Common.TimeShare) private static final com.moomoo.openapi.pb.QotCommon.TimeShare DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.TimeShare(); } public static com.moomoo.openapi.pb.QotCommon.TimeShare getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TimeShare parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimeShare(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.TimeShare getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SecurityStaticBasicOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.SecurityStaticBasic) com.google.protobuf.MessageOrBuilder { /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ boolean hasSecurity(); /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ com.moomoo.openapi.pb.QotCommon.Security getSecurity(); /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder(); /** *
     *股票ID
     * 
* * required int64 id = 2; */ boolean hasId(); /** *
     *股票ID
     * 
* * required int64 id = 2; */ long getId(); /** *
     *每手数量,期权以及期货类型表示合约乘数
     * 
* * required int32 lotSize = 3; */ boolean hasLotSize(); /** *
     *每手数量,期权以及期货类型表示合约乘数
     * 
* * required int32 lotSize = 3; */ int getLotSize(); /** *
     *Qot_Common.SecurityType,股票类型
     * 
* * required int32 secType = 4; */ boolean hasSecType(); /** *
     *Qot_Common.SecurityType,股票类型
     * 
* * required int32 secType = 4; */ int getSecType(); /** *
     *股票名字
     * 
* * required string name = 5; */ boolean hasName(); /** *
     *股票名字
     * 
* * required string name = 5; */ java.lang.String getName(); /** *
     *股票名字
     * 
* * required string name = 5; */ com.google.protobuf.ByteString getNameBytes(); /** *
     *上市时间字符串
     * 
* * required string listTime = 6; */ boolean hasListTime(); /** *
     *上市时间字符串
     * 
* * required string listTime = 6; */ java.lang.String getListTime(); /** *
     *上市时间字符串
     * 
* * required string listTime = 6; */ com.google.protobuf.ByteString getListTimeBytes(); /** *
     *是否退市
     * 
* * optional bool delisting = 7; */ boolean hasDelisting(); /** *
     *是否退市
     * 
* * optional bool delisting = 7; */ boolean getDelisting(); /** *
     *上市时间戳
     * 
* * optional double listTimestamp = 8; */ boolean hasListTimestamp(); /** *
     *上市时间戳
     * 
* * optional double listTimestamp = 8; */ double getListTimestamp(); /** *
     *Qot_Common.ExchType,所属交易所
     * 
* * optional int32 exchType = 9; */ boolean hasExchType(); /** *
     *Qot_Common.ExchType,所属交易所
     * 
* * optional int32 exchType = 9; */ int getExchType(); } /** * Protobuf type {@code Qot_Common.SecurityStaticBasic} */ public static final class SecurityStaticBasic extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.SecurityStaticBasic) SecurityStaticBasicOrBuilder { private static final long serialVersionUID = 0L; // Use SecurityStaticBasic.newBuilder() to construct. private SecurityStaticBasic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SecurityStaticBasic() { id_ = 0L; lotSize_ = 0; secType_ = 0; name_ = ""; listTime_ = ""; delisting_ = false; listTimestamp_ = 0D; exchType_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SecurityStaticBasic( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = security_.toBuilder(); } security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(security_); security_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; id_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; lotSize_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; secType_ = input.readInt32(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; name_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; listTime_ = bs; break; } case 56: { bitField0_ |= 0x00000040; delisting_ = input.readBool(); break; } case 65: { bitField0_ |= 0x00000080; listTimestamp_ = input.readDouble(); break; } case 72: { bitField0_ |= 0x00000100; exchType_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticBasic_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticBasic_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.class, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder.class); } private int bitField0_; public static final int SECURITY_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.QotCommon.Security security_; /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ public boolean hasSecurity() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurity() { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } /** *
     *股票
     * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } public static final int ID_FIELD_NUMBER = 2; private long id_; /** *
     *股票ID
     * 
* * required int64 id = 2; */ public boolean hasId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *股票ID
     * 
* * required int64 id = 2; */ public long getId() { return id_; } public static final int LOTSIZE_FIELD_NUMBER = 3; private int lotSize_; /** *
     *每手数量,期权以及期货类型表示合约乘数
     * 
* * required int32 lotSize = 3; */ public boolean hasLotSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *每手数量,期权以及期货类型表示合约乘数
     * 
* * required int32 lotSize = 3; */ public int getLotSize() { return lotSize_; } public static final int SECTYPE_FIELD_NUMBER = 4; private int secType_; /** *
     *Qot_Common.SecurityType,股票类型
     * 
* * required int32 secType = 4; */ public boolean hasSecType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *Qot_Common.SecurityType,股票类型
     * 
* * required int32 secType = 4; */ public int getSecType() { return secType_; } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** *
     *股票名字
     * 
* * required string name = 5; */ public boolean hasName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *股票名字
     * 
* * required string name = 5; */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     *股票名字
     * 
* * required string name = 5; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LISTTIME_FIELD_NUMBER = 6; private volatile java.lang.Object listTime_; /** *
     *上市时间字符串
     * 
* * required string listTime = 6; */ public boolean hasListTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *上市时间字符串
     * 
* * required string listTime = 6; */ public java.lang.String getListTime() { java.lang.Object ref = listTime_; 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(); if (bs.isValidUtf8()) { listTime_ = s; } return s; } } /** *
     *上市时间字符串
     * 
* * required string listTime = 6; */ public com.google.protobuf.ByteString getListTimeBytes() { java.lang.Object ref = listTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); listTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DELISTING_FIELD_NUMBER = 7; private boolean delisting_; /** *
     *是否退市
     * 
* * optional bool delisting = 7; */ public boolean hasDelisting() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *是否退市
     * 
* * optional bool delisting = 7; */ public boolean getDelisting() { return delisting_; } public static final int LISTTIMESTAMP_FIELD_NUMBER = 8; private double listTimestamp_; /** *
     *上市时间戳
     * 
* * optional double listTimestamp = 8; */ public boolean hasListTimestamp() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *上市时间戳
     * 
* * optional double listTimestamp = 8; */ public double getListTimestamp() { return listTimestamp_; } public static final int EXCHTYPE_FIELD_NUMBER = 9; private int exchType_; /** *
     *Qot_Common.ExchType,所属交易所
     * 
* * optional int32 exchType = 9; */ public boolean hasExchType() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *Qot_Common.ExchType,所属交易所
     * 
* * optional int32 exchType = 9; */ public int getExchType() { return exchType_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSecurity()) { memoizedIsInitialized = 0; return false; } if (!hasId()) { memoizedIsInitialized = 0; return false; } if (!hasLotSize()) { memoizedIsInitialized = 0; return false; } if (!hasSecType()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasListTime()) { memoizedIsInitialized = 0; return false; } if (!getSecurity().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getSecurity()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, id_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, lotSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, secType_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, listTime_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(7, delisting_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeDouble(8, listTimestamp_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(9, exchType_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSecurity()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, id_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, lotSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, secType_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, listTime_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, delisting_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, listTimestamp_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, exchType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic other = (com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic) obj; boolean result = true; result = result && (hasSecurity() == other.hasSecurity()); if (hasSecurity()) { result = result && getSecurity() .equals(other.getSecurity()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && (hasLotSize() == other.hasLotSize()); if (hasLotSize()) { result = result && (getLotSize() == other.getLotSize()); } result = result && (hasSecType() == other.hasSecType()); if (hasSecType()) { result = result && (getSecType() == other.getSecType()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasListTime() == other.hasListTime()); if (hasListTime()) { result = result && getListTime() .equals(other.getListTime()); } result = result && (hasDelisting() == other.hasDelisting()); if (hasDelisting()) { result = result && (getDelisting() == other.getDelisting()); } result = result && (hasListTimestamp() == other.hasListTimestamp()); if (hasListTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getListTimestamp()) == java.lang.Double.doubleToLongBits( other.getListTimestamp())); } result = result && (hasExchType() == other.hasExchType()); if (hasExchType()) { result = result && (getExchType() == other.getExchType()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSecurity()) { hash = (37 * hash) + SECURITY_FIELD_NUMBER; hash = (53 * hash) + getSecurity().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } if (hasLotSize()) { hash = (37 * hash) + LOTSIZE_FIELD_NUMBER; hash = (53 * hash) + getLotSize(); } if (hasSecType()) { hash = (37 * hash) + SECTYPE_FIELD_NUMBER; hash = (53 * hash) + getSecType(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasListTime()) { hash = (37 * hash) + LISTTIME_FIELD_NUMBER; hash = (53 * hash) + getListTime().hashCode(); } if (hasDelisting()) { hash = (37 * hash) + DELISTING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDelisting()); } if (hasListTimestamp()) { hash = (37 * hash) + LISTTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getListTimestamp())); } if (hasExchType()) { hash = (37 * hash) + EXCHTYPE_FIELD_NUMBER; hash = (53 * hash) + getExchType(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.SecurityStaticBasic} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.SecurityStaticBasic) com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticBasic_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticBasic_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.class, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSecurityFieldBuilder(); } } public Builder clear() { super.clear(); if (securityBuilder_ == null) { security_ = null; } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); lotSize_ = 0; bitField0_ = (bitField0_ & ~0x00000004); secType_ = 0; bitField0_ = (bitField0_ & ~0x00000008); name_ = ""; bitField0_ = (bitField0_ & ~0x00000010); listTime_ = ""; bitField0_ = (bitField0_ & ~0x00000020); delisting_ = false; bitField0_ = (bitField0_ & ~0x00000040); listTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); exchType_ = 0; bitField0_ = (bitField0_ & ~0x00000100); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticBasic_descriptor; } public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic build() { com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic buildPartial() { com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic result = new com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (securityBuilder_ == null) { result.security_ = security_; } else { result.security_ = securityBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.id_ = id_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.lotSize_ = lotSize_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.secType_ = secType_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.name_ = name_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.listTime_ = listTime_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.delisting_ = delisting_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.listTimestamp_ = listTimestamp_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.exchType_ = exchType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic other) { if (other == com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance()) return this; if (other.hasSecurity()) { mergeSecurity(other.getSecurity()); } if (other.hasId()) { setId(other.getId()); } if (other.hasLotSize()) { setLotSize(other.getLotSize()); } if (other.hasSecType()) { setSecType(other.getSecType()); } if (other.hasName()) { bitField0_ |= 0x00000010; name_ = other.name_; onChanged(); } if (other.hasListTime()) { bitField0_ |= 0x00000020; listTime_ = other.listTime_; onChanged(); } if (other.hasDelisting()) { setDelisting(other.getDelisting()); } if (other.hasListTimestamp()) { setListTimestamp(other.getListTimestamp()); } if (other.hasExchType()) { setExchType(other.getExchType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasSecurity()) { return false; } if (!hasId()) { return false; } if (!hasLotSize()) { return false; } if (!hasSecType()) { return false; } if (!hasName()) { return false; } if (!hasListTime()) { return false; } if (!getSecurity().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.QotCommon.Security security_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityBuilder_; /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public boolean hasSecurity() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurity() { if (securityBuilder_ == null) { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } else { return securityBuilder_.getMessage(); } } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder setSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } security_ = value; onChanged(); } else { securityBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder setSecurity( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityBuilder_ == null) { security_ = builderForValue.build(); onChanged(); } else { securityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && security_ != null && security_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { security_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(security_).mergeFrom(value).buildPartial(); } else { security_ = value; } onChanged(); } else { securityBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public Builder clearSecurity() { if (securityBuilder_ == null) { security_ = null; onChanged(); } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSecurityFieldBuilder().getBuilder(); } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() { if (securityBuilder_ != null) { return securityBuilder_.getMessageOrBuilder(); } else { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } } /** *
       *股票
       * 
* * required .Qot_Common.Security security = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getSecurityFieldBuilder() { if (securityBuilder_ == null) { securityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getSecurity(), getParentForChildren(), isClean()); security_ = null; } return securityBuilder_; } private long id_ ; /** *
       *股票ID
       * 
* * required int64 id = 2; */ public boolean hasId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *股票ID
       * 
* * required int64 id = 2; */ public long getId() { return id_; } /** *
       *股票ID
       * 
* * required int64 id = 2; */ public Builder setId(long value) { bitField0_ |= 0x00000002; id_ = value; onChanged(); return this; } /** *
       *股票ID
       * 
* * required int64 id = 2; */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000002); id_ = 0L; onChanged(); return this; } private int lotSize_ ; /** *
       *每手数量,期权以及期货类型表示合约乘数
       * 
* * required int32 lotSize = 3; */ public boolean hasLotSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *每手数量,期权以及期货类型表示合约乘数
       * 
* * required int32 lotSize = 3; */ public int getLotSize() { return lotSize_; } /** *
       *每手数量,期权以及期货类型表示合约乘数
       * 
* * required int32 lotSize = 3; */ public Builder setLotSize(int value) { bitField0_ |= 0x00000004; lotSize_ = value; onChanged(); return this; } /** *
       *每手数量,期权以及期货类型表示合约乘数
       * 
* * required int32 lotSize = 3; */ public Builder clearLotSize() { bitField0_ = (bitField0_ & ~0x00000004); lotSize_ = 0; onChanged(); return this; } private int secType_ ; /** *
       *Qot_Common.SecurityType,股票类型
       * 
* * required int32 secType = 4; */ public boolean hasSecType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *Qot_Common.SecurityType,股票类型
       * 
* * required int32 secType = 4; */ public int getSecType() { return secType_; } /** *
       *Qot_Common.SecurityType,股票类型
       * 
* * required int32 secType = 4; */ public Builder setSecType(int value) { bitField0_ |= 0x00000008; secType_ = value; onChanged(); return this; } /** *
       *Qot_Common.SecurityType,股票类型
       * 
* * required int32 secType = 4; */ public Builder clearSecType() { bitField0_ = (bitField0_ & ~0x00000008); secType_ = 0; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       *股票名字
       * 
* * required string name = 5; */ public boolean hasName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *股票名字
       * 
* * required string name = 5; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *股票名字
       * 
* * required string name = 5; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *股票名字
       * 
* * required string name = 5; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; name_ = value; onChanged(); return this; } /** *
       *股票名字
       * 
* * required string name = 5; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000010); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       *股票名字
       * 
* * required string name = 5; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; name_ = value; onChanged(); return this; } private java.lang.Object listTime_ = ""; /** *
       *上市时间字符串
       * 
* * required string listTime = 6; */ public boolean hasListTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *上市时间字符串
       * 
* * required string listTime = 6; */ public java.lang.String getListTime() { java.lang.Object ref = listTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { listTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *上市时间字符串
       * 
* * required string listTime = 6; */ public com.google.protobuf.ByteString getListTimeBytes() { java.lang.Object ref = listTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); listTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *上市时间字符串
       * 
* * required string listTime = 6; */ public Builder setListTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; listTime_ = value; onChanged(); return this; } /** *
       *上市时间字符串
       * 
* * required string listTime = 6; */ public Builder clearListTime() { bitField0_ = (bitField0_ & ~0x00000020); listTime_ = getDefaultInstance().getListTime(); onChanged(); return this; } /** *
       *上市时间字符串
       * 
* * required string listTime = 6; */ public Builder setListTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; listTime_ = value; onChanged(); return this; } private boolean delisting_ ; /** *
       *是否退市
       * 
* * optional bool delisting = 7; */ public boolean hasDelisting() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *是否退市
       * 
* * optional bool delisting = 7; */ public boolean getDelisting() { return delisting_; } /** *
       *是否退市
       * 
* * optional bool delisting = 7; */ public Builder setDelisting(boolean value) { bitField0_ |= 0x00000040; delisting_ = value; onChanged(); return this; } /** *
       *是否退市
       * 
* * optional bool delisting = 7; */ public Builder clearDelisting() { bitField0_ = (bitField0_ & ~0x00000040); delisting_ = false; onChanged(); return this; } private double listTimestamp_ ; /** *
       *上市时间戳
       * 
* * optional double listTimestamp = 8; */ public boolean hasListTimestamp() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *上市时间戳
       * 
* * optional double listTimestamp = 8; */ public double getListTimestamp() { return listTimestamp_; } /** *
       *上市时间戳
       * 
* * optional double listTimestamp = 8; */ public Builder setListTimestamp(double value) { bitField0_ |= 0x00000080; listTimestamp_ = value; onChanged(); return this; } /** *
       *上市时间戳
       * 
* * optional double listTimestamp = 8; */ public Builder clearListTimestamp() { bitField0_ = (bitField0_ & ~0x00000080); listTimestamp_ = 0D; onChanged(); return this; } private int exchType_ ; /** *
       *Qot_Common.ExchType,所属交易所
       * 
* * optional int32 exchType = 9; */ public boolean hasExchType() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *Qot_Common.ExchType,所属交易所
       * 
* * optional int32 exchType = 9; */ public int getExchType() { return exchType_; } /** *
       *Qot_Common.ExchType,所属交易所
       * 
* * optional int32 exchType = 9; */ public Builder setExchType(int value) { bitField0_ |= 0x00000100; exchType_ = value; onChanged(); return this; } /** *
       *Qot_Common.ExchType,所属交易所
       * 
* * optional int32 exchType = 9; */ public Builder clearExchType() { bitField0_ = (bitField0_ & ~0x00000100); exchType_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.SecurityStaticBasic) } // @@protoc_insertion_point(class_scope:Qot_Common.SecurityStaticBasic) private static final com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic(); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SecurityStaticBasic parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SecurityStaticBasic(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WarrantStaticExDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.WarrantStaticExData) com.google.protobuf.MessageOrBuilder { /** *
     *Qot_Common.WarrantType,窝轮类型
     * 
* * required int32 type = 1; */ boolean hasType(); /** *
     *Qot_Common.WarrantType,窝轮类型
     * 
* * required int32 type = 1; */ int getType(); /** *
     *所属正股
     * 
* * required .Qot_Common.Security owner = 2; */ boolean hasOwner(); /** *
     *所属正股
     * 
* * required .Qot_Common.Security owner = 2; */ com.moomoo.openapi.pb.QotCommon.Security getOwner(); /** *
     *所属正股
     * 
* * required .Qot_Common.Security owner = 2; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder(); } /** * Protobuf type {@code Qot_Common.WarrantStaticExData} */ public static final class WarrantStaticExData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.WarrantStaticExData) WarrantStaticExDataOrBuilder { private static final long serialVersionUID = 0L; // Use WarrantStaticExData.newBuilder() to construct. private WarrantStaticExData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WarrantStaticExData() { type_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WarrantStaticExData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; type_ = input.readInt32(); break; } case 18: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = owner_.toBuilder(); } owner_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(owner_); owner_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantStaticExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantStaticExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.class, com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
     *Qot_Common.WarrantType,窝轮类型
     * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *Qot_Common.WarrantType,窝轮类型
     * 
* * required int32 type = 1; */ public int getType() { return type_; } public static final int OWNER_FIELD_NUMBER = 2; private com.moomoo.openapi.pb.QotCommon.Security owner_; /** *
     *所属正股
     * 
* * required .Qot_Common.Security owner = 2; */ public boolean hasOwner() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *所属正股
     * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getOwner() { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } /** *
     *所属正股
     * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder() { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasOwner()) { memoizedIsInitialized = 0; return false; } if (!getOwner().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getOwner()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOwner()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.WarrantStaticExData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.WarrantStaticExData other = (com.moomoo.openapi.pb.QotCommon.WarrantStaticExData) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && (getType() == other.getType()); } result = result && (hasOwner() == other.hasOwner()); if (hasOwner()) { result = result && getOwner() .equals(other.getOwner()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.WarrantStaticExData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.WarrantStaticExData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.WarrantStaticExData) com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantStaticExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantStaticExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.class, com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOwnerFieldBuilder(); } } public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (ownerBuilder_ == null) { owner_ = null; } else { ownerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_WarrantStaticExData_descriptor; } public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData build() { com.moomoo.openapi.pb.QotCommon.WarrantStaticExData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData buildPartial() { com.moomoo.openapi.pb.QotCommon.WarrantStaticExData result = new com.moomoo.openapi.pb.QotCommon.WarrantStaticExData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (ownerBuilder_ == null) { result.owner_ = owner_; } else { result.owner_ = ownerBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.WarrantStaticExData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.WarrantStaticExData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.WarrantStaticExData other) { if (other == com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasOwner()) { mergeOwner(other.getOwner()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasType()) { return false; } if (!hasOwner()) { return false; } if (!getOwner().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.WarrantStaticExData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.WarrantStaticExData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ ; /** *
       *Qot_Common.WarrantType,窝轮类型
       * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *Qot_Common.WarrantType,窝轮类型
       * 
* * required int32 type = 1; */ public int getType() { return type_; } /** *
       *Qot_Common.WarrantType,窝轮类型
       * 
* * required int32 type = 1; */ public Builder setType(int value) { bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** *
       *Qot_Common.WarrantType,窝轮类型
       * 
* * required int32 type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private com.moomoo.openapi.pb.QotCommon.Security owner_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> ownerBuilder_; /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public boolean hasOwner() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getOwner() { if (ownerBuilder_ == null) { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } else { return ownerBuilder_.getMessage(); } } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder setOwner(com.moomoo.openapi.pb.QotCommon.Security value) { if (ownerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } owner_ = value; onChanged(); } else { ownerBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder setOwner( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (ownerBuilder_ == null) { owner_ = builderForValue.build(); onChanged(); } else { ownerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder mergeOwner(com.moomoo.openapi.pb.QotCommon.Security value) { if (ownerBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && owner_ != null && owner_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { owner_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(owner_).mergeFrom(value).buildPartial(); } else { owner_ = value; } onChanged(); } else { ownerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder clearOwner() { if (ownerBuilder_ == null) { owner_ = null; onChanged(); } else { ownerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getOwnerBuilder() { bitField0_ |= 0x00000002; onChanged(); return getOwnerFieldBuilder().getBuilder(); } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder() { if (ownerBuilder_ != null) { return ownerBuilder_.getMessageOrBuilder(); } else { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } } /** *
       *所属正股
       * 
* * required .Qot_Common.Security owner = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getOwnerFieldBuilder() { if (ownerBuilder_ == null) { ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getOwner(), getParentForChildren(), isClean()); owner_ = null; } return ownerBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.WarrantStaticExData) } // @@protoc_insertion_point(class_scope:Qot_Common.WarrantStaticExData) private static final com.moomoo.openapi.pb.QotCommon.WarrantStaticExData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.WarrantStaticExData(); } public static com.moomoo.openapi.pb.QotCommon.WarrantStaticExData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public WarrantStaticExData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WarrantStaticExData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionStaticExDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.OptionStaticExData) com.google.protobuf.MessageOrBuilder { /** *
     *Qot_Common.OptionType,期权
     * 
* * required int32 type = 1; */ boolean hasType(); /** *
     *Qot_Common.OptionType,期权
     * 
* * required int32 type = 1; */ int getType(); /** *
     *标的股
     * 
* * required .Qot_Common.Security owner = 2; */ boolean hasOwner(); /** *
     *标的股
     * 
* * required .Qot_Common.Security owner = 2; */ com.moomoo.openapi.pb.QotCommon.Security getOwner(); /** *
     *标的股
     * 
* * required .Qot_Common.Security owner = 2; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder(); /** *
     *行权日
     * 
* * required string strikeTime = 3; */ boolean hasStrikeTime(); /** *
     *行权日
     * 
* * required string strikeTime = 3; */ java.lang.String getStrikeTime(); /** *
     *行权日
     * 
* * required string strikeTime = 3; */ com.google.protobuf.ByteString getStrikeTimeBytes(); /** *
     *行权价
     * 
* * required double strikePrice = 4; */ boolean hasStrikePrice(); /** *
     *行权价
     * 
* * required double strikePrice = 4; */ double getStrikePrice(); /** *
     *是否停牌
     * 
* * required bool suspend = 5; */ boolean hasSuspend(); /** *
     *是否停牌
     * 
* * required bool suspend = 5; */ boolean getSuspend(); /** *
     *发行市场名字
     * 
* * required string market = 6; */ boolean hasMarket(); /** *
     *发行市场名字
     * 
* * required string market = 6; */ java.lang.String getMarket(); /** *
     *发行市场名字
     * 
* * required string market = 6; */ com.google.protobuf.ByteString getMarketBytes(); /** *
     *行权日时间戳
     * 
* * optional double strikeTimestamp = 7; */ boolean hasStrikeTimestamp(); /** *
     *行权日时间戳
     * 
* * optional double strikeTimestamp = 7; */ double getStrikeTimestamp(); /** *
     *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
     * 
* * optional int32 indexOptionType = 8; */ boolean hasIndexOptionType(); /** *
     *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
     * 
* * optional int32 indexOptionType = 8; */ int getIndexOptionType(); } /** * Protobuf type {@code Qot_Common.OptionStaticExData} */ public static final class OptionStaticExData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.OptionStaticExData) OptionStaticExDataOrBuilder { private static final long serialVersionUID = 0L; // Use OptionStaticExData.newBuilder() to construct. private OptionStaticExData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OptionStaticExData() { type_ = 0; strikeTime_ = ""; strikePrice_ = 0D; suspend_ = false; market_ = ""; strikeTimestamp_ = 0D; indexOptionType_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OptionStaticExData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; type_ = input.readInt32(); break; } case 18: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = owner_.toBuilder(); } owner_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(owner_); owner_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; strikeTime_ = bs; break; } case 33: { bitField0_ |= 0x00000008; strikePrice_ = input.readDouble(); break; } case 40: { bitField0_ |= 0x00000010; suspend_ = input.readBool(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; market_ = bs; break; } case 57: { bitField0_ |= 0x00000040; strikeTimestamp_ = input.readDouble(); break; } case 64: { bitField0_ |= 0x00000080; indexOptionType_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionStaticExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionStaticExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OptionStaticExData.class, com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
     *Qot_Common.OptionType,期权
     * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *Qot_Common.OptionType,期权
     * 
* * required int32 type = 1; */ public int getType() { return type_; } public static final int OWNER_FIELD_NUMBER = 2; private com.moomoo.openapi.pb.QotCommon.Security owner_; /** *
     *标的股
     * 
* * required .Qot_Common.Security owner = 2; */ public boolean hasOwner() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *标的股
     * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getOwner() { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } /** *
     *标的股
     * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder() { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } public static final int STRIKETIME_FIELD_NUMBER = 3; private volatile java.lang.Object strikeTime_; /** *
     *行权日
     * 
* * required string strikeTime = 3; */ public boolean hasStrikeTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *行权日
     * 
* * required string strikeTime = 3; */ public java.lang.String getStrikeTime() { java.lang.Object ref = strikeTime_; 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(); if (bs.isValidUtf8()) { strikeTime_ = s; } return s; } } /** *
     *行权日
     * 
* * required string strikeTime = 3; */ public com.google.protobuf.ByteString getStrikeTimeBytes() { java.lang.Object ref = strikeTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); strikeTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STRIKEPRICE_FIELD_NUMBER = 4; private double strikePrice_; /** *
     *行权价
     * 
* * required double strikePrice = 4; */ public boolean hasStrikePrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *行权价
     * 
* * required double strikePrice = 4; */ public double getStrikePrice() { return strikePrice_; } public static final int SUSPEND_FIELD_NUMBER = 5; private boolean suspend_; /** *
     *是否停牌
     * 
* * required bool suspend = 5; */ public boolean hasSuspend() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *是否停牌
     * 
* * required bool suspend = 5; */ public boolean getSuspend() { return suspend_; } public static final int MARKET_FIELD_NUMBER = 6; private volatile java.lang.Object market_; /** *
     *发行市场名字
     * 
* * required string market = 6; */ public boolean hasMarket() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *发行市场名字
     * 
* * required string market = 6; */ public java.lang.String getMarket() { java.lang.Object ref = market_; 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(); if (bs.isValidUtf8()) { market_ = s; } return s; } } /** *
     *发行市场名字
     * 
* * required string market = 6; */ public com.google.protobuf.ByteString getMarketBytes() { java.lang.Object ref = market_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); market_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STRIKETIMESTAMP_FIELD_NUMBER = 7; private double strikeTimestamp_; /** *
     *行权日时间戳
     * 
* * optional double strikeTimestamp = 7; */ public boolean hasStrikeTimestamp() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *行权日时间戳
     * 
* * optional double strikeTimestamp = 7; */ public double getStrikeTimestamp() { return strikeTimestamp_; } public static final int INDEXOPTIONTYPE_FIELD_NUMBER = 8; private int indexOptionType_; /** *
     *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
     * 
* * optional int32 indexOptionType = 8; */ public boolean hasIndexOptionType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
     * 
* * optional int32 indexOptionType = 8; */ public int getIndexOptionType() { return indexOptionType_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasOwner()) { memoizedIsInitialized = 0; return false; } if (!hasStrikeTime()) { memoizedIsInitialized = 0; return false; } if (!hasStrikePrice()) { memoizedIsInitialized = 0; return false; } if (!hasSuspend()) { memoizedIsInitialized = 0; return false; } if (!hasMarket()) { memoizedIsInitialized = 0; return false; } if (!getOwner().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getOwner()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, strikeTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, strikePrice_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(5, suspend_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, market_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, strikeTimestamp_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, indexOptionType_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOwner()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, strikeTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, strikePrice_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, suspend_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, market_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, strikeTimestamp_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, indexOptionType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.OptionStaticExData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.OptionStaticExData other = (com.moomoo.openapi.pb.QotCommon.OptionStaticExData) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && (getType() == other.getType()); } result = result && (hasOwner() == other.hasOwner()); if (hasOwner()) { result = result && getOwner() .equals(other.getOwner()); } result = result && (hasStrikeTime() == other.hasStrikeTime()); if (hasStrikeTime()) { result = result && getStrikeTime() .equals(other.getStrikeTime()); } result = result && (hasStrikePrice() == other.hasStrikePrice()); if (hasStrikePrice()) { result = result && ( java.lang.Double.doubleToLongBits(getStrikePrice()) == java.lang.Double.doubleToLongBits( other.getStrikePrice())); } result = result && (hasSuspend() == other.hasSuspend()); if (hasSuspend()) { result = result && (getSuspend() == other.getSuspend()); } result = result && (hasMarket() == other.hasMarket()); if (hasMarket()) { result = result && getMarket() .equals(other.getMarket()); } result = result && (hasStrikeTimestamp() == other.hasStrikeTimestamp()); if (hasStrikeTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getStrikeTimestamp()) == java.lang.Double.doubleToLongBits( other.getStrikeTimestamp())); } result = result && (hasIndexOptionType() == other.hasIndexOptionType()); if (hasIndexOptionType()) { result = result && (getIndexOptionType() == other.getIndexOptionType()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); } if (hasStrikeTime()) { hash = (37 * hash) + STRIKETIME_FIELD_NUMBER; hash = (53 * hash) + getStrikeTime().hashCode(); } if (hasStrikePrice()) { hash = (37 * hash) + STRIKEPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStrikePrice())); } if (hasSuspend()) { hash = (37 * hash) + SUSPEND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSuspend()); } if (hasMarket()) { hash = (37 * hash) + MARKET_FIELD_NUMBER; hash = (53 * hash) + getMarket().hashCode(); } if (hasStrikeTimestamp()) { hash = (37 * hash) + STRIKETIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStrikeTimestamp())); } if (hasIndexOptionType()) { hash = (37 * hash) + INDEXOPTIONTYPE_FIELD_NUMBER; hash = (53 * hash) + getIndexOptionType(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.OptionStaticExData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.OptionStaticExData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.OptionStaticExData) com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionStaticExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionStaticExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OptionStaticExData.class, com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.OptionStaticExData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOwnerFieldBuilder(); } } public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (ownerBuilder_ == null) { owner_ = null; } else { ownerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); strikeTime_ = ""; bitField0_ = (bitField0_ & ~0x00000004); strikePrice_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); suspend_ = false; bitField0_ = (bitField0_ & ~0x00000010); market_ = ""; bitField0_ = (bitField0_ & ~0x00000020); strikeTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); indexOptionType_ = 0; bitField0_ = (bitField0_ & ~0x00000080); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OptionStaticExData_descriptor; } public com.moomoo.openapi.pb.QotCommon.OptionStaticExData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.OptionStaticExData build() { com.moomoo.openapi.pb.QotCommon.OptionStaticExData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.OptionStaticExData buildPartial() { com.moomoo.openapi.pb.QotCommon.OptionStaticExData result = new com.moomoo.openapi.pb.QotCommon.OptionStaticExData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (ownerBuilder_ == null) { result.owner_ = owner_; } else { result.owner_ = ownerBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.strikeTime_ = strikeTime_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.strikePrice_ = strikePrice_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.suspend_ = suspend_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.market_ = market_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.strikeTimestamp_ = strikeTimestamp_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.indexOptionType_ = indexOptionType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.OptionStaticExData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.OptionStaticExData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.OptionStaticExData other) { if (other == com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasOwner()) { mergeOwner(other.getOwner()); } if (other.hasStrikeTime()) { bitField0_ |= 0x00000004; strikeTime_ = other.strikeTime_; onChanged(); } if (other.hasStrikePrice()) { setStrikePrice(other.getStrikePrice()); } if (other.hasSuspend()) { setSuspend(other.getSuspend()); } if (other.hasMarket()) { bitField0_ |= 0x00000020; market_ = other.market_; onChanged(); } if (other.hasStrikeTimestamp()) { setStrikeTimestamp(other.getStrikeTimestamp()); } if (other.hasIndexOptionType()) { setIndexOptionType(other.getIndexOptionType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasType()) { return false; } if (!hasOwner()) { return false; } if (!hasStrikeTime()) { return false; } if (!hasStrikePrice()) { return false; } if (!hasSuspend()) { return false; } if (!hasMarket()) { return false; } if (!getOwner().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.OptionStaticExData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.OptionStaticExData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ ; /** *
       *Qot_Common.OptionType,期权
       * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *Qot_Common.OptionType,期权
       * 
* * required int32 type = 1; */ public int getType() { return type_; } /** *
       *Qot_Common.OptionType,期权
       * 
* * required int32 type = 1; */ public Builder setType(int value) { bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** *
       *Qot_Common.OptionType,期权
       * 
* * required int32 type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private com.moomoo.openapi.pb.QotCommon.Security owner_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> ownerBuilder_; /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public boolean hasOwner() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getOwner() { if (ownerBuilder_ == null) { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } else { return ownerBuilder_.getMessage(); } } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder setOwner(com.moomoo.openapi.pb.QotCommon.Security value) { if (ownerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } owner_ = value; onChanged(); } else { ownerBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder setOwner( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (ownerBuilder_ == null) { owner_ = builderForValue.build(); onChanged(); } else { ownerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder mergeOwner(com.moomoo.openapi.pb.QotCommon.Security value) { if (ownerBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && owner_ != null && owner_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { owner_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(owner_).mergeFrom(value).buildPartial(); } else { owner_ = value; } onChanged(); } else { ownerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public Builder clearOwner() { if (ownerBuilder_ == null) { owner_ = null; onChanged(); } else { ownerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getOwnerBuilder() { bitField0_ |= 0x00000002; onChanged(); return getOwnerFieldBuilder().getBuilder(); } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder() { if (ownerBuilder_ != null) { return ownerBuilder_.getMessageOrBuilder(); } else { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } } /** *
       *标的股
       * 
* * required .Qot_Common.Security owner = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getOwnerFieldBuilder() { if (ownerBuilder_ == null) { ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getOwner(), getParentForChildren(), isClean()); owner_ = null; } return ownerBuilder_; } private java.lang.Object strikeTime_ = ""; /** *
       *行权日
       * 
* * required string strikeTime = 3; */ public boolean hasStrikeTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *行权日
       * 
* * required string strikeTime = 3; */ public java.lang.String getStrikeTime() { java.lang.Object ref = strikeTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { strikeTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *行权日
       * 
* * required string strikeTime = 3; */ public com.google.protobuf.ByteString getStrikeTimeBytes() { java.lang.Object ref = strikeTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); strikeTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *行权日
       * 
* * required string strikeTime = 3; */ public Builder setStrikeTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; strikeTime_ = value; onChanged(); return this; } /** *
       *行权日
       * 
* * required string strikeTime = 3; */ public Builder clearStrikeTime() { bitField0_ = (bitField0_ & ~0x00000004); strikeTime_ = getDefaultInstance().getStrikeTime(); onChanged(); return this; } /** *
       *行权日
       * 
* * required string strikeTime = 3; */ public Builder setStrikeTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; strikeTime_ = value; onChanged(); return this; } private double strikePrice_ ; /** *
       *行权价
       * 
* * required double strikePrice = 4; */ public boolean hasStrikePrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *行权价
       * 
* * required double strikePrice = 4; */ public double getStrikePrice() { return strikePrice_; } /** *
       *行权价
       * 
* * required double strikePrice = 4; */ public Builder setStrikePrice(double value) { bitField0_ |= 0x00000008; strikePrice_ = value; onChanged(); return this; } /** *
       *行权价
       * 
* * required double strikePrice = 4; */ public Builder clearStrikePrice() { bitField0_ = (bitField0_ & ~0x00000008); strikePrice_ = 0D; onChanged(); return this; } private boolean suspend_ ; /** *
       *是否停牌
       * 
* * required bool suspend = 5; */ public boolean hasSuspend() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *是否停牌
       * 
* * required bool suspend = 5; */ public boolean getSuspend() { return suspend_; } /** *
       *是否停牌
       * 
* * required bool suspend = 5; */ public Builder setSuspend(boolean value) { bitField0_ |= 0x00000010; suspend_ = value; onChanged(); return this; } /** *
       *是否停牌
       * 
* * required bool suspend = 5; */ public Builder clearSuspend() { bitField0_ = (bitField0_ & ~0x00000010); suspend_ = false; onChanged(); return this; } private java.lang.Object market_ = ""; /** *
       *发行市场名字
       * 
* * required string market = 6; */ public boolean hasMarket() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *发行市场名字
       * 
* * required string market = 6; */ public java.lang.String getMarket() { java.lang.Object ref = market_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { market_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *发行市场名字
       * 
* * required string market = 6; */ public com.google.protobuf.ByteString getMarketBytes() { java.lang.Object ref = market_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); market_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *发行市场名字
       * 
* * required string market = 6; */ public Builder setMarket( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; market_ = value; onChanged(); return this; } /** *
       *发行市场名字
       * 
* * required string market = 6; */ public Builder clearMarket() { bitField0_ = (bitField0_ & ~0x00000020); market_ = getDefaultInstance().getMarket(); onChanged(); return this; } /** *
       *发行市场名字
       * 
* * required string market = 6; */ public Builder setMarketBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; market_ = value; onChanged(); return this; } private double strikeTimestamp_ ; /** *
       *行权日时间戳
       * 
* * optional double strikeTimestamp = 7; */ public boolean hasStrikeTimestamp() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *行权日时间戳
       * 
* * optional double strikeTimestamp = 7; */ public double getStrikeTimestamp() { return strikeTimestamp_; } /** *
       *行权日时间戳
       * 
* * optional double strikeTimestamp = 7; */ public Builder setStrikeTimestamp(double value) { bitField0_ |= 0x00000040; strikeTimestamp_ = value; onChanged(); return this; } /** *
       *行权日时间戳
       * 
* * optional double strikeTimestamp = 7; */ public Builder clearStrikeTimestamp() { bitField0_ = (bitField0_ & ~0x00000040); strikeTimestamp_ = 0D; onChanged(); return this; } private int indexOptionType_ ; /** *
       *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
       * 
* * optional int32 indexOptionType = 8; */ public boolean hasIndexOptionType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
       * 
* * optional int32 indexOptionType = 8; */ public int getIndexOptionType() { return indexOptionType_; } /** *
       *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
       * 
* * optional int32 indexOptionType = 8; */ public Builder setIndexOptionType(int value) { bitField0_ |= 0x00000080; indexOptionType_ = value; onChanged(); return this; } /** *
       *Qot_Common.IndexOptionType, 指数期权的类型,仅在指数期权有效
       * 
* * optional int32 indexOptionType = 8; */ public Builder clearIndexOptionType() { bitField0_ = (bitField0_ & ~0x00000080); indexOptionType_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.OptionStaticExData) } // @@protoc_insertion_point(class_scope:Qot_Common.OptionStaticExData) private static final com.moomoo.openapi.pb.QotCommon.OptionStaticExData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.OptionStaticExData(); } public static com.moomoo.openapi.pb.QotCommon.OptionStaticExData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OptionStaticExData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OptionStaticExData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.OptionStaticExData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FutureStaticExDataOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.FutureStaticExData) com.google.protobuf.MessageOrBuilder { /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 1; */ boolean hasLastTradeTime(); /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 1; */ java.lang.String getLastTradeTime(); /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 1; */ com.google.protobuf.ByteString getLastTradeTimeBytes(); /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 2; */ boolean hasLastTradeTimestamp(); /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 2; */ double getLastTradeTimestamp(); /** *
     *是否主连合约
     * 
* * required bool isMainContract = 3; */ boolean hasIsMainContract(); /** *
     *是否主连合约
     * 
* * required bool isMainContract = 3; */ boolean getIsMainContract(); } /** * Protobuf type {@code Qot_Common.FutureStaticExData} */ public static final class FutureStaticExData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.FutureStaticExData) FutureStaticExDataOrBuilder { private static final long serialVersionUID = 0L; // Use FutureStaticExData.newBuilder() to construct. private FutureStaticExData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FutureStaticExData() { lastTradeTime_ = ""; lastTradeTimestamp_ = 0D; isMainContract_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FutureStaticExData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; lastTradeTime_ = bs; break; } case 17: { bitField0_ |= 0x00000002; lastTradeTimestamp_ = input.readDouble(); break; } case 24: { bitField0_ |= 0x00000004; isMainContract_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureStaticExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureStaticExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.FutureStaticExData.class, com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder.class); } private int bitField0_; public static final int LASTTRADETIME_FIELD_NUMBER = 1; private volatile java.lang.Object lastTradeTime_; /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 1; */ public boolean hasLastTradeTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 1; */ public java.lang.String getLastTradeTime() { java.lang.Object ref = lastTradeTime_; 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(); if (bs.isValidUtf8()) { lastTradeTime_ = s; } return s; } } /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 1; */ public com.google.protobuf.ByteString getLastTradeTimeBytes() { java.lang.Object ref = lastTradeTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastTradeTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LASTTRADETIMESTAMP_FIELD_NUMBER = 2; private double lastTradeTimestamp_; /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 2; */ public boolean hasLastTradeTimestamp() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 2; */ public double getLastTradeTimestamp() { return lastTradeTimestamp_; } public static final int ISMAINCONTRACT_FIELD_NUMBER = 3; private boolean isMainContract_; /** *
     *是否主连合约
     * 
* * required bool isMainContract = 3; */ public boolean hasIsMainContract() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *是否主连合约
     * 
* * required bool isMainContract = 3; */ public boolean getIsMainContract() { return isMainContract_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLastTradeTime()) { memoizedIsInitialized = 0; return false; } if (!hasIsMainContract()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lastTradeTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, lastTradeTimestamp_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isMainContract_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lastTradeTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, lastTradeTimestamp_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isMainContract_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.FutureStaticExData)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.FutureStaticExData other = (com.moomoo.openapi.pb.QotCommon.FutureStaticExData) obj; boolean result = true; result = result && (hasLastTradeTime() == other.hasLastTradeTime()); if (hasLastTradeTime()) { result = result && getLastTradeTime() .equals(other.getLastTradeTime()); } result = result && (hasLastTradeTimestamp() == other.hasLastTradeTimestamp()); if (hasLastTradeTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getLastTradeTimestamp()) == java.lang.Double.doubleToLongBits( other.getLastTradeTimestamp())); } result = result && (hasIsMainContract() == other.hasIsMainContract()); if (hasIsMainContract()) { result = result && (getIsMainContract() == other.getIsMainContract()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLastTradeTime()) { hash = (37 * hash) + LASTTRADETIME_FIELD_NUMBER; hash = (53 * hash) + getLastTradeTime().hashCode(); } if (hasLastTradeTimestamp()) { hash = (37 * hash) + LASTTRADETIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLastTradeTimestamp())); } if (hasIsMainContract()) { hash = (37 * hash) + ISMAINCONTRACT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsMainContract()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.FutureStaticExData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.FutureStaticExData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.FutureStaticExData) com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureStaticExData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureStaticExData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.FutureStaticExData.class, com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.FutureStaticExData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); lastTradeTime_ = ""; bitField0_ = (bitField0_ & ~0x00000001); lastTradeTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); isMainContract_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_FutureStaticExData_descriptor; } public com.moomoo.openapi.pb.QotCommon.FutureStaticExData getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.FutureStaticExData build() { com.moomoo.openapi.pb.QotCommon.FutureStaticExData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.FutureStaticExData buildPartial() { com.moomoo.openapi.pb.QotCommon.FutureStaticExData result = new com.moomoo.openapi.pb.QotCommon.FutureStaticExData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.lastTradeTime_ = lastTradeTime_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.lastTradeTimestamp_ = lastTradeTimestamp_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.isMainContract_ = isMainContract_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.FutureStaticExData) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.FutureStaticExData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.FutureStaticExData other) { if (other == com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance()) return this; if (other.hasLastTradeTime()) { bitField0_ |= 0x00000001; lastTradeTime_ = other.lastTradeTime_; onChanged(); } if (other.hasLastTradeTimestamp()) { setLastTradeTimestamp(other.getLastTradeTimestamp()); } if (other.hasIsMainContract()) { setIsMainContract(other.getIsMainContract()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasLastTradeTime()) { return false; } if (!hasIsMainContract()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.FutureStaticExData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.FutureStaticExData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object lastTradeTime_ = ""; /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 1; */ public boolean hasLastTradeTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 1; */ public java.lang.String getLastTradeTime() { java.lang.Object ref = lastTradeTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { lastTradeTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 1; */ public com.google.protobuf.ByteString getLastTradeTimeBytes() { java.lang.Object ref = lastTradeTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastTradeTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 1; */ public Builder setLastTradeTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; lastTradeTime_ = value; onChanged(); return this; } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 1; */ public Builder clearLastTradeTime() { bitField0_ = (bitField0_ & ~0x00000001); lastTradeTime_ = getDefaultInstance().getLastTradeTime(); onChanged(); return this; } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 1; */ public Builder setLastTradeTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; lastTradeTime_ = value; onChanged(); return this; } private double lastTradeTimestamp_ ; /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 2; */ public boolean hasLastTradeTimestamp() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 2; */ public double getLastTradeTimestamp() { return lastTradeTimestamp_; } /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 2; */ public Builder setLastTradeTimestamp(double value) { bitField0_ |= 0x00000002; lastTradeTimestamp_ = value; onChanged(); return this; } /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 2; */ public Builder clearLastTradeTimestamp() { bitField0_ = (bitField0_ & ~0x00000002); lastTradeTimestamp_ = 0D; onChanged(); return this; } private boolean isMainContract_ ; /** *
       *是否主连合约
       * 
* * required bool isMainContract = 3; */ public boolean hasIsMainContract() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *是否主连合约
       * 
* * required bool isMainContract = 3; */ public boolean getIsMainContract() { return isMainContract_; } /** *
       *是否主连合约
       * 
* * required bool isMainContract = 3; */ public Builder setIsMainContract(boolean value) { bitField0_ |= 0x00000004; isMainContract_ = value; onChanged(); return this; } /** *
       *是否主连合约
       * 
* * required bool isMainContract = 3; */ public Builder clearIsMainContract() { bitField0_ = (bitField0_ & ~0x00000004); isMainContract_ = false; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.FutureStaticExData) } // @@protoc_insertion_point(class_scope:Qot_Common.FutureStaticExData) private static final com.moomoo.openapi.pb.QotCommon.FutureStaticExData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.FutureStaticExData(); } public static com.moomoo.openapi.pb.QotCommon.FutureStaticExData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FutureStaticExData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FutureStaticExData(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.FutureStaticExData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SecurityStaticInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.SecurityStaticInfo) com.google.protobuf.MessageOrBuilder { /** *
     *基本股票静态信息
     * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ boolean hasBasic(); /** *
     *基本股票静态信息
     * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic getBasic(); /** *
     *基本股票静态信息
     * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder getBasicOrBuilder(); /** *
     *窝轮额外股票静态信息
     * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ boolean hasWarrantExData(); /** *
     *窝轮额外股票静态信息
     * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ com.moomoo.openapi.pb.QotCommon.WarrantStaticExData getWarrantExData(); /** *
     *窝轮额外股票静态信息
     * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder getWarrantExDataOrBuilder(); /** *
     *期权额外股票静态信息
     * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ boolean hasOptionExData(); /** *
     *期权额外股票静态信息
     * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ com.moomoo.openapi.pb.QotCommon.OptionStaticExData getOptionExData(); /** *
     *期权额外股票静态信息
     * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder getOptionExDataOrBuilder(); /** *
     *期货额外股票静态信息
     * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ boolean hasFutureExData(); /** *
     *期货额外股票静态信息
     * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ com.moomoo.openapi.pb.QotCommon.FutureStaticExData getFutureExData(); /** *
     *期货额外股票静态信息
     * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder getFutureExDataOrBuilder(); } /** * Protobuf type {@code Qot_Common.SecurityStaticInfo} */ public static final class SecurityStaticInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.SecurityStaticInfo) SecurityStaticInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SecurityStaticInfo.newBuilder() to construct. private SecurityStaticInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SecurityStaticInfo() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SecurityStaticInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = basic_.toBuilder(); } basic_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(basic_); basic_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = warrantExData_.toBuilder(); } warrantExData_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(warrantExData_); warrantExData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = optionExData_.toBuilder(); } optionExData_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.OptionStaticExData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(optionExData_); optionExData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = futureExData_.toBuilder(); } futureExData_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.FutureStaticExData.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(futureExData_); futureExData_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.class, com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.Builder.class); } private int bitField0_; public static final int BASIC_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic basic_; /** *
     *基本股票静态信息
     * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public boolean hasBasic() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *基本股票静态信息
     * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic getBasic() { return basic_ == null ? com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance() : basic_; } /** *
     *基本股票静态信息
     * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder getBasicOrBuilder() { return basic_ == null ? com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance() : basic_; } public static final int WARRANTEXDATA_FIELD_NUMBER = 2; private com.moomoo.openapi.pb.QotCommon.WarrantStaticExData warrantExData_; /** *
     *窝轮额外股票静态信息
     * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public boolean hasWarrantExData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *窝轮额外股票静态信息
     * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData getWarrantExData() { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance() : warrantExData_; } /** *
     *窝轮额外股票静态信息
     * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder getWarrantExDataOrBuilder() { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance() : warrantExData_; } public static final int OPTIONEXDATA_FIELD_NUMBER = 3; private com.moomoo.openapi.pb.QotCommon.OptionStaticExData optionExData_; /** *
     *期权额外股票静态信息
     * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public boolean hasOptionExData() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *期权额外股票静态信息
     * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public com.moomoo.openapi.pb.QotCommon.OptionStaticExData getOptionExData() { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance() : optionExData_; } /** *
     *期权额外股票静态信息
     * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder getOptionExDataOrBuilder() { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance() : optionExData_; } public static final int FUTUREEXDATA_FIELD_NUMBER = 4; private com.moomoo.openapi.pb.QotCommon.FutureStaticExData futureExData_; /** *
     *期货额外股票静态信息
     * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public boolean hasFutureExData() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *期货额外股票静态信息
     * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public com.moomoo.openapi.pb.QotCommon.FutureStaticExData getFutureExData() { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance() : futureExData_; } /** *
     *期货额外股票静态信息
     * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder getFutureExDataOrBuilder() { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance() : futureExData_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasBasic()) { memoizedIsInitialized = 0; return false; } if (!getBasic().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasWarrantExData()) { if (!getWarrantExData().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasOptionExData()) { if (!getOptionExData().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasFutureExData()) { if (!getFutureExData().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getBasic()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getWarrantExData()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getOptionExData()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getFutureExData()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBasic()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getWarrantExData()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOptionExData()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getFutureExData()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo other = (com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo) obj; boolean result = true; result = result && (hasBasic() == other.hasBasic()); if (hasBasic()) { result = result && getBasic() .equals(other.getBasic()); } result = result && (hasWarrantExData() == other.hasWarrantExData()); if (hasWarrantExData()) { result = result && getWarrantExData() .equals(other.getWarrantExData()); } result = result && (hasOptionExData() == other.hasOptionExData()); if (hasOptionExData()) { result = result && getOptionExData() .equals(other.getOptionExData()); } result = result && (hasFutureExData() == other.hasFutureExData()); if (hasFutureExData()) { result = result && getFutureExData() .equals(other.getFutureExData()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBasic()) { hash = (37 * hash) + BASIC_FIELD_NUMBER; hash = (53 * hash) + getBasic().hashCode(); } if (hasWarrantExData()) { hash = (37 * hash) + WARRANTEXDATA_FIELD_NUMBER; hash = (53 * hash) + getWarrantExData().hashCode(); } if (hasOptionExData()) { hash = (37 * hash) + OPTIONEXDATA_FIELD_NUMBER; hash = (53 * hash) + getOptionExData().hashCode(); } if (hasFutureExData()) { hash = (37 * hash) + FUTUREEXDATA_FIELD_NUMBER; hash = (53 * hash) + getFutureExData().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.SecurityStaticInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.SecurityStaticInfo) com.moomoo.openapi.pb.QotCommon.SecurityStaticInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.class, com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBasicFieldBuilder(); getWarrantExDataFieldBuilder(); getOptionExDataFieldBuilder(); getFutureExDataFieldBuilder(); } } public Builder clear() { super.clear(); if (basicBuilder_ == null) { basic_ = null; } else { basicBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (warrantExDataBuilder_ == null) { warrantExData_ = null; } else { warrantExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (optionExDataBuilder_ == null) { optionExData_ = null; } else { optionExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (futureExDataBuilder_ == null) { futureExData_ = null; } else { futureExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SecurityStaticInfo_descriptor; } public com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo build() { com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo buildPartial() { com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo result = new com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (basicBuilder_ == null) { result.basic_ = basic_; } else { result.basic_ = basicBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (warrantExDataBuilder_ == null) { result.warrantExData_ = warrantExData_; } else { result.warrantExData_ = warrantExDataBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (optionExDataBuilder_ == null) { result.optionExData_ = optionExData_; } else { result.optionExData_ = optionExDataBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (futureExDataBuilder_ == null) { result.futureExData_ = futureExData_; } else { result.futureExData_ = futureExDataBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo other) { if (other == com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo.getDefaultInstance()) return this; if (other.hasBasic()) { mergeBasic(other.getBasic()); } if (other.hasWarrantExData()) { mergeWarrantExData(other.getWarrantExData()); } if (other.hasOptionExData()) { mergeOptionExData(other.getOptionExData()); } if (other.hasFutureExData()) { mergeFutureExData(other.getFutureExData()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasBasic()) { return false; } if (!getBasic().isInitialized()) { return false; } if (hasWarrantExData()) { if (!getWarrantExData().isInitialized()) { return false; } } if (hasOptionExData()) { if (!getOptionExData().isInitialized()) { return false; } } if (hasFutureExData()) { if (!getFutureExData().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic basic_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder> basicBuilder_; /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public boolean hasBasic() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic getBasic() { if (basicBuilder_ == null) { return basic_ == null ? com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance() : basic_; } else { return basicBuilder_.getMessage(); } } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public Builder setBasic(com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic value) { if (basicBuilder_ == null) { if (value == null) { throw new NullPointerException(); } basic_ = value; onChanged(); } else { basicBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public Builder setBasic( com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder builderForValue) { if (basicBuilder_ == null) { basic_ = builderForValue.build(); onChanged(); } else { basicBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public Builder mergeBasic(com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic value) { if (basicBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && basic_ != null && basic_ != com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance()) { basic_ = com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.newBuilder(basic_).mergeFrom(value).buildPartial(); } else { basic_ = value; } onChanged(); } else { basicBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public Builder clearBasic() { if (basicBuilder_ == null) { basic_ = null; onChanged(); } else { basicBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder getBasicBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBasicFieldBuilder().getBuilder(); } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder getBasicOrBuilder() { if (basicBuilder_ != null) { return basicBuilder_.getMessageOrBuilder(); } else { return basic_ == null ? com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.getDefaultInstance() : basic_; } } /** *
       *基本股票静态信息
       * 
* * required .Qot_Common.SecurityStaticBasic basic = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder> getBasicFieldBuilder() { if (basicBuilder_ == null) { basicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasic.Builder, com.moomoo.openapi.pb.QotCommon.SecurityStaticBasicOrBuilder>( getBasic(), getParentForChildren(), isClean()); basic_ = null; } return basicBuilder_; } private com.moomoo.openapi.pb.QotCommon.WarrantStaticExData warrantExData_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.WarrantStaticExData, com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder> warrantExDataBuilder_; /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public boolean hasWarrantExData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData getWarrantExData() { if (warrantExDataBuilder_ == null) { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance() : warrantExData_; } else { return warrantExDataBuilder_.getMessage(); } } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public Builder setWarrantExData(com.moomoo.openapi.pb.QotCommon.WarrantStaticExData value) { if (warrantExDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } warrantExData_ = value; onChanged(); } else { warrantExDataBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public Builder setWarrantExData( com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder builderForValue) { if (warrantExDataBuilder_ == null) { warrantExData_ = builderForValue.build(); onChanged(); } else { warrantExDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public Builder mergeWarrantExData(com.moomoo.openapi.pb.QotCommon.WarrantStaticExData value) { if (warrantExDataBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && warrantExData_ != null && warrantExData_ != com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance()) { warrantExData_ = com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.newBuilder(warrantExData_).mergeFrom(value).buildPartial(); } else { warrantExData_ = value; } onChanged(); } else { warrantExDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public Builder clearWarrantExData() { if (warrantExDataBuilder_ == null) { warrantExData_ = null; onChanged(); } else { warrantExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder getWarrantExDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getWarrantExDataFieldBuilder().getBuilder(); } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ public com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder getWarrantExDataOrBuilder() { if (warrantExDataBuilder_ != null) { return warrantExDataBuilder_.getMessageOrBuilder(); } else { return warrantExData_ == null ? com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.getDefaultInstance() : warrantExData_; } } /** *
       *窝轮额外股票静态信息
       * 
* * optional .Qot_Common.WarrantStaticExData warrantExData = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.WarrantStaticExData, com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder> getWarrantExDataFieldBuilder() { if (warrantExDataBuilder_ == null) { warrantExDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.WarrantStaticExData, com.moomoo.openapi.pb.QotCommon.WarrantStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.WarrantStaticExDataOrBuilder>( getWarrantExData(), getParentForChildren(), isClean()); warrantExData_ = null; } return warrantExDataBuilder_; } private com.moomoo.openapi.pb.QotCommon.OptionStaticExData optionExData_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OptionStaticExData, com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder> optionExDataBuilder_; /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public boolean hasOptionExData() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public com.moomoo.openapi.pb.QotCommon.OptionStaticExData getOptionExData() { if (optionExDataBuilder_ == null) { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance() : optionExData_; } else { return optionExDataBuilder_.getMessage(); } } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public Builder setOptionExData(com.moomoo.openapi.pb.QotCommon.OptionStaticExData value) { if (optionExDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } optionExData_ = value; onChanged(); } else { optionExDataBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public Builder setOptionExData( com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder builderForValue) { if (optionExDataBuilder_ == null) { optionExData_ = builderForValue.build(); onChanged(); } else { optionExDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public Builder mergeOptionExData(com.moomoo.openapi.pb.QotCommon.OptionStaticExData value) { if (optionExDataBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && optionExData_ != null && optionExData_ != com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance()) { optionExData_ = com.moomoo.openapi.pb.QotCommon.OptionStaticExData.newBuilder(optionExData_).mergeFrom(value).buildPartial(); } else { optionExData_ = value; } onChanged(); } else { optionExDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public Builder clearOptionExData() { if (optionExDataBuilder_ == null) { optionExData_ = null; onChanged(); } else { optionExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder getOptionExDataBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOptionExDataFieldBuilder().getBuilder(); } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ public com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder getOptionExDataOrBuilder() { if (optionExDataBuilder_ != null) { return optionExDataBuilder_.getMessageOrBuilder(); } else { return optionExData_ == null ? com.moomoo.openapi.pb.QotCommon.OptionStaticExData.getDefaultInstance() : optionExData_; } } /** *
       *期权额外股票静态信息
       * 
* * optional .Qot_Common.OptionStaticExData optionExData = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OptionStaticExData, com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder> getOptionExDataFieldBuilder() { if (optionExDataBuilder_ == null) { optionExDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OptionStaticExData, com.moomoo.openapi.pb.QotCommon.OptionStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.OptionStaticExDataOrBuilder>( getOptionExData(), getParentForChildren(), isClean()); optionExData_ = null; } return optionExDataBuilder_; } private com.moomoo.openapi.pb.QotCommon.FutureStaticExData futureExData_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.FutureStaticExData, com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder> futureExDataBuilder_; /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public boolean hasFutureExData() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public com.moomoo.openapi.pb.QotCommon.FutureStaticExData getFutureExData() { if (futureExDataBuilder_ == null) { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance() : futureExData_; } else { return futureExDataBuilder_.getMessage(); } } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public Builder setFutureExData(com.moomoo.openapi.pb.QotCommon.FutureStaticExData value) { if (futureExDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } futureExData_ = value; onChanged(); } else { futureExDataBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public Builder setFutureExData( com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder builderForValue) { if (futureExDataBuilder_ == null) { futureExData_ = builderForValue.build(); onChanged(); } else { futureExDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public Builder mergeFutureExData(com.moomoo.openapi.pb.QotCommon.FutureStaticExData value) { if (futureExDataBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && futureExData_ != null && futureExData_ != com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance()) { futureExData_ = com.moomoo.openapi.pb.QotCommon.FutureStaticExData.newBuilder(futureExData_).mergeFrom(value).buildPartial(); } else { futureExData_ = value; } onChanged(); } else { futureExDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public Builder clearFutureExData() { if (futureExDataBuilder_ == null) { futureExData_ = null; onChanged(); } else { futureExDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder getFutureExDataBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFutureExDataFieldBuilder().getBuilder(); } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ public com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder getFutureExDataOrBuilder() { if (futureExDataBuilder_ != null) { return futureExDataBuilder_.getMessageOrBuilder(); } else { return futureExData_ == null ? com.moomoo.openapi.pb.QotCommon.FutureStaticExData.getDefaultInstance() : futureExData_; } } /** *
       *期货额外股票静态信息
       * 
* * optional .Qot_Common.FutureStaticExData futureExData = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.FutureStaticExData, com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder> getFutureExDataFieldBuilder() { if (futureExDataBuilder_ == null) { futureExDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.FutureStaticExData, com.moomoo.openapi.pb.QotCommon.FutureStaticExData.Builder, com.moomoo.openapi.pb.QotCommon.FutureStaticExDataOrBuilder>( getFutureExData(), getParentForChildren(), isClean()); futureExData_ = null; } return futureExDataBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.SecurityStaticInfo) } // @@protoc_insertion_point(class_scope:Qot_Common.SecurityStaticInfo) private static final com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo(); } public static com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SecurityStaticInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SecurityStaticInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.SecurityStaticInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BrokerOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.Broker) com.google.protobuf.MessageOrBuilder { /** *
     *经纪ID
     * 
* * required int64 id = 1; */ boolean hasId(); /** *
     *经纪ID
     * 
* * required int64 id = 1; */ long getId(); /** *
     *经纪名称
     * 
* * required string name = 2; */ boolean hasName(); /** *
     *经纪名称
     * 
* * required string name = 2; */ java.lang.String getName(); /** *
     *经纪名称
     * 
* * required string name = 2; */ com.google.protobuf.ByteString getNameBytes(); /** *
     *经纪档位
     * 
* * required int32 pos = 3; */ boolean hasPos(); /** *
     *经纪档位
     * 
* * required int32 pos = 3; */ int getPos(); /** *
     *以下为SF行情特有字段
     * 
* * optional int64 orderID = 4; */ boolean hasOrderID(); /** *
     *以下为SF行情特有字段
     * 
* * optional int64 orderID = 4; */ long getOrderID(); /** *
     *订单股数
     * 
* * optional int64 volume = 5; */ boolean hasVolume(); /** *
     *订单股数
     * 
* * optional int64 volume = 5; */ long getVolume(); } /** * Protobuf type {@code Qot_Common.Broker} */ public static final class Broker extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.Broker) BrokerOrBuilder { private static final long serialVersionUID = 0L; // Use Broker.newBuilder() to construct. private Broker(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Broker() { id_ = 0L; name_ = ""; pos_ = 0; orderID_ = 0L; volume_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Broker( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; id_ = input.readInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 24: { bitField0_ |= 0x00000004; pos_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; orderID_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; volume_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Broker_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Broker_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Broker.class, com.moomoo.openapi.pb.QotCommon.Broker.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** *
     *经纪ID
     * 
* * required int64 id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *经纪ID
     * 
* * required int64 id = 1; */ public long getId() { return id_; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     *经纪名称
     * 
* * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *经纪名称
     * 
* * required string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     *经纪名称
     * 
* * required string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 3; private int pos_; /** *
     *经纪档位
     * 
* * required int32 pos = 3; */ public boolean hasPos() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *经纪档位
     * 
* * required int32 pos = 3; */ public int getPos() { return pos_; } public static final int ORDERID_FIELD_NUMBER = 4; private long orderID_; /** *
     *以下为SF行情特有字段
     * 
* * optional int64 orderID = 4; */ public boolean hasOrderID() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *以下为SF行情特有字段
     * 
* * optional int64 orderID = 4; */ public long getOrderID() { return orderID_; } public static final int VOLUME_FIELD_NUMBER = 5; private long volume_; /** *
     *订单股数
     * 
* * optional int64 volume = 5; */ public boolean hasVolume() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *订单股数
     * 
* * optional int64 volume = 5; */ public long getVolume() { return volume_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasId()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasPos()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, pos_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, orderID_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, volume_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, pos_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, orderID_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, volume_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.Broker)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.Broker other = (com.moomoo.openapi.pb.QotCommon.Broker) obj; boolean result = true; result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasPos() == other.hasPos()); if (hasPos()) { result = result && (getPos() == other.getPos()); } result = result && (hasOrderID() == other.hasOrderID()); if (hasOrderID()) { result = result && (getOrderID() == other.getOrderID()); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasOrderID()) { hash = (37 * hash) + ORDERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOrderID()); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Broker parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Broker parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Broker parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.Broker prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.Broker} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.Broker) com.moomoo.openapi.pb.QotCommon.BrokerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Broker_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Broker_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Broker.class, com.moomoo.openapi.pb.QotCommon.Broker.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.Broker.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000004); orderID_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Broker_descriptor; } public com.moomoo.openapi.pb.QotCommon.Broker getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.Broker.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.Broker build() { com.moomoo.openapi.pb.QotCommon.Broker result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.Broker buildPartial() { com.moomoo.openapi.pb.QotCommon.Broker result = new com.moomoo.openapi.pb.QotCommon.Broker(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.pos_ = pos_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.orderID_ = orderID_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.volume_ = volume_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.Broker) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.Broker)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.Broker other) { if (other == com.moomoo.openapi.pb.QotCommon.Broker.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasOrderID()) { setOrderID(other.getOrderID()); } if (other.hasVolume()) { setVolume(other.getVolume()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasId()) { return false; } if (!hasName()) { return false; } if (!hasPos()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.Broker parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.Broker) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long id_ ; /** *
       *经纪ID
       * 
* * required int64 id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *经纪ID
       * 
* * required int64 id = 1; */ public long getId() { return id_; } /** *
       *经纪ID
       * 
* * required int64 id = 1; */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** *
       *经纪ID
       * 
* * required int64 id = 1; */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       *经纪名称
       * 
* * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *经纪名称
       * 
* * required string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *经纪名称
       * 
* * required string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *经纪名称
       * 
* * required string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       *经纪名称
       * 
* * required string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       *经纪名称
       * 
* * required string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private int pos_ ; /** *
       *经纪档位
       * 
* * required int32 pos = 3; */ public boolean hasPos() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *经纪档位
       * 
* * required int32 pos = 3; */ public int getPos() { return pos_; } /** *
       *经纪档位
       * 
* * required int32 pos = 3; */ public Builder setPos(int value) { bitField0_ |= 0x00000004; pos_ = value; onChanged(); return this; } /** *
       *经纪档位
       * 
* * required int32 pos = 3; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000004); pos_ = 0; onChanged(); return this; } private long orderID_ ; /** *
       *以下为SF行情特有字段
       * 
* * optional int64 orderID = 4; */ public boolean hasOrderID() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *以下为SF行情特有字段
       * 
* * optional int64 orderID = 4; */ public long getOrderID() { return orderID_; } /** *
       *以下为SF行情特有字段
       * 
* * optional int64 orderID = 4; */ public Builder setOrderID(long value) { bitField0_ |= 0x00000008; orderID_ = value; onChanged(); return this; } /** *
       *以下为SF行情特有字段
       * 
* * optional int64 orderID = 4; */ public Builder clearOrderID() { bitField0_ = (bitField0_ & ~0x00000008); orderID_ = 0L; onChanged(); return this; } private long volume_ ; /** *
       *订单股数
       * 
* * optional int64 volume = 5; */ public boolean hasVolume() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *订单股数
       * 
* * optional int64 volume = 5; */ public long getVolume() { return volume_; } /** *
       *订单股数
       * 
* * optional int64 volume = 5; */ public Builder setVolume(long value) { bitField0_ |= 0x00000010; volume_ = value; onChanged(); return this; } /** *
       *订单股数
       * 
* * optional int64 volume = 5; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000010); volume_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.Broker) } // @@protoc_insertion_point(class_scope:Qot_Common.Broker) private static final com.moomoo.openapi.pb.QotCommon.Broker DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.Broker(); } public static com.moomoo.openapi.pb.QotCommon.Broker getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Broker parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Broker(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.Broker getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TickerOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.Ticker) com.google.protobuf.MessageOrBuilder { /** *
     *时间字符串
     * 
* * required string time = 1; */ boolean hasTime(); /** *
     *时间字符串
     * 
* * required string time = 1; */ java.lang.String getTime(); /** *
     *时间字符串
     * 
* * required string time = 1; */ com.google.protobuf.ByteString getTimeBytes(); /** *
     * 唯一标识
     * 
* * required int64 sequence = 2; */ boolean hasSequence(); /** *
     * 唯一标识
     * 
* * required int64 sequence = 2; */ long getSequence(); /** *
     *TickerDirection, 买卖方向
     * 
* * required int32 dir = 3; */ boolean hasDir(); /** *
     *TickerDirection, 买卖方向
     * 
* * required int32 dir = 3; */ int getDir(); /** *
     *价格
     * 
* * required double price = 4; */ boolean hasPrice(); /** *
     *价格
     * 
* * required double price = 4; */ double getPrice(); /** *
     *成交量
     * 
* * required int64 volume = 5; */ boolean hasVolume(); /** *
     *成交量
     * 
* * required int64 volume = 5; */ long getVolume(); /** *
     *成交额
     * 
* * required double turnover = 6; */ boolean hasTurnover(); /** *
     *成交额
     * 
* * required double turnover = 6; */ double getTurnover(); /** *
     *收到推送数据的本地时间戳,用于定位延迟
     * 
* * optional double recvTime = 7; */ boolean hasRecvTime(); /** *
     *收到推送数据的本地时间戳,用于定位延迟
     * 
* * optional double recvTime = 7; */ double getRecvTime(); /** *
     *TickerType, 逐笔类型
     * 
* * optional int32 type = 8; */ boolean hasType(); /** *
     *TickerType, 逐笔类型
     * 
* * optional int32 type = 8; */ int getType(); /** *
     *逐笔类型符号
     * 
* * optional int32 typeSign = 9; */ boolean hasTypeSign(); /** *
     *逐笔类型符号
     * 
* * optional int32 typeSign = 9; */ int getTypeSign(); /** *
     *用于区分推送情况
     * 
* * optional int32 pushDataType = 10; */ boolean hasPushDataType(); /** *
     *用于区分推送情况
     * 
* * optional int32 pushDataType = 10; */ int getPushDataType(); /** *
     *时间戳
     * 
* * optional double timestamp = 11; */ boolean hasTimestamp(); /** *
     *时间戳
     * 
* * optional double timestamp = 11; */ double getTimestamp(); } /** * Protobuf type {@code Qot_Common.Ticker} */ public static final class Ticker extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.Ticker) TickerOrBuilder { private static final long serialVersionUID = 0L; // Use Ticker.newBuilder() to construct. private Ticker(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Ticker() { time_ = ""; sequence_ = 0L; dir_ = 0; price_ = 0D; volume_ = 0L; turnover_ = 0D; recvTime_ = 0D; type_ = 0; typeSign_ = 0; pushDataType_ = 0; timestamp_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Ticker( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; time_ = bs; break; } case 16: { bitField0_ |= 0x00000002; sequence_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; dir_ = input.readInt32(); break; } case 33: { bitField0_ |= 0x00000008; price_ = input.readDouble(); break; } case 40: { bitField0_ |= 0x00000010; volume_ = input.readInt64(); break; } case 49: { bitField0_ |= 0x00000020; turnover_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000040; recvTime_ = input.readDouble(); break; } case 64: { bitField0_ |= 0x00000080; type_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000100; typeSign_ = input.readInt32(); break; } case 80: { bitField0_ |= 0x00000200; pushDataType_ = input.readInt32(); break; } case 89: { bitField0_ |= 0x00000400; timestamp_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Ticker_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Ticker_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Ticker.class, com.moomoo.openapi.pb.QotCommon.Ticker.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private volatile java.lang.Object time_; /** *
     *时间字符串
     * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *时间字符串
     * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; 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(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** *
     *时间字符串
     * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQUENCE_FIELD_NUMBER = 2; private long sequence_; /** *
     * 唯一标识
     * 
* * required int64 sequence = 2; */ public boolean hasSequence() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 唯一标识
     * 
* * required int64 sequence = 2; */ public long getSequence() { return sequence_; } public static final int DIR_FIELD_NUMBER = 3; private int dir_; /** *
     *TickerDirection, 买卖方向
     * 
* * required int32 dir = 3; */ public boolean hasDir() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *TickerDirection, 买卖方向
     * 
* * required int32 dir = 3; */ public int getDir() { return dir_; } public static final int PRICE_FIELD_NUMBER = 4; private double price_; /** *
     *价格
     * 
* * required double price = 4; */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *价格
     * 
* * required double price = 4; */ public double getPrice() { return price_; } public static final int VOLUME_FIELD_NUMBER = 5; private long volume_; /** *
     *成交量
     * 
* * required int64 volume = 5; */ public boolean hasVolume() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *成交量
     * 
* * required int64 volume = 5; */ public long getVolume() { return volume_; } public static final int TURNOVER_FIELD_NUMBER = 6; private double turnover_; /** *
     *成交额
     * 
* * required double turnover = 6; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *成交额
     * 
* * required double turnover = 6; */ public double getTurnover() { return turnover_; } public static final int RECVTIME_FIELD_NUMBER = 7; private double recvTime_; /** *
     *收到推送数据的本地时间戳,用于定位延迟
     * 
* * optional double recvTime = 7; */ public boolean hasRecvTime() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *收到推送数据的本地时间戳,用于定位延迟
     * 
* * optional double recvTime = 7; */ public double getRecvTime() { return recvTime_; } public static final int TYPE_FIELD_NUMBER = 8; private int type_; /** *
     *TickerType, 逐笔类型
     * 
* * optional int32 type = 8; */ public boolean hasType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *TickerType, 逐笔类型
     * 
* * optional int32 type = 8; */ public int getType() { return type_; } public static final int TYPESIGN_FIELD_NUMBER = 9; private int typeSign_; /** *
     *逐笔类型符号
     * 
* * optional int32 typeSign = 9; */ public boolean hasTypeSign() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *逐笔类型符号
     * 
* * optional int32 typeSign = 9; */ public int getTypeSign() { return typeSign_; } public static final int PUSHDATATYPE_FIELD_NUMBER = 10; private int pushDataType_; /** *
     *用于区分推送情况
     * 
* * optional int32 pushDataType = 10; */ public boolean hasPushDataType() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
     *用于区分推送情况
     * 
* * optional int32 pushDataType = 10; */ public int getPushDataType() { return pushDataType_; } public static final int TIMESTAMP_FIELD_NUMBER = 11; private double timestamp_; /** *
     *时间戳
     * 
* * optional double timestamp = 11; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *时间戳
     * 
* * optional double timestamp = 11; */ public double getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTime()) { memoizedIsInitialized = 0; return false; } if (!hasSequence()) { memoizedIsInitialized = 0; return false; } if (!hasDir()) { memoizedIsInitialized = 0; return false; } if (!hasPrice()) { memoizedIsInitialized = 0; return false; } if (!hasVolume()) { memoizedIsInitialized = 0; return false; } if (!hasTurnover()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, sequence_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, dir_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, price_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt64(5, volume_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(6, turnover_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, recvTime_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, type_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(9, typeSign_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeInt32(10, pushDataType_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeDouble(11, timestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, sequence_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, dir_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, price_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, volume_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, turnover_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, recvTime_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, type_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, typeSign_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, pushDataType_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(11, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.Ticker)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.Ticker other = (com.moomoo.openapi.pb.QotCommon.Ticker) obj; boolean result = true; result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && (hasSequence() == other.hasSequence()); if (hasSequence()) { result = result && (getSequence() == other.getSequence()); } result = result && (hasDir() == other.hasDir()); if (hasDir()) { result = result && (getDir() == other.getDir()); } result = result && (hasPrice() == other.hasPrice()); if (hasPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getPrice()) == java.lang.Double.doubleToLongBits( other.getPrice())); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && (hasTurnover() == other.hasTurnover()); if (hasTurnover()) { result = result && ( java.lang.Double.doubleToLongBits(getTurnover()) == java.lang.Double.doubleToLongBits( other.getTurnover())); } result = result && (hasRecvTime() == other.hasRecvTime()); if (hasRecvTime()) { result = result && ( java.lang.Double.doubleToLongBits(getRecvTime()) == java.lang.Double.doubleToLongBits( other.getRecvTime())); } result = result && (hasType() == other.hasType()); if (hasType()) { result = result && (getType() == other.getType()); } result = result && (hasTypeSign() == other.hasTypeSign()); if (hasTypeSign()) { result = result && (getTypeSign() == other.getTypeSign()); } result = result && (hasPushDataType() == other.hasPushDataType()); if (hasPushDataType()) { result = result && (getPushDataType() == other.getPushDataType()); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getTimestamp()) == java.lang.Double.doubleToLongBits( other.getTimestamp())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasSequence()) { hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); } if (hasDir()) { hash = (37 * hash) + DIR_FIELD_NUMBER; hash = (53 * hash) + getDir(); } if (hasPrice()) { hash = (37 * hash) + PRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPrice())); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } if (hasTurnover()) { hash = (37 * hash) + TURNOVER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTurnover())); } if (hasRecvTime()) { hash = (37 * hash) + RECVTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRecvTime())); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasTypeSign()) { hash = (37 * hash) + TYPESIGN_FIELD_NUMBER; hash = (53 * hash) + getTypeSign(); } if (hasPushDataType()) { hash = (37 * hash) + PUSHDATATYPE_FIELD_NUMBER; hash = (53 * hash) + getPushDataType(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTimestamp())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Ticker parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.Ticker prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.Ticker} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.Ticker) com.moomoo.openapi.pb.QotCommon.TickerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Ticker_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Ticker_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Ticker.class, com.moomoo.openapi.pb.QotCommon.Ticker.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.Ticker.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); time_ = ""; bitField0_ = (bitField0_ & ~0x00000001); sequence_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); dir_ = 0; bitField0_ = (bitField0_ & ~0x00000004); price_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); turnover_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); recvTime_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); type_ = 0; bitField0_ = (bitField0_ & ~0x00000080); typeSign_ = 0; bitField0_ = (bitField0_ & ~0x00000100); pushDataType_ = 0; bitField0_ = (bitField0_ & ~0x00000200); timestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000400); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Ticker_descriptor; } public com.moomoo.openapi.pb.QotCommon.Ticker getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.Ticker.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.Ticker build() { com.moomoo.openapi.pb.QotCommon.Ticker result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.Ticker buildPartial() { com.moomoo.openapi.pb.QotCommon.Ticker result = new com.moomoo.openapi.pb.QotCommon.Ticker(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.time_ = time_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.sequence_ = sequence_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.dir_ = dir_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.price_ = price_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.volume_ = volume_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.turnover_ = turnover_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.recvTime_ = recvTime_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.type_ = type_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.typeSign_ = typeSign_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.pushDataType_ = pushDataType_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.Ticker) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.Ticker)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.Ticker other) { if (other == com.moomoo.openapi.pb.QotCommon.Ticker.getDefaultInstance()) return this; if (other.hasTime()) { bitField0_ |= 0x00000001; time_ = other.time_; onChanged(); } if (other.hasSequence()) { setSequence(other.getSequence()); } if (other.hasDir()) { setDir(other.getDir()); } if (other.hasPrice()) { setPrice(other.getPrice()); } if (other.hasVolume()) { setVolume(other.getVolume()); } if (other.hasTurnover()) { setTurnover(other.getTurnover()); } if (other.hasRecvTime()) { setRecvTime(other.getRecvTime()); } if (other.hasType()) { setType(other.getType()); } if (other.hasTypeSign()) { setTypeSign(other.getTypeSign()); } if (other.hasPushDataType()) { setPushDataType(other.getPushDataType()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTime()) { return false; } if (!hasSequence()) { return false; } if (!hasDir()) { return false; } if (!hasPrice()) { return false; } if (!hasVolume()) { return false; } if (!hasTurnover()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.Ticker parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.Ticker) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object time_ = ""; /** *
       *时间字符串
       * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *时间字符串
       * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *时间字符串
       * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000001); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } private long sequence_ ; /** *
       * 唯一标识
       * 
* * required int64 sequence = 2; */ public boolean hasSequence() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 唯一标识
       * 
* * required int64 sequence = 2; */ public long getSequence() { return sequence_; } /** *
       * 唯一标识
       * 
* * required int64 sequence = 2; */ public Builder setSequence(long value) { bitField0_ |= 0x00000002; sequence_ = value; onChanged(); return this; } /** *
       * 唯一标识
       * 
* * required int64 sequence = 2; */ public Builder clearSequence() { bitField0_ = (bitField0_ & ~0x00000002); sequence_ = 0L; onChanged(); return this; } private int dir_ ; /** *
       *TickerDirection, 买卖方向
       * 
* * required int32 dir = 3; */ public boolean hasDir() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *TickerDirection, 买卖方向
       * 
* * required int32 dir = 3; */ public int getDir() { return dir_; } /** *
       *TickerDirection, 买卖方向
       * 
* * required int32 dir = 3; */ public Builder setDir(int value) { bitField0_ |= 0x00000004; dir_ = value; onChanged(); return this; } /** *
       *TickerDirection, 买卖方向
       * 
* * required int32 dir = 3; */ public Builder clearDir() { bitField0_ = (bitField0_ & ~0x00000004); dir_ = 0; onChanged(); return this; } private double price_ ; /** *
       *价格
       * 
* * required double price = 4; */ public boolean hasPrice() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *价格
       * 
* * required double price = 4; */ public double getPrice() { return price_; } /** *
       *价格
       * 
* * required double price = 4; */ public Builder setPrice(double value) { bitField0_ |= 0x00000008; price_ = value; onChanged(); return this; } /** *
       *价格
       * 
* * required double price = 4; */ public Builder clearPrice() { bitField0_ = (bitField0_ & ~0x00000008); price_ = 0D; onChanged(); return this; } private long volume_ ; /** *
       *成交量
       * 
* * required int64 volume = 5; */ public boolean hasVolume() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *成交量
       * 
* * required int64 volume = 5; */ public long getVolume() { return volume_; } /** *
       *成交量
       * 
* * required int64 volume = 5; */ public Builder setVolume(long value) { bitField0_ |= 0x00000010; volume_ = value; onChanged(); return this; } /** *
       *成交量
       * 
* * required int64 volume = 5; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000010); volume_ = 0L; onChanged(); return this; } private double turnover_ ; /** *
       *成交额
       * 
* * required double turnover = 6; */ public boolean hasTurnover() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *成交额
       * 
* * required double turnover = 6; */ public double getTurnover() { return turnover_; } /** *
       *成交额
       * 
* * required double turnover = 6; */ public Builder setTurnover(double value) { bitField0_ |= 0x00000020; turnover_ = value; onChanged(); return this; } /** *
       *成交额
       * 
* * required double turnover = 6; */ public Builder clearTurnover() { bitField0_ = (bitField0_ & ~0x00000020); turnover_ = 0D; onChanged(); return this; } private double recvTime_ ; /** *
       *收到推送数据的本地时间戳,用于定位延迟
       * 
* * optional double recvTime = 7; */ public boolean hasRecvTime() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *收到推送数据的本地时间戳,用于定位延迟
       * 
* * optional double recvTime = 7; */ public double getRecvTime() { return recvTime_; } /** *
       *收到推送数据的本地时间戳,用于定位延迟
       * 
* * optional double recvTime = 7; */ public Builder setRecvTime(double value) { bitField0_ |= 0x00000040; recvTime_ = value; onChanged(); return this; } /** *
       *收到推送数据的本地时间戳,用于定位延迟
       * 
* * optional double recvTime = 7; */ public Builder clearRecvTime() { bitField0_ = (bitField0_ & ~0x00000040); recvTime_ = 0D; onChanged(); return this; } private int type_ ; /** *
       *TickerType, 逐笔类型
       * 
* * optional int32 type = 8; */ public boolean hasType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *TickerType, 逐笔类型
       * 
* * optional int32 type = 8; */ public int getType() { return type_; } /** *
       *TickerType, 逐笔类型
       * 
* * optional int32 type = 8; */ public Builder setType(int value) { bitField0_ |= 0x00000080; type_ = value; onChanged(); return this; } /** *
       *TickerType, 逐笔类型
       * 
* * optional int32 type = 8; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000080); type_ = 0; onChanged(); return this; } private int typeSign_ ; /** *
       *逐笔类型符号
       * 
* * optional int32 typeSign = 9; */ public boolean hasTypeSign() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *逐笔类型符号
       * 
* * optional int32 typeSign = 9; */ public int getTypeSign() { return typeSign_; } /** *
       *逐笔类型符号
       * 
* * optional int32 typeSign = 9; */ public Builder setTypeSign(int value) { bitField0_ |= 0x00000100; typeSign_ = value; onChanged(); return this; } /** *
       *逐笔类型符号
       * 
* * optional int32 typeSign = 9; */ public Builder clearTypeSign() { bitField0_ = (bitField0_ & ~0x00000100); typeSign_ = 0; onChanged(); return this; } private int pushDataType_ ; /** *
       *用于区分推送情况
       * 
* * optional int32 pushDataType = 10; */ public boolean hasPushDataType() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
       *用于区分推送情况
       * 
* * optional int32 pushDataType = 10; */ public int getPushDataType() { return pushDataType_; } /** *
       *用于区分推送情况
       * 
* * optional int32 pushDataType = 10; */ public Builder setPushDataType(int value) { bitField0_ |= 0x00000200; pushDataType_ = value; onChanged(); return this; } /** *
       *用于区分推送情况
       * 
* * optional int32 pushDataType = 10; */ public Builder clearPushDataType() { bitField0_ = (bitField0_ & ~0x00000200); pushDataType_ = 0; onChanged(); return this; } private double timestamp_ ; /** *
       *时间戳
       * 
* * optional double timestamp = 11; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *时间戳
       * 
* * optional double timestamp = 11; */ public double getTimestamp() { return timestamp_; } /** *
       *时间戳
       * 
* * optional double timestamp = 11; */ public Builder setTimestamp(double value) { bitField0_ |= 0x00000400; timestamp_ = value; onChanged(); return this; } /** *
       *时间戳
       * 
* * optional double timestamp = 11; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000400); timestamp_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.Ticker) } // @@protoc_insertion_point(class_scope:Qot_Common.Ticker) private static final com.moomoo.openapi.pb.QotCommon.Ticker DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.Ticker(); } public static com.moomoo.openapi.pb.QotCommon.Ticker getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Ticker parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Ticker(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.Ticker getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OrderBookDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.OrderBookDetail) com.google.protobuf.MessageOrBuilder { /** *
     *交易所订单ID,与交易接口返回的订单ID并不一样
     * 
* * required int64 orderID = 1; */ boolean hasOrderID(); /** *
     *交易所订单ID,与交易接口返回的订单ID并不一样
     * 
* * required int64 orderID = 1; */ long getOrderID(); /** *
     *订单股数
     * 
* * required int64 volume = 2; */ boolean hasVolume(); /** *
     *订单股数
     * 
* * required int64 volume = 2; */ long getVolume(); } /** * Protobuf type {@code Qot_Common.OrderBookDetail} */ public static final class OrderBookDetail extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.OrderBookDetail) OrderBookDetailOrBuilder { private static final long serialVersionUID = 0L; // Use OrderBookDetail.newBuilder() to construct. private OrderBookDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OrderBookDetail() { orderID_ = 0L; volume_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OrderBookDetail( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; orderID_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; volume_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBookDetail_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBookDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OrderBookDetail.class, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder.class); } private int bitField0_; public static final int ORDERID_FIELD_NUMBER = 1; private long orderID_; /** *
     *交易所订单ID,与交易接口返回的订单ID并不一样
     * 
* * required int64 orderID = 1; */ public boolean hasOrderID() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *交易所订单ID,与交易接口返回的订单ID并不一样
     * 
* * required int64 orderID = 1; */ public long getOrderID() { return orderID_; } public static final int VOLUME_FIELD_NUMBER = 2; private long volume_; /** *
     *订单股数
     * 
* * required int64 volume = 2; */ public boolean hasVolume() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *订单股数
     * 
* * required int64 volume = 2; */ public long getVolume() { return volume_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasOrderID()) { memoizedIsInitialized = 0; return false; } if (!hasVolume()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, orderID_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, volume_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, orderID_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, volume_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.OrderBookDetail)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.OrderBookDetail other = (com.moomoo.openapi.pb.QotCommon.OrderBookDetail) obj; boolean result = true; result = result && (hasOrderID() == other.hasOrderID()); if (hasOrderID()) { result = result && (getOrderID() == other.getOrderID()); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOrderID()) { hash = (37 * hash) + ORDERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOrderID()); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.OrderBookDetail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.OrderBookDetail} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.OrderBookDetail) com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBookDetail_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBookDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OrderBookDetail.class, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.OrderBookDetail.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); orderID_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBookDetail_descriptor; } public com.moomoo.openapi.pb.QotCommon.OrderBookDetail getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.OrderBookDetail.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.OrderBookDetail build() { com.moomoo.openapi.pb.QotCommon.OrderBookDetail result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.OrderBookDetail buildPartial() { com.moomoo.openapi.pb.QotCommon.OrderBookDetail result = new com.moomoo.openapi.pb.QotCommon.OrderBookDetail(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.orderID_ = orderID_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.volume_ = volume_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.OrderBookDetail) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.OrderBookDetail)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.OrderBookDetail other) { if (other == com.moomoo.openapi.pb.QotCommon.OrderBookDetail.getDefaultInstance()) return this; if (other.hasOrderID()) { setOrderID(other.getOrderID()); } if (other.hasVolume()) { setVolume(other.getVolume()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasOrderID()) { return false; } if (!hasVolume()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.OrderBookDetail parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.OrderBookDetail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long orderID_ ; /** *
       *交易所订单ID,与交易接口返回的订单ID并不一样
       * 
* * required int64 orderID = 1; */ public boolean hasOrderID() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *交易所订单ID,与交易接口返回的订单ID并不一样
       * 
* * required int64 orderID = 1; */ public long getOrderID() { return orderID_; } /** *
       *交易所订单ID,与交易接口返回的订单ID并不一样
       * 
* * required int64 orderID = 1; */ public Builder setOrderID(long value) { bitField0_ |= 0x00000001; orderID_ = value; onChanged(); return this; } /** *
       *交易所订单ID,与交易接口返回的订单ID并不一样
       * 
* * required int64 orderID = 1; */ public Builder clearOrderID() { bitField0_ = (bitField0_ & ~0x00000001); orderID_ = 0L; onChanged(); return this; } private long volume_ ; /** *
       *订单股数
       * 
* * required int64 volume = 2; */ public boolean hasVolume() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *订单股数
       * 
* * required int64 volume = 2; */ public long getVolume() { return volume_; } /** *
       *订单股数
       * 
* * required int64 volume = 2; */ public Builder setVolume(long value) { bitField0_ |= 0x00000002; volume_ = value; onChanged(); return this; } /** *
       *订单股数
       * 
* * required int64 volume = 2; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000002); volume_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.OrderBookDetail) } // @@protoc_insertion_point(class_scope:Qot_Common.OrderBookDetail) private static final com.moomoo.openapi.pb.QotCommon.OrderBookDetail DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.OrderBookDetail(); } public static com.moomoo.openapi.pb.QotCommon.OrderBookDetail getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OrderBookDetail parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OrderBookDetail(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.OrderBookDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OrderBookOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.OrderBook) com.google.protobuf.MessageOrBuilder { /** *
     *委托价格
     * 
* * required double price = 1; */ boolean hasPrice(); /** *
     *委托价格
     * 
* * required double price = 1; */ double getPrice(); /** *
     *委托数量
     * 
* * required int64 volume = 2; */ boolean hasVolume(); /** *
     *委托数量
     * 
* * required int64 volume = 2; */ long getVolume(); /** *
     *委托订单个数
     * 
* * required int32 orederCount = 3; */ boolean hasOrederCount(); /** *
     *委托订单个数
     * 
* * required int32 orederCount = 3; */ int getOrederCount(); /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ java.util.List getDetailListList(); /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ com.moomoo.openapi.pb.QotCommon.OrderBookDetail getDetailList(int index); /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ int getDetailListCount(); /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ java.util.List getDetailListOrBuilderList(); /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder getDetailListOrBuilder( int index); } /** * Protobuf type {@code Qot_Common.OrderBook} */ public static final class OrderBook extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.OrderBook) OrderBookOrBuilder { private static final long serialVersionUID = 0L; // Use OrderBook.newBuilder() to construct. private OrderBook(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OrderBook() { price_ = 0D; volume_ = 0L; orederCount_ = 0; detailList_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OrderBook( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 9: { bitField0_ |= 0x00000001; price_ = input.readDouble(); break; } case 16: { bitField0_ |= 0x00000002; volume_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; orederCount_ = input.readInt32(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { detailList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } detailList_.add( input.readMessage(com.moomoo.openapi.pb.QotCommon.OrderBookDetail.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { detailList_ = java.util.Collections.unmodifiableList(detailList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBook_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBook_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OrderBook.class, com.moomoo.openapi.pb.QotCommon.OrderBook.Builder.class); } private int bitField0_; public static final int PRICE_FIELD_NUMBER = 1; private double price_; /** *
     *委托价格
     * 
* * required double price = 1; */ public boolean hasPrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *委托价格
     * 
* * required double price = 1; */ public double getPrice() { return price_; } public static final int VOLUME_FIELD_NUMBER = 2; private long volume_; /** *
     *委托数量
     * 
* * required int64 volume = 2; */ public boolean hasVolume() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *委托数量
     * 
* * required int64 volume = 2; */ public long getVolume() { return volume_; } public static final int OREDERCOUNT_FIELD_NUMBER = 3; private int orederCount_; /** *
     *委托订单个数
     * 
* * required int32 orederCount = 3; */ public boolean hasOrederCount() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *委托订单个数
     * 
* * required int32 orederCount = 3; */ public int getOrederCount() { return orederCount_; } public static final int DETAILLIST_FIELD_NUMBER = 4; private java.util.List detailList_; /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public java.util.List getDetailListList() { return detailList_; } /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public java.util.List getDetailListOrBuilderList() { return detailList_; } /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public int getDetailListCount() { return detailList_.size(); } /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetail getDetailList(int index) { return detailList_.get(index); } /** *
     *订单信息,SF行情特有
     * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder getDetailListOrBuilder( int index) { return detailList_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPrice()) { memoizedIsInitialized = 0; return false; } if (!hasVolume()) { memoizedIsInitialized = 0; return false; } if (!hasOrederCount()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getDetailListCount(); i++) { if (!getDetailList(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, price_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, volume_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, orederCount_); } for (int i = 0; i < detailList_.size(); i++) { output.writeMessage(4, detailList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, price_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, volume_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, orederCount_); } for (int i = 0; i < detailList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, detailList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.OrderBook)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.OrderBook other = (com.moomoo.openapi.pb.QotCommon.OrderBook) obj; boolean result = true; result = result && (hasPrice() == other.hasPrice()); if (hasPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getPrice()) == java.lang.Double.doubleToLongBits( other.getPrice())); } result = result && (hasVolume() == other.hasVolume()); if (hasVolume()) { result = result && (getVolume() == other.getVolume()); } result = result && (hasOrederCount() == other.hasOrederCount()); if (hasOrederCount()) { result = result && (getOrederCount() == other.getOrederCount()); } result = result && getDetailListList() .equals(other.getDetailListList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPrice()) { hash = (37 * hash) + PRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPrice())); } if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVolume()); } if (hasOrederCount()) { hash = (37 * hash) + OREDERCOUNT_FIELD_NUMBER; hash = (53 * hash) + getOrederCount(); } if (getDetailListCount() > 0) { hash = (37 * hash) + DETAILLIST_FIELD_NUMBER; hash = (53 * hash) + getDetailListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.OrderBook parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.OrderBook prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.OrderBook} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.OrderBook) com.moomoo.openapi.pb.QotCommon.OrderBookOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBook_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBook_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.OrderBook.class, com.moomoo.openapi.pb.QotCommon.OrderBook.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.OrderBook.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDetailListFieldBuilder(); } } public Builder clear() { super.clear(); price_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); volume_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); orederCount_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (detailListBuilder_ == null) { detailList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { detailListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_OrderBook_descriptor; } public com.moomoo.openapi.pb.QotCommon.OrderBook getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.OrderBook.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.OrderBook build() { com.moomoo.openapi.pb.QotCommon.OrderBook result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.OrderBook buildPartial() { com.moomoo.openapi.pb.QotCommon.OrderBook result = new com.moomoo.openapi.pb.QotCommon.OrderBook(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.price_ = price_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.volume_ = volume_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.orederCount_ = orederCount_; if (detailListBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { detailList_ = java.util.Collections.unmodifiableList(detailList_); bitField0_ = (bitField0_ & ~0x00000008); } result.detailList_ = detailList_; } else { result.detailList_ = detailListBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.OrderBook) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.OrderBook)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.OrderBook other) { if (other == com.moomoo.openapi.pb.QotCommon.OrderBook.getDefaultInstance()) return this; if (other.hasPrice()) { setPrice(other.getPrice()); } if (other.hasVolume()) { setVolume(other.getVolume()); } if (other.hasOrederCount()) { setOrederCount(other.getOrederCount()); } if (detailListBuilder_ == null) { if (!other.detailList_.isEmpty()) { if (detailList_.isEmpty()) { detailList_ = other.detailList_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureDetailListIsMutable(); detailList_.addAll(other.detailList_); } onChanged(); } } else { if (!other.detailList_.isEmpty()) { if (detailListBuilder_.isEmpty()) { detailListBuilder_.dispose(); detailListBuilder_ = null; detailList_ = other.detailList_; bitField0_ = (bitField0_ & ~0x00000008); detailListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDetailListFieldBuilder() : null; } else { detailListBuilder_.addAllMessages(other.detailList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasPrice()) { return false; } if (!hasVolume()) { return false; } if (!hasOrederCount()) { return false; } for (int i = 0; i < getDetailListCount(); i++) { if (!getDetailList(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.OrderBook parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.OrderBook) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double price_ ; /** *
       *委托价格
       * 
* * required double price = 1; */ public boolean hasPrice() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *委托价格
       * 
* * required double price = 1; */ public double getPrice() { return price_; } /** *
       *委托价格
       * 
* * required double price = 1; */ public Builder setPrice(double value) { bitField0_ |= 0x00000001; price_ = value; onChanged(); return this; } /** *
       *委托价格
       * 
* * required double price = 1; */ public Builder clearPrice() { bitField0_ = (bitField0_ & ~0x00000001); price_ = 0D; onChanged(); return this; } private long volume_ ; /** *
       *委托数量
       * 
* * required int64 volume = 2; */ public boolean hasVolume() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *委托数量
       * 
* * required int64 volume = 2; */ public long getVolume() { return volume_; } /** *
       *委托数量
       * 
* * required int64 volume = 2; */ public Builder setVolume(long value) { bitField0_ |= 0x00000002; volume_ = value; onChanged(); return this; } /** *
       *委托数量
       * 
* * required int64 volume = 2; */ public Builder clearVolume() { bitField0_ = (bitField0_ & ~0x00000002); volume_ = 0L; onChanged(); return this; } private int orederCount_ ; /** *
       *委托订单个数
       * 
* * required int32 orederCount = 3; */ public boolean hasOrederCount() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *委托订单个数
       * 
* * required int32 orederCount = 3; */ public int getOrederCount() { return orederCount_; } /** *
       *委托订单个数
       * 
* * required int32 orederCount = 3; */ public Builder setOrederCount(int value) { bitField0_ |= 0x00000004; orederCount_ = value; onChanged(); return this; } /** *
       *委托订单个数
       * 
* * required int32 orederCount = 3; */ public Builder clearOrederCount() { bitField0_ = (bitField0_ & ~0x00000004); orederCount_ = 0; onChanged(); return this; } private java.util.List detailList_ = java.util.Collections.emptyList(); private void ensureDetailListIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { detailList_ = new java.util.ArrayList(detailList_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OrderBookDetail, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder, com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder> detailListBuilder_; /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public java.util.List getDetailListList() { if (detailListBuilder_ == null) { return java.util.Collections.unmodifiableList(detailList_); } else { return detailListBuilder_.getMessageList(); } } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public int getDetailListCount() { if (detailListBuilder_ == null) { return detailList_.size(); } else { return detailListBuilder_.getCount(); } } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetail getDetailList(int index) { if (detailListBuilder_ == null) { return detailList_.get(index); } else { return detailListBuilder_.getMessage(index); } } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder setDetailList( int index, com.moomoo.openapi.pb.QotCommon.OrderBookDetail value) { if (detailListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailListIsMutable(); detailList_.set(index, value); onChanged(); } else { detailListBuilder_.setMessage(index, value); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder setDetailList( int index, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder builderForValue) { if (detailListBuilder_ == null) { ensureDetailListIsMutable(); detailList_.set(index, builderForValue.build()); onChanged(); } else { detailListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder addDetailList(com.moomoo.openapi.pb.QotCommon.OrderBookDetail value) { if (detailListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailListIsMutable(); detailList_.add(value); onChanged(); } else { detailListBuilder_.addMessage(value); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder addDetailList( int index, com.moomoo.openapi.pb.QotCommon.OrderBookDetail value) { if (detailListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailListIsMutable(); detailList_.add(index, value); onChanged(); } else { detailListBuilder_.addMessage(index, value); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder addDetailList( com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder builderForValue) { if (detailListBuilder_ == null) { ensureDetailListIsMutable(); detailList_.add(builderForValue.build()); onChanged(); } else { detailListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder addDetailList( int index, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder builderForValue) { if (detailListBuilder_ == null) { ensureDetailListIsMutable(); detailList_.add(index, builderForValue.build()); onChanged(); } else { detailListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder addAllDetailList( java.lang.Iterable values) { if (detailListBuilder_ == null) { ensureDetailListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, detailList_); onChanged(); } else { detailListBuilder_.addAllMessages(values); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder clearDetailList() { if (detailListBuilder_ == null) { detailList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { detailListBuilder_.clear(); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public Builder removeDetailList(int index) { if (detailListBuilder_ == null) { ensureDetailListIsMutable(); detailList_.remove(index); onChanged(); } else { detailListBuilder_.remove(index); } return this; } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder getDetailListBuilder( int index) { return getDetailListFieldBuilder().getBuilder(index); } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder getDetailListOrBuilder( int index) { if (detailListBuilder_ == null) { return detailList_.get(index); } else { return detailListBuilder_.getMessageOrBuilder(index); } } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public java.util.List getDetailListOrBuilderList() { if (detailListBuilder_ != null) { return detailListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(detailList_); } } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder addDetailListBuilder() { return getDetailListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotCommon.OrderBookDetail.getDefaultInstance()); } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder addDetailListBuilder( int index) { return getDetailListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.getDefaultInstance()); } /** *
       *订单信息,SF行情特有
       * 
* * repeated .Qot_Common.OrderBookDetail detailList = 4; */ public java.util.List getDetailListBuilderList() { return getDetailListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OrderBookDetail, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder, com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder> getDetailListFieldBuilder() { if (detailListBuilder_ == null) { detailListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.OrderBookDetail, com.moomoo.openapi.pb.QotCommon.OrderBookDetail.Builder, com.moomoo.openapi.pb.QotCommon.OrderBookDetailOrBuilder>( detailList_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); detailList_ = null; } return detailListBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.OrderBook) } // @@protoc_insertion_point(class_scope:Qot_Common.OrderBook) private static final com.moomoo.openapi.pb.QotCommon.OrderBook DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.OrderBook(); } public static com.moomoo.openapi.pb.QotCommon.OrderBook getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OrderBook parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OrderBook(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.OrderBook getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShareHoldingChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.ShareHoldingChange) com.google.protobuf.MessageOrBuilder { /** *
     *持有者名称(机构名称 或 基金名称 或 高管姓名)
     * 
* * required string holderName = 1; */ boolean hasHolderName(); /** *
     *持有者名称(机构名称 或 基金名称 或 高管姓名)
     * 
* * required string holderName = 1; */ java.lang.String getHolderName(); /** *
     *持有者名称(机构名称 或 基金名称 或 高管姓名)
     * 
* * required string holderName = 1; */ com.google.protobuf.ByteString getHolderNameBytes(); /** *
     *当前持股数量
     * 
* * required double holdingQty = 2; */ boolean hasHoldingQty(); /** *
     *当前持股数量
     * 
* * required double holdingQty = 2; */ double getHoldingQty(); /** *
     *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double holdingRatio = 3; */ boolean hasHoldingRatio(); /** *
     *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double holdingRatio = 3; */ double getHoldingRatio(); /** *
     *较上一次变动数量
     * 
* * required double changeQty = 4; */ boolean hasChangeQty(); /** *
     *较上一次变动数量
     * 
* * required double changeQty = 4; */ double getChangeQty(); /** *
     *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
     * 
* * required double changeRatio = 5; */ boolean hasChangeRatio(); /** *
     *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
     * 
* * required double changeRatio = 5; */ double getChangeRatio(); /** *
     *发布时间(YYYY-MM-DD HH:MM:SS字符串)
     * 
* * required string time = 6; */ boolean hasTime(); /** *
     *发布时间(YYYY-MM-DD HH:MM:SS字符串)
     * 
* * required string time = 6; */ java.lang.String getTime(); /** *
     *发布时间(YYYY-MM-DD HH:MM:SS字符串)
     * 
* * required string time = 6; */ com.google.protobuf.ByteString getTimeBytes(); /** *
     *时间戳
     * 
* * optional double timestamp = 7; */ boolean hasTimestamp(); /** *
     *时间戳
     * 
* * optional double timestamp = 7; */ double getTimestamp(); } /** *
   *持股变动
   * 
* * Protobuf type {@code Qot_Common.ShareHoldingChange} */ public static final class ShareHoldingChange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.ShareHoldingChange) ShareHoldingChangeOrBuilder { private static final long serialVersionUID = 0L; // Use ShareHoldingChange.newBuilder() to construct. private ShareHoldingChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShareHoldingChange() { holderName_ = ""; holdingQty_ = 0D; holdingRatio_ = 0D; changeQty_ = 0D; changeRatio_ = 0D; time_ = ""; timestamp_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShareHoldingChange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; holderName_ = bs; break; } case 17: { bitField0_ |= 0x00000002; holdingQty_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; holdingRatio_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; changeQty_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; changeRatio_ = input.readDouble(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; time_ = bs; break; } case 57: { bitField0_ |= 0x00000040; timestamp_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ShareHoldingChange_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ShareHoldingChange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.class, com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.Builder.class); } private int bitField0_; public static final int HOLDERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object holderName_; /** *
     *持有者名称(机构名称 或 基金名称 或 高管姓名)
     * 
* * required string holderName = 1; */ public boolean hasHolderName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *持有者名称(机构名称 或 基金名称 或 高管姓名)
     * 
* * required string holderName = 1; */ public java.lang.String getHolderName() { java.lang.Object ref = holderName_; 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(); if (bs.isValidUtf8()) { holderName_ = s; } return s; } } /** *
     *持有者名称(机构名称 或 基金名称 或 高管姓名)
     * 
* * required string holderName = 1; */ public com.google.protobuf.ByteString getHolderNameBytes() { java.lang.Object ref = holderName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); holderName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HOLDINGQTY_FIELD_NUMBER = 2; private double holdingQty_; /** *
     *当前持股数量
     * 
* * required double holdingQty = 2; */ public boolean hasHoldingQty() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *当前持股数量
     * 
* * required double holdingQty = 2; */ public double getHoldingQty() { return holdingQty_; } public static final int HOLDINGRATIO_FIELD_NUMBER = 3; private double holdingRatio_; /** *
     *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double holdingRatio = 3; */ public boolean hasHoldingRatio() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
     * 
* * required double holdingRatio = 3; */ public double getHoldingRatio() { return holdingRatio_; } public static final int CHANGEQTY_FIELD_NUMBER = 4; private double changeQty_; /** *
     *较上一次变动数量
     * 
* * required double changeQty = 4; */ public boolean hasChangeQty() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *较上一次变动数量
     * 
* * required double changeQty = 4; */ public double getChangeQty() { return changeQty_; } public static final int CHANGERATIO_FIELD_NUMBER = 5; private double changeRatio_; /** *
     *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
     * 
* * required double changeRatio = 5; */ public boolean hasChangeRatio() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
     * 
* * required double changeRatio = 5; */ public double getChangeRatio() { return changeRatio_; } public static final int TIME_FIELD_NUMBER = 6; private volatile java.lang.Object time_; /** *
     *发布时间(YYYY-MM-DD HH:MM:SS字符串)
     * 
* * required string time = 6; */ public boolean hasTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *发布时间(YYYY-MM-DD HH:MM:SS字符串)
     * 
* * required string time = 6; */ public java.lang.String getTime() { java.lang.Object ref = time_; 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(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** *
     *发布时间(YYYY-MM-DD HH:MM:SS字符串)
     * 
* * required string time = 6; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 7; private double timestamp_; /** *
     *时间戳
     * 
* * optional double timestamp = 7; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *时间戳
     * 
* * optional double timestamp = 7; */ public double getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasHolderName()) { memoizedIsInitialized = 0; return false; } if (!hasHoldingQty()) { memoizedIsInitialized = 0; return false; } if (!hasHoldingRatio()) { memoizedIsInitialized = 0; return false; } if (!hasChangeQty()) { memoizedIsInitialized = 0; return false; } if (!hasChangeRatio()) { memoizedIsInitialized = 0; return false; } if (!hasTime()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, holderName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, holdingQty_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, holdingRatio_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, changeQty_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, changeRatio_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, time_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, timestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, holderName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, holdingQty_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, holdingRatio_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, changeQty_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, changeRatio_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, time_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.ShareHoldingChange)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.ShareHoldingChange other = (com.moomoo.openapi.pb.QotCommon.ShareHoldingChange) obj; boolean result = true; result = result && (hasHolderName() == other.hasHolderName()); if (hasHolderName()) { result = result && getHolderName() .equals(other.getHolderName()); } result = result && (hasHoldingQty() == other.hasHoldingQty()); if (hasHoldingQty()) { result = result && ( java.lang.Double.doubleToLongBits(getHoldingQty()) == java.lang.Double.doubleToLongBits( other.getHoldingQty())); } result = result && (hasHoldingRatio() == other.hasHoldingRatio()); if (hasHoldingRatio()) { result = result && ( java.lang.Double.doubleToLongBits(getHoldingRatio()) == java.lang.Double.doubleToLongBits( other.getHoldingRatio())); } result = result && (hasChangeQty() == other.hasChangeQty()); if (hasChangeQty()) { result = result && ( java.lang.Double.doubleToLongBits(getChangeQty()) == java.lang.Double.doubleToLongBits( other.getChangeQty())); } result = result && (hasChangeRatio() == other.hasChangeRatio()); if (hasChangeRatio()) { result = result && ( java.lang.Double.doubleToLongBits(getChangeRatio()) == java.lang.Double.doubleToLongBits( other.getChangeRatio())); } result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getTimestamp()) == java.lang.Double.doubleToLongBits( other.getTimestamp())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHolderName()) { hash = (37 * hash) + HOLDERNAME_FIELD_NUMBER; hash = (53 * hash) + getHolderName().hashCode(); } if (hasHoldingQty()) { hash = (37 * hash) + HOLDINGQTY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHoldingQty())); } if (hasHoldingRatio()) { hash = (37 * hash) + HOLDINGRATIO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHoldingRatio())); } if (hasChangeQty()) { hash = (37 * hash) + CHANGEQTY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getChangeQty())); } if (hasChangeRatio()) { hash = (37 * hash) + CHANGERATIO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getChangeRatio())); } if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTimestamp())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.ShareHoldingChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     *持股变动
     * 
* * Protobuf type {@code Qot_Common.ShareHoldingChange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.ShareHoldingChange) com.moomoo.openapi.pb.QotCommon.ShareHoldingChangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ShareHoldingChange_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ShareHoldingChange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.class, com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); holderName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); holdingQty_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); holdingRatio_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); changeQty_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); changeRatio_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); time_ = ""; bitField0_ = (bitField0_ & ~0x00000020); timestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ShareHoldingChange_descriptor; } public com.moomoo.openapi.pb.QotCommon.ShareHoldingChange getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.ShareHoldingChange build() { com.moomoo.openapi.pb.QotCommon.ShareHoldingChange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.ShareHoldingChange buildPartial() { com.moomoo.openapi.pb.QotCommon.ShareHoldingChange result = new com.moomoo.openapi.pb.QotCommon.ShareHoldingChange(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.holderName_ = holderName_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.holdingQty_ = holdingQty_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.holdingRatio_ = holdingRatio_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.changeQty_ = changeQty_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.changeRatio_ = changeRatio_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.time_ = time_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.ShareHoldingChange) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.ShareHoldingChange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.ShareHoldingChange other) { if (other == com.moomoo.openapi.pb.QotCommon.ShareHoldingChange.getDefaultInstance()) return this; if (other.hasHolderName()) { bitField0_ |= 0x00000001; holderName_ = other.holderName_; onChanged(); } if (other.hasHoldingQty()) { setHoldingQty(other.getHoldingQty()); } if (other.hasHoldingRatio()) { setHoldingRatio(other.getHoldingRatio()); } if (other.hasChangeQty()) { setChangeQty(other.getChangeQty()); } if (other.hasChangeRatio()) { setChangeRatio(other.getChangeRatio()); } if (other.hasTime()) { bitField0_ |= 0x00000020; time_ = other.time_; onChanged(); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasHolderName()) { return false; } if (!hasHoldingQty()) { return false; } if (!hasHoldingRatio()) { return false; } if (!hasChangeQty()) { return false; } if (!hasChangeRatio()) { return false; } if (!hasTime()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.ShareHoldingChange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.ShareHoldingChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object holderName_ = ""; /** *
       *持有者名称(机构名称 或 基金名称 或 高管姓名)
       * 
* * required string holderName = 1; */ public boolean hasHolderName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *持有者名称(机构名称 或 基金名称 或 高管姓名)
       * 
* * required string holderName = 1; */ public java.lang.String getHolderName() { java.lang.Object ref = holderName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { holderName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *持有者名称(机构名称 或 基金名称 或 高管姓名)
       * 
* * required string holderName = 1; */ public com.google.protobuf.ByteString getHolderNameBytes() { java.lang.Object ref = holderName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); holderName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *持有者名称(机构名称 或 基金名称 或 高管姓名)
       * 
* * required string holderName = 1; */ public Builder setHolderName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; holderName_ = value; onChanged(); return this; } /** *
       *持有者名称(机构名称 或 基金名称 或 高管姓名)
       * 
* * required string holderName = 1; */ public Builder clearHolderName() { bitField0_ = (bitField0_ & ~0x00000001); holderName_ = getDefaultInstance().getHolderName(); onChanged(); return this; } /** *
       *持有者名称(机构名称 或 基金名称 或 高管姓名)
       * 
* * required string holderName = 1; */ public Builder setHolderNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; holderName_ = value; onChanged(); return this; } private double holdingQty_ ; /** *
       *当前持股数量
       * 
* * required double holdingQty = 2; */ public boolean hasHoldingQty() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *当前持股数量
       * 
* * required double holdingQty = 2; */ public double getHoldingQty() { return holdingQty_; } /** *
       *当前持股数量
       * 
* * required double holdingQty = 2; */ public Builder setHoldingQty(double value) { bitField0_ |= 0x00000002; holdingQty_ = value; onChanged(); return this; } /** *
       *当前持股数量
       * 
* * required double holdingQty = 2; */ public Builder clearHoldingQty() { bitField0_ = (bitField0_ & ~0x00000002); holdingQty_ = 0D; onChanged(); return this; } private double holdingRatio_ ; /** *
       *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double holdingRatio = 3; */ public boolean hasHoldingRatio() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double holdingRatio = 3; */ public double getHoldingRatio() { return holdingRatio_; } /** *
       *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double holdingRatio = 3; */ public Builder setHoldingRatio(double value) { bitField0_ |= 0x00000004; holdingRatio_ = value; onChanged(); return this; } /** *
       *当前持股百分比(该字段为百分比字段,默认不展示%,如20实际对应20%)
       * 
* * required double holdingRatio = 3; */ public Builder clearHoldingRatio() { bitField0_ = (bitField0_ & ~0x00000004); holdingRatio_ = 0D; onChanged(); return this; } private double changeQty_ ; /** *
       *较上一次变动数量
       * 
* * required double changeQty = 4; */ public boolean hasChangeQty() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *较上一次变动数量
       * 
* * required double changeQty = 4; */ public double getChangeQty() { return changeQty_; } /** *
       *较上一次变动数量
       * 
* * required double changeQty = 4; */ public Builder setChangeQty(double value) { bitField0_ |= 0x00000008; changeQty_ = value; onChanged(); return this; } /** *
       *较上一次变动数量
       * 
* * required double changeQty = 4; */ public Builder clearChangeQty() { bitField0_ = (bitField0_ & ~0x00000008); changeQty_ = 0D; onChanged(); return this; } private double changeRatio_ ; /** *
       *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
       * 
* * required double changeRatio = 5; */ public boolean hasChangeRatio() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
       * 
* * required double changeRatio = 5; */ public double getChangeRatio() { return changeRatio_; } /** *
       *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
       * 
* * required double changeRatio = 5; */ public Builder setChangeRatio(double value) { bitField0_ |= 0x00000010; changeRatio_ = value; onChanged(); return this; } /** *
       *较上一次变动百分比(该字段为百分比字段,默认不展示%,如20实际对应20%。是相对于自身的比例,而不是总的。如总股本1万股,持有100股,持股百分比是1%,卖掉50股,变动比例是50%,而不是0.5%)
       * 
* * required double changeRatio = 5; */ public Builder clearChangeRatio() { bitField0_ = (bitField0_ & ~0x00000010); changeRatio_ = 0D; onChanged(); return this; } private java.lang.Object time_ = ""; /** *
       *发布时间(YYYY-MM-DD HH:MM:SS字符串)
       * 
* * required string time = 6; */ public boolean hasTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *发布时间(YYYY-MM-DD HH:MM:SS字符串)
       * 
* * required string time = 6; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *发布时间(YYYY-MM-DD HH:MM:SS字符串)
       * 
* * required string time = 6; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *发布时间(YYYY-MM-DD HH:MM:SS字符串)
       * 
* * required string time = 6; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; time_ = value; onChanged(); return this; } /** *
       *发布时间(YYYY-MM-DD HH:MM:SS字符串)
       * 
* * required string time = 6; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000020); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** *
       *发布时间(YYYY-MM-DD HH:MM:SS字符串)
       * 
* * required string time = 6; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; time_ = value; onChanged(); return this; } private double timestamp_ ; /** *
       *时间戳
       * 
* * optional double timestamp = 7; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *时间戳
       * 
* * optional double timestamp = 7; */ public double getTimestamp() { return timestamp_; } /** *
       *时间戳
       * 
* * optional double timestamp = 7; */ public Builder setTimestamp(double value) { bitField0_ |= 0x00000040; timestamp_ = value; onChanged(); return this; } /** *
       *时间戳
       * 
* * optional double timestamp = 7; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000040); timestamp_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.ShareHoldingChange) } // @@protoc_insertion_point(class_scope:Qot_Common.ShareHoldingChange) private static final com.moomoo.openapi.pb.QotCommon.ShareHoldingChange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.ShareHoldingChange(); } public static com.moomoo.openapi.pb.QotCommon.ShareHoldingChange getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ShareHoldingChange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShareHoldingChange(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.ShareHoldingChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.SubInfo) com.google.protobuf.MessageOrBuilder { /** *
     *Qot_Common.SubType,订阅类型
     * 
* * required int32 subType = 1; */ boolean hasSubType(); /** *
     *Qot_Common.SubType,订阅类型
     * 
* * required int32 subType = 1; */ int getSubType(); /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ java.util.List getSecurityListList(); /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index); /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ int getSecurityListCount(); /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ java.util.List getSecurityListOrBuilderList(); /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index); } /** * Protobuf type {@code Qot_Common.SubInfo} */ public static final class SubInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.SubInfo) SubInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SubInfo.newBuilder() to construct. private SubInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubInfo() { subType_ = 0; securityList_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; subType_ = input.readInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } securityList_.add( input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = java.util.Collections.unmodifiableList(securityList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SubInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SubInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.SubInfo.class, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder.class); } private int bitField0_; public static final int SUBTYPE_FIELD_NUMBER = 1; private int subType_; /** *
     *Qot_Common.SubType,订阅类型
     * 
* * required int32 subType = 1; */ public boolean hasSubType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *Qot_Common.SubType,订阅类型
     * 
* * required int32 subType = 1; */ public int getSubType() { return subType_; } public static final int SECURITYLIST_FIELD_NUMBER = 2; private java.util.List securityList_; /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListList() { return securityList_; } /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListOrBuilderList() { return securityList_; } /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public int getSecurityListCount() { return securityList_.size(); } /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index) { return securityList_.get(index); } /** *
     *订阅该类型行情的股票
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index) { return securityList_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSubType()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getSecurityListCount(); i++) { if (!getSecurityList(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, subType_); } for (int i = 0; i < securityList_.size(); i++) { output.writeMessage(2, securityList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, subType_); } for (int i = 0; i < securityList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, securityList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.SubInfo)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.SubInfo other = (com.moomoo.openapi.pb.QotCommon.SubInfo) obj; boolean result = true; result = result && (hasSubType() == other.hasSubType()); if (hasSubType()) { result = result && (getSubType() == other.getSubType()); } result = result && getSecurityListList() .equals(other.getSecurityListList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSubType()) { hash = (37 * hash) + SUBTYPE_FIELD_NUMBER; hash = (53 * hash) + getSubType(); } if (getSecurityListCount() > 0) { hash = (37 * hash) + SECURITYLIST_FIELD_NUMBER; hash = (53 * hash) + getSecurityListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.SubInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.SubInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.SubInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.SubInfo) com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SubInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SubInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.SubInfo.class, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.SubInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSecurityListFieldBuilder(); } } public Builder clear() { super.clear(); subType_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (securityListBuilder_ == null) { securityList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { securityListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_SubInfo_descriptor; } public com.moomoo.openapi.pb.QotCommon.SubInfo getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.SubInfo.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.SubInfo build() { com.moomoo.openapi.pb.QotCommon.SubInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.SubInfo buildPartial() { com.moomoo.openapi.pb.QotCommon.SubInfo result = new com.moomoo.openapi.pb.QotCommon.SubInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.subType_ = subType_; if (securityListBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = java.util.Collections.unmodifiableList(securityList_); bitField0_ = (bitField0_ & ~0x00000002); } result.securityList_ = securityList_; } else { result.securityList_ = securityListBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.SubInfo) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.SubInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.SubInfo other) { if (other == com.moomoo.openapi.pb.QotCommon.SubInfo.getDefaultInstance()) return this; if (other.hasSubType()) { setSubType(other.getSubType()); } if (securityListBuilder_ == null) { if (!other.securityList_.isEmpty()) { if (securityList_.isEmpty()) { securityList_ = other.securityList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSecurityListIsMutable(); securityList_.addAll(other.securityList_); } onChanged(); } } else { if (!other.securityList_.isEmpty()) { if (securityListBuilder_.isEmpty()) { securityListBuilder_.dispose(); securityListBuilder_ = null; securityList_ = other.securityList_; bitField0_ = (bitField0_ & ~0x00000002); securityListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecurityListFieldBuilder() : null; } else { securityListBuilder_.addAllMessages(other.securityList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasSubType()) { return false; } for (int i = 0; i < getSecurityListCount(); i++) { if (!getSecurityList(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.SubInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.SubInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int subType_ ; /** *
       *Qot_Common.SubType,订阅类型
       * 
* * required int32 subType = 1; */ public boolean hasSubType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *Qot_Common.SubType,订阅类型
       * 
* * required int32 subType = 1; */ public int getSubType() { return subType_; } /** *
       *Qot_Common.SubType,订阅类型
       * 
* * required int32 subType = 1; */ public Builder setSubType(int value) { bitField0_ |= 0x00000001; subType_ = value; onChanged(); return this; } /** *
       *Qot_Common.SubType,订阅类型
       * 
* * required int32 subType = 1; */ public Builder clearSubType() { bitField0_ = (bitField0_ & ~0x00000001); subType_ = 0; onChanged(); return this; } private java.util.List securityList_ = java.util.Collections.emptyList(); private void ensureSecurityListIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = new java.util.ArrayList(securityList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityListBuilder_; /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListList() { if (securityListBuilder_ == null) { return java.util.Collections.unmodifiableList(securityList_); } else { return securityListBuilder_.getMessageList(); } } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public int getSecurityListCount() { if (securityListBuilder_ == null) { return securityList_.size(); } else { return securityListBuilder_.getCount(); } } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index) { if (securityListBuilder_ == null) { return securityList_.get(index); } else { return securityListBuilder_.getMessage(index); } } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder setSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security value) { if (securityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecurityListIsMutable(); securityList_.set(index, value); onChanged(); } else { securityListBuilder_.setMessage(index, value); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder setSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.set(index, builderForValue.build()); onChanged(); } else { securityListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecurityListIsMutable(); securityList_.add(value); onChanged(); } else { securityListBuilder_.addMessage(value); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security value) { if (securityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecurityListIsMutable(); securityList_.add(index, value); onChanged(); } else { securityListBuilder_.addMessage(index, value); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.add(builderForValue.build()); onChanged(); } else { securityListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.add(index, builderForValue.build()); onChanged(); } else { securityListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addAllSecurityList( java.lang.Iterable values) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, securityList_); onChanged(); } else { securityListBuilder_.addAllMessages(values); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder clearSecurityList() { if (securityListBuilder_ == null) { securityList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { securityListBuilder_.clear(); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder removeSecurityList(int index) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.remove(index); onChanged(); } else { securityListBuilder_.remove(index); } return this; } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityListBuilder( int index) { return getSecurityListFieldBuilder().getBuilder(index); } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index) { if (securityListBuilder_ == null) { return securityList_.get(index); } else { return securityListBuilder_.getMessageOrBuilder(index); } } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListOrBuilderList() { if (securityListBuilder_ != null) { return securityListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(securityList_); } } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder addSecurityListBuilder() { return getSecurityListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()); } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder addSecurityListBuilder( int index) { return getSecurityListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()); } /** *
       *订阅该类型行情的股票
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListBuilderList() { return getSecurityListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getSecurityListFieldBuilder() { if (securityListBuilder_ == null) { securityListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( securityList_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); securityList_ = null; } return securityListBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.SubInfo) } // @@protoc_insertion_point(class_scope:Qot_Common.SubInfo) private static final com.moomoo.openapi.pb.QotCommon.SubInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.SubInfo(); } public static com.moomoo.openapi.pb.QotCommon.SubInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SubInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.SubInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConnSubInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.ConnSubInfo) com.google.protobuf.MessageOrBuilder { /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ java.util.List getSubInfoListList(); /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ com.moomoo.openapi.pb.QotCommon.SubInfo getSubInfoList(int index); /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ int getSubInfoListCount(); /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ java.util.List getSubInfoListOrBuilderList(); /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder getSubInfoListOrBuilder( int index); /** *
     *该连接已经使用的订阅额度
     * 
* * required int32 usedQuota = 2; */ boolean hasUsedQuota(); /** *
     *该连接已经使用的订阅额度
     * 
* * required int32 usedQuota = 2; */ int getUsedQuota(); /** *
     *用于区分是否是自己连接的数据
     * 
* * required bool isOwnConnData = 3; */ boolean hasIsOwnConnData(); /** *
     *用于区分是否是自己连接的数据
     * 
* * required bool isOwnConnData = 3; */ boolean getIsOwnConnData(); } /** * Protobuf type {@code Qot_Common.ConnSubInfo} */ public static final class ConnSubInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.ConnSubInfo) ConnSubInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ConnSubInfo.newBuilder() to construct. private ConnSubInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConnSubInfo() { subInfoList_ = java.util.Collections.emptyList(); usedQuota_ = 0; isOwnConnData_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConnSubInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { subInfoList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } subInfoList_.add( input.readMessage(com.moomoo.openapi.pb.QotCommon.SubInfo.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; usedQuota_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000002; isOwnConnData_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { subInfoList_ = java.util.Collections.unmodifiableList(subInfoList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ConnSubInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ConnSubInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.ConnSubInfo.class, com.moomoo.openapi.pb.QotCommon.ConnSubInfo.Builder.class); } private int bitField0_; public static final int SUBINFOLIST_FIELD_NUMBER = 1; private java.util.List subInfoList_; /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public java.util.List getSubInfoListList() { return subInfoList_; } /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public java.util.List getSubInfoListOrBuilderList() { return subInfoList_; } /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public int getSubInfoListCount() { return subInfoList_.size(); } /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfo getSubInfoList(int index) { return subInfoList_.get(index); } /** *
     *该连接订阅信息
     * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder getSubInfoListOrBuilder( int index) { return subInfoList_.get(index); } public static final int USEDQUOTA_FIELD_NUMBER = 2; private int usedQuota_; /** *
     *该连接已经使用的订阅额度
     * 
* * required int32 usedQuota = 2; */ public boolean hasUsedQuota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *该连接已经使用的订阅额度
     * 
* * required int32 usedQuota = 2; */ public int getUsedQuota() { return usedQuota_; } public static final int ISOWNCONNDATA_FIELD_NUMBER = 3; private boolean isOwnConnData_; /** *
     *用于区分是否是自己连接的数据
     * 
* * required bool isOwnConnData = 3; */ public boolean hasIsOwnConnData() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *用于区分是否是自己连接的数据
     * 
* * required bool isOwnConnData = 3; */ public boolean getIsOwnConnData() { return isOwnConnData_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasUsedQuota()) { memoizedIsInitialized = 0; return false; } if (!hasIsOwnConnData()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getSubInfoListCount(); i++) { if (!getSubInfoList(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < subInfoList_.size(); i++) { output.writeMessage(1, subInfoList_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(2, usedQuota_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(3, isOwnConnData_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < subInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, subInfoList_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, usedQuota_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isOwnConnData_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.ConnSubInfo)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.ConnSubInfo other = (com.moomoo.openapi.pb.QotCommon.ConnSubInfo) obj; boolean result = true; result = result && getSubInfoListList() .equals(other.getSubInfoListList()); result = result && (hasUsedQuota() == other.hasUsedQuota()); if (hasUsedQuota()) { result = result && (getUsedQuota() == other.getUsedQuota()); } result = result && (hasIsOwnConnData() == other.hasIsOwnConnData()); if (hasIsOwnConnData()) { result = result && (getIsOwnConnData() == other.getIsOwnConnData()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getSubInfoListCount() > 0) { hash = (37 * hash) + SUBINFOLIST_FIELD_NUMBER; hash = (53 * hash) + getSubInfoListList().hashCode(); } if (hasUsedQuota()) { hash = (37 * hash) + USEDQUOTA_FIELD_NUMBER; hash = (53 * hash) + getUsedQuota(); } if (hasIsOwnConnData()) { hash = (37 * hash) + ISOWNCONNDATA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsOwnConnData()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.ConnSubInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.ConnSubInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.ConnSubInfo) com.moomoo.openapi.pb.QotCommon.ConnSubInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ConnSubInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ConnSubInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.ConnSubInfo.class, com.moomoo.openapi.pb.QotCommon.ConnSubInfo.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.ConnSubInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSubInfoListFieldBuilder(); } } public Builder clear() { super.clear(); if (subInfoListBuilder_ == null) { subInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { subInfoListBuilder_.clear(); } usedQuota_ = 0; bitField0_ = (bitField0_ & ~0x00000002); isOwnConnData_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_ConnSubInfo_descriptor; } public com.moomoo.openapi.pb.QotCommon.ConnSubInfo getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.ConnSubInfo.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.ConnSubInfo build() { com.moomoo.openapi.pb.QotCommon.ConnSubInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.ConnSubInfo buildPartial() { com.moomoo.openapi.pb.QotCommon.ConnSubInfo result = new com.moomoo.openapi.pb.QotCommon.ConnSubInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (subInfoListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { subInfoList_ = java.util.Collections.unmodifiableList(subInfoList_); bitField0_ = (bitField0_ & ~0x00000001); } result.subInfoList_ = subInfoList_; } else { result.subInfoList_ = subInfoListBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.usedQuota_ = usedQuota_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.isOwnConnData_ = isOwnConnData_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.ConnSubInfo) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.ConnSubInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.ConnSubInfo other) { if (other == com.moomoo.openapi.pb.QotCommon.ConnSubInfo.getDefaultInstance()) return this; if (subInfoListBuilder_ == null) { if (!other.subInfoList_.isEmpty()) { if (subInfoList_.isEmpty()) { subInfoList_ = other.subInfoList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubInfoListIsMutable(); subInfoList_.addAll(other.subInfoList_); } onChanged(); } } else { if (!other.subInfoList_.isEmpty()) { if (subInfoListBuilder_.isEmpty()) { subInfoListBuilder_.dispose(); subInfoListBuilder_ = null; subInfoList_ = other.subInfoList_; bitField0_ = (bitField0_ & ~0x00000001); subInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubInfoListFieldBuilder() : null; } else { subInfoListBuilder_.addAllMessages(other.subInfoList_); } } } if (other.hasUsedQuota()) { setUsedQuota(other.getUsedQuota()); } if (other.hasIsOwnConnData()) { setIsOwnConnData(other.getIsOwnConnData()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasUsedQuota()) { return false; } if (!hasIsOwnConnData()) { return false; } for (int i = 0; i < getSubInfoListCount(); i++) { if (!getSubInfoList(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.ConnSubInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.ConnSubInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List subInfoList_ = java.util.Collections.emptyList(); private void ensureSubInfoListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { subInfoList_ = new java.util.ArrayList(subInfoList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.SubInfo, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder, com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder> subInfoListBuilder_; /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public java.util.List getSubInfoListList() { if (subInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(subInfoList_); } else { return subInfoListBuilder_.getMessageList(); } } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public int getSubInfoListCount() { if (subInfoListBuilder_ == null) { return subInfoList_.size(); } else { return subInfoListBuilder_.getCount(); } } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfo getSubInfoList(int index) { if (subInfoListBuilder_ == null) { return subInfoList_.get(index); } else { return subInfoListBuilder_.getMessage(index); } } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder setSubInfoList( int index, com.moomoo.openapi.pb.QotCommon.SubInfo value) { if (subInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubInfoListIsMutable(); subInfoList_.set(index, value); onChanged(); } else { subInfoListBuilder_.setMessage(index, value); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder setSubInfoList( int index, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder builderForValue) { if (subInfoListBuilder_ == null) { ensureSubInfoListIsMutable(); subInfoList_.set(index, builderForValue.build()); onChanged(); } else { subInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder addSubInfoList(com.moomoo.openapi.pb.QotCommon.SubInfo value) { if (subInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubInfoListIsMutable(); subInfoList_.add(value); onChanged(); } else { subInfoListBuilder_.addMessage(value); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder addSubInfoList( int index, com.moomoo.openapi.pb.QotCommon.SubInfo value) { if (subInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubInfoListIsMutable(); subInfoList_.add(index, value); onChanged(); } else { subInfoListBuilder_.addMessage(index, value); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder addSubInfoList( com.moomoo.openapi.pb.QotCommon.SubInfo.Builder builderForValue) { if (subInfoListBuilder_ == null) { ensureSubInfoListIsMutable(); subInfoList_.add(builderForValue.build()); onChanged(); } else { subInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder addSubInfoList( int index, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder builderForValue) { if (subInfoListBuilder_ == null) { ensureSubInfoListIsMutable(); subInfoList_.add(index, builderForValue.build()); onChanged(); } else { subInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder addAllSubInfoList( java.lang.Iterable values) { if (subInfoListBuilder_ == null) { ensureSubInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subInfoList_); onChanged(); } else { subInfoListBuilder_.addAllMessages(values); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder clearSubInfoList() { if (subInfoListBuilder_ == null) { subInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { subInfoListBuilder_.clear(); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public Builder removeSubInfoList(int index) { if (subInfoListBuilder_ == null) { ensureSubInfoListIsMutable(); subInfoList_.remove(index); onChanged(); } else { subInfoListBuilder_.remove(index); } return this; } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfo.Builder getSubInfoListBuilder( int index) { return getSubInfoListFieldBuilder().getBuilder(index); } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder getSubInfoListOrBuilder( int index) { if (subInfoListBuilder_ == null) { return subInfoList_.get(index); } else { return subInfoListBuilder_.getMessageOrBuilder(index); } } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public java.util.List getSubInfoListOrBuilderList() { if (subInfoListBuilder_ != null) { return subInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subInfoList_); } } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfo.Builder addSubInfoListBuilder() { return getSubInfoListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotCommon.SubInfo.getDefaultInstance()); } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public com.moomoo.openapi.pb.QotCommon.SubInfo.Builder addSubInfoListBuilder( int index) { return getSubInfoListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotCommon.SubInfo.getDefaultInstance()); } /** *
       *该连接订阅信息
       * 
* * repeated .Qot_Common.SubInfo subInfoList = 1; */ public java.util.List getSubInfoListBuilderList() { return getSubInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.SubInfo, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder, com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder> getSubInfoListFieldBuilder() { if (subInfoListBuilder_ == null) { subInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.SubInfo, com.moomoo.openapi.pb.QotCommon.SubInfo.Builder, com.moomoo.openapi.pb.QotCommon.SubInfoOrBuilder>( subInfoList_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); subInfoList_ = null; } return subInfoListBuilder_; } private int usedQuota_ ; /** *
       *该连接已经使用的订阅额度
       * 
* * required int32 usedQuota = 2; */ public boolean hasUsedQuota() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *该连接已经使用的订阅额度
       * 
* * required int32 usedQuota = 2; */ public int getUsedQuota() { return usedQuota_; } /** *
       *该连接已经使用的订阅额度
       * 
* * required int32 usedQuota = 2; */ public Builder setUsedQuota(int value) { bitField0_ |= 0x00000002; usedQuota_ = value; onChanged(); return this; } /** *
       *该连接已经使用的订阅额度
       * 
* * required int32 usedQuota = 2; */ public Builder clearUsedQuota() { bitField0_ = (bitField0_ & ~0x00000002); usedQuota_ = 0; onChanged(); return this; } private boolean isOwnConnData_ ; /** *
       *用于区分是否是自己连接的数据
       * 
* * required bool isOwnConnData = 3; */ public boolean hasIsOwnConnData() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *用于区分是否是自己连接的数据
       * 
* * required bool isOwnConnData = 3; */ public boolean getIsOwnConnData() { return isOwnConnData_; } /** *
       *用于区分是否是自己连接的数据
       * 
* * required bool isOwnConnData = 3; */ public Builder setIsOwnConnData(boolean value) { bitField0_ |= 0x00000004; isOwnConnData_ = value; onChanged(); return this; } /** *
       *用于区分是否是自己连接的数据
       * 
* * required bool isOwnConnData = 3; */ public Builder clearIsOwnConnData() { bitField0_ = (bitField0_ & ~0x00000004); isOwnConnData_ = false; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.ConnSubInfo) } // @@protoc_insertion_point(class_scope:Qot_Common.ConnSubInfo) private static final com.moomoo.openapi.pb.QotCommon.ConnSubInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.ConnSubInfo(); } public static com.moomoo.openapi.pb.QotCommon.ConnSubInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ConnSubInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConnSubInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.ConnSubInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PlateInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.PlateInfo) com.google.protobuf.MessageOrBuilder { /** *
     *板块
     * 
* * required .Qot_Common.Security plate = 1; */ boolean hasPlate(); /** *
     *板块
     * 
* * required .Qot_Common.Security plate = 1; */ com.moomoo.openapi.pb.QotCommon.Security getPlate(); /** *
     *板块
     * 
* * required .Qot_Common.Security plate = 1; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getPlateOrBuilder(); /** *
     *板块名字
     * 
* * required string name = 2; */ boolean hasName(); /** *
     *板块名字
     * 
* * required string name = 2; */ java.lang.String getName(); /** *
     *板块名字
     * 
* * required string name = 2; */ com.google.protobuf.ByteString getNameBytes(); /** *
     *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
     * 
* * optional int32 plateType = 3; */ boolean hasPlateType(); /** *
     *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
     * 
* * optional int32 plateType = 3; */ int getPlateType(); } /** * Protobuf type {@code Qot_Common.PlateInfo} */ public static final class PlateInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.PlateInfo) PlateInfoOrBuilder { private static final long serialVersionUID = 0L; // Use PlateInfo.newBuilder() to construct. private PlateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PlateInfo() { name_ = ""; plateType_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PlateInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = plate_.toBuilder(); } plate_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(plate_); plate_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 24: { bitField0_ |= 0x00000004; plateType_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PlateInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PlateInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.PlateInfo.class, com.moomoo.openapi.pb.QotCommon.PlateInfo.Builder.class); } private int bitField0_; public static final int PLATE_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.QotCommon.Security plate_; /** *
     *板块
     * 
* * required .Qot_Common.Security plate = 1; */ public boolean hasPlate() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *板块
     * 
* * required .Qot_Common.Security plate = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getPlate() { return plate_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : plate_; } /** *
     *板块
     * 
* * required .Qot_Common.Security plate = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getPlateOrBuilder() { return plate_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : plate_; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     *板块名字
     * 
* * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *板块名字
     * 
* * required string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     *板块名字
     * 
* * required string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLATETYPE_FIELD_NUMBER = 3; private int plateType_; /** *
     *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
     * 
* * optional int32 plateType = 3; */ public boolean hasPlateType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
     * 
* * optional int32 plateType = 3; */ public int getPlateType() { return plateType_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPlate()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!getPlate().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getPlate()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, plateType_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPlate()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, plateType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.PlateInfo)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.PlateInfo other = (com.moomoo.openapi.pb.QotCommon.PlateInfo) obj; boolean result = true; result = result && (hasPlate() == other.hasPlate()); if (hasPlate()) { result = result && getPlate() .equals(other.getPlate()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasPlateType() == other.hasPlateType()); if (hasPlateType()) { result = result && (getPlateType() == other.getPlateType()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPlate()) { hash = (37 * hash) + PLATE_FIELD_NUMBER; hash = (53 * hash) + getPlate().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasPlateType()) { hash = (37 * hash) + PLATETYPE_FIELD_NUMBER; hash = (53 * hash) + getPlateType(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.PlateInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.PlateInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.PlateInfo) com.moomoo.openapi.pb.QotCommon.PlateInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PlateInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PlateInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.PlateInfo.class, com.moomoo.openapi.pb.QotCommon.PlateInfo.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.PlateInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPlateFieldBuilder(); } } public Builder clear() { super.clear(); if (plateBuilder_ == null) { plate_ = null; } else { plateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); plateType_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_PlateInfo_descriptor; } public com.moomoo.openapi.pb.QotCommon.PlateInfo getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.PlateInfo.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.PlateInfo build() { com.moomoo.openapi.pb.QotCommon.PlateInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.PlateInfo buildPartial() { com.moomoo.openapi.pb.QotCommon.PlateInfo result = new com.moomoo.openapi.pb.QotCommon.PlateInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (plateBuilder_ == null) { result.plate_ = plate_; } else { result.plate_ = plateBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.plateType_ = plateType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.PlateInfo) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.PlateInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.PlateInfo other) { if (other == com.moomoo.openapi.pb.QotCommon.PlateInfo.getDefaultInstance()) return this; if (other.hasPlate()) { mergePlate(other.getPlate()); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasPlateType()) { setPlateType(other.getPlateType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasPlate()) { return false; } if (!hasName()) { return false; } if (!getPlate().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.PlateInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.PlateInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.QotCommon.Security plate_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> plateBuilder_; /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public boolean hasPlate() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getPlate() { if (plateBuilder_ == null) { return plate_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : plate_; } else { return plateBuilder_.getMessage(); } } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public Builder setPlate(com.moomoo.openapi.pb.QotCommon.Security value) { if (plateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } plate_ = value; onChanged(); } else { plateBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public Builder setPlate( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (plateBuilder_ == null) { plate_ = builderForValue.build(); onChanged(); } else { plateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public Builder mergePlate(com.moomoo.openapi.pb.QotCommon.Security value) { if (plateBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && plate_ != null && plate_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { plate_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(plate_).mergeFrom(value).buildPartial(); } else { plate_ = value; } onChanged(); } else { plateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public Builder clearPlate() { if (plateBuilder_ == null) { plate_ = null; onChanged(); } else { plateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getPlateBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPlateFieldBuilder().getBuilder(); } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getPlateOrBuilder() { if (plateBuilder_ != null) { return plateBuilder_.getMessageOrBuilder(); } else { return plate_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : plate_; } } /** *
       *板块
       * 
* * required .Qot_Common.Security plate = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getPlateFieldBuilder() { if (plateBuilder_ == null) { plateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getPlate(), getParentForChildren(), isClean()); plate_ = null; } return plateBuilder_; } private java.lang.Object name_ = ""; /** *
       *板块名字
       * 
* * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *板块名字
       * 
* * required string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *板块名字
       * 
* * required string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *板块名字
       * 
* * required string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       *板块名字
       * 
* * required string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       *板块名字
       * 
* * required string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private int plateType_ ; /** *
       *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
       * 
* * optional int32 plateType = 3; */ public boolean hasPlateType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
       * 
* * optional int32 plateType = 3; */ public int getPlateType() { return plateType_; } /** *
       *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
       * 
* * optional int32 plateType = 3; */ public Builder setPlateType(int value) { bitField0_ |= 0x00000004; plateType_ = value; onChanged(); return this; } /** *
       *PlateSetType 板块类型, 仅3207(获取股票所属板块)协议返回该字段
       * 
* * optional int32 plateType = 3; */ public Builder clearPlateType() { bitField0_ = (bitField0_ & ~0x00000004); plateType_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.PlateInfo) } // @@protoc_insertion_point(class_scope:Qot_Common.PlateInfo) private static final com.moomoo.openapi.pb.QotCommon.PlateInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.PlateInfo(); } public static com.moomoo.openapi.pb.QotCommon.PlateInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public PlateInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PlateInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.PlateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RehabOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_Common.Rehab) com.google.protobuf.MessageOrBuilder { /** *
     *时间字符串
     * 
* * required string time = 1; */ boolean hasTime(); /** *
     *时间字符串
     * 
* * required string time = 1; */ java.lang.String getTime(); /** *
     *时间字符串
     * 
* * required string time = 1; */ com.google.protobuf.ByteString getTimeBytes(); /** *
     *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
     * 
* * required int64 companyActFlag = 2; */ boolean hasCompanyActFlag(); /** *
     *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
     * 
* * required int64 companyActFlag = 2; */ long getCompanyActFlag(); /** *
     *前复权因子A
     * 
* * required double fwdFactorA = 3; */ boolean hasFwdFactorA(); /** *
     *前复权因子A
     * 
* * required double fwdFactorA = 3; */ double getFwdFactorA(); /** *
     *前复权因子B
     * 
* * required double fwdFactorB = 4; */ boolean hasFwdFactorB(); /** *
     *前复权因子B
     * 
* * required double fwdFactorB = 4; */ double getFwdFactorB(); /** *
     *后复权因子A
     * 
* * required double bwdFactorA = 5; */ boolean hasBwdFactorA(); /** *
     *后复权因子A
     * 
* * required double bwdFactorA = 5; */ double getBwdFactorA(); /** *
     *后复权因子B
     * 
* * required double bwdFactorB = 6; */ boolean hasBwdFactorB(); /** *
     *后复权因子B
     * 
* * required double bwdFactorB = 6; */ double getBwdFactorB(); /** *
     *拆股(例如,1拆5,Base为1,Ert为5)
     * 
* * optional int32 splitBase = 7; */ boolean hasSplitBase(); /** *
     *拆股(例如,1拆5,Base为1,Ert为5)
     * 
* * optional int32 splitBase = 7; */ int getSplitBase(); /** * optional int32 splitErt = 8; */ boolean hasSplitErt(); /** * optional int32 splitErt = 8; */ int getSplitErt(); /** *
     *合股(例如,50合1,Base为50,Ert为1)
     * 
* * optional int32 joinBase = 9; */ boolean hasJoinBase(); /** *
     *合股(例如,50合1,Base为50,Ert为1)
     * 
* * optional int32 joinBase = 9; */ int getJoinBase(); /** * optional int32 joinErt = 10; */ boolean hasJoinErt(); /** * optional int32 joinErt = 10; */ int getJoinErt(); /** *
     *送股(例如,10送3, Base为10,Ert为3)
     * 
* * optional int32 bonusBase = 11; */ boolean hasBonusBase(); /** *
     *送股(例如,10送3, Base为10,Ert为3)
     * 
* * optional int32 bonusBase = 11; */ int getBonusBase(); /** * optional int32 bonusErt = 12; */ boolean hasBonusErt(); /** * optional int32 bonusErt = 12; */ int getBonusErt(); /** *
     *转赠股(例如,10转3, Base为10,Ert为3)
     * 
* * optional int32 transferBase = 13; */ boolean hasTransferBase(); /** *
     *转赠股(例如,10转3, Base为10,Ert为3)
     * 
* * optional int32 transferBase = 13; */ int getTransferBase(); /** * optional int32 transferErt = 14; */ boolean hasTransferErt(); /** * optional int32 transferErt = 14; */ int getTransferErt(); /** *
     *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 allotBase = 15; */ boolean hasAllotBase(); /** *
     *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 allotBase = 15; */ int getAllotBase(); /** * optional int32 allotErt = 16; */ boolean hasAllotErt(); /** * optional int32 allotErt = 16; */ int getAllotErt(); /** * optional double allotPrice = 17; */ boolean hasAllotPrice(); /** * optional double allotPrice = 17; */ double getAllotPrice(); /** *
     *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 addBase = 18; */ boolean hasAddBase(); /** *
     *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 addBase = 18; */ int getAddBase(); /** * optional int32 addErt = 19; */ boolean hasAddErt(); /** * optional int32 addErt = 19; */ int getAddErt(); /** * optional double addPrice = 20; */ boolean hasAddPrice(); /** * optional double addPrice = 20; */ double getAddPrice(); /** *
     *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
     * 
* * optional double dividend = 21; */ boolean hasDividend(); /** *
     *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
     * 
* * optional double dividend = 21; */ double getDividend(); /** *
     *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
     * 
* * optional double spDividend = 22; */ boolean hasSpDividend(); /** *
     *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
     * 
* * optional double spDividend = 22; */ double getSpDividend(); /** *
     *时间戳
     * 
* * optional double timestamp = 23; */ boolean hasTimestamp(); /** *
     *时间戳
     * 
* * optional double timestamp = 23; */ double getTimestamp(); } /** * Protobuf type {@code Qot_Common.Rehab} */ public static final class Rehab extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_Common.Rehab) RehabOrBuilder { private static final long serialVersionUID = 0L; // Use Rehab.newBuilder() to construct. private Rehab(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Rehab() { time_ = ""; companyActFlag_ = 0L; fwdFactorA_ = 0D; fwdFactorB_ = 0D; bwdFactorA_ = 0D; bwdFactorB_ = 0D; splitBase_ = 0; splitErt_ = 0; joinBase_ = 0; joinErt_ = 0; bonusBase_ = 0; bonusErt_ = 0; transferBase_ = 0; transferErt_ = 0; allotBase_ = 0; allotErt_ = 0; allotPrice_ = 0D; addBase_ = 0; addErt_ = 0; addPrice_ = 0D; dividend_ = 0D; spDividend_ = 0D; timestamp_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Rehab( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; time_ = bs; break; } case 16: { bitField0_ |= 0x00000002; companyActFlag_ = input.readInt64(); break; } case 25: { bitField0_ |= 0x00000004; fwdFactorA_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; fwdFactorB_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; bwdFactorA_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000020; bwdFactorB_ = input.readDouble(); break; } case 56: { bitField0_ |= 0x00000040; splitBase_ = input.readInt32(); break; } case 64: { bitField0_ |= 0x00000080; splitErt_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000100; joinBase_ = input.readInt32(); break; } case 80: { bitField0_ |= 0x00000200; joinErt_ = input.readInt32(); break; } case 88: { bitField0_ |= 0x00000400; bonusBase_ = input.readInt32(); break; } case 96: { bitField0_ |= 0x00000800; bonusErt_ = input.readInt32(); break; } case 104: { bitField0_ |= 0x00001000; transferBase_ = input.readInt32(); break; } case 112: { bitField0_ |= 0x00002000; transferErt_ = input.readInt32(); break; } case 120: { bitField0_ |= 0x00004000; allotBase_ = input.readInt32(); break; } case 128: { bitField0_ |= 0x00008000; allotErt_ = input.readInt32(); break; } case 137: { bitField0_ |= 0x00010000; allotPrice_ = input.readDouble(); break; } case 144: { bitField0_ |= 0x00020000; addBase_ = input.readInt32(); break; } case 152: { bitField0_ |= 0x00040000; addErt_ = input.readInt32(); break; } case 161: { bitField0_ |= 0x00080000; addPrice_ = input.readDouble(); break; } case 169: { bitField0_ |= 0x00100000; dividend_ = input.readDouble(); break; } case 177: { bitField0_ |= 0x00200000; spDividend_ = input.readDouble(); break; } case 185: { bitField0_ |= 0x00400000; timestamp_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Rehab_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Rehab_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Rehab.class, com.moomoo.openapi.pb.QotCommon.Rehab.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private volatile java.lang.Object time_; /** *
     *时间字符串
     * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *时间字符串
     * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; 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(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** *
     *时间字符串
     * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPANYACTFLAG_FIELD_NUMBER = 2; private long companyActFlag_; /** *
     *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
     * 
* * required int64 companyActFlag = 2; */ public boolean hasCompanyActFlag() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
     * 
* * required int64 companyActFlag = 2; */ public long getCompanyActFlag() { return companyActFlag_; } public static final int FWDFACTORA_FIELD_NUMBER = 3; private double fwdFactorA_; /** *
     *前复权因子A
     * 
* * required double fwdFactorA = 3; */ public boolean hasFwdFactorA() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *前复权因子A
     * 
* * required double fwdFactorA = 3; */ public double getFwdFactorA() { return fwdFactorA_; } public static final int FWDFACTORB_FIELD_NUMBER = 4; private double fwdFactorB_; /** *
     *前复权因子B
     * 
* * required double fwdFactorB = 4; */ public boolean hasFwdFactorB() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *前复权因子B
     * 
* * required double fwdFactorB = 4; */ public double getFwdFactorB() { return fwdFactorB_; } public static final int BWDFACTORA_FIELD_NUMBER = 5; private double bwdFactorA_; /** *
     *后复权因子A
     * 
* * required double bwdFactorA = 5; */ public boolean hasBwdFactorA() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *后复权因子A
     * 
* * required double bwdFactorA = 5; */ public double getBwdFactorA() { return bwdFactorA_; } public static final int BWDFACTORB_FIELD_NUMBER = 6; private double bwdFactorB_; /** *
     *后复权因子B
     * 
* * required double bwdFactorB = 6; */ public boolean hasBwdFactorB() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *后复权因子B
     * 
* * required double bwdFactorB = 6; */ public double getBwdFactorB() { return bwdFactorB_; } public static final int SPLITBASE_FIELD_NUMBER = 7; private int splitBase_; /** *
     *拆股(例如,1拆5,Base为1,Ert为5)
     * 
* * optional int32 splitBase = 7; */ public boolean hasSplitBase() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *拆股(例如,1拆5,Base为1,Ert为5)
     * 
* * optional int32 splitBase = 7; */ public int getSplitBase() { return splitBase_; } public static final int SPLITERT_FIELD_NUMBER = 8; private int splitErt_; /** * optional int32 splitErt = 8; */ public boolean hasSplitErt() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int32 splitErt = 8; */ public int getSplitErt() { return splitErt_; } public static final int JOINBASE_FIELD_NUMBER = 9; private int joinBase_; /** *
     *合股(例如,50合1,Base为50,Ert为1)
     * 
* * optional int32 joinBase = 9; */ public boolean hasJoinBase() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *合股(例如,50合1,Base为50,Ert为1)
     * 
* * optional int32 joinBase = 9; */ public int getJoinBase() { return joinBase_; } public static final int JOINERT_FIELD_NUMBER = 10; private int joinErt_; /** * optional int32 joinErt = 10; */ public boolean hasJoinErt() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional int32 joinErt = 10; */ public int getJoinErt() { return joinErt_; } public static final int BONUSBASE_FIELD_NUMBER = 11; private int bonusBase_; /** *
     *送股(例如,10送3, Base为10,Ert为3)
     * 
* * optional int32 bonusBase = 11; */ public boolean hasBonusBase() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *送股(例如,10送3, Base为10,Ert为3)
     * 
* * optional int32 bonusBase = 11; */ public int getBonusBase() { return bonusBase_; } public static final int BONUSERT_FIELD_NUMBER = 12; private int bonusErt_; /** * optional int32 bonusErt = 12; */ public boolean hasBonusErt() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional int32 bonusErt = 12; */ public int getBonusErt() { return bonusErt_; } public static final int TRANSFERBASE_FIELD_NUMBER = 13; private int transferBase_; /** *
     *转赠股(例如,10转3, Base为10,Ert为3)
     * 
* * optional int32 transferBase = 13; */ public boolean hasTransferBase() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
     *转赠股(例如,10转3, Base为10,Ert为3)
     * 
* * optional int32 transferBase = 13; */ public int getTransferBase() { return transferBase_; } public static final int TRANSFERERT_FIELD_NUMBER = 14; private int transferErt_; /** * optional int32 transferErt = 14; */ public boolean hasTransferErt() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional int32 transferErt = 14; */ public int getTransferErt() { return transferErt_; } public static final int ALLOTBASE_FIELD_NUMBER = 15; private int allotBase_; /** *
     *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 allotBase = 15; */ public boolean hasAllotBase() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
     *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 allotBase = 15; */ public int getAllotBase() { return allotBase_; } public static final int ALLOTERT_FIELD_NUMBER = 16; private int allotErt_; /** * optional int32 allotErt = 16; */ public boolean hasAllotErt() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional int32 allotErt = 16; */ public int getAllotErt() { return allotErt_; } public static final int ALLOTPRICE_FIELD_NUMBER = 17; private double allotPrice_; /** * optional double allotPrice = 17; */ public boolean hasAllotPrice() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional double allotPrice = 17; */ public double getAllotPrice() { return allotPrice_; } public static final int ADDBASE_FIELD_NUMBER = 18; private int addBase_; /** *
     *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 addBase = 18; */ public boolean hasAddBase() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
     *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
     * 
* * optional int32 addBase = 18; */ public int getAddBase() { return addBase_; } public static final int ADDERT_FIELD_NUMBER = 19; private int addErt_; /** * optional int32 addErt = 19; */ public boolean hasAddErt() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional int32 addErt = 19; */ public int getAddErt() { return addErt_; } public static final int ADDPRICE_FIELD_NUMBER = 20; private double addPrice_; /** * optional double addPrice = 20; */ public boolean hasAddPrice() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional double addPrice = 20; */ public double getAddPrice() { return addPrice_; } public static final int DIVIDEND_FIELD_NUMBER = 21; private double dividend_; /** *
     *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
     * 
* * optional double dividend = 21; */ public boolean hasDividend() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** *
     *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
     * 
* * optional double dividend = 21; */ public double getDividend() { return dividend_; } public static final int SPDIVIDEND_FIELD_NUMBER = 22; private double spDividend_; /** *
     *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
     * 
* * optional double spDividend = 22; */ public boolean hasSpDividend() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** *
     *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
     * 
* * optional double spDividend = 22; */ public double getSpDividend() { return spDividend_; } public static final int TIMESTAMP_FIELD_NUMBER = 23; private double timestamp_; /** *
     *时间戳
     * 
* * optional double timestamp = 23; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** *
     *时间戳
     * 
* * optional double timestamp = 23; */ public double getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTime()) { memoizedIsInitialized = 0; return false; } if (!hasCompanyActFlag()) { memoizedIsInitialized = 0; return false; } if (!hasFwdFactorA()) { memoizedIsInitialized = 0; return false; } if (!hasFwdFactorB()) { memoizedIsInitialized = 0; return false; } if (!hasBwdFactorA()) { memoizedIsInitialized = 0; return false; } if (!hasBwdFactorB()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, companyActFlag_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, fwdFactorA_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, fwdFactorB_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, bwdFactorA_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(6, bwdFactorB_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, splitBase_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, splitErt_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(9, joinBase_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeInt32(10, joinErt_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeInt32(11, bonusBase_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeInt32(12, bonusErt_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeInt32(13, transferBase_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeInt32(14, transferErt_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeInt32(15, allotBase_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeInt32(16, allotErt_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeDouble(17, allotPrice_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeInt32(18, addBase_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeInt32(19, addErt_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeDouble(20, addPrice_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeDouble(21, dividend_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { output.writeDouble(22, spDividend_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { output.writeDouble(23, timestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, time_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, companyActFlag_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, fwdFactorA_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, fwdFactorB_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, bwdFactorA_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, bwdFactorB_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, splitBase_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, splitErt_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, joinBase_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, joinErt_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, bonusBase_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, bonusErt_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(13, transferBase_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, transferErt_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(15, allotBase_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(16, allotErt_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(17, allotPrice_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(18, addBase_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(19, addErt_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(20, addPrice_); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(21, dividend_); } if (((bitField0_ & 0x00200000) == 0x00200000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(22, spDividend_); } if (((bitField0_ & 0x00400000) == 0x00400000)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(23, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.moomoo.openapi.pb.QotCommon.Rehab)) { return super.equals(obj); } com.moomoo.openapi.pb.QotCommon.Rehab other = (com.moomoo.openapi.pb.QotCommon.Rehab) obj; boolean result = true; result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && (hasCompanyActFlag() == other.hasCompanyActFlag()); if (hasCompanyActFlag()) { result = result && (getCompanyActFlag() == other.getCompanyActFlag()); } result = result && (hasFwdFactorA() == other.hasFwdFactorA()); if (hasFwdFactorA()) { result = result && ( java.lang.Double.doubleToLongBits(getFwdFactorA()) == java.lang.Double.doubleToLongBits( other.getFwdFactorA())); } result = result && (hasFwdFactorB() == other.hasFwdFactorB()); if (hasFwdFactorB()) { result = result && ( java.lang.Double.doubleToLongBits(getFwdFactorB()) == java.lang.Double.doubleToLongBits( other.getFwdFactorB())); } result = result && (hasBwdFactorA() == other.hasBwdFactorA()); if (hasBwdFactorA()) { result = result && ( java.lang.Double.doubleToLongBits(getBwdFactorA()) == java.lang.Double.doubleToLongBits( other.getBwdFactorA())); } result = result && (hasBwdFactorB() == other.hasBwdFactorB()); if (hasBwdFactorB()) { result = result && ( java.lang.Double.doubleToLongBits(getBwdFactorB()) == java.lang.Double.doubleToLongBits( other.getBwdFactorB())); } result = result && (hasSplitBase() == other.hasSplitBase()); if (hasSplitBase()) { result = result && (getSplitBase() == other.getSplitBase()); } result = result && (hasSplitErt() == other.hasSplitErt()); if (hasSplitErt()) { result = result && (getSplitErt() == other.getSplitErt()); } result = result && (hasJoinBase() == other.hasJoinBase()); if (hasJoinBase()) { result = result && (getJoinBase() == other.getJoinBase()); } result = result && (hasJoinErt() == other.hasJoinErt()); if (hasJoinErt()) { result = result && (getJoinErt() == other.getJoinErt()); } result = result && (hasBonusBase() == other.hasBonusBase()); if (hasBonusBase()) { result = result && (getBonusBase() == other.getBonusBase()); } result = result && (hasBonusErt() == other.hasBonusErt()); if (hasBonusErt()) { result = result && (getBonusErt() == other.getBonusErt()); } result = result && (hasTransferBase() == other.hasTransferBase()); if (hasTransferBase()) { result = result && (getTransferBase() == other.getTransferBase()); } result = result && (hasTransferErt() == other.hasTransferErt()); if (hasTransferErt()) { result = result && (getTransferErt() == other.getTransferErt()); } result = result && (hasAllotBase() == other.hasAllotBase()); if (hasAllotBase()) { result = result && (getAllotBase() == other.getAllotBase()); } result = result && (hasAllotErt() == other.hasAllotErt()); if (hasAllotErt()) { result = result && (getAllotErt() == other.getAllotErt()); } result = result && (hasAllotPrice() == other.hasAllotPrice()); if (hasAllotPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getAllotPrice()) == java.lang.Double.doubleToLongBits( other.getAllotPrice())); } result = result && (hasAddBase() == other.hasAddBase()); if (hasAddBase()) { result = result && (getAddBase() == other.getAddBase()); } result = result && (hasAddErt() == other.hasAddErt()); if (hasAddErt()) { result = result && (getAddErt() == other.getAddErt()); } result = result && (hasAddPrice() == other.hasAddPrice()); if (hasAddPrice()) { result = result && ( java.lang.Double.doubleToLongBits(getAddPrice()) == java.lang.Double.doubleToLongBits( other.getAddPrice())); } result = result && (hasDividend() == other.hasDividend()); if (hasDividend()) { result = result && ( java.lang.Double.doubleToLongBits(getDividend()) == java.lang.Double.doubleToLongBits( other.getDividend())); } result = result && (hasSpDividend() == other.hasSpDividend()); if (hasSpDividend()) { result = result && ( java.lang.Double.doubleToLongBits(getSpDividend()) == java.lang.Double.doubleToLongBits( other.getSpDividend())); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getTimestamp()) == java.lang.Double.doubleToLongBits( other.getTimestamp())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasCompanyActFlag()) { hash = (37 * hash) + COMPANYACTFLAG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCompanyActFlag()); } if (hasFwdFactorA()) { hash = (37 * hash) + FWDFACTORA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getFwdFactorA())); } if (hasFwdFactorB()) { hash = (37 * hash) + FWDFACTORB_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getFwdFactorB())); } if (hasBwdFactorA()) { hash = (37 * hash) + BWDFACTORA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBwdFactorA())); } if (hasBwdFactorB()) { hash = (37 * hash) + BWDFACTORB_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBwdFactorB())); } if (hasSplitBase()) { hash = (37 * hash) + SPLITBASE_FIELD_NUMBER; hash = (53 * hash) + getSplitBase(); } if (hasSplitErt()) { hash = (37 * hash) + SPLITERT_FIELD_NUMBER; hash = (53 * hash) + getSplitErt(); } if (hasJoinBase()) { hash = (37 * hash) + JOINBASE_FIELD_NUMBER; hash = (53 * hash) + getJoinBase(); } if (hasJoinErt()) { hash = (37 * hash) + JOINERT_FIELD_NUMBER; hash = (53 * hash) + getJoinErt(); } if (hasBonusBase()) { hash = (37 * hash) + BONUSBASE_FIELD_NUMBER; hash = (53 * hash) + getBonusBase(); } if (hasBonusErt()) { hash = (37 * hash) + BONUSERT_FIELD_NUMBER; hash = (53 * hash) + getBonusErt(); } if (hasTransferBase()) { hash = (37 * hash) + TRANSFERBASE_FIELD_NUMBER; hash = (53 * hash) + getTransferBase(); } if (hasTransferErt()) { hash = (37 * hash) + TRANSFERERT_FIELD_NUMBER; hash = (53 * hash) + getTransferErt(); } if (hasAllotBase()) { hash = (37 * hash) + ALLOTBASE_FIELD_NUMBER; hash = (53 * hash) + getAllotBase(); } if (hasAllotErt()) { hash = (37 * hash) + ALLOTERT_FIELD_NUMBER; hash = (53 * hash) + getAllotErt(); } if (hasAllotPrice()) { hash = (37 * hash) + ALLOTPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAllotPrice())); } if (hasAddBase()) { hash = (37 * hash) + ADDBASE_FIELD_NUMBER; hash = (53 * hash) + getAddBase(); } if (hasAddErt()) { hash = (37 * hash) + ADDERT_FIELD_NUMBER; hash = (53 * hash) + getAddErt(); } if (hasAddPrice()) { hash = (37 * hash) + ADDPRICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAddPrice())); } if (hasDividend()) { hash = (37 * hash) + DIVIDEND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDividend())); } if (hasSpDividend()) { hash = (37 * hash) + SPDIVIDEND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSpDividend())); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTimestamp())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotCommon.Rehab parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.moomoo.openapi.pb.QotCommon.Rehab prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Qot_Common.Rehab} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_Common.Rehab) com.moomoo.openapi.pb.QotCommon.RehabOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Rehab_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Rehab_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotCommon.Rehab.class, com.moomoo.openapi.pb.QotCommon.Rehab.Builder.class); } // Construct using com.moomoo.openapi.pb.QotCommon.Rehab.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); time_ = ""; bitField0_ = (bitField0_ & ~0x00000001); companyActFlag_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); fwdFactorA_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); fwdFactorB_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); bwdFactorA_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); bwdFactorB_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); splitBase_ = 0; bitField0_ = (bitField0_ & ~0x00000040); splitErt_ = 0; bitField0_ = (bitField0_ & ~0x00000080); joinBase_ = 0; bitField0_ = (bitField0_ & ~0x00000100); joinErt_ = 0; bitField0_ = (bitField0_ & ~0x00000200); bonusBase_ = 0; bitField0_ = (bitField0_ & ~0x00000400); bonusErt_ = 0; bitField0_ = (bitField0_ & ~0x00000800); transferBase_ = 0; bitField0_ = (bitField0_ & ~0x00001000); transferErt_ = 0; bitField0_ = (bitField0_ & ~0x00002000); allotBase_ = 0; bitField0_ = (bitField0_ & ~0x00004000); allotErt_ = 0; bitField0_ = (bitField0_ & ~0x00008000); allotPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00010000); addBase_ = 0; bitField0_ = (bitField0_ & ~0x00020000); addErt_ = 0; bitField0_ = (bitField0_ & ~0x00040000); addPrice_ = 0D; bitField0_ = (bitField0_ & ~0x00080000); dividend_ = 0D; bitField0_ = (bitField0_ & ~0x00100000); spDividend_ = 0D; bitField0_ = (bitField0_ & ~0x00200000); timestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00400000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotCommon.internal_static_Qot_Common_Rehab_descriptor; } public com.moomoo.openapi.pb.QotCommon.Rehab getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotCommon.Rehab.getDefaultInstance(); } public com.moomoo.openapi.pb.QotCommon.Rehab build() { com.moomoo.openapi.pb.QotCommon.Rehab result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotCommon.Rehab buildPartial() { com.moomoo.openapi.pb.QotCommon.Rehab result = new com.moomoo.openapi.pb.QotCommon.Rehab(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.time_ = time_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.companyActFlag_ = companyActFlag_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.fwdFactorA_ = fwdFactorA_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.fwdFactorB_ = fwdFactorB_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.bwdFactorA_ = bwdFactorA_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.bwdFactorB_ = bwdFactorB_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.splitBase_ = splitBase_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.splitErt_ = splitErt_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.joinBase_ = joinBase_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.joinErt_ = joinErt_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.bonusBase_ = bonusBase_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.bonusErt_ = bonusErt_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.transferBase_ = transferBase_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.transferErt_ = transferErt_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.allotBase_ = allotBase_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.allotErt_ = allotErt_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.allotPrice_ = allotPrice_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.addBase_ = addBase_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } result.addErt_ = addErt_; if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00080000; } result.addPrice_ = addPrice_; if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00100000; } result.dividend_ = dividend_; if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00200000; } result.spDividend_ = spDividend_; if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00400000; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.moomoo.openapi.pb.QotCommon.Rehab) { return mergeFrom((com.moomoo.openapi.pb.QotCommon.Rehab)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotCommon.Rehab other) { if (other == com.moomoo.openapi.pb.QotCommon.Rehab.getDefaultInstance()) return this; if (other.hasTime()) { bitField0_ |= 0x00000001; time_ = other.time_; onChanged(); } if (other.hasCompanyActFlag()) { setCompanyActFlag(other.getCompanyActFlag()); } if (other.hasFwdFactorA()) { setFwdFactorA(other.getFwdFactorA()); } if (other.hasFwdFactorB()) { setFwdFactorB(other.getFwdFactorB()); } if (other.hasBwdFactorA()) { setBwdFactorA(other.getBwdFactorA()); } if (other.hasBwdFactorB()) { setBwdFactorB(other.getBwdFactorB()); } if (other.hasSplitBase()) { setSplitBase(other.getSplitBase()); } if (other.hasSplitErt()) { setSplitErt(other.getSplitErt()); } if (other.hasJoinBase()) { setJoinBase(other.getJoinBase()); } if (other.hasJoinErt()) { setJoinErt(other.getJoinErt()); } if (other.hasBonusBase()) { setBonusBase(other.getBonusBase()); } if (other.hasBonusErt()) { setBonusErt(other.getBonusErt()); } if (other.hasTransferBase()) { setTransferBase(other.getTransferBase()); } if (other.hasTransferErt()) { setTransferErt(other.getTransferErt()); } if (other.hasAllotBase()) { setAllotBase(other.getAllotBase()); } if (other.hasAllotErt()) { setAllotErt(other.getAllotErt()); } if (other.hasAllotPrice()) { setAllotPrice(other.getAllotPrice()); } if (other.hasAddBase()) { setAddBase(other.getAddBase()); } if (other.hasAddErt()) { setAddErt(other.getAddErt()); } if (other.hasAddPrice()) { setAddPrice(other.getAddPrice()); } if (other.hasDividend()) { setDividend(other.getDividend()); } if (other.hasSpDividend()) { setSpDividend(other.getSpDividend()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTime()) { return false; } if (!hasCompanyActFlag()) { return false; } if (!hasFwdFactorA()) { return false; } if (!hasFwdFactorB()) { return false; } if (!hasBwdFactorA()) { return false; } if (!hasBwdFactorB()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.QotCommon.Rehab parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotCommon.Rehab) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object time_ = ""; /** *
       *时间字符串
       * 
* * required string time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *时间字符串
       * 
* * required string time = 1; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *时间字符串
       * 
* * required string time = 1; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000001); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** *
       *时间字符串
       * 
* * required string time = 1; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } private long companyActFlag_ ; /** *
       *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
       * 
* * required int64 companyActFlag = 2; */ public boolean hasCompanyActFlag() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
       * 
* * required int64 companyActFlag = 2; */ public long getCompanyActFlag() { return companyActFlag_; } /** *
       *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
       * 
* * required int64 companyActFlag = 2; */ public Builder setCompanyActFlag(long value) { bitField0_ |= 0x00000002; companyActFlag_ = value; onChanged(); return this; } /** *
       *公司行动(CompanyAct)组合标志位,指定某些字段值是否有效
       * 
* * required int64 companyActFlag = 2; */ public Builder clearCompanyActFlag() { bitField0_ = (bitField0_ & ~0x00000002); companyActFlag_ = 0L; onChanged(); return this; } private double fwdFactorA_ ; /** *
       *前复权因子A
       * 
* * required double fwdFactorA = 3; */ public boolean hasFwdFactorA() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *前复权因子A
       * 
* * required double fwdFactorA = 3; */ public double getFwdFactorA() { return fwdFactorA_; } /** *
       *前复权因子A
       * 
* * required double fwdFactorA = 3; */ public Builder setFwdFactorA(double value) { bitField0_ |= 0x00000004; fwdFactorA_ = value; onChanged(); return this; } /** *
       *前复权因子A
       * 
* * required double fwdFactorA = 3; */ public Builder clearFwdFactorA() { bitField0_ = (bitField0_ & ~0x00000004); fwdFactorA_ = 0D; onChanged(); return this; } private double fwdFactorB_ ; /** *
       *前复权因子B
       * 
* * required double fwdFactorB = 4; */ public boolean hasFwdFactorB() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *前复权因子B
       * 
* * required double fwdFactorB = 4; */ public double getFwdFactorB() { return fwdFactorB_; } /** *
       *前复权因子B
       * 
* * required double fwdFactorB = 4; */ public Builder setFwdFactorB(double value) { bitField0_ |= 0x00000008; fwdFactorB_ = value; onChanged(); return this; } /** *
       *前复权因子B
       * 
* * required double fwdFactorB = 4; */ public Builder clearFwdFactorB() { bitField0_ = (bitField0_ & ~0x00000008); fwdFactorB_ = 0D; onChanged(); return this; } private double bwdFactorA_ ; /** *
       *后复权因子A
       * 
* * required double bwdFactorA = 5; */ public boolean hasBwdFactorA() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *后复权因子A
       * 
* * required double bwdFactorA = 5; */ public double getBwdFactorA() { return bwdFactorA_; } /** *
       *后复权因子A
       * 
* * required double bwdFactorA = 5; */ public Builder setBwdFactorA(double value) { bitField0_ |= 0x00000010; bwdFactorA_ = value; onChanged(); return this; } /** *
       *后复权因子A
       * 
* * required double bwdFactorA = 5; */ public Builder clearBwdFactorA() { bitField0_ = (bitField0_ & ~0x00000010); bwdFactorA_ = 0D; onChanged(); return this; } private double bwdFactorB_ ; /** *
       *后复权因子B
       * 
* * required double bwdFactorB = 6; */ public boolean hasBwdFactorB() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *后复权因子B
       * 
* * required double bwdFactorB = 6; */ public double getBwdFactorB() { return bwdFactorB_; } /** *
       *后复权因子B
       * 
* * required double bwdFactorB = 6; */ public Builder setBwdFactorB(double value) { bitField0_ |= 0x00000020; bwdFactorB_ = value; onChanged(); return this; } /** *
       *后复权因子B
       * 
* * required double bwdFactorB = 6; */ public Builder clearBwdFactorB() { bitField0_ = (bitField0_ & ~0x00000020); bwdFactorB_ = 0D; onChanged(); return this; } private int splitBase_ ; /** *
       *拆股(例如,1拆5,Base为1,Ert为5)
       * 
* * optional int32 splitBase = 7; */ public boolean hasSplitBase() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *拆股(例如,1拆5,Base为1,Ert为5)
       * 
* * optional int32 splitBase = 7; */ public int getSplitBase() { return splitBase_; } /** *
       *拆股(例如,1拆5,Base为1,Ert为5)
       * 
* * optional int32 splitBase = 7; */ public Builder setSplitBase(int value) { bitField0_ |= 0x00000040; splitBase_ = value; onChanged(); return this; } /** *
       *拆股(例如,1拆5,Base为1,Ert为5)
       * 
* * optional int32 splitBase = 7; */ public Builder clearSplitBase() { bitField0_ = (bitField0_ & ~0x00000040); splitBase_ = 0; onChanged(); return this; } private int splitErt_ ; /** * optional int32 splitErt = 8; */ public boolean hasSplitErt() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int32 splitErt = 8; */ public int getSplitErt() { return splitErt_; } /** * optional int32 splitErt = 8; */ public Builder setSplitErt(int value) { bitField0_ |= 0x00000080; splitErt_ = value; onChanged(); return this; } /** * optional int32 splitErt = 8; */ public Builder clearSplitErt() { bitField0_ = (bitField0_ & ~0x00000080); splitErt_ = 0; onChanged(); return this; } private int joinBase_ ; /** *
       *合股(例如,50合1,Base为50,Ert为1)
       * 
* * optional int32 joinBase = 9; */ public boolean hasJoinBase() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *合股(例如,50合1,Base为50,Ert为1)
       * 
* * optional int32 joinBase = 9; */ public int getJoinBase() { return joinBase_; } /** *
       *合股(例如,50合1,Base为50,Ert为1)
       * 
* * optional int32 joinBase = 9; */ public Builder setJoinBase(int value) { bitField0_ |= 0x00000100; joinBase_ = value; onChanged(); return this; } /** *
       *合股(例如,50合1,Base为50,Ert为1)
       * 
* * optional int32 joinBase = 9; */ public Builder clearJoinBase() { bitField0_ = (bitField0_ & ~0x00000100); joinBase_ = 0; onChanged(); return this; } private int joinErt_ ; /** * optional int32 joinErt = 10; */ public boolean hasJoinErt() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional int32 joinErt = 10; */ public int getJoinErt() { return joinErt_; } /** * optional int32 joinErt = 10; */ public Builder setJoinErt(int value) { bitField0_ |= 0x00000200; joinErt_ = value; onChanged(); return this; } /** * optional int32 joinErt = 10; */ public Builder clearJoinErt() { bitField0_ = (bitField0_ & ~0x00000200); joinErt_ = 0; onChanged(); return this; } private int bonusBase_ ; /** *
       *送股(例如,10送3, Base为10,Ert为3)
       * 
* * optional int32 bonusBase = 11; */ public boolean hasBonusBase() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *送股(例如,10送3, Base为10,Ert为3)
       * 
* * optional int32 bonusBase = 11; */ public int getBonusBase() { return bonusBase_; } /** *
       *送股(例如,10送3, Base为10,Ert为3)
       * 
* * optional int32 bonusBase = 11; */ public Builder setBonusBase(int value) { bitField0_ |= 0x00000400; bonusBase_ = value; onChanged(); return this; } /** *
       *送股(例如,10送3, Base为10,Ert为3)
       * 
* * optional int32 bonusBase = 11; */ public Builder clearBonusBase() { bitField0_ = (bitField0_ & ~0x00000400); bonusBase_ = 0; onChanged(); return this; } private int bonusErt_ ; /** * optional int32 bonusErt = 12; */ public boolean hasBonusErt() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional int32 bonusErt = 12; */ public int getBonusErt() { return bonusErt_; } /** * optional int32 bonusErt = 12; */ public Builder setBonusErt(int value) { bitField0_ |= 0x00000800; bonusErt_ = value; onChanged(); return this; } /** * optional int32 bonusErt = 12; */ public Builder clearBonusErt() { bitField0_ = (bitField0_ & ~0x00000800); bonusErt_ = 0; onChanged(); return this; } private int transferBase_ ; /** *
       *转赠股(例如,10转3, Base为10,Ert为3)
       * 
* * optional int32 transferBase = 13; */ public boolean hasTransferBase() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
       *转赠股(例如,10转3, Base为10,Ert为3)
       * 
* * optional int32 transferBase = 13; */ public int getTransferBase() { return transferBase_; } /** *
       *转赠股(例如,10转3, Base为10,Ert为3)
       * 
* * optional int32 transferBase = 13; */ public Builder setTransferBase(int value) { bitField0_ |= 0x00001000; transferBase_ = value; onChanged(); return this; } /** *
       *转赠股(例如,10转3, Base为10,Ert为3)
       * 
* * optional int32 transferBase = 13; */ public Builder clearTransferBase() { bitField0_ = (bitField0_ & ~0x00001000); transferBase_ = 0; onChanged(); return this; } private int transferErt_ ; /** * optional int32 transferErt = 14; */ public boolean hasTransferErt() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional int32 transferErt = 14; */ public int getTransferErt() { return transferErt_; } /** * optional int32 transferErt = 14; */ public Builder setTransferErt(int value) { bitField0_ |= 0x00002000; transferErt_ = value; onChanged(); return this; } /** * optional int32 transferErt = 14; */ public Builder clearTransferErt() { bitField0_ = (bitField0_ & ~0x00002000); transferErt_ = 0; onChanged(); return this; } private int allotBase_ ; /** *
       *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 allotBase = 15; */ public boolean hasAllotBase() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
       *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 allotBase = 15; */ public int getAllotBase() { return allotBase_; } /** *
       *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 allotBase = 15; */ public Builder setAllotBase(int value) { bitField0_ |= 0x00004000; allotBase_ = value; onChanged(); return this; } /** *
       *配股(例如,10送2, 配股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 allotBase = 15; */ public Builder clearAllotBase() { bitField0_ = (bitField0_ & ~0x00004000); allotBase_ = 0; onChanged(); return this; } private int allotErt_ ; /** * optional int32 allotErt = 16; */ public boolean hasAllotErt() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional int32 allotErt = 16; */ public int getAllotErt() { return allotErt_; } /** * optional int32 allotErt = 16; */ public Builder setAllotErt(int value) { bitField0_ |= 0x00008000; allotErt_ = value; onChanged(); return this; } /** * optional int32 allotErt = 16; */ public Builder clearAllotErt() { bitField0_ = (bitField0_ & ~0x00008000); allotErt_ = 0; onChanged(); return this; } private double allotPrice_ ; /** * optional double allotPrice = 17; */ public boolean hasAllotPrice() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional double allotPrice = 17; */ public double getAllotPrice() { return allotPrice_; } /** * optional double allotPrice = 17; */ public Builder setAllotPrice(double value) { bitField0_ |= 0x00010000; allotPrice_ = value; onChanged(); return this; } /** * optional double allotPrice = 17; */ public Builder clearAllotPrice() { bitField0_ = (bitField0_ & ~0x00010000); allotPrice_ = 0D; onChanged(); return this; } private int addBase_ ; /** *
       *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 addBase = 18; */ public boolean hasAddBase() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
       *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 addBase = 18; */ public int getAddBase() { return addBase_; } /** *
       *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 addBase = 18; */ public Builder setAddBase(int value) { bitField0_ |= 0x00020000; addBase_ = value; onChanged(); return this; } /** *
       *增发股(例如,10送2, 增发股价为6.3元, Base为10, Ert为2, Price为6.3)
       * 
* * optional int32 addBase = 18; */ public Builder clearAddBase() { bitField0_ = (bitField0_ & ~0x00020000); addBase_ = 0; onChanged(); return this; } private int addErt_ ; /** * optional int32 addErt = 19; */ public boolean hasAddErt() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional int32 addErt = 19; */ public int getAddErt() { return addErt_; } /** * optional int32 addErt = 19; */ public Builder setAddErt(int value) { bitField0_ |= 0x00040000; addErt_ = value; onChanged(); return this; } /** * optional int32 addErt = 19; */ public Builder clearAddErt() { bitField0_ = (bitField0_ & ~0x00040000); addErt_ = 0; onChanged(); return this; } private double addPrice_ ; /** * optional double addPrice = 20; */ public boolean hasAddPrice() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional double addPrice = 20; */ public double getAddPrice() { return addPrice_; } /** * optional double addPrice = 20; */ public Builder setAddPrice(double value) { bitField0_ |= 0x00080000; addPrice_ = value; onChanged(); return this; } /** * optional double addPrice = 20; */ public Builder clearAddPrice() { bitField0_ = (bitField0_ & ~0x00080000); addPrice_ = 0D; onChanged(); return this; } private double dividend_ ; /** *
       *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
       * 
* * optional double dividend = 21; */ public boolean hasDividend() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** *
       *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
       * 
* * optional double dividend = 21; */ public double getDividend() { return dividend_; } /** *
       *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
       * 
* * optional double dividend = 21; */ public Builder setDividend(double value) { bitField0_ |= 0x00100000; dividend_ = value; onChanged(); return this; } /** *
       *现金分红(例如,每10股派现0.5元,则该字段值为0.05)
       * 
* * optional double dividend = 21; */ public Builder clearDividend() { bitField0_ = (bitField0_ & ~0x00100000); dividend_ = 0D; onChanged(); return this; } private double spDividend_ ; /** *
       *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
       * 
* * optional double spDividend = 22; */ public boolean hasSpDividend() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** *
       *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
       * 
* * optional double spDividend = 22; */ public double getSpDividend() { return spDividend_; } /** *
       *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
       * 
* * optional double spDividend = 22; */ public Builder setSpDividend(double value) { bitField0_ |= 0x00200000; spDividend_ = value; onChanged(); return this; } /** *
       *特别股息(例如,每10股派特别股息0.5元,则该字段值为0.05)
       * 
* * optional double spDividend = 22; */ public Builder clearSpDividend() { bitField0_ = (bitField0_ & ~0x00200000); spDividend_ = 0D; onChanged(); return this; } private double timestamp_ ; /** *
       *时间戳
       * 
* * optional double timestamp = 23; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** *
       *时间戳
       * 
* * optional double timestamp = 23; */ public double getTimestamp() { return timestamp_; } /** *
       *时间戳
       * 
* * optional double timestamp = 23; */ public Builder setTimestamp(double value) { bitField0_ |= 0x00400000; timestamp_ = value; onChanged(); return this; } /** *
       *时间戳
       * 
* * optional double timestamp = 23; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00400000); timestamp_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_Common.Rehab) } // @@protoc_insertion_point(class_scope:Qot_Common.Rehab) private static final com.moomoo.openapi.pb.QotCommon.Rehab DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotCommon.Rehab(); } public static com.moomoo.openapi.pb.QotCommon.Rehab getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Rehab parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Rehab(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.moomoo.openapi.pb.QotCommon.Rehab getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_Security_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_Security_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_KLine_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_KLine_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_OptionBasicQotExData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_OptionBasicQotExData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_PreAfterMarketData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_PreAfterMarketData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_FutureBasicQotExData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_FutureBasicQotExData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_WarrantBasicQotExData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_WarrantBasicQotExData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_BasicQot_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_BasicQot_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_TimeShare_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_TimeShare_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_SecurityStaticBasic_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_SecurityStaticBasic_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_WarrantStaticExData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_WarrantStaticExData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_OptionStaticExData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_OptionStaticExData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_FutureStaticExData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_FutureStaticExData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_SecurityStaticInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_SecurityStaticInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_Broker_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_Broker_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_Ticker_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_Ticker_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_OrderBookDetail_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_OrderBookDetail_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_OrderBook_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_OrderBook_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_ShareHoldingChange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_ShareHoldingChange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_SubInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_SubInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_ConnSubInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_ConnSubInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_PlateInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_PlateInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_Common_Rehab_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_Common_Rehab_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\020Qot_Common.proto\022\nQot_Common\032\014Common.p" + "roto\"(\n\010Security\022\016\n\006market\030\001 \002(\005\022\014\n\004code" + "\030\002 \002(\t\"\365\001\n\005KLine\022\014\n\004time\030\001 \002(\t\022\017\n\007isBlan" + "k\030\002 \002(\010\022\021\n\thighPrice\030\003 \001(\001\022\021\n\topenPrice\030" + "\004 \001(\001\022\020\n\010lowPrice\030\005 \001(\001\022\022\n\nclosePrice\030\006 " + "\001(\001\022\026\n\016lastClosePrice\030\007 \001(\001\022\016\n\006volume\030\010 " + "\001(\003\022\020\n\010turnover\030\t \001(\001\022\024\n\014turnoverRate\030\n " + "\001(\001\022\n\n\002pe\030\013 \001(\001\022\022\n\nchangeRate\030\014 \001(\001\022\021\n\tt" + "imestamp\030\r \001(\001\"\242\003\n\024OptionBasicQotExData\022" + "\023\n\013strikePrice\030\001 \002(\001\022\024\n\014contractSize\030\002 \002" + "(\005\022\031\n\021contractSizeFloat\030\021 \001(\001\022\024\n\014openInt" + "erest\030\003 \002(\005\022\031\n\021impliedVolatility\030\004 \002(\001\022\017" + "\n\007premium\030\005 \002(\001\022\r\n\005delta\030\006 \002(\001\022\r\n\005gamma\030" + "\007 \002(\001\022\014\n\004vega\030\010 \002(\001\022\r\n\005theta\030\t \002(\001\022\013\n\003rh" + "o\030\n \002(\001\022\027\n\017netOpenInterest\030\013 \001(\005\022\032\n\022expi" + "ryDateDistance\030\014 \001(\005\022\034\n\024contractNominalV" + "alue\030\r \001(\001\022\032\n\022ownerLotMultiplier\030\016 \001(\001\022\026" + "\n\016optionAreaType\030\017 \001(\005\022\032\n\022contractMultip" + "lier\030\020 \001(\001\022\027\n\017indexOptionType\030\022 \001(\005\"\244\001\n\022" + "PreAfterMarketData\022\r\n\005price\030\001 \001(\001\022\021\n\thig" + "hPrice\030\002 \001(\001\022\020\n\010lowPrice\030\003 \001(\001\022\016\n\006volume" + "\030\004 \001(\003\022\020\n\010turnover\030\005 \001(\001\022\021\n\tchangeVal\030\006 " + "\001(\001\022\022\n\nchangeRate\030\007 \001(\001\022\021\n\tamplitude\030\010 \001" + "(\001\"u\n\024FutureBasicQotExData\022\027\n\017lastSettle" + "Price\030\001 \002(\001\022\020\n\010position\030\002 \002(\005\022\026\n\016positio" + "nChange\030\003 \002(\005\022\032\n\022expiryDateDistance\030\004 \001(" + "\005\"R\n\025WarrantBasicQotExData\022\r\n\005delta\030\001 \001(" + "\001\022\031\n\021impliedVolatility\030\002 \001(\001\022\017\n\007premium\030" + "\003 \002(\001\"\246\005\n\010BasicQot\022&\n\010security\030\001 \002(\0132\024.Q" + "ot_Common.Security\022\014\n\004name\030\030 \001(\t\022\023\n\013isSu" + "spended\030\002 \002(\010\022\020\n\010listTime\030\003 \002(\t\022\023\n\013price" + "Spread\030\004 \002(\001\022\022\n\nupdateTime\030\005 \002(\t\022\021\n\thigh" + "Price\030\006 \002(\001\022\021\n\topenPrice\030\007 \002(\001\022\020\n\010lowPri" + "ce\030\010 \002(\001\022\020\n\010curPrice\030\t \002(\001\022\026\n\016lastCloseP" + "rice\030\n \002(\001\022\016\n\006volume\030\013 \002(\003\022\020\n\010turnover\030\014" + " \002(\001\022\024\n\014turnoverRate\030\r \002(\001\022\021\n\tamplitude\030" + "\016 \002(\001\022\022\n\ndarkStatus\030\017 \001(\005\0226\n\014optionExDat" + "a\030\020 \001(\0132 .Qot_Common.OptionBasicQotExDat" + "a\022\025\n\rlistTimestamp\030\021 \001(\001\022\027\n\017updateTimest" + "amp\030\022 \001(\001\0221\n\tpreMarket\030\023 \001(\0132\036.Qot_Commo" + "n.PreAfterMarketData\0223\n\013afterMarket\030\024 \001(" + "\0132\036.Qot_Common.PreAfterMarketData\022\021\n\tsec" + "Status\030\025 \001(\005\0226\n\014futureExData\030\026 \001(\0132 .Qot" + "_Common.FutureBasicQotExData\0228\n\rwarrantE" + "xData\030\027 \001(\0132!.Qot_Common.WarrantBasicQot" + "ExData\"\250\001\n\tTimeShare\022\014\n\004time\030\001 \002(\t\022\016\n\006mi" + "nute\030\002 \002(\005\022\017\n\007isBlank\030\003 \002(\010\022\r\n\005price\030\004 \001" + "(\001\022\026\n\016lastClosePrice\030\005 \001(\001\022\020\n\010avgPrice\030\006" + " \001(\001\022\016\n\006volume\030\007 \001(\003\022\020\n\010turnover\030\010 \001(\001\022\021" + "\n\ttimestamp\030\t \001(\001\"\307\001\n\023SecurityStaticBasi" + "c\022&\n\010security\030\001 \002(\0132\024.Qot_Common.Securit" + "y\022\n\n\002id\030\002 \002(\003\022\017\n\007lotSize\030\003 \002(\005\022\017\n\007secTyp" + "e\030\004 \002(\005\022\014\n\004name\030\005 \002(\t\022\020\n\010listTime\030\006 \002(\t\022" + "\021\n\tdelisting\030\007 \001(\010\022\025\n\rlistTimestamp\030\010 \001(" + "\001\022\020\n\010exchType\030\t \001(\005\"H\n\023WarrantStaticExDa" + "ta\022\014\n\004type\030\001 \002(\005\022#\n\005owner\030\002 \002(\0132\024.Qot_Co" + "mmon.Security\"\303\001\n\022OptionStaticExData\022\014\n\004" + "type\030\001 \002(\005\022#\n\005owner\030\002 \002(\0132\024.Qot_Common.S" + "ecurity\022\022\n\nstrikeTime\030\003 \002(\t\022\023\n\013strikePri" + "ce\030\004 \002(\001\022\017\n\007suspend\030\005 \002(\010\022\016\n\006market\030\006 \002(" + "\t\022\027\n\017strikeTimestamp\030\007 \001(\001\022\027\n\017indexOptio" + "nType\030\010 \001(\005\"_\n\022FutureStaticExData\022\025\n\rlas" + "tTradeTime\030\001 \002(\t\022\032\n\022lastTradeTimestamp\030\002" + " \001(\001\022\026\n\016isMainContract\030\003 \002(\010\"\350\001\n\022Securit" + "yStaticInfo\022.\n\005basic\030\001 \002(\0132\037.Qot_Common." + "SecurityStaticBasic\0226\n\rwarrantExData\030\002 \001" + "(\0132\037.Qot_Common.WarrantStaticExData\0224\n\014o" + "ptionExData\030\003 \001(\0132\036.Qot_Common.OptionSta" + "ticExData\0224\n\014futureExData\030\004 \001(\0132\036.Qot_Co" + "mmon.FutureStaticExData\"P\n\006Broker\022\n\n\002id\030" + "\001 \002(\003\022\014\n\004name\030\002 \002(\t\022\013\n\003pos\030\003 \002(\005\022\017\n\007orde" + "rID\030\004 \001(\003\022\016\n\006volume\030\005 \001(\003\"\301\001\n\006Ticker\022\014\n\004" + "time\030\001 \002(\t\022\020\n\010sequence\030\002 \002(\003\022\013\n\003dir\030\003 \002(" + "\005\022\r\n\005price\030\004 \002(\001\022\016\n\006volume\030\005 \002(\003\022\020\n\010turn" + "over\030\006 \002(\001\022\020\n\010recvTime\030\007 \001(\001\022\014\n\004type\030\010 \001" + "(\005\022\020\n\010typeSign\030\t \001(\005\022\024\n\014pushDataType\030\n \001" + "(\005\022\021\n\ttimestamp\030\013 \001(\001\"2\n\017OrderBookDetail" + "\022\017\n\007orderID\030\001 \002(\003\022\016\n\006volume\030\002 \002(\003\"p\n\tOrd" + "erBook\022\r\n\005price\030\001 \002(\001\022\016\n\006volume\030\002 \002(\003\022\023\n" + "\013orederCount\030\003 \002(\005\022/\n\ndetailList\030\004 \003(\0132\033" + ".Qot_Common.OrderBookDetail\"\233\001\n\022ShareHol" + "dingChange\022\022\n\nholderName\030\001 \002(\t\022\022\n\nholdin" + "gQty\030\002 \002(\001\022\024\n\014holdingRatio\030\003 \002(\001\022\021\n\tchan" + "geQty\030\004 \002(\001\022\023\n\013changeRatio\030\005 \002(\001\022\014\n\004time" + "\030\006 \002(\t\022\021\n\ttimestamp\030\007 \001(\001\"F\n\007SubInfo\022\017\n\007" + "subType\030\001 \002(\005\022*\n\014securityList\030\002 \003(\0132\024.Qo" + "t_Common.Security\"a\n\013ConnSubInfo\022(\n\013subI" + "nfoList\030\001 \003(\0132\023.Qot_Common.SubInfo\022\021\n\tus" + "edQuota\030\002 \002(\005\022\025\n\risOwnConnData\030\003 \002(\010\"Q\n\t" + "PlateInfo\022#\n\005plate\030\001 \002(\0132\024.Qot_Common.Se" + "curity\022\014\n\004name\030\002 \002(\t\022\021\n\tplateType\030\003 \001(\005\"" + "\272\003\n\005Rehab\022\014\n\004time\030\001 \002(\t\022\026\n\016companyActFla" + "g\030\002 \002(\003\022\022\n\nfwdFactorA\030\003 \002(\001\022\022\n\nfwdFactor" + "B\030\004 \002(\001\022\022\n\nbwdFactorA\030\005 \002(\001\022\022\n\nbwdFactor" + "B\030\006 \002(\001\022\021\n\tsplitBase\030\007 \001(\005\022\020\n\010splitErt\030\010" + " \001(\005\022\020\n\010joinBase\030\t \001(\005\022\017\n\007joinErt\030\n \001(\005\022" + "\021\n\tbonusBase\030\013 \001(\005\022\020\n\010bonusErt\030\014 \001(\005\022\024\n\014" + "transferBase\030\r \001(\005\022\023\n\013transferErt\030\016 \001(\005\022" + "\021\n\tallotBase\030\017 \001(\005\022\020\n\010allotErt\030\020 \001(\005\022\022\n\n" + "allotPrice\030\021 \001(\001\022\017\n\007addBase\030\022 \001(\005\022\016\n\006add" + "Ert\030\023 \001(\005\022\020\n\010addPrice\030\024 \001(\001\022\020\n\010dividend\030" + "\025 \001(\001\022\022\n\nspDividend\030\026 \001(\001\022\021\n\ttimestamp\030\027" + " \001(\001*\341\001\n\tQotMarket\022\025\n\021QotMarket_Unknown\020" + "\000\022\031\n\025QotMarket_HK_Security\020\001\022\027\n\023QotMarke" + "t_HK_Future\020\002\022\031\n\025QotMarket_US_Security\020\013" + "\022\033\n\027QotMarket_CNSH_Security\020\025\022\033\n\027QotMark" + "et_CNSZ_Security\020\026\022\031\n\025QotMarket_SG_Secur" + "ity\020\037\022\031\n\025QotMarket_JP_Security\020)*\232\002\n\014Sec" + "urityType\022\030\n\024SecurityType_Unknown\020\000\022\025\n\021S" + "ecurityType_Bond\020\001\022\025\n\021SecurityType_Bwrt\020" + "\002\022\025\n\021SecurityType_Eqty\020\003\022\026\n\022SecurityType" + "_Trust\020\004\022\030\n\024SecurityType_Warrant\020\005\022\026\n\022Se" + "curityType_Index\020\006\022\026\n\022SecurityType_Plate" + "\020\007\022\025\n\021SecurityType_Drvt\020\010\022\031\n\025SecurityTyp" + "e_PlateSet\020\t\022\027\n\023SecurityType_Future\020\n*\212\001" + "\n\014PlateSetType\022\024\n\020PlateSetType_All\020\000\022\031\n\025" + "PlateSetType_Industry\020\001\022\027\n\023PlateSetType_" + "Region\020\002\022\030\n\024PlateSetType_Concept\020\003\022\026\n\022Pl" + "ateSetType_Other\020\004*\225\001\n\013WarrantType\022\027\n\023Wa" + "rrantType_Unknown\020\000\022\023\n\017WarrantType_Buy\020\001" + "\022\024\n\020WarrantType_Sell\020\002\022\024\n\020WarrantType_Bu" + "ll\020\003\022\024\n\020WarrantType_Bear\020\004\022\026\n\022WarrantTyp" + "e_InLine\020\005*M\n\nOptionType\022\026\n\022OptionType_U" + "nknown\020\000\022\023\n\017OptionType_Call\020\001\022\022\n\016OptionT" + "ype_Put\020\002*e\n\017IndexOptionType\022\033\n\027IndexOpt" + "ionType_Unknown\020\000\022\032\n\026IndexOptionType_Nor" + "mal\020\001\022\031\n\025IndexOptionType_Small\020\002*\202\001\n\016Opt" + "ionAreaType\022\032\n\026OptionAreaType_Unknown\020\000\022" + "\033\n\027OptionAreaType_American\020\001\022\033\n\027OptionAr" + "eaType_European\020\002\022\032\n\026OptionAreaType_Berm" + "uda\020\003*\250\007\n\016QotMarketState\022\027\n\023QotMarketSta" + "te_None\020\000\022\032\n\026QotMarketState_Auction\020\001\022\036\n" + "\032QotMarketState_WaitingOpen\020\002\022\032\n\026QotMark" + "etState_Morning\020\003\022\027\n\023QotMarketState_Rest" + "\020\004\022\034\n\030QotMarketState_Afternoon\020\005\022\031\n\025QotM" + "arketState_Closed\020\006\022!\n\035QotMarketState_Pr" + "eMarketBegin\020\010\022\037\n\033QotMarketState_PreMark" + "etEnd\020\t\022\"\n\036QotMarketState_AfterHoursBegi" + "n\020\n\022 \n\034QotMarketState_AfterHoursEnd\020\013\022\034\n" + "\030QotMarketState_NightOpen\020\r\022\033\n\027QotMarket" + "State_NightEnd\020\016\022 \n\034QotMarketState_Futur" + "eDayOpen\020\017\022!\n\035QotMarketState_FutureDayBr" + "eak\020\020\022!\n\035QotMarketState_FutureDayClose\020\021" + "\022\'\n#QotMarketState_FutureDayWaitForOpen\020" + "\022\022\030\n\024QotMarketState_HkCas\020\023\022\"\n\036QotMarket" + "State_FutureNightWait\020\024\022\"\n\036QotMarketStat" + "e_FutureAfternoon\020\025\022#\n\037QotMarketState_Fu" + "tureSwitchDate\020\026\022\035\n\031QotMarketState_Futur" + "eOpen\020\027\022\036\n\032QotMarketState_FutureBreak\020\030\022" + "\"\n\036QotMarketState_FutureBreakOver\020\031\022\036\n\032Q" + "otMarketState_FutureClose\020\032\022%\n!QotMarket" + "State_StibAfterHoursWait\020\033\022&\n\"QotMarketS" + "tate_StibAfterHoursBegin\020\034\022$\n QotMarketS" + "tate_StibAfterHoursEnd\020\035*\344\001\n\017TradeDateMa" + "rket\022\033\n\027TradeDateMarket_Unknown\020\000\022\026\n\022Tra" + "deDateMarket_HK\020\001\022\026\n\022TradeDateMarket_US\020" + "\002\022\026\n\022TradeDateMarket_CN\020\003\022\026\n\022TradeDateMa" + "rket_NT\020\004\022\026\n\022TradeDateMarket_ST\020\005\022\035\n\031Tra" + "deDateMarket_JP_Future\020\006\022\035\n\031TradeDateMar" + "ket_SG_Future\020\007*`\n\rTradeDateType\022\027\n\023Trad" + "eDateType_Whole\020\000\022\031\n\025TradeDateType_Morni" + "ng\020\001\022\033\n\027TradeDateType_Afternoon\020\002*N\n\tReh" + "abType\022\022\n\016RehabType_None\020\000\022\025\n\021RehabType_" + "Forward\020\001\022\026\n\022RehabType_Backward\020\002*\335\001\n\006KL" + "Type\022\022\n\016KLType_Unknown\020\000\022\017\n\013KLType_1Min\020" + "\001\022\016\n\nKLType_Day\020\002\022\017\n\013KLType_Week\020\003\022\020\n\014KL" + "Type_Month\020\004\022\017\n\013KLType_Year\020\005\022\017\n\013KLType_" + "5Min\020\006\022\020\n\014KLType_15Min\020\007\022\020\n\014KLType_30Min" + "\020\010\022\020\n\014KLType_60Min\020\t\022\017\n\013KLType_3Min\020\n\022\022\n" + "\016KLType_Quarter\020\013*\365\001\n\010KLFields\022\021\n\rKLFiel" + "ds_None\020\000\022\021\n\rKLFields_High\020\001\022\021\n\rKLFields" + "_Open\020\002\022\020\n\014KLFields_Low\020\004\022\022\n\016KLFields_Cl" + "ose\020\010\022\026\n\022KLFields_LastClose\020\020\022\023\n\017KLField" + "s_Volume\020 \022\025\n\021KLFields_Turnover\020@\022\032\n\025KLF" + "ields_TurnoverRate\020\200\001\022\020\n\013KLFields_PE\020\200\002\022" + "\030\n\023KLFields_ChangeRate\020\200\004*\352\002\n\007SubType\022\020\n" + "\014SubType_None\020\000\022\021\n\rSubType_Basic\020\001\022\025\n\021Su" + "bType_OrderBook\020\002\022\022\n\016SubType_Ticker\020\004\022\016\n" + "\nSubType_RT\020\005\022\022\n\016SubType_KL_Day\020\006\022\023\n\017Sub" + "Type_KL_5Min\020\007\022\024\n\020SubType_KL_15Min\020\010\022\024\n\020" + "SubType_KL_30Min\020\t\022\024\n\020SubType_KL_60Min\020\n" + "\022\023\n\017SubType_KL_1Min\020\013\022\023\n\017SubType_KL_Week" + "\020\014\022\024\n\020SubType_KL_Month\020\r\022\022\n\016SubType_Brok" + "er\020\016\022\026\n\022SubType_KL_Qurater\020\017\022\023\n\017SubType_" + "KL_Year\020\020\022\023\n\017SubType_KL_3Min\020\021*}\n\017Ticker" + "Direction\022\033\n\027TickerDirection_Unknown\020\000\022\027" + "\n\023TickerDirection_Bid\020\001\022\027\n\023TickerDirecti" + "on_Ask\020\002\022\033\n\027TickerDirection_Neutral\020\003*\234\007" + "\n\nTickerType\022\026\n\022TickerType_Unknown\020\000\022\030\n\024" + "TickerType_Automatch\020\001\022\023\n\017TickerType_Lat" + "e\020\002\022\034\n\030TickerType_NoneAutomatch\020\003\022\035\n\031Tic" + "kerType_InterAutomatch\020\004\022!\n\035TickerType_I" + "nterNoneAutomatch\020\005\022\025\n\021TickerType_OddLot" + "\020\006\022\026\n\022TickerType_Auction\020\007\022\023\n\017TickerType" + "_Bulk\020\010\022\024\n\020TickerType_Crash\020\t\022\032\n\026TickerT" + "ype_CrossMarket\020\n\022\027\n\023TickerType_BulkSold" + "\020\013\022\032\n\026TickerType_FreeOnBoard\020\014\022\033\n\027Ticker" + "Type_Rule127Or155\020\r\022\024\n\020TickerType_Delay\020" + "\016\022%\n!TickerType_MarketCenterClosePrice\020\017" + "\022\026\n\022TickerType_NextDay\020\020\022\"\n\036TickerType_M" + "arketCenterOpening\020\021\022\"\n\036TickerType_Prior" + "ReferencePrice\020\022\022$\n TickerType_MarketCen" + "terOpenPrice\020\023\022\025\n\021TickerType_Seller\020\024\022\020\n" + "\014TickerType_T\020\025\022#\n\037TickerType_ExtendedTr" + "adingHours\020\026\022\031\n\025TickerType_Contingent\020\027\022" + "\027\n\023TickerType_AvgPrice\020\030\022\026\n\022TickerType_O" + "TCSold\020\031\022 \n\034TickerType_OddLotCrossMarket" + "\020\032\022!\n\035TickerType_DerivativelyPriced\020\033\022\036\n" + "\032TickerType_ReOpeningPriced\020\034\022\034\n\030TickerT" + "ype_ClosingPriced\020\035\022&\n\"TickerType_Compre" + "hensiveDelayPrice\020\036\022\027\n\023TickerType_Overse" + "as\020\037*M\n\nDarkStatus\022\023\n\017DarkStatus_None\020\000\022" + "\026\n\022DarkStatus_Trading\020\001\022\022\n\016DarkStatus_En" + "d\020\002*\224\006\n\016SecurityStatus\022\032\n\026SecurityStatus" + "_Unknown\020\000\022\031\n\025SecurityStatus_Normal\020\001\022\032\n" + "\026SecurityStatus_Listing\020\002\022\035\n\031SecuritySta" + "tus_Purchasing\020\003\022\036\n\032SecurityStatus_Subsc" + "ribing\020\004\022)\n%SecurityStatus_BeforeDrakTra" + "deOpening\020\005\022\036\n\032SecurityStatus_DrakTradin" + "g\020\006\022\037\n\033SecurityStatus_DrakTradeEnd\020\007\022\033\n\027" + "SecurityStatus_ToBeOpen\020\010\022\034\n\030SecuritySta" + "tus_Suspended\020\t\022\031\n\025SecurityStatus_Called" + "\020\n\022)\n%SecurityStatus_ExpiredLastTradingD" + "ate\020\013\022\032\n\026SecurityStatus_Expired\020\014\022\033\n\027Sec" + "urityStatus_Delisted\020\r\022(\n$SecurityStatus" + "_ChangeToTemporaryCode\020\016\022(\n$SecurityStat" + "us_TemporaryCodeTradeEnd\020\017\022\'\n#SecuritySt" + "atus_ChangedPlateTradeEnd\020\020\022&\n\"SecurityS" + "tatus_ChangedCodeTradeEnd\020\021\022,\n(SecurityS" + "tatus_RecoverableCircuitBreaker\020\022\022.\n*Sec" + "urityStatus_UnRecoverableCircuitBreaker\020" + "\023\022#\n\037SecurityStatus_AfterCombination\020\024\022\"" + "\n\036SecurityStatus_AfterTransation\020\025*\201\001\n\016H" + "olderCategory\022\031\n\025HolderCategory_Unknow\020\000" + "\022\031\n\025HolderCategory_Agency\020\001\022\027\n\023HolderCat" + "egory_Fund\020\002\022 \n\034HolderCategory_SeniorMan" + "ager\020\003*v\n\014PushDataType\022\027\n\023PushDataType_U" + "nknow\020\000\022\031\n\025PushDataType_Realtime\020\001\022\032\n\026Pu" + "shDataType_ByDisConn\020\002\022\026\n\022PushDataType_C" + "ache\020\003*\323\n\n\tSortField\022\024\n\020SortField_Unknow" + "\020\000\022\022\n\016SortField_Code\020\001\022\026\n\022SortField_CurP" + "rice\020\002\022\034\n\030SortField_PriceChangeVal\020\003\022\030\n\024" + "SortField_ChangeRate\020\004\022\024\n\020SortField_Stat" + "us\020\005\022\026\n\022SortField_BidPrice\020\006\022\026\n\022SortFiel" + "d_AskPrice\020\007\022\024\n\020SortField_BidVol\020\010\022\024\n\020So" + "rtField_AskVol\020\t\022\024\n\020SortField_Volume\020\n\022\026" + "\n\022SortField_Turnover\020\013\022\027\n\023SortField_Ampl" + "itude\020\036\022\023\n\017SortField_Score\020\014\022\025\n\021SortFiel" + "d_Premium\020\r\022\037\n\033SortField_EffectiveLevera" + "ge\020\016\022\023\n\017SortField_Delta\020\017\022\037\n\033SortField_I" + "mpliedVolatility\020\020\022\022\n\016SortField_Type\020\021\022\031" + "\n\025SortField_StrikePrice\020\022\022\034\n\030SortField_B" + "reakEvenPoint\020\023\022\032\n\026SortField_MaturityTim" + "e\020\024\022\026\n\022SortField_ListTime\020\025\022\033\n\027SortField" + "_LastTradeTime\020\026\022\026\n\022SortField_Leverage\020\027" + "\022\030\n\024SortField_InOutMoney\020\030\022\033\n\027SortField_" + "RecoveryPrice\020\031\022\031\n\025SortField_ChangePrice" + "\020\032\022\024\n\020SortField_Change\020\033\022\030\n\024SortField_St" + "reetRate\020\034\022\027\n\023SortField_StreetVol\020\035\022\031\n\025S" + "ortField_WarrantName\020\037\022\024\n\020SortField_Issu" + "er\020 \022\025\n\021SortField_LotSize\020!\022\027\n\023SortField" + "_IssueSize\020\"\022\036\n\032SortField_UpperStrikePri" + "ce\020-\022\036\n\032SortField_LowerStrikePrice\020.\022\037\n\033" + "SortField_InLinePriceStatus\020/\022\031\n\025SortFie" + "ld_PreCurPrice\020#\022\033\n\027SortField_AfterCurPr" + "ice\020$\022\037\n\033SortField_PrePriceChangeVal\020%\022!" + "\n\035SortField_AfterPriceChangeVal\020&\022\033\n\027Sor" + "tField_PreChangeRate\020\'\022\035\n\031SortField_Afte" + "rChangeRate\020(\022\032\n\026SortField_PreAmplitude\020" + ")\022\034\n\030SortField_AfterAmplitude\020*\022\031\n\025SortF" + "ield_PreTurnover\020+\022\033\n\027SortField_AfterTur" + "nover\020,\022\035\n\031SortField_LastSettlePrice\0200\022\026" + "\n\022SortField_Position\0201\022\034\n\030SortField_Posi" + "tionChange\0202*\222\003\n\006Issuer\022\021\n\rIssuer_Unknow" + "\020\000\022\r\n\tIssuer_SG\020\001\022\r\n\tIssuer_BP\020\002\022\r\n\tIssu" + "er_CS\020\003\022\r\n\tIssuer_CT\020\004\022\r\n\tIssuer_EA\020\005\022\r\n" + "\tIssuer_GS\020\006\022\r\n\tIssuer_HS\020\007\022\r\n\tIssuer_JP" + "\020\010\022\r\n\tIssuer_MB\020\t\022\r\n\tIssuer_SC\020\n\022\r\n\tIssu" + "er_UB\020\013\022\r\n\tIssuer_BI\020\014\022\r\n\tIssuer_DB\020\r\022\r\n" + "\tIssuer_DC\020\016\022\r\n\tIssuer_ML\020\017\022\r\n\tIssuer_NM" + "\020\020\022\r\n\tIssuer_RB\020\021\022\r\n\tIssuer_RS\020\022\022\r\n\tIssu" + "er_BC\020\023\022\r\n\tIssuer_HT\020\024\022\r\n\tIssuer_VT\020\025\022\r\n" + "\tIssuer_KC\020\026\022\r\n\tIssuer_MS\020\027\022\r\n\tIssuer_GJ" + "\020\030\022\r\n\tIssuer_XZ\020\031*\227\001\n\tIpoPeriod\022\024\n\020IpoPe" + "riod_Unknow\020\000\022\023\n\017IpoPeriod_Today\020\001\022\026\n\022Ip" + "oPeriod_Tomorrow\020\002\022\026\n\022IpoPeriod_Nextweek" + "\020\003\022\026\n\022IpoPeriod_Lastweek\020\004\022\027\n\023IpoPeriod_" + "Lastmonth\020\005*N\n\tPriceType\022\024\n\020PriceType_Un" + "know\020\000\022\025\n\021PriceType_Outside\020\001\022\024\n\020PriceTy" + "pe_WithIn\020\002*\235\001\n\rWarrantStatus\022\030\n\024Warrant" + "Status_Unknow\020\000\022\030\n\024WarrantStatus_Normal\020" + "\001\022\031\n\025WarrantStatus_Suspend\020\002\022\033\n\027WarrantS" + "tatus_StopTrade\020\003\022 \n\034WarrantStatus_Pendi" + "ngListing\020\004*\332\001\n\nCompanyAct\022\023\n\017CompanyAct" + "_None\020\000\022\024\n\020CompanyAct_Split\020\001\022\023\n\017Company" + "Act_Join\020\002\022\024\n\020CompanyAct_Bonus\020\004\022\027\n\023Comp" + "anyAct_Transfer\020\010\022\024\n\020CompanyAct_Allot\020\020\022" + "\022\n\016CompanyAct_Add\020 \022\027\n\023CompanyAct_Divide" + "nd\020@\022\032\n\025CompanyAct_SPDividend\020\200\001*}\n\010QotR" + "ight\022\023\n\017QotRight_Unknow\020\000\022\020\n\014QotRight_Bm" + "p\020\001\022\023\n\017QotRight_Level1\020\002\022\023\n\017QotRight_Lev" + "el2\020\003\022\017\n\013QotRight_SF\020\004\022\017\n\013QotRight_No\020\005*" + "\316\004\n\021PriceReminderType\022\035\n\031PriceReminderTy" + "pe_Unknown\020\000\022\035\n\031PriceReminderType_PriceU" + "p\020\001\022\037\n\033PriceReminderType_PriceDown\020\002\022\"\n\036" + "PriceReminderType_ChangeRateUp\020\003\022$\n Pric" + "eReminderType_ChangeRateDown\020\004\022&\n\"PriceR" + "eminderType_5MinChangeRateUp\020\005\022(\n$PriceR" + "eminderType_5MinChangeRateDown\020\006\022\036\n\032Pric" + "eReminderType_VolumeUp\020\007\022 \n\034PriceReminde" + "rType_TurnoverUp\020\010\022$\n PriceReminderType_" + "TurnoverRateUp\020\t\022 \n\034PriceReminderType_Bi" + "dPriceUp\020\n\022\"\n\036PriceReminderType_AskPrice" + "Down\020\013\022\036\n\032PriceReminderType_BidVolUp\020\014\022\036" + "\n\032PriceReminderType_AskVolUp\020\r\022&\n\"PriceR" + "eminderType_3MinChangeRateUp\020\016\022(\n$PriceR" + "eminderType_3MinChangeRateDown\020\017*\220\001\n\021Pri" + "ceReminderFreq\022\035\n\031PriceReminderFreq_Unkn" + "own\020\000\022\034\n\030PriceReminderFreq_Always\020\001\022\036\n\032P" + "riceReminderFreq_OnceADay\020\002\022\036\n\032PriceRemi" + "nderFreq_OnlyOnce\020\003*\263\001\n\nAssetClass\022\025\n\021As" + "setClass_Unknow\020\000\022\024\n\020AssetClass_Stock\020\001\022" + "\023\n\017AssetClass_Bond\020\002\022\030\n\024AssetClass_Commo" + "dity\020\003\022\035\n\031AssetClass_CurrencyMarket\020\004\022\025\n" + "\021AssetClass_Future\020\005\022\023\n\017AssetClass_Swap\020" + "\006*c\n\017ExpirationCycle\022\033\n\027ExpirationCycle_" + "Unknown\020\000\022\030\n\024ExpirationCycle_Week\020\001\022\031\n\025E" + "xpirationCycle_Month\020\002*\264\003\n\010ExchType\022\024\n\020E" + "xchType_Unknown\020\000\022\031\n\025ExchType_HK_MainBoa" + "rd\020\001\022\030\n\024ExchType_HK_GEMBoard\020\002\022\024\n\020ExchTy" + "pe_HK_HKEX\020\003\022\024\n\020ExchType_US_NYSE\020\004\022\026\n\022Ex" + "chType_US_Nasdaq\020\005\022\024\n\020ExchType_US_Pink\020\006" + "\022\024\n\020ExchType_US_AMEX\020\007\022\026\n\022ExchType_US_Op" + "tion\020\010\022\025\n\021ExchType_US_NYMEX\020\t\022\025\n\021ExchTyp" + "e_US_COMEX\020\n\022\024\n\020ExchType_US_CBOT\020\013\022\023\n\017Ex" + "chType_US_CME\020\014\022\024\n\020ExchType_US_CBOE\020\r\022\022\n" + "\016ExchType_CN_SH\020\016\022\022\n\016ExchType_CN_SZ\020\017\022\024\n" + "\020ExchType_CN_STIB\020\020\022\023\n\017ExchType_SG_SGX\020\021" + "\022\023\n\017ExchType_JP_OSE\020\022*|\n\nPeriodType\022\026\n\022P" + "eriodType_Unknown\020\000\022\027\n\023PeriodType_INTRAD" + "AY\020\001\022\022\n\016PeriodType_DAY\020\002\022\023\n\017PeriodType_W" + "EEK\020\003\022\024\n\020PeriodType_MONTH\020\004BB\n\025com.moomo" + "o.openapi.pbZ)github.com/futuopen/ftapi4" + "go/pb/qotcommon" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.moomoo.openapi.pb.Common.getDescriptor(), }, assigner); internal_static_Qot_Common_Security_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Qot_Common_Security_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_Security_descriptor, new java.lang.String[] { "Market", "Code", }); internal_static_Qot_Common_KLine_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Qot_Common_KLine_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_KLine_descriptor, new java.lang.String[] { "Time", "IsBlank", "HighPrice", "OpenPrice", "LowPrice", "ClosePrice", "LastClosePrice", "Volume", "Turnover", "TurnoverRate", "Pe", "ChangeRate", "Timestamp", }); internal_static_Qot_Common_OptionBasicQotExData_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Qot_Common_OptionBasicQotExData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_OptionBasicQotExData_descriptor, new java.lang.String[] { "StrikePrice", "ContractSize", "ContractSizeFloat", "OpenInterest", "ImpliedVolatility", "Premium", "Delta", "Gamma", "Vega", "Theta", "Rho", "NetOpenInterest", "ExpiryDateDistance", "ContractNominalValue", "OwnerLotMultiplier", "OptionAreaType", "ContractMultiplier", "IndexOptionType", }); internal_static_Qot_Common_PreAfterMarketData_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Qot_Common_PreAfterMarketData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_PreAfterMarketData_descriptor, new java.lang.String[] { "Price", "HighPrice", "LowPrice", "Volume", "Turnover", "ChangeVal", "ChangeRate", "Amplitude", }); internal_static_Qot_Common_FutureBasicQotExData_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Qot_Common_FutureBasicQotExData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_FutureBasicQotExData_descriptor, new java.lang.String[] { "LastSettlePrice", "Position", "PositionChange", "ExpiryDateDistance", }); internal_static_Qot_Common_WarrantBasicQotExData_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Qot_Common_WarrantBasicQotExData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_WarrantBasicQotExData_descriptor, new java.lang.String[] { "Delta", "ImpliedVolatility", "Premium", }); internal_static_Qot_Common_BasicQot_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_Qot_Common_BasicQot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_BasicQot_descriptor, new java.lang.String[] { "Security", "Name", "IsSuspended", "ListTime", "PriceSpread", "UpdateTime", "HighPrice", "OpenPrice", "LowPrice", "CurPrice", "LastClosePrice", "Volume", "Turnover", "TurnoverRate", "Amplitude", "DarkStatus", "OptionExData", "ListTimestamp", "UpdateTimestamp", "PreMarket", "AfterMarket", "SecStatus", "FutureExData", "WarrantExData", }); internal_static_Qot_Common_TimeShare_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_Qot_Common_TimeShare_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_TimeShare_descriptor, new java.lang.String[] { "Time", "Minute", "IsBlank", "Price", "LastClosePrice", "AvgPrice", "Volume", "Turnover", "Timestamp", }); internal_static_Qot_Common_SecurityStaticBasic_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_Qot_Common_SecurityStaticBasic_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_SecurityStaticBasic_descriptor, new java.lang.String[] { "Security", "Id", "LotSize", "SecType", "Name", "ListTime", "Delisting", "ListTimestamp", "ExchType", }); internal_static_Qot_Common_WarrantStaticExData_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_Qot_Common_WarrantStaticExData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_WarrantStaticExData_descriptor, new java.lang.String[] { "Type", "Owner", }); internal_static_Qot_Common_OptionStaticExData_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_Qot_Common_OptionStaticExData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_OptionStaticExData_descriptor, new java.lang.String[] { "Type", "Owner", "StrikeTime", "StrikePrice", "Suspend", "Market", "StrikeTimestamp", "IndexOptionType", }); internal_static_Qot_Common_FutureStaticExData_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_Qot_Common_FutureStaticExData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_FutureStaticExData_descriptor, new java.lang.String[] { "LastTradeTime", "LastTradeTimestamp", "IsMainContract", }); internal_static_Qot_Common_SecurityStaticInfo_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_Qot_Common_SecurityStaticInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_SecurityStaticInfo_descriptor, new java.lang.String[] { "Basic", "WarrantExData", "OptionExData", "FutureExData", }); internal_static_Qot_Common_Broker_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_Qot_Common_Broker_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_Broker_descriptor, new java.lang.String[] { "Id", "Name", "Pos", "OrderID", "Volume", }); internal_static_Qot_Common_Ticker_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_Qot_Common_Ticker_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_Ticker_descriptor, new java.lang.String[] { "Time", "Sequence", "Dir", "Price", "Volume", "Turnover", "RecvTime", "Type", "TypeSign", "PushDataType", "Timestamp", }); internal_static_Qot_Common_OrderBookDetail_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_Qot_Common_OrderBookDetail_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_OrderBookDetail_descriptor, new java.lang.String[] { "OrderID", "Volume", }); internal_static_Qot_Common_OrderBook_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_Qot_Common_OrderBook_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_OrderBook_descriptor, new java.lang.String[] { "Price", "Volume", "OrederCount", "DetailList", }); internal_static_Qot_Common_ShareHoldingChange_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_Qot_Common_ShareHoldingChange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_ShareHoldingChange_descriptor, new java.lang.String[] { "HolderName", "HoldingQty", "HoldingRatio", "ChangeQty", "ChangeRatio", "Time", "Timestamp", }); internal_static_Qot_Common_SubInfo_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_Qot_Common_SubInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_SubInfo_descriptor, new java.lang.String[] { "SubType", "SecurityList", }); internal_static_Qot_Common_ConnSubInfo_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_Qot_Common_ConnSubInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_ConnSubInfo_descriptor, new java.lang.String[] { "SubInfoList", "UsedQuota", "IsOwnConnData", }); internal_static_Qot_Common_PlateInfo_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_Qot_Common_PlateInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_PlateInfo_descriptor, new java.lang.String[] { "Plate", "Name", "PlateType", }); internal_static_Qot_Common_Rehab_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_Qot_Common_Rehab_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_Common_Rehab_descriptor, new java.lang.String[] { "Time", "CompanyActFlag", "FwdFactorA", "FwdFactorB", "BwdFactorA", "BwdFactorB", "SplitBase", "SplitErt", "JoinBase", "JoinErt", "BonusBase", "BonusErt", "TransferBase", "TransferErt", "AllotBase", "AllotErt", "AllotPrice", "AddBase", "AddErt", "AddPrice", "Dividend", "SpDividend", "Timestamp", }); com.moomoo.openapi.pb.Common.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy