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

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

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

package com.moomoo.openapi.pb;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code Qot_GetCodeChange.CodeChangeType}
   */
  public enum CodeChangeType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     *未知
     * 
* * CodeChangeType_Unkown = 0; */ CodeChangeType_Unkown(0), /** *
     *创业板转主板
     * 
* * CodeChangeType_GemToMain = 1; */ CodeChangeType_GemToMain(1), /** *
     *买卖未缴款供股权
     * 
* * CodeChangeType_Unpaid = 2; */ CodeChangeType_Unpaid(2), /** *
     *更改买卖单位
     * 
* * CodeChangeType_ChangeLot = 3; */ CodeChangeType_ChangeLot(3), /** *
     *拆股
     * 
* * CodeChangeType_Split = 4; */ CodeChangeType_Split(4), /** *
     *合股
     * 
* * CodeChangeType_Joint = 5; */ CodeChangeType_Joint(5), /** *
     *股份先并后拆
     * 
* * CodeChangeType_JointSplit = 6; */ CodeChangeType_JointSplit(6), /** *
     *股份先拆后并
     * 
* * CodeChangeType_SplitJoint = 7; */ CodeChangeType_SplitJoint(7), /** *
     *其他
     * 
* * CodeChangeType_Other = 8; */ CodeChangeType_Other(8), ; /** *
     *未知
     * 
* * CodeChangeType_Unkown = 0; */ public static final int CodeChangeType_Unkown_VALUE = 0; /** *
     *创业板转主板
     * 
* * CodeChangeType_GemToMain = 1; */ public static final int CodeChangeType_GemToMain_VALUE = 1; /** *
     *买卖未缴款供股权
     * 
* * CodeChangeType_Unpaid = 2; */ public static final int CodeChangeType_Unpaid_VALUE = 2; /** *
     *更改买卖单位
     * 
* * CodeChangeType_ChangeLot = 3; */ public static final int CodeChangeType_ChangeLot_VALUE = 3; /** *
     *拆股
     * 
* * CodeChangeType_Split = 4; */ public static final int CodeChangeType_Split_VALUE = 4; /** *
     *合股
     * 
* * CodeChangeType_Joint = 5; */ public static final int CodeChangeType_Joint_VALUE = 5; /** *
     *股份先并后拆
     * 
* * CodeChangeType_JointSplit = 6; */ public static final int CodeChangeType_JointSplit_VALUE = 6; /** *
     *股份先拆后并
     * 
* * CodeChangeType_SplitJoint = 7; */ public static final int CodeChangeType_SplitJoint_VALUE = 7; /** *
     *其他
     * 
* * CodeChangeType_Other = 8; */ public static final int CodeChangeType_Other_VALUE = 8; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CodeChangeType valueOf(int value) { return forNumber(value); } public static CodeChangeType forNumber(int value) { switch (value) { case 0: return CodeChangeType_Unkown; case 1: return CodeChangeType_GemToMain; case 2: return CodeChangeType_Unpaid; case 3: return CodeChangeType_ChangeLot; case 4: return CodeChangeType_Split; case 5: return CodeChangeType_Joint; case 6: return CodeChangeType_JointSplit; case 7: return CodeChangeType_SplitJoint; case 8: return CodeChangeType_Other; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CodeChangeType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CodeChangeType findValueByNumber(int number) { return CodeChangeType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.getDescriptor().getEnumTypes().get(0); } private static final CodeChangeType[] VALUES = values(); public static CodeChangeType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private CodeChangeType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_GetCodeChange.CodeChangeType) } /** * Protobuf enum {@code Qot_GetCodeChange.TimeFilterType} */ public enum TimeFilterType implements com.google.protobuf.ProtocolMessageEnum { /** * TimeFilterType_Unknow = 0; */ TimeFilterType_Unknow(0), /** *
     *根据公布时间过滤
     * 
* * TimeFilterType_Public = 1; */ TimeFilterType_Public(1), /** *
     *根据生效时间过滤
     * 
* * TimeFilterType_Effective = 2; */ TimeFilterType_Effective(2), /** *
     *根据结束时间过滤
     * 
* * TimeFilterType_End = 3; */ TimeFilterType_End(3), ; /** * TimeFilterType_Unknow = 0; */ public static final int TimeFilterType_Unknow_VALUE = 0; /** *
     *根据公布时间过滤
     * 
* * TimeFilterType_Public = 1; */ public static final int TimeFilterType_Public_VALUE = 1; /** *
     *根据生效时间过滤
     * 
* * TimeFilterType_Effective = 2; */ public static final int TimeFilterType_Effective_VALUE = 2; /** *
     *根据结束时间过滤
     * 
* * TimeFilterType_End = 3; */ public static final int TimeFilterType_End_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TimeFilterType valueOf(int value) { return forNumber(value); } public static TimeFilterType forNumber(int value) { switch (value) { case 0: return TimeFilterType_Unknow; case 1: return TimeFilterType_Public; case 2: return TimeFilterType_Effective; case 3: return TimeFilterType_End; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TimeFilterType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TimeFilterType findValueByNumber(int number) { return TimeFilterType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.getDescriptor().getEnumTypes().get(1); } private static final TimeFilterType[] VALUES = values(); public static TimeFilterType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private TimeFilterType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Qot_GetCodeChange.TimeFilterType) } public interface CodeChangeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetCodeChange.CodeChangeInfo) com.google.protobuf.MessageOrBuilder { /** *
     *CodeChangeType,代码变化或者新增临时代码的事件类型
     * 
* * required int32 type = 1; */ boolean hasType(); /** *
     *CodeChangeType,代码变化或者新增临时代码的事件类型
     * 
* * required int32 type = 1; */ int getType(); /** *
     *主代码,在创业板转主板中表示主板
     * 
* * 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 .Qot_Common.Security relatedSecurity = 3; */ boolean hasRelatedSecurity(); /** *
     *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
     * 
* * required .Qot_Common.Security relatedSecurity = 3; */ com.moomoo.openapi.pb.QotCommon.Security getRelatedSecurity(); /** *
     *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
     * 
* * required .Qot_Common.Security relatedSecurity = 3; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getRelatedSecurityOrBuilder(); /** *
     *公布时间
     * 
* * optional string publicTime = 4; */ boolean hasPublicTime(); /** *
     *公布时间
     * 
* * optional string publicTime = 4; */ java.lang.String getPublicTime(); /** *
     *公布时间
     * 
* * optional string publicTime = 4; */ com.google.protobuf.ByteString getPublicTimeBytes(); /** *
     *公布时间戳
     * 
* * optional double publicTimestamp = 5; */ boolean hasPublicTimestamp(); /** *
     *公布时间戳
     * 
* * optional double publicTimestamp = 5; */ double getPublicTimestamp(); /** *
     *生效时间
     * 
* * optional string effectiveTime = 6; */ boolean hasEffectiveTime(); /** *
     *生效时间
     * 
* * optional string effectiveTime = 6; */ java.lang.String getEffectiveTime(); /** *
     *生效时间
     * 
* * optional string effectiveTime = 6; */ com.google.protobuf.ByteString getEffectiveTimeBytes(); /** *
     *生效时间戳
     * 
* * optional double effectiveTimestamp = 7; */ boolean hasEffectiveTimestamp(); /** *
     *生效时间戳
     * 
* * optional double effectiveTimestamp = 7; */ double getEffectiveTimestamp(); /** *
     *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional string endTime = 8; */ boolean hasEndTime(); /** *
     *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional string endTime = 8; */ java.lang.String getEndTime(); /** *
     *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional string endTime = 8; */ com.google.protobuf.ByteString getEndTimeBytes(); /** *
     *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional double endTimestamp = 9; */ boolean hasEndTimestamp(); /** *
     *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional double endTimestamp = 9; */ double getEndTimestamp(); } /** * Protobuf type {@code Qot_GetCodeChange.CodeChangeInfo} */ public static final class CodeChangeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetCodeChange.CodeChangeInfo) CodeChangeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CodeChangeInfo.newBuilder() to construct. private CodeChangeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CodeChangeInfo() { type_ = 0; publicTime_ = ""; publicTimestamp_ = 0D; effectiveTime_ = ""; effectiveTimestamp_ = 0D; endTime_ = ""; endTimestamp_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CodeChangeInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; type_ = input.readInt32(); break; } case 18: { com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = 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.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = relatedSecurity_.toBuilder(); } relatedSecurity_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(relatedSecurity_); relatedSecurity_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; publicTime_ = bs; break; } case 41: { bitField0_ |= 0x00000010; publicTimestamp_ = input.readDouble(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; effectiveTime_ = bs; break; } case 57: { bitField0_ |= 0x00000040; effectiveTimestamp_ = input.readDouble(); break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; endTime_ = bs; break; } case 73: { bitField0_ |= 0x00000100; endTimestamp_ = 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.QotGetCodeChange.internal_static_Qot_GetCodeChange_CodeChangeInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_CodeChangeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.class, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
     *CodeChangeType,代码变化或者新增临时代码的事件类型
     * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *CodeChangeType,代码变化或者新增临时代码的事件类型
     * 
* * required int32 type = 1; */ public int getType() { return type_; } 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 RELATEDSECURITY_FIELD_NUMBER = 3; private com.moomoo.openapi.pb.QotCommon.Security relatedSecurity_; /** *
     *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
     * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public boolean hasRelatedSecurity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
     * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public com.moomoo.openapi.pb.QotCommon.Security getRelatedSecurity() { return relatedSecurity_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : relatedSecurity_; } /** *
     *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
     * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getRelatedSecurityOrBuilder() { return relatedSecurity_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : relatedSecurity_; } public static final int PUBLICTIME_FIELD_NUMBER = 4; private volatile java.lang.Object publicTime_; /** *
     *公布时间
     * 
* * optional string publicTime = 4; */ public boolean hasPublicTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *公布时间
     * 
* * optional string publicTime = 4; */ public java.lang.String getPublicTime() { java.lang.Object ref = publicTime_; 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()) { publicTime_ = s; } return s; } } /** *
     *公布时间
     * 
* * optional string publicTime = 4; */ public com.google.protobuf.ByteString getPublicTimeBytes() { java.lang.Object ref = publicTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); publicTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PUBLICTIMESTAMP_FIELD_NUMBER = 5; private double publicTimestamp_; /** *
     *公布时间戳
     * 
* * optional double publicTimestamp = 5; */ public boolean hasPublicTimestamp() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *公布时间戳
     * 
