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

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

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

package com.moomoo.openapi.pb;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TradeTimeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Qot_GetFutureInfo.TradeTime)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * 开始时间,以分钟为单位
     * 
* * optional double begin = 1; */ boolean hasBegin(); /** *
     * 开始时间,以分钟为单位
     * 
* * optional double begin = 1; */ double getBegin(); /** *
     * 结束时间,以分钟为单位
     * 
* * optional double end = 2; */ boolean hasEnd(); /** *
     * 结束时间,以分钟为单位
     * 
* * optional double end = 2; */ double getEnd(); } /** *
   *交易时间
   * 
* * Protobuf type {@code Qot_GetFutureInfo.TradeTime} */ public static final class TradeTime extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetFutureInfo.TradeTime) TradeTimeOrBuilder { private static final long serialVersionUID = 0L; // Use TradeTime.newBuilder() to construct. private TradeTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TradeTime() { begin_ = 0D; end_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TradeTime( 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; begin_ = input.readDouble(); break; } case 17: { bitField0_ |= 0x00000002; end_ = 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.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_TradeTime_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_TradeTime_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.class, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder.class); } private int bitField0_; public static final int BEGIN_FIELD_NUMBER = 1; private double begin_; /** *
     * 开始时间,以分钟为单位
     * 
* * optional double begin = 1; */ public boolean hasBegin() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * 开始时间,以分钟为单位
     * 
* * optional double begin = 1; */ public double getBegin() { return begin_; } public static final int END_FIELD_NUMBER = 2; private double end_; /** *
     * 结束时间,以分钟为单位
     * 
* * optional double end = 2; */ public boolean hasEnd() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 结束时间,以分钟为单位
     * 
* * optional double end = 2; */ public double getEnd() { return end_; } 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, begin_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, end_); } 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, begin_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, end_); } 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.QotGetFutureInfo.TradeTime)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime other = (com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime) obj; boolean result = true; result = result && (hasBegin() == other.hasBegin()); if (hasBegin()) { result = result && ( java.lang.Double.doubleToLongBits(getBegin()) == java.lang.Double.doubleToLongBits( other.getBegin())); } result = result && (hasEnd() == other.hasEnd()); if (hasEnd()) { result = result && ( java.lang.Double.doubleToLongBits(getEnd()) == java.lang.Double.doubleToLongBits( other.getEnd())); } 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 (hasBegin()) { hash = (37 * hash) + BEGIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBegin())); } if (hasEnd()) { hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getEnd())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime 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.QotGetFutureInfo.TradeTime parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime 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.QotGetFutureInfo.TradeTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime 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.QotGetFutureInfo.TradeTime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime 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.QotGetFutureInfo.TradeTime parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime 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.QotGetFutureInfo.TradeTime 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_GetFutureInfo.TradeTime} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetFutureInfo.TradeTime) com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_TradeTime_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_TradeTime_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.class, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.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(); begin_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); end_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_TradeTime_descriptor; } public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime build() { com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime buildPartial() { com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime result = new com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.begin_ = begin_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.end_ = end_; 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.QotGetFutureInfo.TradeTime) { return mergeFrom((com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime other) { if (other == com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.getDefaultInstance()) return this; if (other.hasBegin()) { setBegin(other.getBegin()); } if (other.hasEnd()) { setEnd(other.getEnd()); } 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.QotGetFutureInfo.TradeTime parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double begin_ ; /** *
       * 开始时间,以分钟为单位
       * 
* * optional double begin = 1; */ public boolean hasBegin() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * 开始时间,以分钟为单位
       * 
* * optional double begin = 1; */ public double getBegin() { return begin_; } /** *
       * 开始时间,以分钟为单位
       * 
* * optional double begin = 1; */ public Builder setBegin(double value) { bitField0_ |= 0x00000001; begin_ = value; onChanged(); return this; } /** *
       * 开始时间,以分钟为单位
       * 
* * optional double begin = 1; */ public Builder clearBegin() { bitField0_ = (bitField0_ & ~0x00000001); begin_ = 0D; onChanged(); return this; } private double end_ ; /** *
       * 结束时间,以分钟为单位
       * 
* * optional double end = 2; */ public boolean hasEnd() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 结束时间,以分钟为单位
       * 
* * optional double end = 2; */ public double getEnd() { return end_; } /** *
       * 结束时间,以分钟为单位
       * 
* * optional double end = 2; */ public Builder setEnd(double value) { bitField0_ |= 0x00000002; end_ = value; onChanged(); return this; } /** *
       * 结束时间,以分钟为单位
       * 
* * optional double end = 2; */ public Builder clearEnd() { bitField0_ = (bitField0_ & ~0x00000002); end_ = 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_GetFutureInfo.TradeTime) } // @@protoc_insertion_point(class_scope:Qot_GetFutureInfo.TradeTime) private static final com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime(); } public static com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TradeTime parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TradeTime(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.QotGetFutureInfo.TradeTime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FutureInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetFutureInfo.FutureInfo) com.google.protobuf.MessageOrBuilder { /** *
     * 合约名称
     * 
* * required string name = 1; */ boolean hasName(); /** *
     * 合约名称
     * 
* * required string name = 1; */ java.lang.String getName(); /** *
     * 合约名称
     * 
* * required string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * 合约代码
     * 
* * required .Qot_Common.Security security = 2; */ boolean hasSecurity(); /** *
     * 合约代码
     * 
* * required .Qot_Common.Security security = 2; */ com.moomoo.openapi.pb.QotCommon.Security getSecurity(); /** *
     * 合约代码
     * 
* * required .Qot_Common.Security security = 2; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder(); /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 3; */ boolean hasLastTradeTime(); /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 3; */ java.lang.String getLastTradeTime(); /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 3; */ com.google.protobuf.ByteString getLastTradeTimeBytes(); /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 4; */ boolean hasLastTradeTimestamp(); /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 4; */ double getLastTradeTimestamp(); /** *
     *标的股 股票期货和股指期货才有该字段
     * 
* * optional .Qot_Common.Security owner = 5; */ boolean hasOwner(); /** *
     *标的股 股票期货和股指期货才有该字段
     * 
* * optional .Qot_Common.Security owner = 5; */ com.moomoo.openapi.pb.QotCommon.Security getOwner(); /** *
     *标的股 股票期货和股指期货才有该字段
     * 
* * optional .Qot_Common.Security owner = 5; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder(); /** *
     *标的 
     * 
* * required string ownerOther = 6; */ boolean hasOwnerOther(); /** *
     *标的 
     * 
* * required string ownerOther = 6; */ java.lang.String getOwnerOther(); /** *
     *标的 
     * 
* * required string ownerOther = 6; */ com.google.protobuf.ByteString getOwnerOtherBytes(); /** *
     *交易所
     * 
* * required string exchange = 7; */ boolean hasExchange(); /** *
     *交易所
     * 
* * required string exchange = 7; */ java.lang.String getExchange(); /** *
     *交易所
     * 
* * required string exchange = 7; */ com.google.protobuf.ByteString getExchangeBytes(); /** *
     *合约类型
     * 
* * required string contractType = 8; */ boolean hasContractType(); /** *
     *合约类型
     * 
* * required string contractType = 8; */ java.lang.String getContractType(); /** *
     *合约类型
     * 
* * required string contractType = 8; */ com.google.protobuf.ByteString getContractTypeBytes(); /** *
     *合约规模
     * 
* * required double contractSize = 9; */ boolean hasContractSize(); /** *
     *合约规模
     * 
* * required double contractSize = 9; */ double getContractSize(); /** *
     *合约规模的单位
     * 
* * required string contractSizeUnit = 10; */ boolean hasContractSizeUnit(); /** *
     *合约规模的单位
     * 
* * required string contractSizeUnit = 10; */ java.lang.String getContractSizeUnit(); /** *
     *合约规模的单位
     * 
* * required string contractSizeUnit = 10; */ com.google.protobuf.ByteString getContractSizeUnitBytes(); /** *
     *报价货币
     * 
* * required string quoteCurrency = 11; */ boolean hasQuoteCurrency(); /** *
     *报价货币
     * 
* * required string quoteCurrency = 11; */ java.lang.String getQuoteCurrency(); /** *
     *报价货币
     * 
* * required string quoteCurrency = 11; */ com.google.protobuf.ByteString getQuoteCurrencyBytes(); /** *
     *最小变动单位
     * 
* * required double minVar = 12; */ boolean hasMinVar(); /** *
     *最小变动单位
     * 
* * required double minVar = 12; */ double getMinVar(); /** *
     *最小变动单位的单位
     * 
* * required string minVarUnit = 13; */ boolean hasMinVarUnit(); /** *
     *最小变动单位的单位
     * 
* * required string minVarUnit = 13; */ java.lang.String getMinVarUnit(); /** *
     *最小变动单位的单位
     * 
* * required string minVarUnit = 13; */ com.google.protobuf.ByteString getMinVarUnitBytes(); /** *
     *报价单位
     * 
* * optional string quoteUnit = 14; */ boolean hasQuoteUnit(); /** *
     *报价单位
     * 
* * optional string quoteUnit = 14; */ java.lang.String getQuoteUnit(); /** *
     *报价单位
     * 
* * optional string quoteUnit = 14; */ com.google.protobuf.ByteString getQuoteUnitBytes(); /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ java.util.List getTradeTimeList(); /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime getTradeTime(int index); /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ int getTradeTimeCount(); /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ java.util.List getTradeTimeOrBuilderList(); /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder getTradeTimeOrBuilder( int index); /** *
     *所在时区
     * 
* * required string timeZone = 16; */ boolean hasTimeZone(); /** *
     *所在时区
     * 
* * required string timeZone = 16; */ java.lang.String getTimeZone(); /** *
     *所在时区
     * 
* * required string timeZone = 16; */ com.google.protobuf.ByteString getTimeZoneBytes(); /** *
     *交易所规格
     * 
* * required string exchangeFormatUrl = 17; */ boolean hasExchangeFormatUrl(); /** *
     *交易所规格
     * 
* * required string exchangeFormatUrl = 17; */ java.lang.String getExchangeFormatUrl(); /** *
     *交易所规格
     * 
* * required string exchangeFormatUrl = 17; */ com.google.protobuf.ByteString getExchangeFormatUrlBytes(); /** *
     *实际合约代码
     * 
* * optional .Qot_Common.Security origin = 18; */ boolean hasOrigin(); /** *
     *实际合约代码
     * 
* * optional .Qot_Common.Security origin = 18; */ com.moomoo.openapi.pb.QotCommon.Security getOrigin(); /** *
     *实际合约代码
     * 
* * optional .Qot_Common.Security origin = 18; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOriginOrBuilder(); } /** *
   *期货合约资料的列表
   * 
* * Protobuf type {@code Qot_GetFutureInfo.FutureInfo} */ public static final class FutureInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetFutureInfo.FutureInfo) FutureInfoOrBuilder { private static final long serialVersionUID = 0L; // Use FutureInfo.newBuilder() to construct. private FutureInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FutureInfo() { name_ = ""; lastTradeTime_ = ""; lastTradeTimestamp_ = 0D; ownerOther_ = ""; exchange_ = ""; contractType_ = ""; contractSize_ = 0D; contractSizeUnit_ = ""; quoteCurrency_ = ""; minVar_ = 0D; minVarUnit_ = ""; quoteUnit_ = ""; tradeTime_ = java.util.Collections.emptyList(); timeZone_ = ""; exchangeFormatUrl_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FutureInfo( 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; name_ = bs; break; } case 18: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = security_.toBuilder(); } security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(security_); security_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; lastTradeTime_ = bs; break; } case 33: { bitField0_ |= 0x00000008; lastTradeTimestamp_ = input.readDouble(); break; } case 42: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = owner_.toBuilder(); } owner_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(owner_); owner_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; ownerOther_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; exchange_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; contractType_ = bs; break; } case 73: { bitField0_ |= 0x00000100; contractSize_ = input.readDouble(); break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; contractSizeUnit_ = bs; break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; quoteCurrency_ = bs; break; } case 97: { bitField0_ |= 0x00000800; minVar_ = input.readDouble(); break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; minVarUnit_ = bs; break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; quoteUnit_ = bs; break; } case 122: { if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) { tradeTime_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00004000; } tradeTime_.add( input.readMessage(com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.PARSER, extensionRegistry)); break; } case 130: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00004000; timeZone_ = bs; break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00008000; exchangeFormatUrl_ = bs; break; } case 146: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00010000) == 0x00010000)) { subBuilder = origin_.toBuilder(); } origin_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(origin_); origin_ = subBuilder.buildPartial(); } bitField0_ |= 0x00010000; 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_ & 0x00004000) == 0x00004000)) { tradeTime_ = java.util.Collections.unmodifiableList(tradeTime_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_FutureInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_FutureInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.class, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * 合约名称
     * 
* * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * 合约名称
     * 
* * required string name = 1; */ 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 = 1; */ 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 SECURITY_FIELD_NUMBER = 2; private com.moomoo.openapi.pb.QotCommon.Security security_; /** *
     * 合约代码
     * 
* * required .Qot_Common.Security security = 2; */ public boolean hasSecurity() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 合约代码
     * 
* * required .Qot_Common.Security security = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurity() { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } /** *
     * 合约代码
     * 
* * required .Qot_Common.Security security = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() { return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_; } public static final int LASTTRADETIME_FIELD_NUMBER = 3; private volatile java.lang.Object lastTradeTime_; /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 3; */ public boolean hasLastTradeTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *最后交易日,只有非主连期货合约才有该字段
     * 
* * required string lastTradeTime = 3; */ 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 = 3; */ 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 = 4; private double lastTradeTimestamp_; /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 4; */ public boolean hasLastTradeTimestamp() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *最后交易日时间戳,只有非主连期货合约才有该字段
     * 
* * optional double lastTradeTimestamp = 4; */ public double getLastTradeTimestamp() { return lastTradeTimestamp_; } public static final int OWNER_FIELD_NUMBER = 5; private com.moomoo.openapi.pb.QotCommon.Security owner_; /** *
     *标的股 股票期货和股指期货才有该字段
     * 
* * optional .Qot_Common.Security owner = 5; */ public boolean hasOwner() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *标的股 股票期货和股指期货才有该字段
     * 
* * optional .Qot_Common.Security owner = 5; */ public com.moomoo.openapi.pb.QotCommon.Security getOwner() { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } /** *
     *标的股 股票期货和股指期货才有该字段
     * 
* * optional .Qot_Common.Security owner = 5; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOwnerOrBuilder() { return owner_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : owner_; } public static final int OWNEROTHER_FIELD_NUMBER = 6; private volatile java.lang.Object ownerOther_; /** *
     *标的 
     * 
* * required string ownerOther = 6; */ public boolean hasOwnerOther() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *标的 
     * 
* * required string ownerOther = 6; */ public java.lang.String getOwnerOther() { java.lang.Object ref = ownerOther_; 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()) { ownerOther_ = s; } return s; } } /** *
     *标的 
     * 
* * required string ownerOther = 6; */ public com.google.protobuf.ByteString getOwnerOtherBytes() { java.lang.Object ref = ownerOther_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ownerOther_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXCHANGE_FIELD_NUMBER = 7; private volatile java.lang.Object exchange_; /** *
     *交易所
     * 
* * required string exchange = 7; */ public boolean hasExchange() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *交易所
     * 
* * required string exchange = 7; */ public java.lang.String getExchange() { java.lang.Object ref = exchange_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { exchange_ = s; } return s; } } /** *
     *交易所
     * 
* * required string exchange = 7; */ public com.google.protobuf.ByteString getExchangeBytes() { java.lang.Object ref = exchange_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exchange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTRACTTYPE_FIELD_NUMBER = 8; private volatile java.lang.Object contractType_; /** *
     *合约类型
     * 
* * required string contractType = 8; */ public boolean hasContractType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *合约类型
     * 
* * required string contractType = 8; */ public java.lang.String getContractType() { java.lang.Object ref = contractType_; 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()) { contractType_ = s; } return s; } } /** *
     *合约类型
     * 
* * required string contractType = 8; */ public com.google.protobuf.ByteString getContractTypeBytes() { java.lang.Object ref = contractType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contractType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTRACTSIZE_FIELD_NUMBER = 9; private double contractSize_; /** *
     *合约规模
     * 
* * required double contractSize = 9; */ public boolean hasContractSize() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *合约规模
     * 
* * required double contractSize = 9; */ public double getContractSize() { return contractSize_; } public static final int CONTRACTSIZEUNIT_FIELD_NUMBER = 10; private volatile java.lang.Object contractSizeUnit_; /** *
     *合约规模的单位
     * 
* * required string contractSizeUnit = 10; */ public boolean hasContractSizeUnit() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
     *合约规模的单位
     * 
* * required string contractSizeUnit = 10; */ public java.lang.String getContractSizeUnit() { java.lang.Object ref = contractSizeUnit_; 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()) { contractSizeUnit_ = s; } return s; } } /** *
     *合约规模的单位
     * 
* * required string contractSizeUnit = 10; */ public com.google.protobuf.ByteString getContractSizeUnitBytes() { java.lang.Object ref = contractSizeUnit_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contractSizeUnit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUOTECURRENCY_FIELD_NUMBER = 11; private volatile java.lang.Object quoteCurrency_; /** *
     *报价货币
     * 
* * required string quoteCurrency = 11; */ public boolean hasQuoteCurrency() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *报价货币
     * 
* * required string quoteCurrency = 11; */ public java.lang.String getQuoteCurrency() { java.lang.Object ref = quoteCurrency_; 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()) { quoteCurrency_ = s; } return s; } } /** *
     *报价货币
     * 
* * required string quoteCurrency = 11; */ public com.google.protobuf.ByteString getQuoteCurrencyBytes() { java.lang.Object ref = quoteCurrency_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); quoteCurrency_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MINVAR_FIELD_NUMBER = 12; private double minVar_; /** *
     *最小变动单位
     * 
* * required double minVar = 12; */ public boolean hasMinVar() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
     *最小变动单位
     * 
* * required double minVar = 12; */ public double getMinVar() { return minVar_; } public static final int MINVARUNIT_FIELD_NUMBER = 13; private volatile java.lang.Object minVarUnit_; /** *
     *最小变动单位的单位
     * 
* * required string minVarUnit = 13; */ public boolean hasMinVarUnit() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
     *最小变动单位的单位
     * 
* * required string minVarUnit = 13; */ public java.lang.String getMinVarUnit() { java.lang.Object ref = minVarUnit_; 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()) { minVarUnit_ = s; } return s; } } /** *
     *最小变动单位的单位
     * 
* * required string minVarUnit = 13; */ public com.google.protobuf.ByteString getMinVarUnitBytes() { java.lang.Object ref = minVarUnit_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minVarUnit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUOTEUNIT_FIELD_NUMBER = 14; private volatile java.lang.Object quoteUnit_; /** *
     *报价单位
     * 
* * optional string quoteUnit = 14; */ public boolean hasQuoteUnit() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
     *报价单位
     * 
* * optional string quoteUnit = 14; */ public java.lang.String getQuoteUnit() { java.lang.Object ref = quoteUnit_; 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()) { quoteUnit_ = s; } return s; } } /** *
     *报价单位
     * 
* * optional string quoteUnit = 14; */ public com.google.protobuf.ByteString getQuoteUnitBytes() { java.lang.Object ref = quoteUnit_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); quoteUnit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRADETIME_FIELD_NUMBER = 15; private java.util.List tradeTime_; /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public java.util.List getTradeTimeList() { return tradeTime_; } /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public java.util.List getTradeTimeOrBuilderList() { return tradeTime_; } /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public int getTradeTimeCount() { return tradeTime_.size(); } /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime getTradeTime(int index) { return tradeTime_.get(index); } /** *
     *交易时间
     * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder getTradeTimeOrBuilder( int index) { return tradeTime_.get(index); } public static final int TIMEZONE_FIELD_NUMBER = 16; private volatile java.lang.Object timeZone_; /** *
     *所在时区
     * 
* * required string timeZone = 16; */ public boolean hasTimeZone() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
     *所在时区
     * 
* * required string timeZone = 16; */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; 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()) { timeZone_ = s; } return s; } } /** *
     *所在时区
     * 
* * required string timeZone = 16; */ public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timeZone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXCHANGEFORMATURL_FIELD_NUMBER = 17; private volatile java.lang.Object exchangeFormatUrl_; /** *
     *交易所规格
     * 
* * required string exchangeFormatUrl = 17; */ public boolean hasExchangeFormatUrl() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
     *交易所规格
     * 