* * optional double publicTimestamp = 5; */ public double getPublicTimestamp() { return publicTimestamp_; } public static final int EFFECTIVETIME_FIELD_NUMBER = 6; private volatile java.lang.Object effectiveTime_; /** *
     *生效时间
     * 
* * optional string effectiveTime = 6; */ public boolean hasEffectiveTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *生效时间
     * 
* * optional string effectiveTime = 6; */ public java.lang.String getEffectiveTime() { java.lang.Object ref = effectiveTime_; 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()) { effectiveTime_ = s; } return s; } } /** *
     *生效时间
     * 
* * optional string effectiveTime = 6; */ public com.google.protobuf.ByteString getEffectiveTimeBytes() { java.lang.Object ref = effectiveTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effectiveTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EFFECTIVETIMESTAMP_FIELD_NUMBER = 7; private double effectiveTimestamp_; /** *
     *生效时间戳
     * 
* * optional double effectiveTimestamp = 7; */ public boolean hasEffectiveTimestamp() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *生效时间戳
     * 
* * optional double effectiveTimestamp = 7; */ public double getEffectiveTimestamp() { return effectiveTimestamp_; } public static final int ENDTIME_FIELD_NUMBER = 8; private volatile java.lang.Object endTime_; /** *
     *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional string endTime = 8; */ public boolean hasEndTime() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional string endTime = 8; */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; 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()) { endTime_ = s; } return s; } } /** *
     *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional string endTime = 8; */ public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDTIMESTAMP_FIELD_NUMBER = 9; private double endTimestamp_; /** *
     *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional double endTimestamp = 9; */ public boolean hasEndTimestamp() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
     * 