* * required string exchangeFormatUrl = 17; */ public java.lang.String getExchangeFormatUrl() { java.lang.Object ref = exchangeFormatUrl_; 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()) { exchangeFormatUrl_ = s; } return s; } } /** *
     *交易所规格
     * 
* * required string exchangeFormatUrl = 17; */ public com.google.protobuf.ByteString getExchangeFormatUrlBytes() { java.lang.Object ref = exchangeFormatUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exchangeFormatUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORIGIN_FIELD_NUMBER = 18; private com.moomoo.openapi.pb.QotCommon.Security origin_; /** *
     *实际合约代码
     * 
* * optional .Qot_Common.Security origin = 18; */ public boolean hasOrigin() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
     *实际合约代码
     * 
* * optional .Qot_Common.Security origin = 18; */ public com.moomoo.openapi.pb.QotCommon.Security getOrigin() { return origin_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : origin_; } /** *
     *实际合约代码
     * 
* * optional .Qot_Common.Security origin = 18; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOriginOrBuilder() { return origin_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : origin_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasSecurity()) { memoizedIsInitialized = 0; return false; } if (!hasLastTradeTime()) { memoizedIsInitialized = 0; return false; } if (!hasOwnerOther()) { memoizedIsInitialized = 0; return false; } if (!hasExchange()) { memoizedIsInitialized = 0; return false; } if (!hasContractType()) { memoizedIsInitialized = 0; return false; } if (!hasContractSize()) { memoizedIsInitialized = 0; return false; } if (!hasContractSizeUnit()) { memoizedIsInitialized = 0; return false; } if (!hasQuoteCurrency()) { memoizedIsInitialized = 0; return false; } if (!hasMinVar()) { memoizedIsInitialized = 0; return false; } if (!hasMinVarUnit()) { memoizedIsInitialized = 0; return false; } if (!hasTimeZone()) { memoizedIsInitialized = 0; return false; } if (!hasExchangeFormatUrl()) { memoizedIsInitialized = 0; return false; } if (!getSecurity().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasOwner()) { if (!getOwner().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasOrigin()) { if (!getOrigin().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getSecurity()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, lastTradeTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, lastTradeTimestamp_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getOwner()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ownerOther_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, exchange_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, contractType_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(9, contractSize_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, contractSizeUnit_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, quoteCurrency_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeDouble(12, minVar_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, minVarUnit_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, quoteUnit_); } for (int i = 0; i < tradeTime_.size(); i++) { output.writeMessage(15, tradeTime_.get(i)); } if (((bitField0_ & 0x00004000) == 0x00004000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, timeZone_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, exchangeFormatUrl_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeMessage(18, getOrigin()); } 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, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSecurity()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, lastTradeTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, lastTradeTimestamp_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getOwner()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ownerOther_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, exchange_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, contractType_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, contractSize_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, contractSizeUnit_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, quoteCurrency_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, minVar_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, minVarUnit_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, quoteUnit_); } for (int i = 0; i < tradeTime_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, tradeTime_.get(i)); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, timeZone_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, exchangeFormatUrl_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getOrigin()); } 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.QotGetFutureInfo.FutureInfo)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo other = (com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasSecurity() == other.hasSecurity()); if (hasSecurity()) { result = result && getSecurity() .equals(other.getSecurity()); } 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 && (hasOwner() == other.hasOwner()); if (hasOwner()) { result = result && getOwner() .equals(other.getOwner()); } result = result && (hasOwnerOther() == other.hasOwnerOther()); if (hasOwnerOther()) { result = result && getOwnerOther() .equals(other.getOwnerOther()); } result = result && (hasExchange() == other.hasExchange()); if (hasExchange()) { result = result && getExchange() .equals(other.getExchange()); } result = result && (hasContractType() == other.hasContractType()); if (hasContractType()) { result = result && getContractType() .equals(other.getContractType()); } result = result && (hasContractSize() == other.hasContractSize()); if (hasContractSize()) { result = result && ( java.lang.Double.doubleToLongBits(getContractSize()) == java.lang.Double.doubleToLongBits( other.getContractSize())); } result = result && (hasContractSizeUnit() == other.hasContractSizeUnit()); if (hasContractSizeUnit()) { result = result && getContractSizeUnit() .equals(other.getContractSizeUnit()); } result = result && (hasQuoteCurrency() == other.hasQuoteCurrency()); if (hasQuoteCurrency()) { result = result && getQuoteCurrency() .equals(other.getQuoteCurrency()); } result = result && (hasMinVar() == other.hasMinVar()); if (hasMinVar()) { result = result && ( java.lang.Double.doubleToLongBits(getMinVar()) == java.lang.Double.doubleToLongBits( other.getMinVar())); } result = result && (hasMinVarUnit() == other.hasMinVarUnit()); if (hasMinVarUnit()) { result = result && getMinVarUnit() .equals(other.getMinVarUnit()); } result = result && (hasQuoteUnit() == other.hasQuoteUnit()); if (hasQuoteUnit()) { result = result && getQuoteUnit() .equals(other.getQuoteUnit()); } result = result && getTradeTimeList() .equals(other.getTradeTimeList()); result = result && (hasTimeZone() == other.hasTimeZone()); if (hasTimeZone()) { result = result && getTimeZone() .equals(other.getTimeZone()); } result = result && (hasExchangeFormatUrl() == other.hasExchangeFormatUrl()); if (hasExchangeFormatUrl()) { result = result && getExchangeFormatUrl() .equals(other.getExchangeFormatUrl()); } result = result && (hasOrigin() == other.hasOrigin()); if (hasOrigin()) { result = result && getOrigin() .equals(other.getOrigin()); } 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasSecurity()) { hash = (37 * hash) + SECURITY_FIELD_NUMBER; hash = (53 * hash) + getSecurity().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 (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); } if (hasOwnerOther()) { hash = (37 * hash) + OWNEROTHER_FIELD_NUMBER; hash = (53 * hash) + getOwnerOther().hashCode(); } if (hasExchange()) { hash = (37 * hash) + EXCHANGE_FIELD_NUMBER; hash = (53 * hash) + getExchange().hashCode(); } if (hasContractType()) { hash = (37 * hash) + CONTRACTTYPE_FIELD_NUMBER; hash = (53 * hash) + getContractType().hashCode(); } if (hasContractSize()) { hash = (37 * hash) + CONTRACTSIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getContractSize())); } if (hasContractSizeUnit()) { hash = (37 * hash) + CONTRACTSIZEUNIT_FIELD_NUMBER; hash = (53 * hash) + getContractSizeUnit().hashCode(); } if (hasQuoteCurrency()) { hash = (37 * hash) + QUOTECURRENCY_FIELD_NUMBER; hash = (53 * hash) + getQuoteCurrency().hashCode(); } if (hasMinVar()) { hash = (37 * hash) + MINVAR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinVar())); } if (hasMinVarUnit()) { hash = (37 * hash) + MINVARUNIT_FIELD_NUMBER; hash = (53 * hash) + getMinVarUnit().hashCode(); } if (hasQuoteUnit()) { hash = (37 * hash) + QUOTEUNIT_FIELD_NUMBER; hash = (53 * hash) + getQuoteUnit().hashCode(); } if (getTradeTimeCount() > 0) { hash = (37 * hash) + TRADETIME_FIELD_NUMBER; hash = (53 * hash) + getTradeTimeList().hashCode(); } if (hasTimeZone()) { hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimeZone().hashCode(); } if (hasExchangeFormatUrl()) { hash = (37 * hash) + EXCHANGEFORMATURL_FIELD_NUMBER; hash = (53 * hash) + getExchangeFormatUrl().hashCode(); } if (hasOrigin()) { hash = (37 * hash) + ORIGIN_FIELD_NUMBER; hash = (53 * hash) + getOrigin().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo 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.QotGetFutureInfo.FutureInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo 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.QotGetFutureInfo.FutureInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo 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.QotGetFutureInfo.FutureInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo 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.QotGetFutureInfo.FutureInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo 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.QotGetFutureInfo.FutureInfo 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_GetFutureInfo.FutureInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetFutureInfo.FutureInfo) com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_FutureInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_FutureInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.class, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.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(); getOwnerFieldBuilder(); getTradeTimeFieldBuilder(); getOriginFieldBuilder(); } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (securityBuilder_ == null) { security_ = null; } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); lastTradeTime_ = ""; bitField0_ = (bitField0_ & ~0x00000004); lastTradeTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); if (ownerBuilder_ == null) { owner_ = null; } else { ownerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); ownerOther_ = ""; bitField0_ = (bitField0_ & ~0x00000020); exchange_ = ""; bitField0_ = (bitField0_ & ~0x00000040); contractType_ = ""; bitField0_ = (bitField0_ & ~0x00000080); contractSize_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); contractSizeUnit_ = ""; bitField0_ = (bitField0_ & ~0x00000200); quoteCurrency_ = ""; bitField0_ = (bitField0_ & ~0x00000400); minVar_ = 0D; bitField0_ = (bitField0_ & ~0x00000800); minVarUnit_ = ""; bitField0_ = (bitField0_ & ~0x00001000); quoteUnit_ = ""; bitField0_ = (bitField0_ & ~0x00002000); if (tradeTimeBuilder_ == null) { tradeTime_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { tradeTimeBuilder_.clear(); } timeZone_ = ""; bitField0_ = (bitField0_ & ~0x00008000); exchangeFormatUrl_ = ""; bitField0_ = (bitField0_ & ~0x00010000); if (originBuilder_ == null) { origin_ = null; } else { originBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00020000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_FutureInfo_descriptor; } public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo build() { com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo buildPartial() { com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo result = new com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (securityBuilder_ == null) { result.security_ = security_; } else { result.security_ = securityBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.lastTradeTime_ = lastTradeTime_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.lastTradeTimestamp_ = lastTradeTimestamp_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (ownerBuilder_ == null) { result.owner_ = owner_; } else { result.owner_ = ownerBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.ownerOther_ = ownerOther_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.exchange_ = exchange_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.contractType_ = contractType_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.contractSize_ = contractSize_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.contractSizeUnit_ = contractSizeUnit_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.quoteCurrency_ = quoteCurrency_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.minVar_ = minVar_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.minVarUnit_ = minVarUnit_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.quoteUnit_ = quoteUnit_; if (tradeTimeBuilder_ == null) { if (((bitField0_ & 0x00004000) == 0x00004000)) { tradeTime_ = java.util.Collections.unmodifiableList(tradeTime_); bitField0_ = (bitField0_ & ~0x00004000); } result.tradeTime_ = tradeTime_; } else { result.tradeTime_ = tradeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00004000; } result.timeZone_ = timeZone_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00008000; } result.exchangeFormatUrl_ = exchangeFormatUrl_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00010000; } if (originBuilder_ == null) { result.origin_ = origin_; } else { result.origin_ = originBuilder_.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.QotGetFutureInfo.FutureInfo) { return mergeFrom((com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo other) { if (other == com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasSecurity()) { mergeSecurity(other.getSecurity()); } if (other.hasLastTradeTime()) { bitField0_ |= 0x00000004; lastTradeTime_ = other.lastTradeTime_; onChanged(); } if (other.hasLastTradeTimestamp()) { setLastTradeTimestamp(other.getLastTradeTimestamp()); } if (other.hasOwner()) { mergeOwner(other.getOwner()); } if (other.hasOwnerOther()) { bitField0_ |= 0x00000020; ownerOther_ = other.ownerOther_; onChanged(); } if (other.hasExchange()) { bitField0_ |= 0x00000040; exchange_ = other.exchange_; onChanged(); } if (other.hasContractType()) { bitField0_ |= 0x00000080; contractType_ = other.contractType_; onChanged(); } if (other.hasContractSize()) { setContractSize(other.getContractSize()); } if (other.hasContractSizeUnit()) { bitField0_ |= 0x00000200; contractSizeUnit_ = other.contractSizeUnit_; onChanged(); } if (other.hasQuoteCurrency()) { bitField0_ |= 0x00000400; quoteCurrency_ = other.quoteCurrency_; onChanged(); } if (other.hasMinVar()) { setMinVar(other.getMinVar()); } if (other.hasMinVarUnit()) { bitField0_ |= 0x00001000; minVarUnit_ = other.minVarUnit_; onChanged(); } if (other.hasQuoteUnit()) { bitField0_ |= 0x00002000; quoteUnit_ = other.quoteUnit_; onChanged(); } if (tradeTimeBuilder_ == null) { if (!other.tradeTime_.isEmpty()) { if (tradeTime_.isEmpty()) { tradeTime_ = other.tradeTime_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureTradeTimeIsMutable(); tradeTime_.addAll(other.tradeTime_); } onChanged(); } } else { if (!other.tradeTime_.isEmpty()) { if (tradeTimeBuilder_.isEmpty()) { tradeTimeBuilder_.dispose(); tradeTimeBuilder_ = null; tradeTime_ = other.tradeTime_; bitField0_ = (bitField0_ & ~0x00004000); tradeTimeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTradeTimeFieldBuilder() : null; } else { tradeTimeBuilder_.addAllMessages(other.tradeTime_); } } } if (other.hasTimeZone()) { bitField0_ |= 0x00008000; timeZone_ = other.timeZone_; onChanged(); } if (other.hasExchangeFormatUrl()) { bitField0_ |= 0x00010000; exchangeFormatUrl_ = other.exchangeFormatUrl_; onChanged(); } if (other.hasOrigin()) { mergeOrigin(other.getOrigin()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasSecurity()) { return false; } if (!hasLastTradeTime()) { return false; } if (!hasOwnerOther()) { return false; } if (!hasExchange()) { return false; } if (!hasContractType()) { return false; } if (!hasContractSize()) { return false; } if (!hasContractSizeUnit()) { return false; } if (!hasQuoteCurrency()) { return false; } if (!hasMinVar()) { return false; } if (!hasMinVarUnit()) { return false; } if (!hasTimeZone()) { return false; } if (!hasExchangeFormatUrl()) { return false; } if (!getSecurity().isInitialized()) { return false; } if (hasOwner()) { if (!getOwner().isInitialized()) { return false; } } if (hasOrigin()) { if (!getOrigin().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.QotGetFutureInfo.FutureInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * 合约名称
       * 
* * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * 合约名称
       * 
* * required string name = 1; */ 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 = 1; */ 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 = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** *
       * 合约名称
       * 
* * required string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * 合约名称
       * 
* * required string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } 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 = 2; */ public boolean hasSecurity() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 合约代码
       * 