* * optional double endTimestamp = 9; */ public double getEndTimestamp() { return endTimestamp_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasSecurity()) { memoizedIsInitialized = 0; return false; } if (!hasRelatedSecurity()) { memoizedIsInitialized = 0; return false; } if (!getSecurity().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getRelatedSecurity().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getSecurity()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getRelatedSecurity()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, publicTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, publicTimestamp_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, effectiveTime_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, effectiveTimestamp_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endTime_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(9, endTimestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSecurity()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getRelatedSecurity()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, publicTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, publicTimestamp_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, effectiveTime_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, effectiveTimestamp_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endTime_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, endTimestamp_); } 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.QotGetCodeChange.CodeChangeInfo)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo other = (com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && (getType() == other.getType()); } result = result && (hasSecurity() == other.hasSecurity()); if (hasSecurity()) { result = result && getSecurity() .equals(other.getSecurity()); } result = result && (hasRelatedSecurity() == other.hasRelatedSecurity()); if (hasRelatedSecurity()) { result = result && getRelatedSecurity() .equals(other.getRelatedSecurity()); } result = result && (hasPublicTime() == other.hasPublicTime()); if (hasPublicTime()) { result = result && getPublicTime() .equals(other.getPublicTime()); } result = result && (hasPublicTimestamp() == other.hasPublicTimestamp()); if (hasPublicTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getPublicTimestamp()) == java.lang.Double.doubleToLongBits( other.getPublicTimestamp())); } result = result && (hasEffectiveTime() == other.hasEffectiveTime()); if (hasEffectiveTime()) { result = result && getEffectiveTime() .equals(other.getEffectiveTime()); } result = result && (hasEffectiveTimestamp() == other.hasEffectiveTimestamp()); if (hasEffectiveTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getEffectiveTimestamp()) == java.lang.Double.doubleToLongBits( other.getEffectiveTimestamp())); } result = result && (hasEndTime() == other.hasEndTime()); if (hasEndTime()) { result = result && getEndTime() .equals(other.getEndTime()); } result = result && (hasEndTimestamp() == other.hasEndTimestamp()); if (hasEndTimestamp()) { result = result && ( java.lang.Double.doubleToLongBits(getEndTimestamp()) == java.lang.Double.doubleToLongBits( other.getEndTimestamp())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasSecurity()) { hash = (37 * hash) + SECURITY_FIELD_NUMBER; hash = (53 * hash) + getSecurity().hashCode(); } if (hasRelatedSecurity()) { hash = (37 * hash) + RELATEDSECURITY_FIELD_NUMBER; hash = (53 * hash) + getRelatedSecurity().hashCode(); } if (hasPublicTime()) { hash = (37 * hash) + PUBLICTIME_FIELD_NUMBER; hash = (53 * hash) + getPublicTime().hashCode(); } if (hasPublicTimestamp()) { hash = (37 * hash) + PUBLICTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPublicTimestamp())); } if (hasEffectiveTime()) { hash = (37 * hash) + EFFECTIVETIME_FIELD_NUMBER; hash = (53 * hash) + getEffectiveTime().hashCode(); } if (hasEffectiveTimestamp()) { hash = (37 * hash) + EFFECTIVETIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getEffectiveTimestamp())); } if (hasEndTime()) { hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } if (hasEndTimestamp()) { hash = (37 * hash) + ENDTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getEndTimestamp())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo 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.QotGetCodeChange.CodeChangeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo 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.QotGetCodeChange.CodeChangeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo 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.QotGetCodeChange.CodeChangeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo 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.QotGetCodeChange.CodeChangeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo 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.QotGetCodeChange.CodeChangeInfo 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_GetCodeChange.CodeChangeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetCodeChange.CodeChangeInfo) com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_CodeChangeInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_CodeChangeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.class, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.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(); getRelatedSecurityFieldBuilder(); } } public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (securityBuilder_ == null) { security_ = null; } else { securityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (relatedSecurityBuilder_ == null) { relatedSecurity_ = null; } else { relatedSecurityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); publicTime_ = ""; bitField0_ = (bitField0_ & ~0x00000008); publicTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); effectiveTime_ = ""; bitField0_ = (bitField0_ & ~0x00000020); effectiveTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); endTime_ = ""; bitField0_ = (bitField0_ & ~0x00000080); endTimestamp_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_CodeChangeInfo_descriptor; } public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo build() { com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo buildPartial() { com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo result = new com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (securityBuilder_ == null) { result.security_ = security_; } else { result.security_ = securityBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (relatedSecurityBuilder_ == null) { result.relatedSecurity_ = relatedSecurity_; } else { result.relatedSecurity_ = relatedSecurityBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.publicTime_ = publicTime_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.publicTimestamp_ = publicTimestamp_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.effectiveTime_ = effectiveTime_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.effectiveTimestamp_ = effectiveTimestamp_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.endTime_ = endTime_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.endTimestamp_ = endTimestamp_; 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.QotGetCodeChange.CodeChangeInfo) { return mergeFrom((com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo other) { if (other == com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasSecurity()) { mergeSecurity(other.getSecurity()); } if (other.hasRelatedSecurity()) { mergeRelatedSecurity(other.getRelatedSecurity()); } if (other.hasPublicTime()) { bitField0_ |= 0x00000008; publicTime_ = other.publicTime_; onChanged(); } if (other.hasPublicTimestamp()) { setPublicTimestamp(other.getPublicTimestamp()); } if (other.hasEffectiveTime()) { bitField0_ |= 0x00000020; effectiveTime_ = other.effectiveTime_; onChanged(); } if (other.hasEffectiveTimestamp()) { setEffectiveTimestamp(other.getEffectiveTimestamp()); } if (other.hasEndTime()) { bitField0_ |= 0x00000080; endTime_ = other.endTime_; onChanged(); } if (other.hasEndTimestamp()) { setEndTimestamp(other.getEndTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasType()) { return false; } if (!hasSecurity()) { return false; } if (!hasRelatedSecurity()) { return false; } if (!getSecurity().isInitialized()) { return false; } if (!getRelatedSecurity().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.QotGetCodeChange.CodeChangeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ ; /** *
       *CodeChangeType,代码变化或者新增临时代码的事件类型
       * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *CodeChangeType,代码变化或者新增临时代码的事件类型
       * 
* * required int32 type = 1; */ public int getType() { return type_; } /** *
       *CodeChangeType,代码变化或者新增临时代码的事件类型
       * 
* * required int32 type = 1; */ public Builder setType(int value) { bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** *
       *CodeChangeType,代码变化或者新增临时代码的事件类型
       * 
* * required int32 type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; 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 com.moomoo.openapi.pb.QotCommon.Security relatedSecurity_ = 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> relatedSecurityBuilder_; /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public boolean hasRelatedSecurity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public com.moomoo.openapi.pb.QotCommon.Security getRelatedSecurity() { if (relatedSecurityBuilder_ == null) { return relatedSecurity_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : relatedSecurity_; } else { return relatedSecurityBuilder_.getMessage(); } } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public Builder setRelatedSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (relatedSecurityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } relatedSecurity_ = value; onChanged(); } else { relatedSecurityBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public Builder setRelatedSecurity( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (relatedSecurityBuilder_ == null) { relatedSecurity_ = builderForValue.build(); onChanged(); } else { relatedSecurityBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public Builder mergeRelatedSecurity(com.moomoo.openapi.pb.QotCommon.Security value) { if (relatedSecurityBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && relatedSecurity_ != null && relatedSecurity_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) { relatedSecurity_ = com.moomoo.openapi.pb.QotCommon.Security.newBuilder(relatedSecurity_).mergeFrom(value).buildPartial(); } else { relatedSecurity_ = value; } onChanged(); } else { relatedSecurityBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public Builder clearRelatedSecurity() { if (relatedSecurityBuilder_ == null) { relatedSecurity_ = null; onChanged(); } else { relatedSecurityBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getRelatedSecurityBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRelatedSecurityFieldBuilder().getBuilder(); } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getRelatedSecurityOrBuilder() { if (relatedSecurityBuilder_ != null) { return relatedSecurityBuilder_.getMessageOrBuilder(); } else { return relatedSecurity_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : relatedSecurity_; } } /** *
       *关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码
       * 
* * required .Qot_Common.Security relatedSecurity = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getRelatedSecurityFieldBuilder() { if (relatedSecurityBuilder_ == null) { relatedSecurityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( getRelatedSecurity(), getParentForChildren(), isClean()); relatedSecurity_ = null; } return relatedSecurityBuilder_; } private java.lang.Object publicTime_ = ""; /** *
       *公布时间
       * 
* * optional string publicTime = 4; */ public boolean hasPublicTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *公布时间
       * 
* * optional string publicTime = 4; */ public java.lang.String getPublicTime() { java.lang.Object ref = publicTime_; 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()) { publicTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *公布时间
       * 
* * optional string publicTime = 4; */ public com.google.protobuf.ByteString getPublicTimeBytes() { java.lang.Object ref = publicTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); publicTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *公布时间
       * 
* * optional string publicTime = 4; */ public Builder setPublicTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; publicTime_ = value; onChanged(); return this; } /** *
       *公布时间
       * 
* * optional string publicTime = 4; */ public Builder clearPublicTime() { bitField0_ = (bitField0_ & ~0x00000008); publicTime_ = getDefaultInstance().getPublicTime(); onChanged(); return this; } /** *
       *公布时间
       * 
* * optional string publicTime = 4; */ public Builder setPublicTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; publicTime_ = value; onChanged(); return this; } private double publicTimestamp_ ; /** *
       *公布时间戳
       * 
* * optional double publicTimestamp = 5; */ public boolean hasPublicTimestamp() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *公布时间戳
       * 
* * optional double publicTimestamp = 5; */ public double getPublicTimestamp() { return publicTimestamp_; } /** *
       *公布时间戳
       * 
* * optional double publicTimestamp = 5; */ public Builder setPublicTimestamp(double value) { bitField0_ |= 0x00000010; publicTimestamp_ = value; onChanged(); return this; } /** *
       *公布时间戳
       * 
* * optional double publicTimestamp = 5; */ public Builder clearPublicTimestamp() { bitField0_ = (bitField0_ & ~0x00000010); publicTimestamp_ = 0D; onChanged(); return this; } private java.lang.Object effectiveTime_ = ""; /** *
       *生效时间
       * 
* * optional string effectiveTime = 6; */ public boolean hasEffectiveTime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *生效时间
       * 
* * optional string effectiveTime = 6; */ public java.lang.String getEffectiveTime() { java.lang.Object ref = effectiveTime_; 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()) { effectiveTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *生效时间
       * 
* * optional string effectiveTime = 6; */ public com.google.protobuf.ByteString getEffectiveTimeBytes() { java.lang.Object ref = effectiveTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); effectiveTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *生效时间
       * 
* * optional string effectiveTime = 6; */ public Builder setEffectiveTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; effectiveTime_ = value; onChanged(); return this; } /** *
       *生效时间
       * 
* * optional string effectiveTime = 6; */ public Builder clearEffectiveTime() { bitField0_ = (bitField0_ & ~0x00000020); effectiveTime_ = getDefaultInstance().getEffectiveTime(); onChanged(); return this; } /** *
       *生效时间
       * 
* * optional string effectiveTime = 6; */ public Builder setEffectiveTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; effectiveTime_ = value; onChanged(); return this; } private double effectiveTimestamp_ ; /** *
       *生效时间戳
       * 
* * optional double effectiveTimestamp = 7; */ public boolean hasEffectiveTimestamp() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *生效时间戳
       * 
* * optional double effectiveTimestamp = 7; */ public double getEffectiveTimestamp() { return effectiveTimestamp_; } /** *
       *生效时间戳
       * 
* * optional double effectiveTimestamp = 7; */ public Builder setEffectiveTimestamp(double value) { bitField0_ |= 0x00000040; effectiveTimestamp_ = value; onChanged(); return this; } /** *
       *生效时间戳
       * 
* * optional double effectiveTimestamp = 7; */ public Builder clearEffectiveTimestamp() { bitField0_ = (bitField0_ & ~0x00000040); effectiveTimestamp_ = 0D; onChanged(); return this; } private java.lang.Object endTime_ = ""; /** *
       *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional string endTime = 8; */ public boolean hasEndTime() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional string endTime = 8; */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; 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()) { endTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional string endTime = 8; */ public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional string endTime = 8; */ public Builder setEndTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; endTime_ = value; onChanged(); return this; } /** *
       *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional string endTime = 8; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000080); endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
       *结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional string endTime = 8; */ public Builder setEndTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; endTime_ = value; onChanged(); return this; } private double endTimestamp_ ; /** *
       *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional double endTimestamp = 9; */ public boolean hasEndTimestamp() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional double endTimestamp = 9; */ public double getEndTimestamp() { return endTimestamp_; } /** *
       *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional double endTimestamp = 9; */ public Builder setEndTimestamp(double value) { bitField0_ |= 0x00000100; endTimestamp_ = value; onChanged(); return this; } /** *
       *结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间
       * 
* * optional double endTimestamp = 9; */ public Builder clearEndTimestamp() { bitField0_ = (bitField0_ & ~0x00000100); endTimestamp_ = 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_GetCodeChange.CodeChangeInfo) } // @@protoc_insertion_point(class_scope:Qot_GetCodeChange.CodeChangeInfo) private static final com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo(); } public static com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CodeChangeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CodeChangeInfo(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.QotGetCodeChange.CodeChangeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetCodeChange.TimeFilter) com.google.protobuf.MessageOrBuilder { /** *
     *TimeFilterType, 过滤类型
     * 
* * required int32 type = 1; */ boolean hasType(); /** *
     *TimeFilterType, 过滤类型
     * 
* * required int32 type = 1; */ int getType(); /** *
     *开始时间点
     * 
* * optional string beginTime = 2; */ boolean hasBeginTime(); /** *
     *开始时间点
     * 
* * optional string beginTime = 2; */ java.lang.String getBeginTime(); /** *
     *开始时间点
     * 
* * optional string beginTime = 2; */ com.google.protobuf.ByteString getBeginTimeBytes(); /** *
     *结束时间点
     * 
* * optional string endTime = 3; */ boolean hasEndTime(); /** *
     *结束时间点
     * 
* * optional string endTime = 3; */ java.lang.String getEndTime(); /** *
     *结束时间点
     * 
* * optional string endTime = 3; */ com.google.protobuf.ByteString getEndTimeBytes(); } /** * Protobuf type {@code Qot_GetCodeChange.TimeFilter} */ public static final class TimeFilter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetCodeChange.TimeFilter) TimeFilterOrBuilder { private static final long serialVersionUID = 0L; // Use TimeFilter.newBuilder() to construct. private TimeFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeFilter() { type_ = 0; beginTime_ = ""; endTime_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimeFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; type_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; beginTime_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; endTime_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_TimeFilter_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_TimeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.class, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
     *TimeFilterType, 过滤类型
     * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *TimeFilterType, 过滤类型
     * 
* * required int32 type = 1; */ public int getType() { return type_; } public static final int BEGINTIME_FIELD_NUMBER = 2; private volatile java.lang.Object beginTime_; /** *
     *开始时间点
     * 
* * optional string beginTime = 2; */ public boolean hasBeginTime() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *开始时间点
     * 
* * optional string beginTime = 2; */ public java.lang.String getBeginTime() { java.lang.Object ref = beginTime_; 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()) { beginTime_ = s; } return s; } } /** *
     *开始时间点
     * 
* * optional string beginTime = 2; */ public com.google.protobuf.ByteString getBeginTimeBytes() { java.lang.Object ref = beginTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); beginTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDTIME_FIELD_NUMBER = 3; private volatile java.lang.Object endTime_; /** *
     *结束时间点
     * 
* * optional string endTime = 3; */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *结束时间点
     * 
* * optional string endTime = 3; */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; 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()) { endTime_ = s; } return s; } } /** *
     *结束时间点
     * 
* * optional string endTime = 3; */ public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, beginTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endTime_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, beginTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endTime_); } 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.QotGetCodeChange.TimeFilter)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter other = (com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && (getType() == other.getType()); } result = result && (hasBeginTime() == other.hasBeginTime()); if (hasBeginTime()) { result = result && getBeginTime() .equals(other.getBeginTime()); } result = result && (hasEndTime() == other.hasEndTime()); if (hasEndTime()) { result = result && getEndTime() .equals(other.getEndTime()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasBeginTime()) { hash = (37 * hash) + BEGINTIME_FIELD_NUMBER; hash = (53 * hash) + getBeginTime().hashCode(); } if (hasEndTime()) { hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter 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.QotGetCodeChange.TimeFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter 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.QotGetCodeChange.TimeFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter 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.QotGetCodeChange.TimeFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter 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.QotGetCodeChange.TimeFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter 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.QotGetCodeChange.TimeFilter 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_GetCodeChange.TimeFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetCodeChange.TimeFilter) com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_TimeFilter_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_TimeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.class, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.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(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); beginTime_ = ""; bitField0_ = (bitField0_ & ~0x00000002); endTime_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_TimeFilter_descriptor; } public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter build() { com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter buildPartial() { com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter result = new com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.beginTime_ = beginTime_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.endTime_ = endTime_; 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.QotGetCodeChange.TimeFilter) { return mergeFrom((com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter other) { if (other == com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasBeginTime()) { bitField0_ |= 0x00000002; beginTime_ = other.beginTime_; onChanged(); } if (other.hasEndTime()) { bitField0_ |= 0x00000004; endTime_ = other.endTime_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasType()) { 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.QotGetCodeChange.TimeFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ ; /** *
       *TimeFilterType, 过滤类型
       * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *TimeFilterType, 过滤类型
       * 
* * required int32 type = 1; */ public int getType() { return type_; } /** *
       *TimeFilterType, 过滤类型
       * 
* * required int32 type = 1; */ public Builder setType(int value) { bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** *
       *TimeFilterType, 过滤类型
       * 
* * required int32 type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private java.lang.Object beginTime_ = ""; /** *
       *开始时间点
       * 
* * optional string beginTime = 2; */ public boolean hasBeginTime() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *开始时间点
       * 
* * optional string beginTime = 2; */ public java.lang.String getBeginTime() { java.lang.Object ref = beginTime_; 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()) { beginTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *开始时间点
       * 
* * optional string beginTime = 2; */ public com.google.protobuf.ByteString getBeginTimeBytes() { java.lang.Object ref = beginTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); beginTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *开始时间点
       * 
* * optional string beginTime = 2; */ public Builder setBeginTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; beginTime_ = value; onChanged(); return this; } /** *
       *开始时间点
       * 
* * optional string beginTime = 2; */ public Builder clearBeginTime() { bitField0_ = (bitField0_ & ~0x00000002); beginTime_ = getDefaultInstance().getBeginTime(); onChanged(); return this; } /** *
       *开始时间点
       * 
* * optional string beginTime = 2; */ public Builder setBeginTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; beginTime_ = value; onChanged(); return this; } private java.lang.Object endTime_ = ""; /** *
       *结束时间点
       * 
* * optional string endTime = 3; */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *结束时间点
       * 
* * optional string endTime = 3; */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; 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()) { endTime_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *结束时间点
       * 
* * optional string endTime = 3; */ public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *结束时间点
       * 
* * optional string endTime = 3; */ public Builder setEndTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; endTime_ = value; onChanged(); return this; } /** *
       *结束时间点
       * 
* * optional string endTime = 3; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
       *结束时间点
       * 
* * optional string endTime = 3; */ public Builder setEndTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; endTime_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Qot_GetCodeChange.TimeFilter) } // @@protoc_insertion_point(class_scope:Qot_GetCodeChange.TimeFilter) private static final com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter(); } public static com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TimeFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimeFilter(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.QotGetCodeChange.TimeFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface C2SOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetCodeChange.C2S) com.google.protobuf.MessageOrBuilder { /** *
     *占位
     * 
* * optional int32 placeHolder = 1; */ boolean hasPlaceHolder(); /** *
     *占位
     * 
* * optional int32 placeHolder = 1; */ int getPlaceHolder(); /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ java.util.List getSecurityListList(); /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index); /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ int getSecurityListCount(); /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ java.util.List getSecurityListOrBuilderList(); /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index); /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ java.util.List getTimeFilterListList(); /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter getTimeFilterList(int index); /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ int getTimeFilterListCount(); /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ java.util.List getTimeFilterListOrBuilderList(); /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder getTimeFilterListOrBuilder( int index); /** *
     *CodeChangeType,根据类型筛选
     * 
* * repeated int32 typeList = 4; */ java.util.List getTypeListList(); /** *
     *CodeChangeType,根据类型筛选
     * 
* * repeated int32 typeList = 4; */ int getTypeListCount(); /** *
     *CodeChangeType,根据类型筛选
     * 
* * repeated int32 typeList = 4; */ int getTypeList(int index); } /** * Protobuf type {@code Qot_GetCodeChange.C2S} */ public static final class C2S extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetCodeChange.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() { placeHolder_ = 0; securityList_ = java.util.Collections.emptyList(); timeFilterList_ = java.util.Collections.emptyList(); typeList_ = 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 8: { bitField0_ |= 0x00000001; placeHolder_ = input.readInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } securityList_.add( input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { timeFilterList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } timeFilterList_.add( input.readMessage(com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.PARSER, extensionRegistry)); break; } case 32: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { typeList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } typeList_.add(input.readInt32()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { typeList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { typeList_.add(input.readInt32()); } input.popLimit(limit); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = java.util.Collections.unmodifiableList(securityList_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { timeFilterList_ = java.util.Collections.unmodifiableList(timeFilterList_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { typeList_ = java.util.Collections.unmodifiableList(typeList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_C2S_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_C2S_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.C2S.class, com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder.class); } private int bitField0_; public static final int PLACEHOLDER_FIELD_NUMBER = 1; private int placeHolder_; /** *
     *占位
     * 
* * optional int32 placeHolder = 1; */ public boolean hasPlaceHolder() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *占位
     * 
* * optional int32 placeHolder = 1; */ public int getPlaceHolder() { return placeHolder_; } public static final int SECURITYLIST_FIELD_NUMBER = 2; private java.util.List securityList_; /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListList() { return securityList_; } /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListOrBuilderList() { return securityList_; } /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public int getSecurityListCount() { return securityList_.size(); } /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index) { return securityList_.get(index); } /** *
     *根据股票筛选
     * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index) { return securityList_.get(index); } public static final int TIMEFILTERLIST_FIELD_NUMBER = 3; private java.util.List timeFilterList_; /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public java.util.List getTimeFilterListList() { return timeFilterList_; } /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public java.util.List getTimeFilterListOrBuilderList() { return timeFilterList_; } /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public int getTimeFilterListCount() { return timeFilterList_.size(); } /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter getTimeFilterList(int index) { return timeFilterList_.get(index); } /** *
     *根据时间筛选
     * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder getTimeFilterListOrBuilder( int index) { return timeFilterList_.get(index); } public static final int TYPELIST_FIELD_NUMBER = 4; private java.util.List typeList_; /** *
     *CodeChangeType,根据类型筛选
     * 
* * repeated int32 typeList = 4; */ public java.util.List getTypeListList() { return typeList_; } /** *
     *CodeChangeType,根据类型筛选
     * 
* * repeated int32 typeList = 4; */ public int getTypeListCount() { return typeList_.size(); } /** *
     *CodeChangeType,根据类型筛选
     * 
* * repeated int32 typeList = 4; */ public int getTypeList(int index) { return typeList_.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; } } for (int i = 0; i < getTimeFilterListCount(); i++) { if (!getTimeFilterList(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, placeHolder_); } for (int i = 0; i < securityList_.size(); i++) { output.writeMessage(2, securityList_.get(i)); } for (int i = 0; i < timeFilterList_.size(); i++) { output.writeMessage(3, timeFilterList_.get(i)); } for (int i = 0; i < typeList_.size(); i++) { output.writeInt32(4, typeList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, placeHolder_); } for (int i = 0; i < securityList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, securityList_.get(i)); } for (int i = 0; i < timeFilterList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, timeFilterList_.get(i)); } { int dataSize = 0; for (int i = 0; i < typeList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(typeList_.get(i)); } size += dataSize; size += 1 * getTypeListList().size(); } 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.QotGetCodeChange.C2S)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetCodeChange.C2S other = (com.moomoo.openapi.pb.QotGetCodeChange.C2S) obj; boolean result = true; result = result && (hasPlaceHolder() == other.hasPlaceHolder()); if (hasPlaceHolder()) { result = result && (getPlaceHolder() == other.getPlaceHolder()); } result = result && getSecurityListList() .equals(other.getSecurityListList()); result = result && getTimeFilterListList() .equals(other.getTimeFilterListList()); result = result && getTypeListList() .equals(other.getTypeListList()); 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 (hasPlaceHolder()) { hash = (37 * hash) + PLACEHOLDER_FIELD_NUMBER; hash = (53 * hash) + getPlaceHolder(); } if (getSecurityListCount() > 0) { hash = (37 * hash) + SECURITYLIST_FIELD_NUMBER; hash = (53 * hash) + getSecurityListList().hashCode(); } if (getTimeFilterListCount() > 0) { hash = (37 * hash) + TIMEFILTERLIST_FIELD_NUMBER; hash = (53 * hash) + getTimeFilterListList().hashCode(); } if (getTypeListCount() > 0) { hash = (37 * hash) + TYPELIST_FIELD_NUMBER; hash = (53 * hash) + getTypeListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetCodeChange.C2S parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.C2S parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.C2S parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.C2S parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.C2S parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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_GetCodeChange.C2S} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetCodeChange.C2S) com.moomoo.openapi.pb.QotGetCodeChange.C2SOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_C2S_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_C2S_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.C2S.class, com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetCodeChange.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(); getTimeFilterListFieldBuilder(); } } public Builder clear() { super.clear(); placeHolder_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (securityListBuilder_ == null) { securityList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { securityListBuilder_.clear(); } if (timeFilterListBuilder_ == null) { timeFilterList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { timeFilterListBuilder_.clear(); } typeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_C2S_descriptor; } public com.moomoo.openapi.pb.QotGetCodeChange.C2S getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetCodeChange.C2S.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetCodeChange.C2S build() { com.moomoo.openapi.pb.QotGetCodeChange.C2S result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetCodeChange.C2S buildPartial() { com.moomoo.openapi.pb.QotGetCodeChange.C2S result = new com.moomoo.openapi.pb.QotGetCodeChange.C2S(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.placeHolder_ = placeHolder_; if (securityListBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = java.util.Collections.unmodifiableList(securityList_); bitField0_ = (bitField0_ & ~0x00000002); } result.securityList_ = securityList_; } else { result.securityList_ = securityListBuilder_.build(); } if (timeFilterListBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { timeFilterList_ = java.util.Collections.unmodifiableList(timeFilterList_); bitField0_ = (bitField0_ & ~0x00000004); } result.timeFilterList_ = timeFilterList_; } else { result.timeFilterList_ = timeFilterListBuilder_.build(); } if (((bitField0_ & 0x00000008) == 0x00000008)) { typeList_ = java.util.Collections.unmodifiableList(typeList_); bitField0_ = (bitField0_ & ~0x00000008); } result.typeList_ = typeList_; 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.QotGetCodeChange.C2S) { return mergeFrom((com.moomoo.openapi.pb.QotGetCodeChange.C2S)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetCodeChange.C2S other) { if (other == com.moomoo.openapi.pb.QotGetCodeChange.C2S.getDefaultInstance()) return this; if (other.hasPlaceHolder()) { setPlaceHolder(other.getPlaceHolder()); } if (securityListBuilder_ == null) { if (!other.securityList_.isEmpty()) { if (securityList_.isEmpty()) { securityList_ = other.securityList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSecurityListIsMutable(); securityList_.addAll(other.securityList_); } onChanged(); } } else { if (!other.securityList_.isEmpty()) { if (securityListBuilder_.isEmpty()) { securityListBuilder_.dispose(); securityListBuilder_ = null; securityList_ = other.securityList_; bitField0_ = (bitField0_ & ~0x00000002); securityListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecurityListFieldBuilder() : null; } else { securityListBuilder_.addAllMessages(other.securityList_); } } } if (timeFilterListBuilder_ == null) { if (!other.timeFilterList_.isEmpty()) { if (timeFilterList_.isEmpty()) { timeFilterList_ = other.timeFilterList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTimeFilterListIsMutable(); timeFilterList_.addAll(other.timeFilterList_); } onChanged(); } } else { if (!other.timeFilterList_.isEmpty()) { if (timeFilterListBuilder_.isEmpty()) { timeFilterListBuilder_.dispose(); timeFilterListBuilder_ = null; timeFilterList_ = other.timeFilterList_; bitField0_ = (bitField0_ & ~0x00000004); timeFilterListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTimeFilterListFieldBuilder() : null; } else { timeFilterListBuilder_.addAllMessages(other.timeFilterList_); } } } if (!other.typeList_.isEmpty()) { if (typeList_.isEmpty()) { typeList_ = other.typeList_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureTypeListIsMutable(); typeList_.addAll(other.typeList_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getSecurityListCount(); i++) { if (!getSecurityList(i).isInitialized()) { return false; } } for (int i = 0; i < getTimeFilterListCount(); i++) { if (!getTimeFilterList(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.QotGetCodeChange.C2S parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetCodeChange.C2S) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int placeHolder_ ; /** *
       *占位
       * 
* * optional int32 placeHolder = 1; */ public boolean hasPlaceHolder() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *占位
       * 
* * optional int32 placeHolder = 1; */ public int getPlaceHolder() { return placeHolder_; } /** *
       *占位
       * 
* * optional int32 placeHolder = 1; */ public Builder setPlaceHolder(int value) { bitField0_ |= 0x00000001; placeHolder_ = value; onChanged(); return this; } /** *
       *占位
       * 
* * optional int32 placeHolder = 1; */ public Builder clearPlaceHolder() { bitField0_ = (bitField0_ & ~0x00000001); placeHolder_ = 0; onChanged(); return this; } private java.util.List securityList_ = java.util.Collections.emptyList(); private void ensureSecurityListIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { securityList_ = new java.util.ArrayList(securityList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityListBuilder_; /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListList() { if (securityListBuilder_ == null) { return java.util.Collections.unmodifiableList(securityList_); } else { return securityListBuilder_.getMessageList(); } } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public int getSecurityListCount() { if (securityListBuilder_ == null) { return securityList_.size(); } else { return securityListBuilder_.getCount(); } } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security getSecurityList(int index) { if (securityListBuilder_ == null) { return securityList_.get(index); } else { return securityListBuilder_.getMessage(index); } } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder setSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security value) { if (securityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecurityListIsMutable(); securityList_.set(index, value); onChanged(); } else { securityListBuilder_.setMessage(index, value); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder setSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.set(index, builderForValue.build()); onChanged(); } else { securityListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList(com.moomoo.openapi.pb.QotCommon.Security value) { if (securityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecurityListIsMutable(); securityList_.add(value); onChanged(); } else { securityListBuilder_.addMessage(value); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security value) { if (securityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecurityListIsMutable(); securityList_.add(index, value); onChanged(); } else { securityListBuilder_.addMessage(index, value); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList( com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.add(builderForValue.build()); onChanged(); } else { securityListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addSecurityList( int index, com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.add(index, builderForValue.build()); onChanged(); } else { securityListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder addAllSecurityList( java.lang.Iterable values) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, securityList_); onChanged(); } else { securityListBuilder_.addAllMessages(values); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder clearSecurityList() { if (securityListBuilder_ == null) { securityList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { securityListBuilder_.clear(); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public Builder removeSecurityList(int index) { if (securityListBuilder_ == null) { ensureSecurityListIsMutable(); securityList_.remove(index); onChanged(); } else { securityListBuilder_.remove(index); } return this; } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityListBuilder( int index) { return getSecurityListFieldBuilder().getBuilder(index); } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityListOrBuilder( int index) { if (securityListBuilder_ == null) { return securityList_.get(index); } else { return securityListBuilder_.getMessageOrBuilder(index); } } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListOrBuilderList() { if (securityListBuilder_ != null) { return securityListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(securityList_); } } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder addSecurityListBuilder() { return getSecurityListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()); } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public com.moomoo.openapi.pb.QotCommon.Security.Builder addSecurityListBuilder( int index) { return getSecurityListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()); } /** *
       *根据股票筛选
       * 
* * repeated .Qot_Common.Security securityList = 2; */ public java.util.List getSecurityListBuilderList() { return getSecurityListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> getSecurityListFieldBuilder() { if (securityListBuilder_ == null) { securityListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>( securityList_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); securityList_ = null; } return securityListBuilder_; } private java.util.List timeFilterList_ = java.util.Collections.emptyList(); private void ensureTimeFilterListIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { timeFilterList_ = new java.util.ArrayList(timeFilterList_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder> timeFilterListBuilder_; /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public java.util.List getTimeFilterListList() { if (timeFilterListBuilder_ == null) { return java.util.Collections.unmodifiableList(timeFilterList_); } else { return timeFilterListBuilder_.getMessageList(); } } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public int getTimeFilterListCount() { if (timeFilterListBuilder_ == null) { return timeFilterList_.size(); } else { return timeFilterListBuilder_.getCount(); } } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter getTimeFilterList(int index) { if (timeFilterListBuilder_ == null) { return timeFilterList_.get(index); } else { return timeFilterListBuilder_.getMessage(index); } } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder setTimeFilterList( int index, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter value) { if (timeFilterListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTimeFilterListIsMutable(); timeFilterList_.set(index, value); onChanged(); } else { timeFilterListBuilder_.setMessage(index, value); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder setTimeFilterList( int index, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder builderForValue) { if (timeFilterListBuilder_ == null) { ensureTimeFilterListIsMutable(); timeFilterList_.set(index, builderForValue.build()); onChanged(); } else { timeFilterListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder addTimeFilterList(com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter value) { if (timeFilterListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTimeFilterListIsMutable(); timeFilterList_.add(value); onChanged(); } else { timeFilterListBuilder_.addMessage(value); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder addTimeFilterList( int index, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter value) { if (timeFilterListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTimeFilterListIsMutable(); timeFilterList_.add(index, value); onChanged(); } else { timeFilterListBuilder_.addMessage(index, value); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder addTimeFilterList( com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder builderForValue) { if (timeFilterListBuilder_ == null) { ensureTimeFilterListIsMutable(); timeFilterList_.add(builderForValue.build()); onChanged(); } else { timeFilterListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder addTimeFilterList( int index, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder builderForValue) { if (timeFilterListBuilder_ == null) { ensureTimeFilterListIsMutable(); timeFilterList_.add(index, builderForValue.build()); onChanged(); } else { timeFilterListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder addAllTimeFilterList( java.lang.Iterable values) { if (timeFilterListBuilder_ == null) { ensureTimeFilterListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, timeFilterList_); onChanged(); } else { timeFilterListBuilder_.addAllMessages(values); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder clearTimeFilterList() { if (timeFilterListBuilder_ == null) { timeFilterList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { timeFilterListBuilder_.clear(); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public Builder removeTimeFilterList(int index) { if (timeFilterListBuilder_ == null) { ensureTimeFilterListIsMutable(); timeFilterList_.remove(index); onChanged(); } else { timeFilterListBuilder_.remove(index); } return this; } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder getTimeFilterListBuilder( int index) { return getTimeFilterListFieldBuilder().getBuilder(index); } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder getTimeFilterListOrBuilder( int index) { if (timeFilterListBuilder_ == null) { return timeFilterList_.get(index); } else { return timeFilterListBuilder_.getMessageOrBuilder(index); } } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public java.util.List getTimeFilterListOrBuilderList() { if (timeFilterListBuilder_ != null) { return timeFilterListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(timeFilterList_); } } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder addTimeFilterListBuilder() { return getTimeFilterListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.getDefaultInstance()); } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder addTimeFilterListBuilder( int index) { return getTimeFilterListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.getDefaultInstance()); } /** *
       *根据时间筛选
       * 
* * repeated .Qot_GetCodeChange.TimeFilter timeFilterList = 3; */ public java.util.List getTimeFilterListBuilderList() { return getTimeFilterListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder> getTimeFilterListFieldBuilder() { if (timeFilterListBuilder_ == null) { timeFilterListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilter.Builder, com.moomoo.openapi.pb.QotGetCodeChange.TimeFilterOrBuilder>( timeFilterList_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); timeFilterList_ = null; } return timeFilterListBuilder_; } private java.util.List typeList_ = java.util.Collections.emptyList(); private void ensureTypeListIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { typeList_ = new java.util.ArrayList(typeList_); bitField0_ |= 0x00000008; } } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public java.util.List getTypeListList() { return java.util.Collections.unmodifiableList(typeList_); } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public int getTypeListCount() { return typeList_.size(); } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public int getTypeList(int index) { return typeList_.get(index); } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public Builder setTypeList( int index, int value) { ensureTypeListIsMutable(); typeList_.set(index, value); onChanged(); return this; } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public Builder addTypeList(int value) { ensureTypeListIsMutable(); typeList_.add(value); onChanged(); return this; } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public Builder addAllTypeList( java.lang.Iterable values) { ensureTypeListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, typeList_); onChanged(); return this; } /** *
       *CodeChangeType,根据类型筛选
       * 
* * repeated int32 typeList = 4; */ public Builder clearTypeList() { typeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); 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_GetCodeChange.C2S) } // @@protoc_insertion_point(class_scope:Qot_GetCodeChange.C2S) private static final com.moomoo.openapi.pb.QotGetCodeChange.C2S DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetCodeChange.C2S(); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.C2S getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface S2COrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetCodeChange.S2C) com.google.protobuf.MessageOrBuilder { /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ java.util.List getCodeChangeListList(); /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo getCodeChangeList(int index); /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ int getCodeChangeListCount(); /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ java.util.List getCodeChangeListOrBuilderList(); /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder getCodeChangeListOrBuilder( int index); } /** * Protobuf type {@code Qot_GetCodeChange.S2C} */ public static final class S2C extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetCodeChange.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() { codeChangeList_ = 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)) { codeChangeList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } codeChangeList_.add( input.readMessage(com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.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)) { codeChangeList_ = java.util.Collections.unmodifiableList(codeChangeList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_S2C_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_S2C_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.S2C.class, com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder.class); } public static final int CODECHANGELIST_FIELD_NUMBER = 1; private java.util.List codeChangeList_; /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public java.util.List getCodeChangeListList() { return codeChangeList_; } /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public java.util.List getCodeChangeListOrBuilderList() { return codeChangeList_; } /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public int getCodeChangeListCount() { return codeChangeList_.size(); } /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo getCodeChangeList(int index) { return codeChangeList_.get(index); } /** *
     *股票代码更换信息,目前仅有港股数据
     * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder getCodeChangeListOrBuilder( int index) { return codeChangeList_.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 < getCodeChangeListCount(); i++) { if (!getCodeChangeList(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 < codeChangeList_.size(); i++) { output.writeMessage(1, codeChangeList_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < codeChangeList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, codeChangeList_.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.QotGetCodeChange.S2C)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetCodeChange.S2C other = (com.moomoo.openapi.pb.QotGetCodeChange.S2C) obj; boolean result = true; result = result && getCodeChangeListList() .equals(other.getCodeChangeListList()); 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 (getCodeChangeListCount() > 0) { hash = (37 * hash) + CODECHANGELIST_FIELD_NUMBER; hash = (53 * hash) + getCodeChangeListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.QotGetCodeChange.S2C parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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_GetCodeChange.S2C} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetCodeChange.S2C) com.moomoo.openapi.pb.QotGetCodeChange.S2COrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_S2C_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_S2C_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.S2C.class, com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetCodeChange.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) { getCodeChangeListFieldBuilder(); } } public Builder clear() { super.clear(); if (codeChangeListBuilder_ == null) { codeChangeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { codeChangeListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_S2C_descriptor; } public com.moomoo.openapi.pb.QotGetCodeChange.S2C getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetCodeChange.S2C.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetCodeChange.S2C build() { com.moomoo.openapi.pb.QotGetCodeChange.S2C result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetCodeChange.S2C buildPartial() { com.moomoo.openapi.pb.QotGetCodeChange.S2C result = new com.moomoo.openapi.pb.QotGetCodeChange.S2C(this); int from_bitField0_ = bitField0_; if (codeChangeListBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { codeChangeList_ = java.util.Collections.unmodifiableList(codeChangeList_); bitField0_ = (bitField0_ & ~0x00000001); } result.codeChangeList_ = codeChangeList_; } else { result.codeChangeList_ = codeChangeListBuilder_.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.QotGetCodeChange.S2C) { return mergeFrom((com.moomoo.openapi.pb.QotGetCodeChange.S2C)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetCodeChange.S2C other) { if (other == com.moomoo.openapi.pb.QotGetCodeChange.S2C.getDefaultInstance()) return this; if (codeChangeListBuilder_ == null) { if (!other.codeChangeList_.isEmpty()) { if (codeChangeList_.isEmpty()) { codeChangeList_ = other.codeChangeList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCodeChangeListIsMutable(); codeChangeList_.addAll(other.codeChangeList_); } onChanged(); } } else { if (!other.codeChangeList_.isEmpty()) { if (codeChangeListBuilder_.isEmpty()) { codeChangeListBuilder_.dispose(); codeChangeListBuilder_ = null; codeChangeList_ = other.codeChangeList_; bitField0_ = (bitField0_ & ~0x00000001); codeChangeListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCodeChangeListFieldBuilder() : null; } else { codeChangeListBuilder_.addAllMessages(other.codeChangeList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getCodeChangeListCount(); i++) { if (!getCodeChangeList(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.QotGetCodeChange.S2C parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetCodeChange.S2C) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List codeChangeList_ = java.util.Collections.emptyList(); private void ensureCodeChangeListIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { codeChangeList_ = new java.util.ArrayList(codeChangeList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder> codeChangeListBuilder_; /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public java.util.List getCodeChangeListList() { if (codeChangeListBuilder_ == null) { return java.util.Collections.unmodifiableList(codeChangeList_); } else { return codeChangeListBuilder_.getMessageList(); } } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public int getCodeChangeListCount() { if (codeChangeListBuilder_ == null) { return codeChangeList_.size(); } else { return codeChangeListBuilder_.getCount(); } } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo getCodeChangeList(int index) { if (codeChangeListBuilder_ == null) { return codeChangeList_.get(index); } else { return codeChangeListBuilder_.getMessage(index); } } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder setCodeChangeList( int index, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo value) { if (codeChangeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCodeChangeListIsMutable(); codeChangeList_.set(index, value); onChanged(); } else { codeChangeListBuilder_.setMessage(index, value); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder setCodeChangeList( int index, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder builderForValue) { if (codeChangeListBuilder_ == null) { ensureCodeChangeListIsMutable(); codeChangeList_.set(index, builderForValue.build()); onChanged(); } else { codeChangeListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder addCodeChangeList(com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo value) { if (codeChangeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCodeChangeListIsMutable(); codeChangeList_.add(value); onChanged(); } else { codeChangeListBuilder_.addMessage(value); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder addCodeChangeList( int index, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo value) { if (codeChangeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCodeChangeListIsMutable(); codeChangeList_.add(index, value); onChanged(); } else { codeChangeListBuilder_.addMessage(index, value); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder addCodeChangeList( com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder builderForValue) { if (codeChangeListBuilder_ == null) { ensureCodeChangeListIsMutable(); codeChangeList_.add(builderForValue.build()); onChanged(); } else { codeChangeListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder addCodeChangeList( int index, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder builderForValue) { if (codeChangeListBuilder_ == null) { ensureCodeChangeListIsMutable(); codeChangeList_.add(index, builderForValue.build()); onChanged(); } else { codeChangeListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder addAllCodeChangeList( java.lang.Iterable values) { if (codeChangeListBuilder_ == null) { ensureCodeChangeListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, codeChangeList_); onChanged(); } else { codeChangeListBuilder_.addAllMessages(values); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder clearCodeChangeList() { if (codeChangeListBuilder_ == null) { codeChangeList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { codeChangeListBuilder_.clear(); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public Builder removeCodeChangeList(int index) { if (codeChangeListBuilder_ == null) { ensureCodeChangeListIsMutable(); codeChangeList_.remove(index); onChanged(); } else { codeChangeListBuilder_.remove(index); } return this; } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder getCodeChangeListBuilder( int index) { return getCodeChangeListFieldBuilder().getBuilder(index); } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder getCodeChangeListOrBuilder( int index) { if (codeChangeListBuilder_ == null) { return codeChangeList_.get(index); } else { return codeChangeListBuilder_.getMessageOrBuilder(index); } } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public java.util.List getCodeChangeListOrBuilderList() { if (codeChangeListBuilder_ != null) { return codeChangeListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(codeChangeList_); } } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder addCodeChangeListBuilder() { return getCodeChangeListFieldBuilder().addBuilder( com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.getDefaultInstance()); } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder addCodeChangeListBuilder( int index) { return getCodeChangeListFieldBuilder().addBuilder( index, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.getDefaultInstance()); } /** *
       *股票代码更换信息,目前仅有港股数据
       * 
* * repeated .Qot_GetCodeChange.CodeChangeInfo codeChangeList = 1; */ public java.util.List getCodeChangeListBuilderList() { return getCodeChangeListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder> getCodeChangeListFieldBuilder() { if (codeChangeListBuilder_ == null) { codeChangeListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfo.Builder, com.moomoo.openapi.pb.QotGetCodeChange.CodeChangeInfoOrBuilder>( codeChangeList_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); codeChangeList_ = null; } return codeChangeListBuilder_; } 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_GetCodeChange.S2C) } // @@protoc_insertion_point(class_scope:Qot_GetCodeChange.S2C) private static final com.moomoo.openapi.pb.QotGetCodeChange.S2C DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetCodeChange.S2C(); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetCodeChange.Request) com.google.protobuf.MessageOrBuilder { /** * required .Qot_GetCodeChange.C2S c2s = 1; */ boolean hasC2S(); /** * required .Qot_GetCodeChange.C2S c2s = 1; */ com.moomoo.openapi.pb.QotGetCodeChange.C2S getC2S(); /** * required .Qot_GetCodeChange.C2S c2s = 1; */ com.moomoo.openapi.pb.QotGetCodeChange.C2SOrBuilder getC2SOrBuilder(); } /** * Protobuf type {@code Qot_GetCodeChange.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetCodeChange.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.QotGetCodeChange.C2S.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = c2S_.toBuilder(); } c2S_ = input.readMessage(com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.internal_static_Qot_GetCodeChange_Request_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.Request.class, com.moomoo.openapi.pb.QotGetCodeChange.Request.Builder.class); } private int bitField0_; public static final int C2S_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.QotGetCodeChange.C2S c2S_; /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public boolean hasC2S() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.C2S getC2S() { return c2S_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.C2S.getDefaultInstance() : c2S_; } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.C2SOrBuilder getC2SOrBuilder() { return c2S_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetCodeChange.Request other = (com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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_GetCodeChange.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetCodeChange.Request) com.moomoo.openapi.pb.QotGetCodeChange.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_Request_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.Request.class, com.moomoo.openapi.pb.QotGetCodeChange.Request.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.internal_static_Qot_GetCodeChange_Request_descriptor; } public com.moomoo.openapi.pb.QotGetCodeChange.Request getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetCodeChange.Request.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetCodeChange.Request build() { com.moomoo.openapi.pb.QotGetCodeChange.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetCodeChange.Request buildPartial() { com.moomoo.openapi.pb.QotGetCodeChange.Request result = new com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request) { return mergeFrom((com.moomoo.openapi.pb.QotGetCodeChange.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetCodeChange.Request other) { if (other == com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetCodeChange.Request) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.QotGetCodeChange.C2S c2S_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.C2S, com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder, com.moomoo.openapi.pb.QotGetCodeChange.C2SOrBuilder> c2SBuilder_; /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public boolean hasC2S() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.C2S getC2S() { if (c2SBuilder_ == null) { return c2S_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.C2S.getDefaultInstance() : c2S_; } else { return c2SBuilder_.getMessage(); } } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public Builder setC2S(com.moomoo.openapi.pb.QotGetCodeChange.C2S value) { if (c2SBuilder_ == null) { if (value == null) { throw new NullPointerException(); } c2S_ = value; onChanged(); } else { c2SBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public Builder setC2S( com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder builderForValue) { if (c2SBuilder_ == null) { c2S_ = builderForValue.build(); onChanged(); } else { c2SBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public Builder mergeC2S(com.moomoo.openapi.pb.QotGetCodeChange.C2S value) { if (c2SBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && c2S_ != null && c2S_ != com.moomoo.openapi.pb.QotGetCodeChange.C2S.getDefaultInstance()) { c2S_ = com.moomoo.openapi.pb.QotGetCodeChange.C2S.newBuilder(c2S_).mergeFrom(value).buildPartial(); } else { c2S_ = value; } onChanged(); } else { c2SBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public Builder clearC2S() { if (c2SBuilder_ == null) { c2S_ = null; onChanged(); } else { c2SBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder getC2SBuilder() { bitField0_ |= 0x00000001; onChanged(); return getC2SFieldBuilder().getBuilder(); } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ public com.moomoo.openapi.pb.QotGetCodeChange.C2SOrBuilder getC2SOrBuilder() { if (c2SBuilder_ != null) { return c2SBuilder_.getMessageOrBuilder(); } else { return c2S_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.C2S.getDefaultInstance() : c2S_; } } /** * required .Qot_GetCodeChange.C2S c2s = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.C2S, com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder, com.moomoo.openapi.pb.QotGetCodeChange.C2SOrBuilder> getC2SFieldBuilder() { if (c2SBuilder_ == null) { c2SBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.C2S, com.moomoo.openapi.pb.QotGetCodeChange.C2S.Builder, com.moomoo.openapi.pb.QotGetCodeChange.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_GetCodeChange.Request) } // @@protoc_insertion_point(class_scope:Qot_GetCodeChange.Request) private static final com.moomoo.openapi.pb.QotGetCodeChange.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetCodeChange.Request(); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Qot_GetCodeChange.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_GetCodeChange.S2C s2c = 4; */ boolean hasS2C(); /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ com.moomoo.openapi.pb.QotGetCodeChange.S2C getS2C(); /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ com.moomoo.openapi.pb.QotGetCodeChange.S2COrBuilder getS2COrBuilder(); } /** * Protobuf type {@code Qot_GetCodeChange.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Qot_GetCodeChange.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.QotGetCodeChange.S2C.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = s2C_.toBuilder(); } s2C_ = input.readMessage(com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.internal_static_Qot_GetCodeChange_Response_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.Response.class, com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C s2C_; /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public boolean hasS2C() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetCodeChange.S2C getS2C() { return s2C_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.S2C.getDefaultInstance() : s2C_; } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetCodeChange.S2COrBuilder getS2COrBuilder() { return s2C_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response)) { return super.equals(obj); } com.moomoo.openapi.pb.QotGetCodeChange.Response other = (com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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.QotGetCodeChange.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_GetCodeChange.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Qot_GetCodeChange.Response) com.moomoo.openapi.pb.QotGetCodeChange.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_Response_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.QotGetCodeChange.internal_static_Qot_GetCodeChange_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.QotGetCodeChange.Response.class, com.moomoo.openapi.pb.QotGetCodeChange.Response.Builder.class); } // Construct using com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.internal_static_Qot_GetCodeChange_Response_descriptor; } public com.moomoo.openapi.pb.QotGetCodeChange.Response getDefaultInstanceForType() { return com.moomoo.openapi.pb.QotGetCodeChange.Response.getDefaultInstance(); } public com.moomoo.openapi.pb.QotGetCodeChange.Response build() { com.moomoo.openapi.pb.QotGetCodeChange.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.QotGetCodeChange.Response buildPartial() { com.moomoo.openapi.pb.QotGetCodeChange.Response result = new com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response) { return mergeFrom((com.moomoo.openapi.pb.QotGetCodeChange.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.QotGetCodeChange.Response other) { if (other == com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.S2C s2C_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.S2C, com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder, com.moomoo.openapi.pb.QotGetCodeChange.S2COrBuilder> s2CBuilder_; /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public boolean hasS2C() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetCodeChange.S2C getS2C() { if (s2CBuilder_ == null) { return s2C_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.S2C.getDefaultInstance() : s2C_; } else { return s2CBuilder_.getMessage(); } } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public Builder setS2C(com.moomoo.openapi.pb.QotGetCodeChange.S2C value) { if (s2CBuilder_ == null) { if (value == null) { throw new NullPointerException(); } s2C_ = value; onChanged(); } else { s2CBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public Builder setS2C( com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder builderForValue) { if (s2CBuilder_ == null) { s2C_ = builderForValue.build(); onChanged(); } else { s2CBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public Builder mergeS2C(com.moomoo.openapi.pb.QotGetCodeChange.S2C value) { if (s2CBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && s2C_ != null && s2C_ != com.moomoo.openapi.pb.QotGetCodeChange.S2C.getDefaultInstance()) { s2C_ = com.moomoo.openapi.pb.QotGetCodeChange.S2C.newBuilder(s2C_).mergeFrom(value).buildPartial(); } else { s2C_ = value; } onChanged(); } else { s2CBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public Builder clearS2C() { if (s2CBuilder_ == null) { s2C_ = null; onChanged(); } else { s2CBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder getS2CBuilder() { bitField0_ |= 0x00000008; onChanged(); return getS2CFieldBuilder().getBuilder(); } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ public com.moomoo.openapi.pb.QotGetCodeChange.S2COrBuilder getS2COrBuilder() { if (s2CBuilder_ != null) { return s2CBuilder_.getMessageOrBuilder(); } else { return s2C_ == null ? com.moomoo.openapi.pb.QotGetCodeChange.S2C.getDefaultInstance() : s2C_; } } /** * optional .Qot_GetCodeChange.S2C s2c = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.S2C, com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder, com.moomoo.openapi.pb.QotGetCodeChange.S2COrBuilder> getS2CFieldBuilder() { if (s2CBuilder_ == null) { s2CBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.QotGetCodeChange.S2C, com.moomoo.openapi.pb.QotGetCodeChange.S2C.Builder, com.moomoo.openapi.pb.QotGetCodeChange.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_GetCodeChange.Response) } // @@protoc_insertion_point(class_scope:Qot_GetCodeChange.Response) private static final com.moomoo.openapi.pb.QotGetCodeChange.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetCodeChange.Response(); } public static com.moomoo.openapi.pb.QotGetCodeChange.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.QotGetCodeChange.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetCodeChange_CodeChangeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetCodeChange_CodeChangeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetCodeChange_TimeFilter_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetCodeChange_TimeFilter_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetCodeChange_C2S_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetCodeChange_C2S_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetCodeChange_S2C_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetCodeChange_S2C_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetCodeChange_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetCodeChange_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Qot_GetCodeChange_Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Qot_GetCodeChange_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_GetCodeChange.proto\022\021Qot_GetCodeCh" + "ange\032\014Common.proto\032\020Qot_Common.proto\"\374\001\n" + "\016CodeChangeInfo\022\014\n\004type\030\001 \002(\005\022&\n\010securit" + "y\030\002 \002(\0132\024.Qot_Common.Security\022-\n\017related" + "Security\030\003 \002(\0132\024.Qot_Common.Security\022\022\n\n" + "publicTime\030\004 \001(\t\022\027\n\017publicTimestamp\030\005 \001(" + "\001\022\025\n\reffectiveTime\030\006 \001(\t\022\032\n\022effectiveTim" + "estamp\030\007 \001(\001\022\017\n\007endTime\030\010 \001(\t\022\024\n\014endTime" + "stamp\030\t \001(\001\">\n\nTimeFilter\022\014\n\004type\030\001 \002(\005\022" + "\021\n\tbeginTime\030\002 \001(\t\022\017\n\007endTime\030\003 \001(\t\"\217\001\n\003" + "C2S\022\023\n\013placeHolder\030\001 \001(\005\022*\n\014securityList" + "\030\002 \003(\0132\024.Qot_Common.Security\0225\n\016timeFilt" + "erList\030\003 \003(\0132\035.Qot_GetCodeChange.TimeFil" + "ter\022\020\n\010typeList\030\004 \003(\005\"@\n\003S2C\0229\n\016codeChan" + "geList\030\001 \003(\0132!.Qot_GetCodeChange.CodeCha" + "ngeInfo\".\n\007Request\022#\n\003c2s\030\001 \002(\0132\026.Qot_Ge" + "tCodeChange.C2S\"g\n\010Response\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_GetCodeChange.S2C" + "*\216\002\n\016CodeChangeType\022\031\n\025CodeChangeType_Un" + "kown\020\000\022\034\n\030CodeChangeType_GemToMain\020\001\022\031\n\025" + "CodeChangeType_Unpaid\020\002\022\034\n\030CodeChangeTyp" + "e_ChangeLot\020\003\022\030\n\024CodeChangeType_Split\020\004\022" + "\030\n\024CodeChangeType_Joint\020\005\022\035\n\031CodeChangeT" + "ype_JointSplit\020\006\022\035\n\031CodeChangeType_Split" + "Joint\020\007\022\030\n\024CodeChangeType_Other\020\010*|\n\016Tim" + "eFilterType\022\031\n\025TimeFilterType_Unknow\020\000\022\031" + "\n\025TimeFilterType_Public\020\001\022\034\n\030TimeFilterT" + "ype_Effective\020\002\022\026\n\022TimeFilterType_End\020\003B" + "I\n\025com.moomoo.openapi.pbZ0github.com/fut" + "uopen/ftapi4go/pb/qotgetcodechange" }; 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_GetCodeChange_CodeChangeInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Qot_GetCodeChange_CodeChangeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetCodeChange_CodeChangeInfo_descriptor, new java.lang.String[] { "Type", "Security", "RelatedSecurity", "PublicTime", "PublicTimestamp", "EffectiveTime", "EffectiveTimestamp", "EndTime", "EndTimestamp", }); internal_static_Qot_GetCodeChange_TimeFilter_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Qot_GetCodeChange_TimeFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetCodeChange_TimeFilter_descriptor, new java.lang.String[] { "Type", "BeginTime", "EndTime", }); internal_static_Qot_GetCodeChange_C2S_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Qot_GetCodeChange_C2S_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetCodeChange_C2S_descriptor, new java.lang.String[] { "PlaceHolder", "SecurityList", "TimeFilterList", "TypeList", }); internal_static_Qot_GetCodeChange_S2C_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Qot_GetCodeChange_S2C_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetCodeChange_S2C_descriptor, new java.lang.String[] { "CodeChangeList", }); internal_static_Qot_GetCodeChange_Request_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Qot_GetCodeChange_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetCodeChange_Request_descriptor, new java.lang.String[] { "C2S", }); internal_static_Qot_GetCodeChange_Response_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Qot_GetCodeChange_Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Qot_GetCodeChange_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