* * required .Qot_Common.Security security = 2; */ 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 = 2; */ 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_ |= 0x00000002; return this; } /** *
       * 合约代码
       * 
* * required .Qot_Common.Security security = 2; */ public Builder setSecurity( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityBuilder_ == null) { security_ = builderForValue.build(); onChanged(); } else { securityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * 合约代码
       * 
* * required .Qot_Common.Security security = 2; */ public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && 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_ |= 0x00000002; return this; } /** *
       * 合约代码
       * 
* * required .Qot_Common.Security security = 2; */ public Builder clearSecurity() { if (securityBuilder_ == null) { security_ = null; onChanged(); } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * 合约代码
       * 
* * required .Qot_Common.Security security = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSecurityFieldBuilder().getBuilder(); } /** *
       * 合约代码
       * 
* * required .Qot_Common.Security security = 2; */ 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 = 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> 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 lastTradeTime_ = ""; /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 3; */ public boolean hasLastTradeTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 3; */ 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 = 3; */ 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 = 3; */ public Builder setLastTradeTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; lastTradeTime_ = value; onChanged(); return this; } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 3; */ public Builder clearLastTradeTime() { bitField0_ = (bitField0_ & ~0x00000004); lastTradeTime_ = getDefaultInstance().getLastTradeTime(); onChanged(); return this; } /** *
       *最后交易日,只有非主连期货合约才有该字段
       * 
* * required string lastTradeTime = 3; */ public Builder setLastTradeTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; lastTradeTime_ = value; onChanged(); return this; } private double lastTradeTimestamp_ ; /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 4; */ public boolean hasLastTradeTimestamp() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 4; */ public double getLastTradeTimestamp() { return lastTradeTimestamp_; } /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 4; */ public Builder setLastTradeTimestamp(double value) { bitField0_ |= 0x00000008; lastTradeTimestamp_ = value; onChanged(); return this; } /** *
       *最后交易日时间戳,只有非主连期货合约才有该字段
       * 
* * optional double lastTradeTimestamp = 4; */ public Builder clearLastTradeTimestamp() { bitField0_ = (bitField0_ & ~0x00000008); lastTradeTimestamp_ = 0D; 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_; /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ public boolean hasOwner() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ 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(); } } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ 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_ |= 0x00000010; return this; } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ public Builder setOwner( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (ownerBuilder_ == null) { owner_ = builderForValue.build(); onChanged(); } else { ownerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ public Builder mergeOwner(com.moomoo.openapi.pb.QotCommon.Security value) { if (ownerBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && 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_ |= 0x00000010; return this; } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ public Builder clearOwner() { if (ownerBuilder_ == null) { owner_ = null; onChanged(); } else { ownerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getOwnerBuilder() { bitField0_ |= 0x00000010; onChanged(); return getOwnerFieldBuilder().getBuilder(); } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ 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_; } } /** *
       *标的股 股票期货和股指期货才有该字段
       * 
* * optional .Qot_Common.Security owner = 5; */ 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 ownerOther_ = ""; /** *
       *标的 
       * 
* * required string ownerOther = 6; */ public boolean hasOwnerOther() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *标的 
       * 
* * required string ownerOther = 6; */ public java.lang.String getOwnerOther() { java.lang.Object ref = ownerOther_; 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()) { ownerOther_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *标的 
       * 
* * required string ownerOther = 6; */ public com.google.protobuf.ByteString getOwnerOtherBytes() { java.lang.Object ref = ownerOther_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ownerOther_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *标的 
       * 
* * required string ownerOther = 6; */ public Builder setOwnerOther( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; ownerOther_ = value; onChanged(); return this; } /** *
       *标的 
       * 
* * required string ownerOther = 6; */ public Builder clearOwnerOther() { bitField0_ = (bitField0_ & ~0x00000020); ownerOther_ = getDefaultInstance().getOwnerOther(); onChanged(); return this; } /** *
       *标的 
       * 
* * required string ownerOther = 6; */ public Builder setOwnerOtherBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; ownerOther_ = value; onChanged(); return this; } private java.lang.Object exchange_ = ""; /** *
       *交易所
       * 
* * required string exchange = 7; */ public boolean hasExchange() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *交易所
       * 
* * required string exchange = 7; */ public java.lang.String getExchange() { java.lang.Object ref = exchange_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { exchange_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *交易所
       * 
* * required string exchange = 7; */ public com.google.protobuf.ByteString getExchangeBytes() { java.lang.Object ref = exchange_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exchange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *交易所
       * 
* * required string exchange = 7; */ public Builder setExchange( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; exchange_ = value; onChanged(); return this; } /** *
       *交易所
       * 
* * required string exchange = 7; */ public Builder clearExchange() { bitField0_ = (bitField0_ & ~0x00000040); exchange_ = getDefaultInstance().getExchange(); onChanged(); return this; } /** *
       *交易所
       * 
* * required string exchange = 7; */ public Builder setExchangeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; exchange_ = value; onChanged(); return this; } private java.lang.Object contractType_ = ""; /** *
       *合约类型
       * 
* * required string contractType = 8; */ public boolean hasContractType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *合约类型
       * 
* * required string contractType = 8; */ public java.lang.String getContractType() { java.lang.Object ref = contractType_; 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()) { contractType_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *合约类型
       * 
* * required string contractType = 8; */ public com.google.protobuf.ByteString getContractTypeBytes() { java.lang.Object ref = contractType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contractType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *合约类型
       * 
* * required string contractType = 8; */ public Builder setContractType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; contractType_ = value; onChanged(); return this; } /** *
       *合约类型
       * 
* * required string contractType = 8; */ public Builder clearContractType() { bitField0_ = (bitField0_ & ~0x00000080); contractType_ = getDefaultInstance().getContractType(); onChanged(); return this; } /** *
       *合约类型
       * 
* * required string contractType = 8; */ public Builder setContractTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; contractType_ = value; onChanged(); return this; } private double contractSize_ ; /** *
       *合约规模
       * 
* * required double contractSize = 9; */ public boolean hasContractSize() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *合约规模
       * 
* * required double contractSize = 9; */ public double getContractSize() { return contractSize_; } /** *
       *合约规模
       * 
* * required double contractSize = 9; */ public Builder setContractSize(double value) { bitField0_ |= 0x00000100; contractSize_ = value; onChanged(); return this; } /** *
       *合约规模
       * 
* * required double contractSize = 9; */ public Builder clearContractSize() { bitField0_ = (bitField0_ & ~0x00000100); contractSize_ = 0D; onChanged(); return this; } private java.lang.Object contractSizeUnit_ = ""; /** *
       *合约规模的单位
       * 
* * required string contractSizeUnit = 10; */ public boolean hasContractSizeUnit() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
       *合约规模的单位
       * 
* * required string contractSizeUnit = 10; */ public java.lang.String getContractSizeUnit() { java.lang.Object ref = contractSizeUnit_; 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()) { contractSizeUnit_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *合约规模的单位
       * 
* * required string contractSizeUnit = 10; */ public com.google.protobuf.ByteString getContractSizeUnitBytes() { java.lang.Object ref = contractSizeUnit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contractSizeUnit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *合约规模的单位
       * 
* * required string contractSizeUnit = 10; */ public Builder setContractSizeUnit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; contractSizeUnit_ = value; onChanged(); return this; } /** *
       *合约规模的单位
       * 
* * required string contractSizeUnit = 10; */ public Builder clearContractSizeUnit() { bitField0_ = (bitField0_ & ~0x00000200); contractSizeUnit_ = getDefaultInstance().getContractSizeUnit(); onChanged(); return this; } /** *
       *合约规模的单位
       * 
* * required string contractSizeUnit = 10; */ public Builder setContractSizeUnitBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; contractSizeUnit_ = value; onChanged(); return this; } private java.lang.Object quoteCurrency_ = ""; /** *
       *报价货币
       * 
* * required string quoteCurrency = 11; */ public boolean hasQuoteCurrency() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *报价货币
       * 
* * required string quoteCurrency = 11; */ public java.lang.String getQuoteCurrency() { java.lang.Object ref = quoteCurrency_; 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()) { quoteCurrency_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *报价货币
       * 
* * required string quoteCurrency = 11; */ public com.google.protobuf.ByteString getQuoteCurrencyBytes() { java.lang.Object ref = quoteCurrency_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); quoteCurrency_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *报价货币
       * 
* * required string quoteCurrency = 11; */ public Builder setQuoteCurrency( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; quoteCurrency_ = value; onChanged(); return this; } /** *
       *报价货币
       * 
* * required string quoteCurrency = 11; */ public Builder clearQuoteCurrency() { bitField0_ = (bitField0_ & ~0x00000400); quoteCurrency_ = getDefaultInstance().getQuoteCurrency(); onChanged(); return this; } /** *
       *报价货币
       * 
* * required string quoteCurrency = 11; */ public Builder setQuoteCurrencyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; quoteCurrency_ = value; onChanged(); return this; } private double minVar_ ; /** *
       *最小变动单位
       * 
* * required double minVar = 12; */ public boolean hasMinVar() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
       *最小变动单位
       * 
* * required double minVar = 12; */ public double getMinVar() { return minVar_; } /** *
       *最小变动单位
       * 
* * required double minVar = 12; */ public Builder setMinVar(double value) { bitField0_ |= 0x00000800; minVar_ = value; onChanged(); return this; } /** *
       *最小变动单位
       * 
* * required double minVar = 12; */ public Builder clearMinVar() { bitField0_ = (bitField0_ & ~0x00000800); minVar_ = 0D; onChanged(); return this; } private java.lang.Object minVarUnit_ = ""; /** *
       *最小变动单位的单位
       * 
* * required string minVarUnit = 13; */ public boolean hasMinVarUnit() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
       *最小变动单位的单位
       * 
* * required string minVarUnit = 13; */ public java.lang.String getMinVarUnit() { java.lang.Object ref = minVarUnit_; 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()) { minVarUnit_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *最小变动单位的单位
       * 
* * required string minVarUnit = 13; */ public com.google.protobuf.ByteString getMinVarUnitBytes() { java.lang.Object ref = minVarUnit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minVarUnit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *最小变动单位的单位
       * 
* * required string minVarUnit = 13; */ public Builder setMinVarUnit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; minVarUnit_ = value; onChanged(); return this; } /** *
       *最小变动单位的单位
       * 
* * required string minVarUnit = 13; */ public Builder clearMinVarUnit() { bitField0_ = (bitField0_ & ~0x00001000); minVarUnit_ = getDefaultInstance().getMinVarUnit(); onChanged(); return this; } /** *
       *最小变动单位的单位
       * 
* * required string minVarUnit = 13; */ public Builder setMinVarUnitBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; minVarUnit_ = value; onChanged(); return this; } private java.lang.Object quoteUnit_ = ""; /** *
       *报价单位
       * 
* * optional string quoteUnit = 14; */ public boolean hasQuoteUnit() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
       *报价单位
       * 
* * optional string quoteUnit = 14; */ public java.lang.String getQuoteUnit() { java.lang.Object ref = quoteUnit_; 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()) { quoteUnit_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *报价单位
       * 
* * optional string quoteUnit = 14; */ public com.google.protobuf.ByteString getQuoteUnitBytes() { java.lang.Object ref = quoteUnit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); quoteUnit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *报价单位
       * 
* * optional string quoteUnit = 14; */ public Builder setQuoteUnit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; quoteUnit_ = value; onChanged(); return this; } /** *
       *报价单位
       * 
* * optional string quoteUnit = 14; */ public Builder clearQuoteUnit() { bitField0_ = (bitField0_ & ~0x00002000); quoteUnit_ = getDefaultInstance().getQuoteUnit(); onChanged(); return this; } /** *
       *报价单位
       * 
* * optional string quoteUnit = 14; */ public Builder setQuoteUnitBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; quoteUnit_ = value; onChanged(); return this; } private java.util.List tradeTime_ = java.util.Collections.emptyList(); private void ensureTradeTimeIsMutable() { if (!((bitField0_ & 0x00004000) == 0x00004000)) { tradeTime_ = new java.util.ArrayList(tradeTime_); bitField0_ |= 0x00004000; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder> tradeTimeBuilder_; /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public java.util.List getTradeTimeList() { if (tradeTimeBuilder_ == null) { return java.util.Collections.unmodifiableList(tradeTime_); } else { return tradeTimeBuilder_.getMessageList(); } } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public int getTradeTimeCount() { if (tradeTimeBuilder_ == null) { return tradeTime_.size(); } else { return tradeTimeBuilder_.getCount(); } } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime getTradeTime(int index) { if (tradeTimeBuilder_ == null) { return tradeTime_.get(index); } else { return tradeTimeBuilder_.getMessage(index); } } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder setTradeTime( int index, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime value) { if (tradeTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTradeTimeIsMutable(); tradeTime_.set(index, value); onChanged(); } else { tradeTimeBuilder_.setMessage(index, value); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder setTradeTime( int index, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder builderForValue) { if (tradeTimeBuilder_ == null) { ensureTradeTimeIsMutable(); tradeTime_.set(index, builderForValue.build()); onChanged(); } else { tradeTimeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder addTradeTime(com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime value) { if (tradeTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTradeTimeIsMutable(); tradeTime_.add(value); onChanged(); } else { tradeTimeBuilder_.addMessage(value); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder addTradeTime( int index, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime value) { if (tradeTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTradeTimeIsMutable(); tradeTime_.add(index, value); onChanged(); } else { tradeTimeBuilder_.addMessage(index, value); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder addTradeTime( com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder builderForValue) { if (tradeTimeBuilder_ == null) { ensureTradeTimeIsMutable(); tradeTime_.add(builderForValue.build()); onChanged(); } else { tradeTimeBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder addTradeTime( int index, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder builderForValue) { if (tradeTimeBuilder_ == null) { ensureTradeTimeIsMutable(); tradeTime_.add(index, builderForValue.build()); onChanged(); } else { tradeTimeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder addAllTradeTime( java.lang.Iterable values) { if (tradeTimeBuilder_ == null) { ensureTradeTimeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tradeTime_); onChanged(); } else { tradeTimeBuilder_.addAllMessages(values); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder clearTradeTime() { if (tradeTimeBuilder_ == null) { tradeTime_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { tradeTimeBuilder_.clear(); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public Builder removeTradeTime(int index) { if (tradeTimeBuilder_ == null) { ensureTradeTimeIsMutable(); tradeTime_.remove(index); onChanged(); } else { tradeTimeBuilder_.remove(index); } return this; } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder getTradeTimeBuilder( int index) { return getTradeTimeFieldBuilder().getBuilder(index); } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder getTradeTimeOrBuilder( int index) { if (tradeTimeBuilder_ == null) { return tradeTime_.get(index); } else { return tradeTimeBuilder_.getMessageOrBuilder(index); } } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public java.util.List getTradeTimeOrBuilderList() { if (tradeTimeBuilder_ != null) { return tradeTimeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tradeTime_); } } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder addTradeTimeBuilder() { return getTradeTimeFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.getDefaultInstance()); } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder addTradeTimeBuilder( int index) { return getTradeTimeFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.getDefaultInstance()); } /** *
       *交易时间
       * 
* * repeated .Qot_GetFutureInfo.TradeTime tradeTime = 15; */ public java.util.List getTradeTimeBuilderList() { return getTradeTimeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder> getTradeTimeFieldBuilder() { if (tradeTimeBuilder_ == null) { tradeTimeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTime.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.TradeTimeOrBuilder>( tradeTime_, ((bitField0_ & 0x00004000) == 0x00004000), getParentForChildren(), isClean()); tradeTime_ = null; } return tradeTimeBuilder_; } private java.lang.Object timeZone_ = ""; /** *
       *所在时区
       * 
* * required string timeZone = 16; */ public boolean hasTimeZone() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
       *所在时区
       * 
* * required string timeZone = 16; */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; 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()) { timeZone_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *所在时区
       * 
* * required string timeZone = 16; */ public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timeZone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *所在时区
       * 
* * required string timeZone = 16; */ public Builder setTimeZone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; timeZone_ = value; onChanged(); return this; } /** *
       *所在时区
       * 
* * required string timeZone = 16; */ public Builder clearTimeZone() { bitField0_ = (bitField0_ & ~0x00008000); timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** *
       *所在时区
       * 
* * required string timeZone = 16; */ public Builder setTimeZoneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; timeZone_ = value; onChanged(); return this; } private java.lang.Object exchangeFormatUrl_ = ""; /** *
       *交易所规格
       * 
* * required string exchangeFormatUrl = 17; */ public boolean hasExchangeFormatUrl() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
       *交易所规格
       * 
* * required string exchangeFormatUrl = 17; */ public java.lang.String getExchangeFormatUrl() { java.lang.Object ref = exchangeFormatUrl_; 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()) { exchangeFormatUrl_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *交易所规格
       * 
* * required string exchangeFormatUrl = 17; */ public com.google.protobuf.ByteString getExchangeFormatUrlBytes() { java.lang.Object ref = exchangeFormatUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exchangeFormatUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *交易所规格
       * 
* * required string exchangeFormatUrl = 17; */ public Builder setExchangeFormatUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; exchangeFormatUrl_ = value; onChanged(); return this; } /** *
       *交易所规格
       * 
* * required string exchangeFormatUrl = 17; */ public Builder clearExchangeFormatUrl() { bitField0_ = (bitField0_ & ~0x00010000); exchangeFormatUrl_ = getDefaultInstance().getExchangeFormatUrl(); onChanged(); return this; } /** *
       *交易所规格
       * 
* * required string exchangeFormatUrl = 17; */ public Builder setExchangeFormatUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; exchangeFormatUrl_ = value; onChanged(); return this; } private com.moomoo.openapi.pb.QotCommon.Security origin_ = 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> originBuilder_; /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public boolean hasOrigin() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public com.moomoo.openapi.pb.QotCommon.Security getOrigin() { if (originBuilder_ == null) { return origin_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : origin_; } else { return originBuilder_.getMessage(); } } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public Builder setOrigin(com.moomoo.openapi.pb.QotCommon.Security value) { if (originBuilder_ == null) { if (value == null) { throw new NullPointerException(); } origin_ = value; onChanged(); } else { originBuilder_.setMessage(value); } bitField0_ |= 0x00020000; return this; } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public Builder setOrigin( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (originBuilder_ == null) { origin_ = builderForValue.build(); onChanged(); } else { originBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; return this; } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public Builder mergeOrigin(com.moomoo.openapi.pb.QotCommon.Security value) { if (originBuilder_ == null) { if (((bitField0_ & 0x00020000) == 0x00020000) && origin_ != null && origin_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { origin_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(origin_).mergeFrom(value).buildPartial(); } else { origin_ = value; } onChanged(); } else { originBuilder_.mergeFrom(value); } bitField0_ |= 0x00020000; return this; } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public Builder clearOrigin() { if (originBuilder_ == null) { origin_ = null; onChanged(); } else { originBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00020000); return this; } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getOriginBuilder() { bitField0_ |= 0x00020000; onChanged(); return getOriginFieldBuilder().getBuilder(); } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getOriginOrBuilder() { if (originBuilder_ != null) { return originBuilder_.getMessageOrBuilder(); } else { return origin_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : origin_; } } /** *
       *实际合约代码
       * 
* * optional .Qot_Common.Security origin = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getOriginFieldBuilder() { if (originBuilder_ == null) { originBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getOrigin(), getParentForChildren(), isClean()); origin_ = null; } return originBuilder_; } 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_GetFutureInfo.FutureInfo) } // @@protoc_insertion_point(class_scope:Qot_GetFutureInfo.FutureInfo) private static final com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo(); } public static com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FutureInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FutureInfo(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.QotGetFutureInfo.FutureInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface C2SOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetFutureInfo.C2S) com.google.protobuf.MessageOrBuilder { /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ java.util.List getSecurityListList(); /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index); /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ int getSecurityListCount(); /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ java.util.List getSecurityListOrBuilderList(); /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index); } /** * Protobuf type {@code Qot_GetFutureInfo.C2S} */ public static final class C2S extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetFutureInfo.C2S) C2SOrBuilder { private static final long serialVersionUID = 0L; // Use C2S.newBuilder() to construct. private C2S(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private C2S() { securityList_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private C2S( 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)) { securityList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } 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_ & 0x00000001) == 0x00000001)) { 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.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_C2S_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_C2S_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.C2S.class, com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder.class); } public static final int SECURITYLIST_FIELD_NUMBER = 1; private java.util.List securityList_; /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ public java.util.List getSecurityListList() { return securityList_; } /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ public java.util.List getSecurityListOrBuilderList() { return securityList_; } /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ public int getSecurityListCount() { return securityList_.size(); } /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index) { return securityList_.get(index); } /** *
     *股票列表
     * 
* * repeated .Qot_Common.Security securityList = 1; */ 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; 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 { for (int i = 0; i < securityList_.size(); i++) { output.writeMessage(1, securityList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < securityList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, 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.QotGetFutureInfo.C2S)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetFutureInfo.C2S other = (com.moomoo.openapi.pb.QotGetFutureInfo.C2S) obj; boolean result = true; 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 (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.QotGetFutureInfo.C2S parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S 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.QotGetFutureInfo.C2S parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S 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.QotGetFutureInfo.C2S parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S 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.QotGetFutureInfo.C2S parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S 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.QotGetFutureInfo.C2S parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S 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.QotGetFutureInfo.C2S 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_GetFutureInfo.C2S} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetFutureInfo.C2S) com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_C2S_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_C2S_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.C2S.class, com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetFutureInfo.C2S.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(); if (securityListBuilder_ == null) { securityList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { securityListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_C2S_descriptor; } public com.moomoo.openapi.pb.QotGetFutureInfo.C2S getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetFutureInfo.C2S build() { com.moomoo.openapi.pb.QotGetFutureInfo.C2S result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetFutureInfo.C2S buildPartial() { com.moomoo.openapi.pb.QotGetFutureInfo.C2S result = new com.moomoo.openapi.pb.QotGetFutureInfo.C2S(this); int from_bitField0_ = bitField0_; if (securityListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { securityList_ = java.util.Collections.unmodifiableList(securityList_); bitField0_ = (bitField0_ & ~0x00000001); } result.securityList_ = securityList_; } else { result.securityList_ = securityListBuilder_.build(); } 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.QotGetFutureInfo.C2S) { return mergeFrom((com.moomoo.openapi.pb.QotGetFutureInfo.C2S)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetFutureInfo.C2S other) { if (other == com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance()) return this; if (securityListBuilder_ == null) { if (!other.securityList_.isEmpty()) { if (securityList_.isEmpty()) { securityList_ = other.securityList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSecurityListIsMutable(); securityList_.addAll(other.securityList_); } onChanged(); } } else { if (!other.securityList_.isEmpty()) { if (securityListBuilder_.isEmpty()) { securityListBuilder_.dispose(); securityListBuilder_ = null; securityList_ = other.securityList_; bitField0_ = (bitField0_ & ~0x00000001); securityListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecurityListFieldBuilder() : null; } else { securityListBuilder_.addAllMessages(other.securityList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { 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.QotGetFutureInfo.C2S parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetFutureInfo.C2S) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List securityList_ = java.util.Collections.emptyList(); private void ensureSecurityListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { securityList_ = new java.util.ArrayList(securityList_); bitField0_ |= 0x00000001; } } 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 = 1; */ public java.util.List getSecurityListList() { if (securityListBuilder_ == null) { return java.util.Collections.unmodifiableList(securityList_); } else { return securityListBuilder_.getMessageList(); } } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ public int getSecurityListCount() { if (securityListBuilder_ == null) { return securityList_.size(); } else { return securityListBuilder_.getCount(); } } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ 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 = 1; */ 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 = 1; */ 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 = 1; */ 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 = 1; */ 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 = 1; */ 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 = 1; */ 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 = 1; */ 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 = 1; */ public Builder clearSecurityList() { if (securityListBuilder_ == null) { securityList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { securityListBuilder_.clear(); } return this; } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ public Builder removeSecurityList(int index) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.remove(index); onChanged(); } else { securityListBuilder_.remove(index); } return this; } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityListBuilder( int index) { return getSecurityListFieldBuilder().getBuilder(index); } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ 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 = 1; */ public java.util.List getSecurityListOrBuilderList() { if (securityListBuilder_ != null) { return securityListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(securityList_); } } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder addSecurityListBuilder() { return getSecurityListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()); } /** *
       *股票列表
       * 
* * repeated .Qot_Common.Security securityList = 1; */ 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 = 1; */ 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_ & 0x00000001) == 0x00000001), 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_GetFutureInfo.C2S) } // @@protoc_insertion_point(class_scope:Qot_GetFutureInfo.C2S) private static final com.moomoo.openapi.pb.QotGetFutureInfo.C2S DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetFutureInfo.C2S(); } public static com.moomoo.openapi.pb.QotGetFutureInfo.C2S getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public C2S parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new C2S(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.QotGetFutureInfo.C2S getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface S2COrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetFutureInfo.S2C) com.google.protobuf.MessageOrBuilder { /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ java.util.List getFutureInfoListList(); /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo getFutureInfoList(int index); /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ int getFutureInfoListCount(); /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ java.util.List getFutureInfoListOrBuilderList(); /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder getFutureInfoListOrBuilder( int index); } /** * Protobuf type {@code Qot_GetFutureInfo.S2C} */ public static final class S2C extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetFutureInfo.S2C) S2COrBuilder { private static final long serialVersionUID = 0L; // Use S2C.newBuilder() to construct. private S2C(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private S2C() { futureInfoList_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private S2C( 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)) { futureInfoList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } futureInfoList_.add( input.readMessage(com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.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_ & 0x00000001) == 0x00000001)) { futureInfoList_ = java.util.Collections.unmodifiableList(futureInfoList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_S2C_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_S2C_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.S2C.class, com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder.class); } public static final int FUTUREINFOLIST_FIELD_NUMBER = 1; private java.util.List futureInfoList_; /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public java.util.List getFutureInfoListList() { return futureInfoList_; } /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public java.util.List getFutureInfoListOrBuilderList() { return futureInfoList_; } /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public int getFutureInfoListCount() { return futureInfoList_.size(); } /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo getFutureInfoList(int index) { return futureInfoList_.get(index); } /** *
     *期货合约资料的列表
     * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder getFutureInfoListOrBuilder( int index) { return futureInfoList_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getFutureInfoListCount(); i++) { if (!getFutureInfoList(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 < futureInfoList_.size(); i++) { output.writeMessage(1, futureInfoList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < futureInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, futureInfoList_.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.QotGetFutureInfo.S2C)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetFutureInfo.S2C other = (com.moomoo.openapi.pb.QotGetFutureInfo.S2C) obj; boolean result = true; result = result && getFutureInfoListList() .equals(other.getFutureInfoListList()); 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 (getFutureInfoListCount() > 0) { hash = (37 * hash) + FUTUREINFOLIST_FIELD_NUMBER; hash = (53 * hash) + getFutureInfoListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C 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.QotGetFutureInfo.S2C parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C 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.QotGetFutureInfo.S2C parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C 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.QotGetFutureInfo.S2C parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C 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.QotGetFutureInfo.S2C parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C 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.QotGetFutureInfo.S2C 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_GetFutureInfo.S2C} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetFutureInfo.S2C) com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_S2C_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_S2C_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.S2C.class, com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetFutureInfo.S2C.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFutureInfoListFieldBuilder(); } } public Builder clear() { super.clear(); if (futureInfoListBuilder_ == null) { futureInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { futureInfoListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_S2C_descriptor; } public com.moomoo.openapi.pb.QotGetFutureInfo.S2C getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetFutureInfo.S2C build() { com.moomoo.openapi.pb.QotGetFutureInfo.S2C result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetFutureInfo.S2C buildPartial() { com.moomoo.openapi.pb.QotGetFutureInfo.S2C result = new com.moomoo.openapi.pb.QotGetFutureInfo.S2C(this); int from_bitField0_ = bitField0_; if (futureInfoListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { futureInfoList_ = java.util.Collections.unmodifiableList(futureInfoList_); bitField0_ = (bitField0_ & ~0x00000001); } result.futureInfoList_ = futureInfoList_; } else { result.futureInfoList_ = futureInfoListBuilder_.build(); } 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.QotGetFutureInfo.S2C) { return mergeFrom((com.moomoo.openapi.pb.QotGetFutureInfo.S2C)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetFutureInfo.S2C other) { if (other == com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance()) return this; if (futureInfoListBuilder_ == null) { if (!other.futureInfoList_.isEmpty()) { if (futureInfoList_.isEmpty()) { futureInfoList_ = other.futureInfoList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFutureInfoListIsMutable(); futureInfoList_.addAll(other.futureInfoList_); } onChanged(); } } else { if (!other.futureInfoList_.isEmpty()) { if (futureInfoListBuilder_.isEmpty()) { futureInfoListBuilder_.dispose(); futureInfoListBuilder_ = null; futureInfoList_ = other.futureInfoList_; bitField0_ = (bitField0_ & ~0x00000001); futureInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFutureInfoListFieldBuilder() : null; } else { futureInfoListBuilder_.addAllMessages(other.futureInfoList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getFutureInfoListCount(); i++) { if (!getFutureInfoList(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.QotGetFutureInfo.S2C parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetFutureInfo.S2C) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List futureInfoList_ = java.util.Collections.emptyList(); private void ensureFutureInfoListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { futureInfoList_ = new java.util.ArrayList(futureInfoList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder> futureInfoListBuilder_; /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public java.util.List getFutureInfoListList() { if (futureInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(futureInfoList_); } else { return futureInfoListBuilder_.getMessageList(); } } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public int getFutureInfoListCount() { if (futureInfoListBuilder_ == null) { return futureInfoList_.size(); } else { return futureInfoListBuilder_.getCount(); } } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo getFutureInfoList(int index) { if (futureInfoListBuilder_ == null) { return futureInfoList_.get(index); } else { return futureInfoListBuilder_.getMessage(index); } } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder setFutureInfoList( int index, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo value) { if (futureInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFutureInfoListIsMutable(); futureInfoList_.set(index, value); onChanged(); } else { futureInfoListBuilder_.setMessage(index, value); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder setFutureInfoList( int index, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder builderForValue) { if (futureInfoListBuilder_ == null) { ensureFutureInfoListIsMutable(); futureInfoList_.set(index, builderForValue.build()); onChanged(); } else { futureInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder addFutureInfoList(com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo value) { if (futureInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFutureInfoListIsMutable(); futureInfoList_.add(value); onChanged(); } else { futureInfoListBuilder_.addMessage(value); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder addFutureInfoList( int index, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo value) { if (futureInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFutureInfoListIsMutable(); futureInfoList_.add(index, value); onChanged(); } else { futureInfoListBuilder_.addMessage(index, value); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder addFutureInfoList( com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder builderForValue) { if (futureInfoListBuilder_ == null) { ensureFutureInfoListIsMutable(); futureInfoList_.add(builderForValue.build()); onChanged(); } else { futureInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder addFutureInfoList( int index, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder builderForValue) { if (futureInfoListBuilder_ == null) { ensureFutureInfoListIsMutable(); futureInfoList_.add(index, builderForValue.build()); onChanged(); } else { futureInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder addAllFutureInfoList( java.lang.Iterable values) { if (futureInfoListBuilder_ == null) { ensureFutureInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, futureInfoList_); onChanged(); } else { futureInfoListBuilder_.addAllMessages(values); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder clearFutureInfoList() { if (futureInfoListBuilder_ == null) { futureInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { futureInfoListBuilder_.clear(); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public Builder removeFutureInfoList(int index) { if (futureInfoListBuilder_ == null) { ensureFutureInfoListIsMutable(); futureInfoList_.remove(index); onChanged(); } else { futureInfoListBuilder_.remove(index); } return this; } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder getFutureInfoListBuilder( int index) { return getFutureInfoListFieldBuilder().getBuilder(index); } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder getFutureInfoListOrBuilder( int index) { if (futureInfoListBuilder_ == null) { return futureInfoList_.get(index); } else { return futureInfoListBuilder_.getMessageOrBuilder(index); } } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public java.util.List getFutureInfoListOrBuilderList() { if (futureInfoListBuilder_ != null) { return futureInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(futureInfoList_); } } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder addFutureInfoListBuilder() { return getFutureInfoListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.getDefaultInstance()); } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder addFutureInfoListBuilder( int index) { return getFutureInfoListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.getDefaultInstance()); } /** *
       *期货合约资料的列表
       * 
* * repeated .Qot_GetFutureInfo.FutureInfo futureInfoList = 1; */ public java.util.List getFutureInfoListBuilderList() { return getFutureInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder> getFutureInfoListFieldBuilder() { if (futureInfoListBuilder_ == null) { futureInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfo.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.FutureInfoOrBuilder>( futureInfoList_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); futureInfoList_ = null; } return futureInfoListBuilder_; } 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_GetFutureInfo.S2C) } // @@protoc_insertion_point(class_scope:Qot_GetFutureInfo.S2C) private static final com.moomoo.openapi.pb.QotGetFutureInfo.S2C DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetFutureInfo.S2C(); } public static com.moomoo.openapi.pb.QotGetFutureInfo.S2C getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public S2C parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new S2C(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.QotGetFutureInfo.S2C getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetFutureInfo.Request) com.google.protobuf.MessageOrBuilder { /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ boolean hasC2S(); /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ com.moomoo.openapi.pb.QotGetFutureInfo.C2S getC2S(); /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder getC2SOrBuilder(); } /** * Protobuf type {@code Qot_GetFutureInfo.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetFutureInfo.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Request( 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.QotGetFutureInfo.C2S.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = c2S_.toBuilder(); } c2S_ = input.readMessage(com.moomoo.openapi.pb.QotGetFutureInfo.C2S.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(c2S_); c2S_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Request_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.Request.class, com.moomoo.openapi.pb.QotGetFutureInfo.Request.Builder.class); } private int bitField0_; public static final int C2S_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.QotGetFutureInfo.C2S c2S_; /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public boolean hasC2S() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.C2S getC2S() { return c2S_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance() : c2S_; } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder getC2SOrBuilder() { return c2S_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance() : c2S_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasC2S()) { memoizedIsInitialized = 0; return false; } if (!getC2S().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, getC2S()); } 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, getC2S()); } 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.QotGetFutureInfo.Request)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetFutureInfo.Request other = (com.moomoo.openapi.pb.QotGetFutureInfo.Request) obj; boolean result = true; result = result && (hasC2S() == other.hasC2S()); if (hasC2S()) { result = result && getC2S() .equals(other.getC2S()); } 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 (hasC2S()) { hash = (37 * hash) + C2S_FIELD_NUMBER; hash = (53 * hash) + getC2S().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request 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.QotGetFutureInfo.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request 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.QotGetFutureInfo.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request 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.QotGetFutureInfo.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request 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.QotGetFutureInfo.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request 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.QotGetFutureInfo.Request 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_GetFutureInfo.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetFutureInfo.Request) com.moomoo.openapi.pb.QotGetFutureInfo.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Request_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.Request.class, com.moomoo.openapi.pb.QotGetFutureInfo.Request.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetFutureInfo.Request.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getC2SFieldBuilder(); } } public Builder clear() { super.clear(); if (c2SBuilder_ == null) { c2S_ = null; } else { c2SBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Request_descriptor; } public com.moomoo.openapi.pb.QotGetFutureInfo.Request getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.Request.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetFutureInfo.Request build() { com.moomoo.openapi.pb.QotGetFutureInfo.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetFutureInfo.Request buildPartial() { com.moomoo.openapi.pb.QotGetFutureInfo.Request result = new com.moomoo.openapi.pb.QotGetFutureInfo.Request(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (c2SBuilder_ == null) { result.c2S_ = c2S_; } else { result.c2S_ = c2SBuilder_.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.QotGetFutureInfo.Request) { return mergeFrom((com.moomoo.openapi.pb.QotGetFutureInfo.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetFutureInfo.Request other) { if (other == com.moomoo.openapi.pb.QotGetFutureInfo.Request.getDefaultInstance()) return this; if (other.hasC2S()) { mergeC2S(other.getC2S()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasC2S()) { return false; } if (!getC2S().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.QotGetFutureInfo.Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetFutureInfo.Request) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.QotGetFutureInfo.C2S c2S_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.C2S, com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder> c2SBuilder_; /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public boolean hasC2S() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.C2S getC2S() { if (c2SBuilder_ == null) { return c2S_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance() : c2S_; } else { return c2SBuilder_.getMessage(); } } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public Builder setC2S(com.moomoo.openapi.pb.QotGetFutureInfo.C2S value) { if (c2SBuilder_ == null) { if (value == null) { throw new NullPointerException(); } c2S_ = value; onChanged(); } else { c2SBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public Builder setC2S( com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder builderForValue) { if (c2SBuilder_ == null) { c2S_ = builderForValue.build(); onChanged(); } else { c2SBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public Builder mergeC2S(com.moomoo.openapi.pb.QotGetFutureInfo.C2S value) { if (c2SBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && c2S_ != null && c2S_ != com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance()) { c2S_ = com.moomoo.openapi.pb.QotGetFutureInfo.C2S.newBuilder(c2S_).mergeFrom(value).buildPartial(); } else { c2S_ = value; } onChanged(); } else { c2SBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public Builder clearC2S() { if (c2SBuilder_ == null) { c2S_ = null; onChanged(); } else { c2SBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder getC2SBuilder() { bitField0_ |= 0x00000001; onChanged(); return getC2SFieldBuilder().getBuilder(); } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder getC2SOrBuilder() { if (c2SBuilder_ != null) { return c2SBuilder_.getMessageOrBuilder(); } else { return c2S_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.C2S.getDefaultInstance() : c2S_; } } /** * required .Qot_GetFutureInfo.C2S c2s = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.C2S, com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder> getC2SFieldBuilder() { if (c2SBuilder_ == null) { c2SBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.C2S, com.moomoo.openapi.pb.QotGetFutureInfo.C2S.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.C2SOrBuilder>( getC2S(), getParentForChildren(), isClean()); c2S_ = null; } return c2SBuilder_; } 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_GetFutureInfo.Request) } // @@protoc_insertion_point(class_scope:Qot_GetFutureInfo.Request) private static final com.moomoo.openapi.pb.QotGetFutureInfo.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetFutureInfo.Request(); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Request getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Request(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.QotGetFutureInfo.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetFutureInfo.Response) com.google.protobuf.MessageOrBuilder { /** *
     *RetType,返回结果
     * 
* * required int32 retType = 1 [default = -400]; */ boolean hasRetType(); /** *
     *RetType,返回结果
     * 
* * required int32 retType = 1 [default = -400]; */ int getRetType(); /** * optional string retMsg = 2; */ boolean hasRetMsg(); /** * optional string retMsg = 2; */ java.lang.String getRetMsg(); /** * optional string retMsg = 2; */ com.google.protobuf.ByteString getRetMsgBytes(); /** * optional int32 errCode = 3; */ boolean hasErrCode(); /** * optional int32 errCode = 3; */ int getErrCode(); /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ boolean hasS2C(); /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ com.moomoo.openapi.pb.QotGetFutureInfo.S2C getS2C(); /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder getS2COrBuilder(); } /** * Protobuf type {@code Qot_GetFutureInfo.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetFutureInfo.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Response() { retType_ = -400; retMsg_ = ""; errCode_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Response( 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; retType_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; retMsg_ = bs; break; } case 24: { bitField0_ |= 0x00000004; errCode_ = input.readInt32(); break; } case 34: { com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = s2C_.toBuilder(); } s2C_ = input.readMessage(com.moomoo.openapi.pb.QotGetFutureInfo.S2C.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(s2C_); s2C_ = 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.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Response_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.Response.class, com.moomoo.openapi.pb.QotGetFutureInfo.Response.Builder.class); } private int bitField0_; public static final int RETTYPE_FIELD_NUMBER = 1; private int retType_; /** *
     *RetType,返回结果
     * 
* * required int32 retType = 1 [default = -400]; */ public boolean hasRetType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *RetType,返回结果
     * 
* * required int32 retType = 1 [default = -400]; */ public int getRetType() { return retType_; } public static final int RETMSG_FIELD_NUMBER = 2; private volatile java.lang.Object retMsg_; /** * optional string retMsg = 2; */ public boolean hasRetMsg() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string retMsg = 2; */ public java.lang.String getRetMsg() { java.lang.Object ref = retMsg_; 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()) { retMsg_ = s; } return s; } } /** * optional string retMsg = 2; */ public com.google.protobuf.ByteString getRetMsgBytes() { java.lang.Object ref = retMsg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); retMsg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ERRCODE_FIELD_NUMBER = 3; private int errCode_; /** * optional int32 errCode = 3; */ public boolean hasErrCode() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 errCode = 3; */ public int getErrCode() { return errCode_; } public static final int S2C_FIELD_NUMBER = 4; private com.moomoo.openapi.pb.QotGetFutureInfo.S2C s2C_; /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public boolean hasS2C() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetFutureInfo.S2C getS2C() { return s2C_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance() : s2C_; } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder getS2COrBuilder() { return s2C_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance() : s2C_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasRetType()) { memoizedIsInitialized = 0; return false; } if (hasS2C()) { if (!getS2C().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, retType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, retMsg_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, errCode_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getS2C()); } 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, retType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, retMsg_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, errCode_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getS2C()); } 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.QotGetFutureInfo.Response)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetFutureInfo.Response other = (com.moomoo.openapi.pb.QotGetFutureInfo.Response) obj; boolean result = true; result = result && (hasRetType() == other.hasRetType()); if (hasRetType()) { result = result && (getRetType() == other.getRetType()); } result = result && (hasRetMsg() == other.hasRetMsg()); if (hasRetMsg()) { result = result && getRetMsg() .equals(other.getRetMsg()); } result = result && (hasErrCode() == other.hasErrCode()); if (hasErrCode()) { result = result && (getErrCode() == other.getErrCode()); } result = result && (hasS2C() == other.hasS2C()); if (hasS2C()) { result = result && getS2C() .equals(other.getS2C()); } 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 (hasRetType()) { hash = (37 * hash) + RETTYPE_FIELD_NUMBER; hash = (53 * hash) + getRetType(); } if (hasRetMsg()) { hash = (37 * hash) + RETMSG_FIELD_NUMBER; hash = (53 * hash) + getRetMsg().hashCode(); } if (hasErrCode()) { hash = (37 * hash) + ERRCODE_FIELD_NUMBER; hash = (53 * hash) + getErrCode(); } if (hasS2C()) { hash = (37 * hash) + S2C_FIELD_NUMBER; hash = (53 * hash) + getS2C().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response 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.QotGetFutureInfo.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response 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.QotGetFutureInfo.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response 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.QotGetFutureInfo.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response 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.QotGetFutureInfo.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response 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.QotGetFutureInfo.Response 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_GetFutureInfo.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetFutureInfo.Response) com.moomoo.openapi.pb.QotGetFutureInfo.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Response_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetFutureInfo.Response.class, com.moomoo.openapi.pb.QotGetFutureInfo.Response.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetFutureInfo.Response.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getS2CFieldBuilder(); } } public Builder clear() { super.clear(); retType_ = -400; bitField0_ = (bitField0_ & ~0x00000001); retMsg_ = ""; bitField0_ = (bitField0_ & ~0x00000002); errCode_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (s2CBuilder_ == null) { s2C_ = null; } else { s2CBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.internal_static_Qot_GetFutureInfo_Response_descriptor; } public com.moomoo.openapi.pb.QotGetFutureInfo.Response getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetFutureInfo.Response.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetFutureInfo.Response build() { com.moomoo.openapi.pb.QotGetFutureInfo.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetFutureInfo.Response buildPartial() { com.moomoo.openapi.pb.QotGetFutureInfo.Response result = new com.moomoo.openapi.pb.QotGetFutureInfo.Response(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.retType_ = retType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.retMsg_ = retMsg_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.errCode_ = errCode_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (s2CBuilder_ == null) { result.s2C_ = s2C_; } else { result.s2C_ = s2CBuilder_.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.QotGetFutureInfo.Response) { return mergeFrom((com.moomoo.openapi.pb.QotGetFutureInfo.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetFutureInfo.Response other) { if (other == com.moomoo.openapi.pb.QotGetFutureInfo.Response.getDefaultInstance()) return this; if (other.hasRetType()) { setRetType(other.getRetType()); } if (other.hasRetMsg()) { bitField0_ |= 0x00000002; retMsg_ = other.retMsg_; onChanged(); } if (other.hasErrCode()) { setErrCode(other.getErrCode()); } if (other.hasS2C()) { mergeS2C(other.getS2C()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasRetType()) { return false; } if (hasS2C()) { if (!getS2C().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.QotGetFutureInfo.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetFutureInfo.Response) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int retType_ = -400; /** *
       *RetType,返回结果
       * 
* * required int32 retType = 1 [default = -400]; */ public boolean hasRetType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *RetType,返回结果
       * 
* * required int32 retType = 1 [default = -400]; */ public int getRetType() { return retType_; } /** *
       *RetType,返回结果
       * 
* * required int32 retType = 1 [default = -400]; */ public Builder setRetType(int value) { bitField0_ |= 0x00000001; retType_ = value; onChanged(); return this; } /** *
       *RetType,返回结果
       * 
* * required int32 retType = 1 [default = -400]; */ public Builder clearRetType() { bitField0_ = (bitField0_ & ~0x00000001); retType_ = -400; onChanged(); return this; } private java.lang.Object retMsg_ = ""; /** * optional string retMsg = 2; */ public boolean hasRetMsg() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string retMsg = 2; */ public java.lang.String getRetMsg() { java.lang.Object ref = retMsg_; 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()) { retMsg_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string retMsg = 2; */ public com.google.protobuf.ByteString getRetMsgBytes() { java.lang.Object ref = retMsg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); retMsg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string retMsg = 2; */ public Builder setRetMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; retMsg_ = value; onChanged(); return this; } /** * optional string retMsg = 2; */ public Builder clearRetMsg() { bitField0_ = (bitField0_ & ~0x00000002); retMsg_ = getDefaultInstance().getRetMsg(); onChanged(); return this; } /** * optional string retMsg = 2; */ public Builder setRetMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; retMsg_ = value; onChanged(); return this; } private int errCode_ ; /** * optional int32 errCode = 3; */ public boolean hasErrCode() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 errCode = 3; */ public int getErrCode() { return errCode_; } /** * optional int32 errCode = 3; */ public Builder setErrCode(int value) { bitField0_ |= 0x00000004; errCode_ = value; onChanged(); return this; } /** * optional int32 errCode = 3; */ public Builder clearErrCode() { bitField0_ = (bitField0_ & ~0x00000004); errCode_ = 0; onChanged(); return this; } private com.moomoo.openapi.pb.QotGetFutureInfo.S2C s2C_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.S2C, com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder> s2CBuilder_; /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public boolean hasS2C() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetFutureInfo.S2C getS2C() { if (s2CBuilder_ == null) { return s2C_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance() : s2C_; } else { return s2CBuilder_.getMessage(); } } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public Builder setS2C(com.moomoo.openapi.pb.QotGetFutureInfo.S2C value) { if (s2CBuilder_ == null) { if (value == null) { throw new NullPointerException(); } s2C_ = value; onChanged(); } else { s2CBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public Builder setS2C( com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder builderForValue) { if (s2CBuilder_ == null) { s2C_ = builderForValue.build(); onChanged(); } else { s2CBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public Builder mergeS2C(com.moomoo.openapi.pb.QotGetFutureInfo.S2C value) { if (s2CBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && s2C_ != null && s2C_ != com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance()) { s2C_ = com.moomoo.openapi.pb.QotGetFutureInfo.S2C.newBuilder(s2C_).mergeFrom(value).buildPartial(); } else { s2C_ = value; } onChanged(); } else { s2CBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public Builder clearS2C() { if (s2CBuilder_ == null) { s2C_ = null; onChanged(); } else { s2CBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder getS2CBuilder() { bitField0_ |= 0x00000008; onChanged(); return getS2CFieldBuilder().getBuilder(); } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder getS2COrBuilder() { if (s2CBuilder_ != null) { return s2CBuilder_.getMessageOrBuilder(); } else { return s2C_ == null ? com.moomoo.openapi.pb.QotGetFutureInfo.S2C.getDefaultInstance() : s2C_; } } /** * optional .Qot_GetFutureInfo.S2C s2c = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.S2C, com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder> getS2CFieldBuilder() { if (s2CBuilder_ == null) { s2CBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetFutureInfo.S2C, com.moomoo.openapi.pb.QotGetFutureInfo.S2C.Builder, com.moomoo.openapi.pb.QotGetFutureInfo.S2COrBuilder>( getS2C(), getParentForChildren(), isClean()); s2C_ = null; } return s2CBuilder_; } 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_GetFutureInfo.Response) } // @@protoc_insertion_point(class_scope:Qot_GetFutureInfo.Response) private static final com.moomoo.openapi.pb.QotGetFutureInfo.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetFutureInfo.Response(); } public static com.moomoo.openapi.pb.QotGetFutureInfo.Response getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Response(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.QotGetFutureInfo.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetFutureInfo_TradeTime_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetFutureInfo_TradeTime_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetFutureInfo_FutureInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetFutureInfo_FutureInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetFutureInfo_C2S_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetFutureInfo_C2S_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetFutureInfo_S2C_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetFutureInfo_S2C_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetFutureInfo_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetFutureInfo_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetFutureInfo_Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetFutureInfo_Response_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\027Qot_GetFutureInfo.proto\022\021Qot_GetFuture" + "Info\032\014Common.proto\032\020Qot_Common.proto\"\'\n\t" + "TradeTime\022\r\n\005begin\030\001 \001(\001\022\013\n\003end\030\002 \001(\001\"\330\003" + "\n\nFutureInfo\022\014\n\004name\030\001 \002(\t\022&\n\010security\030\002" + " \002(\0132\024.Qot_Common.Security\022\025\n\rlastTradeT" + "ime\030\003 \002(\t\022\032\n\022lastTradeTimestamp\030\004 \001(\001\022#\n" + "\005owner\030\005 \001(\0132\024.Qot_Common.Security\022\022\n\now" + "nerOther\030\006 \002(\t\022\020\n\010exchange\030\007 \002(\t\022\024\n\014cont" + "ractType\030\010 \002(\t\022\024\n\014contractSize\030\t \002(\001\022\030\n\020" + "contractSizeUnit\030\n \002(\t\022\025\n\rquoteCurrency\030" + "\013 \002(\t\022\016\n\006minVar\030\014 \002(\001\022\022\n\nminVarUnit\030\r \002(" + "\t\022\021\n\tquoteUnit\030\016 \001(\t\022/\n\ttradeTime\030\017 \003(\0132" + "\034.Qot_GetFutureInfo.TradeTime\022\020\n\010timeZon" + "e\030\020 \002(\t\022\031\n\021exchangeFormatUrl\030\021 \002(\t\022$\n\006or" + "igin\030\022 \001(\0132\024.Qot_Common.Security\"1\n\003C2S\022" + "*\n\014securityList\030\001 \003(\0132\024.Qot_Common.Secur" + "ity\"<\n\003S2C\0225\n\016futureInfoList\030\001 \003(\0132\035.Qot" + "_GetFutureInfo.FutureInfo\".\n\007Request\022#\n\003" + "c2s\030\001 \002(\0132\026.Qot_GetFutureInfo.C2S\"g\n\010Res" + "ponse\022\025\n\007retType\030\001 \002(\005:\004-400\022\016\n\006retMsg\030\002" + " \001(\t\022\017\n\007errCode\030\003 \001(\005\022#\n\003s2c\030\004 \001(\0132\026.Qot" + "_GetFutureInfo.S2CBI\n\025com.moomoo.openapi" + ".pbZ0github.com/futuopen/ftapi4go/pb/qot" + "getfutureinfo" }; 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(), com.moomoo.openapi.pb.QotCommon.getDescriptor(), }, assigner); internal_static_Qot_GetFutureInfo_TradeTime_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Qot_GetFutureInfo_TradeTime_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetFutureInfo_TradeTime_descriptor, new java.lang.String[] { "Begin", "End", }); internal_static_Qot_GetFutureInfo_FutureInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Qot_GetFutureInfo_FutureInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetFutureInfo_FutureInfo_descriptor, new java.lang.String[] { "Name", "Security", "LastTradeTime", "LastTradeTimestamp", "Owner", "OwnerOther", "Exchange", "ContractType", "ContractSize", "ContractSizeUnit", "QuoteCurrency", "MinVar", "MinVarUnit", "QuoteUnit", "TradeTime", "TimeZone", "ExchangeFormatUrl", "Origin", }); internal_static_Qot_GetFutureInfo_C2S_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Qot_GetFutureInfo_C2S_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetFutureInfo_C2S_descriptor, new java.lang.String[] { "SecurityList", }); internal_static_Qot_GetFutureInfo_S2C_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Qot_GetFutureInfo_S2C_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetFutureInfo_S2C_descriptor, new java.lang.String[] { "FutureInfoList", }); internal_static_Qot_GetFutureInfo_Request_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Qot_GetFutureInfo_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetFutureInfo_Request_descriptor, new java.lang.String[] { "C2S", }); internal_static_Qot_GetFutureInfo_Response_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Qot_GetFutureInfo_Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetFutureInfo_Response_descriptor, new java.lang.String[] { "RetType", "RetMsg", "ErrCode", "S2C", }); com.moomoo.openapi.pb.Common.getDescriptor(); com.moomoo.openapi.pb.QotCommon.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy