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

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

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

package com.moomoo.openapi.pb;

public final class Notify {
  private Notify() {}
  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 Notify.NotifyType}
   */
  public enum NotifyType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     *无
     * 
* * NotifyType_None = 0; */ NotifyType_None(0), /** *
     *OpenD运行事件通知
     * 
* * NotifyType_GtwEvent = 1; */ NotifyType_GtwEvent(1), /** *
     *程序状态
     * 
* * NotifyType_ProgramStatus = 2; */ NotifyType_ProgramStatus(2), /** *
     *连接状态
     * 
* * NotifyType_ConnStatus = 3; */ NotifyType_ConnStatus(3), /** *
     *行情权限
     * 
* * NotifyType_QotRight = 4; */ NotifyType_QotRight(4), /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * NotifyType_APILevel = 5; */ NotifyType_APILevel(5), /** *
     *API额度
     * 
* * NotifyType_APIQuota = 6; */ NotifyType_APIQuota(6), /** *
     * 已使用额度
     * 
* * NotifyType_UsedQuota = 7; */ NotifyType_UsedQuota(7), ; /** *
     *无
     * 
* * NotifyType_None = 0; */ public static final int NotifyType_None_VALUE = 0; /** *
     *OpenD运行事件通知
     * 
* * NotifyType_GtwEvent = 1; */ public static final int NotifyType_GtwEvent_VALUE = 1; /** *
     *程序状态
     * 
* * NotifyType_ProgramStatus = 2; */ public static final int NotifyType_ProgramStatus_VALUE = 2; /** *
     *连接状态
     * 
* * NotifyType_ConnStatus = 3; */ public static final int NotifyType_ConnStatus_VALUE = 3; /** *
     *行情权限
     * 
* * NotifyType_QotRight = 4; */ public static final int NotifyType_QotRight_VALUE = 4; /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * NotifyType_APILevel = 5; */ public static final int NotifyType_APILevel_VALUE = 5; /** *
     *API额度
     * 
* * NotifyType_APIQuota = 6; */ public static final int NotifyType_APIQuota_VALUE = 6; /** *
     * 已使用额度
     * 
* * NotifyType_UsedQuota = 7; */ public static final int NotifyType_UsedQuota_VALUE = 7; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static NotifyType valueOf(int value) { return forNumber(value); } public static NotifyType forNumber(int value) { switch (value) { case 0: return NotifyType_None; case 1: return NotifyType_GtwEvent; case 2: return NotifyType_ProgramStatus; case 3: return NotifyType_ConnStatus; case 4: return NotifyType_QotRight; case 5: return NotifyType_APILevel; case 6: return NotifyType_APIQuota; case 7: return NotifyType_UsedQuota; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< NotifyType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NotifyType findValueByNumber(int number) { return NotifyType.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.Notify.getDescriptor().getEnumTypes().get(0); } private static final NotifyType[] VALUES = values(); public static NotifyType 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 NotifyType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Notify.NotifyType) } /** * Protobuf enum {@code Notify.GtwEventType} */ public enum GtwEventType implements com.google.protobuf.ProtocolMessageEnum { /** *
     *正常无错
     * 
* * GtwEventType_None = 0; */ GtwEventType_None(0), /** *
     *加载本地配置失败
     * 
* * GtwEventType_LocalCfgLoadFailed = 1; */ GtwEventType_LocalCfgLoadFailed(1), /** *
     *服务器启动失败
     * 
* * GtwEventType_APISvrRunFailed = 2; */ GtwEventType_APISvrRunFailed(2), /** *
     *客户端版本过低
     * 
* * GtwEventType_ForceUpdate = 3; */ GtwEventType_ForceUpdate(3), /** *
     *登录失败
     * 
* * GtwEventType_LoginFailed = 4; */ GtwEventType_LoginFailed(4), /** *
     *未同意免责声明
     * 
* * GtwEventType_UnAgreeDisclaimer = 5; */ GtwEventType_UnAgreeDisclaimer(5), /** *
     *缺少必要网络配置信息;例如控制订阅额度 //已优化,不会再出现该情况
     * 
* * GtwEventType_NetCfgMissing = 6; */ GtwEventType_NetCfgMissing(6), /** *
     *牛牛帐号在别处登录
     * 
* * GtwEventType_KickedOut = 7; */ GtwEventType_KickedOut(7), /** *
     *登录密码被修改
     * 
* * GtwEventType_LoginPwdChanged = 8; */ GtwEventType_LoginPwdChanged(8), /** *
     *用户被禁止登录
     * 
* * GtwEventType_BanLogin = 9; */ GtwEventType_BanLogin(9), /** *
     *需要图形验证码
     * 
* * GtwEventType_NeedPicVerifyCode = 10; */ GtwEventType_NeedPicVerifyCode(10), /** *
     *需要手机验证码
     * 
* * GtwEventType_NeedPhoneVerifyCode = 11; */ GtwEventType_NeedPhoneVerifyCode(11), /** *
     *程序自带数据不存在
     * 
* * GtwEventType_AppDataNotExist = 12; */ GtwEventType_AppDataNotExist(12), /** *
     *缺少必要数据
     * 
* * GtwEventType_NessaryDataMissing = 13; */ GtwEventType_NessaryDataMissing(13), /** *
     *交易密码被修改
     * 
* * GtwEventType_TradePwdChanged = 14; */ GtwEventType_TradePwdChanged(14), /** *
     *启用设备锁
     * 
* * GtwEventType_EnableDeviceLock = 15; */ GtwEventType_EnableDeviceLock(15), ; /** *
     *正常无错
     * 
* * GtwEventType_None = 0; */ public static final int GtwEventType_None_VALUE = 0; /** *
     *加载本地配置失败
     * 
* * GtwEventType_LocalCfgLoadFailed = 1; */ public static final int GtwEventType_LocalCfgLoadFailed_VALUE = 1; /** *
     *服务器启动失败
     * 
* * GtwEventType_APISvrRunFailed = 2; */ public static final int GtwEventType_APISvrRunFailed_VALUE = 2; /** *
     *客户端版本过低
     * 
* * GtwEventType_ForceUpdate = 3; */ public static final int GtwEventType_ForceUpdate_VALUE = 3; /** *
     *登录失败
     * 
* * GtwEventType_LoginFailed = 4; */ public static final int GtwEventType_LoginFailed_VALUE = 4; /** *
     *未同意免责声明
     * 
* * GtwEventType_UnAgreeDisclaimer = 5; */ public static final int GtwEventType_UnAgreeDisclaimer_VALUE = 5; /** *
     *缺少必要网络配置信息;例如控制订阅额度 //已优化,不会再出现该情况
     * 
* * GtwEventType_NetCfgMissing = 6; */ public static final int GtwEventType_NetCfgMissing_VALUE = 6; /** *
     *牛牛帐号在别处登录
     * 
* * GtwEventType_KickedOut = 7; */ public static final int GtwEventType_KickedOut_VALUE = 7; /** *
     *登录密码被修改
     * 
* * GtwEventType_LoginPwdChanged = 8; */ public static final int GtwEventType_LoginPwdChanged_VALUE = 8; /** *
     *用户被禁止登录
     * 
* * GtwEventType_BanLogin = 9; */ public static final int GtwEventType_BanLogin_VALUE = 9; /** *
     *需要图形验证码
     * 
* * GtwEventType_NeedPicVerifyCode = 10; */ public static final int GtwEventType_NeedPicVerifyCode_VALUE = 10; /** *
     *需要手机验证码
     * 
* * GtwEventType_NeedPhoneVerifyCode = 11; */ public static final int GtwEventType_NeedPhoneVerifyCode_VALUE = 11; /** *
     *程序自带数据不存在
     * 
* * GtwEventType_AppDataNotExist = 12; */ public static final int GtwEventType_AppDataNotExist_VALUE = 12; /** *
     *缺少必要数据
     * 
* * GtwEventType_NessaryDataMissing = 13; */ public static final int GtwEventType_NessaryDataMissing_VALUE = 13; /** *
     *交易密码被修改
     * 
* * GtwEventType_TradePwdChanged = 14; */ public static final int GtwEventType_TradePwdChanged_VALUE = 14; /** *
     *启用设备锁
     * 
* * GtwEventType_EnableDeviceLock = 15; */ public static final int GtwEventType_EnableDeviceLock_VALUE = 15; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static GtwEventType valueOf(int value) { return forNumber(value); } public static GtwEventType forNumber(int value) { switch (value) { case 0: return GtwEventType_None; case 1: return GtwEventType_LocalCfgLoadFailed; case 2: return GtwEventType_APISvrRunFailed; case 3: return GtwEventType_ForceUpdate; case 4: return GtwEventType_LoginFailed; case 5: return GtwEventType_UnAgreeDisclaimer; case 6: return GtwEventType_NetCfgMissing; case 7: return GtwEventType_KickedOut; case 8: return GtwEventType_LoginPwdChanged; case 9: return GtwEventType_BanLogin; case 10: return GtwEventType_NeedPicVerifyCode; case 11: return GtwEventType_NeedPhoneVerifyCode; case 12: return GtwEventType_AppDataNotExist; case 13: return GtwEventType_NessaryDataMissing; case 14: return GtwEventType_TradePwdChanged; case 15: return GtwEventType_EnableDeviceLock; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< GtwEventType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public GtwEventType findValueByNumber(int number) { return GtwEventType.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.Notify.getDescriptor().getEnumTypes().get(1); } private static final GtwEventType[] VALUES = values(); public static GtwEventType 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 GtwEventType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Notify.GtwEventType) } public interface GtwEventOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.GtwEvent) com.google.protobuf.MessageOrBuilder { /** *
     *GtwEventType,事件类型
     * 
* * required int32 eventType = 1; */ boolean hasEventType(); /** *
     *GtwEventType,事件类型
     * 
* * required int32 eventType = 1; */ int getEventType(); /** *
     *事件描述
     * 
* * required string desc = 2; */ boolean hasDesc(); /** *
     *事件描述
     * 
* * required string desc = 2; */ java.lang.String getDesc(); /** *
     *事件描述
     * 
* * required string desc = 2; */ com.google.protobuf.ByteString getDescBytes(); } /** * Protobuf type {@code Notify.GtwEvent} */ public static final class GtwEvent extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.GtwEvent) GtwEventOrBuilder { private static final long serialVersionUID = 0L; // Use GtwEvent.newBuilder() to construct. private GtwEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GtwEvent() { eventType_ = 0; desc_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GtwEvent( 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; eventType_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; desc_ = 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.Notify.internal_static_Notify_GtwEvent_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_GtwEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.GtwEvent.class, com.moomoo.openapi.pb.Notify.GtwEvent.Builder.class); } private int bitField0_; public static final int EVENTTYPE_FIELD_NUMBER = 1; private int eventType_; /** *
     *GtwEventType,事件类型
     * 
* * required int32 eventType = 1; */ public boolean hasEventType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *GtwEventType,事件类型
     * 
* * required int32 eventType = 1; */ public int getEventType() { return eventType_; } public static final int DESC_FIELD_NUMBER = 2; private volatile java.lang.Object desc_; /** *
     *事件描述
     * 
* * required string desc = 2; */ public boolean hasDesc() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *事件描述
     * 
* * required string desc = 2; */ public java.lang.String getDesc() { java.lang.Object ref = desc_; 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()) { desc_ = s; } return s; } } /** *
     *事件描述
     * 
* * required string desc = 2; */ public com.google.protobuf.ByteString getDescBytes() { java.lang.Object ref = desc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); desc_ = 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 (!hasEventType()) { memoizedIsInitialized = 0; return false; } if (!hasDesc()) { 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, eventType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, desc_); } 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, eventType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, desc_); } 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.Notify.GtwEvent)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.GtwEvent other = (com.moomoo.openapi.pb.Notify.GtwEvent) obj; boolean result = true; result = result && (hasEventType() == other.hasEventType()); if (hasEventType()) { result = result && (getEventType() == other.getEventType()); } result = result && (hasDesc() == other.hasDesc()); if (hasDesc()) { result = result && getDesc() .equals(other.getDesc()); } 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 (hasEventType()) { hash = (37 * hash) + EVENTTYPE_FIELD_NUMBER; hash = (53 * hash) + getEventType(); } if (hasDesc()) { hash = (37 * hash) + DESC_FIELD_NUMBER; hash = (53 * hash) + getDesc().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.GtwEvent parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.GtwEvent 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.Notify.GtwEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.GtwEvent 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.Notify.GtwEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.GtwEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.GtwEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.GtwEvent 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.Notify.GtwEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.GtwEvent 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.Notify.GtwEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.GtwEvent 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.Notify.GtwEvent 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 Notify.GtwEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.GtwEvent) com.moomoo.openapi.pb.Notify.GtwEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_GtwEvent_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_GtwEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.GtwEvent.class, com.moomoo.openapi.pb.Notify.GtwEvent.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.GtwEvent.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(); eventType_ = 0; bitField0_ = (bitField0_ & ~0x00000001); desc_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_GtwEvent_descriptor; } public com.moomoo.openapi.pb.Notify.GtwEvent getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.GtwEvent build() { com.moomoo.openapi.pb.Notify.GtwEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.GtwEvent buildPartial() { com.moomoo.openapi.pb.Notify.GtwEvent result = new com.moomoo.openapi.pb.Notify.GtwEvent(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.eventType_ = eventType_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.desc_ = desc_; 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.Notify.GtwEvent) { return mergeFrom((com.moomoo.openapi.pb.Notify.GtwEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.GtwEvent other) { if (other == com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance()) return this; if (other.hasEventType()) { setEventType(other.getEventType()); } if (other.hasDesc()) { bitField0_ |= 0x00000002; desc_ = other.desc_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasEventType()) { return false; } if (!hasDesc()) { 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.Notify.GtwEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.GtwEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int eventType_ ; /** *
       *GtwEventType,事件类型
       * 
* * required int32 eventType = 1; */ public boolean hasEventType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *GtwEventType,事件类型
       * 
* * required int32 eventType = 1; */ public int getEventType() { return eventType_; } /** *
       *GtwEventType,事件类型
       * 
* * required int32 eventType = 1; */ public Builder setEventType(int value) { bitField0_ |= 0x00000001; eventType_ = value; onChanged(); return this; } /** *
       *GtwEventType,事件类型
       * 
* * required int32 eventType = 1; */ public Builder clearEventType() { bitField0_ = (bitField0_ & ~0x00000001); eventType_ = 0; onChanged(); return this; } private java.lang.Object desc_ = ""; /** *
       *事件描述
       * 
* * required string desc = 2; */ public boolean hasDesc() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *事件描述
       * 
* * required string desc = 2; */ public java.lang.String getDesc() { java.lang.Object ref = desc_; 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()) { desc_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *事件描述
       * 
* * required string desc = 2; */ public com.google.protobuf.ByteString getDescBytes() { java.lang.Object ref = desc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); desc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *事件描述
       * 
* * required string desc = 2; */ public Builder setDesc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; desc_ = value; onChanged(); return this; } /** *
       *事件描述
       * 
* * required string desc = 2; */ public Builder clearDesc() { bitField0_ = (bitField0_ & ~0x00000002); desc_ = getDefaultInstance().getDesc(); onChanged(); return this; } /** *
       *事件描述
       * 
* * required string desc = 2; */ public Builder setDescBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; desc_ = 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:Notify.GtwEvent) } // @@protoc_insertion_point(class_scope:Notify.GtwEvent) private static final com.moomoo.openapi.pb.Notify.GtwEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.GtwEvent(); } public static com.moomoo.openapi.pb.Notify.GtwEvent getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GtwEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GtwEvent(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.Notify.GtwEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProgramStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.ProgramStatus) com.google.protobuf.MessageOrBuilder { /** *
     *当前程序状态
     * 
* * required .Common.ProgramStatus programStatus = 1; */ boolean hasProgramStatus(); /** *
     *当前程序状态
     * 
* * required .Common.ProgramStatus programStatus = 1; */ com.moomoo.openapi.pb.Common.ProgramStatus getProgramStatus(); /** *
     *当前程序状态
     * 
* * required .Common.ProgramStatus programStatus = 1; */ com.moomoo.openapi.pb.Common.ProgramStatusOrBuilder getProgramStatusOrBuilder(); } /** * Protobuf type {@code Notify.ProgramStatus} */ public static final class ProgramStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.ProgramStatus) ProgramStatusOrBuilder { private static final long serialVersionUID = 0L; // Use ProgramStatus.newBuilder() to construct. private ProgramStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProgramStatus() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProgramStatus( 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.Common.ProgramStatus.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = programStatus_.toBuilder(); } programStatus_ = input.readMessage(com.moomoo.openapi.pb.Common.ProgramStatus.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(programStatus_); programStatus_ = 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.Notify.internal_static_Notify_ProgramStatus_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ProgramStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.ProgramStatus.class, com.moomoo.openapi.pb.Notify.ProgramStatus.Builder.class); } private int bitField0_; public static final int PROGRAMSTATUS_FIELD_NUMBER = 1; private com.moomoo.openapi.pb.Common.ProgramStatus programStatus_; /** *
     *当前程序状态
     * 
* * required .Common.ProgramStatus programStatus = 1; */ public boolean hasProgramStatus() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *当前程序状态
     * 
* * required .Common.ProgramStatus programStatus = 1; */ public com.moomoo.openapi.pb.Common.ProgramStatus getProgramStatus() { return programStatus_ == null ? com.moomoo.openapi.pb.Common.ProgramStatus.getDefaultInstance() : programStatus_; } /** *
     *当前程序状态
     * 
* * required .Common.ProgramStatus programStatus = 1; */ public com.moomoo.openapi.pb.Common.ProgramStatusOrBuilder getProgramStatusOrBuilder() { return programStatus_ == null ? com.moomoo.openapi.pb.Common.ProgramStatus.getDefaultInstance() : programStatus_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasProgramStatus()) { memoizedIsInitialized = 0; return false; } if (!getProgramStatus().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, getProgramStatus()); } 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, getProgramStatus()); } 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.Notify.ProgramStatus)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.ProgramStatus other = (com.moomoo.openapi.pb.Notify.ProgramStatus) obj; boolean result = true; result = result && (hasProgramStatus() == other.hasProgramStatus()); if (hasProgramStatus()) { result = result && getProgramStatus() .equals(other.getProgramStatus()); } 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 (hasProgramStatus()) { hash = (37 * hash) + PROGRAMSTATUS_FIELD_NUMBER; hash = (53 * hash) + getProgramStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.ProgramStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.ProgramStatus 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.Notify.ProgramStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.ProgramStatus 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.Notify.ProgramStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.ProgramStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.ProgramStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.ProgramStatus 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.Notify.ProgramStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.ProgramStatus 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.Notify.ProgramStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.ProgramStatus 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.Notify.ProgramStatus 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 Notify.ProgramStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.ProgramStatus) com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ProgramStatus_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ProgramStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.ProgramStatus.class, com.moomoo.openapi.pb.Notify.ProgramStatus.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.ProgramStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getProgramStatusFieldBuilder(); } } public Builder clear() { super.clear(); if (programStatusBuilder_ == null) { programStatus_ = null; } else { programStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ProgramStatus_descriptor; } public com.moomoo.openapi.pb.Notify.ProgramStatus getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.ProgramStatus build() { com.moomoo.openapi.pb.Notify.ProgramStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.ProgramStatus buildPartial() { com.moomoo.openapi.pb.Notify.ProgramStatus result = new com.moomoo.openapi.pb.Notify.ProgramStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (programStatusBuilder_ == null) { result.programStatus_ = programStatus_; } else { result.programStatus_ = programStatusBuilder_.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.Notify.ProgramStatus) { return mergeFrom((com.moomoo.openapi.pb.Notify.ProgramStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.ProgramStatus other) { if (other == com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance()) return this; if (other.hasProgramStatus()) { mergeProgramStatus(other.getProgramStatus()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasProgramStatus()) { return false; } if (!getProgramStatus().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.Notify.ProgramStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.ProgramStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.moomoo.openapi.pb.Common.ProgramStatus programStatus_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Common.ProgramStatus, com.moomoo.openapi.pb.Common.ProgramStatus.Builder, com.moomoo.openapi.pb.Common.ProgramStatusOrBuilder> programStatusBuilder_; /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public boolean hasProgramStatus() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public com.moomoo.openapi.pb.Common.ProgramStatus getProgramStatus() { if (programStatusBuilder_ == null) { return programStatus_ == null ? com.moomoo.openapi.pb.Common.ProgramStatus.getDefaultInstance() : programStatus_; } else { return programStatusBuilder_.getMessage(); } } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public Builder setProgramStatus(com.moomoo.openapi.pb.Common.ProgramStatus value) { if (programStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } programStatus_ = value; onChanged(); } else { programStatusBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public Builder setProgramStatus( com.moomoo.openapi.pb.Common.ProgramStatus.Builder builderForValue) { if (programStatusBuilder_ == null) { programStatus_ = builderForValue.build(); onChanged(); } else { programStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public Builder mergeProgramStatus(com.moomoo.openapi.pb.Common.ProgramStatus value) { if (programStatusBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && programStatus_ != null && programStatus_ != com.moomoo.openapi.pb.Common.ProgramStatus.getDefaultInstance()) { programStatus_ = com.moomoo.openapi.pb.Common.ProgramStatus.newBuilder(programStatus_).mergeFrom(value).buildPartial(); } else { programStatus_ = value; } onChanged(); } else { programStatusBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public Builder clearProgramStatus() { if (programStatusBuilder_ == null) { programStatus_ = null; onChanged(); } else { programStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public com.moomoo.openapi.pb.Common.ProgramStatus.Builder getProgramStatusBuilder() { bitField0_ |= 0x00000001; onChanged(); return getProgramStatusFieldBuilder().getBuilder(); } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ public com.moomoo.openapi.pb.Common.ProgramStatusOrBuilder getProgramStatusOrBuilder() { if (programStatusBuilder_ != null) { return programStatusBuilder_.getMessageOrBuilder(); } else { return programStatus_ == null ? com.moomoo.openapi.pb.Common.ProgramStatus.getDefaultInstance() : programStatus_; } } /** *
       *当前程序状态
       * 
* * required .Common.ProgramStatus programStatus = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Common.ProgramStatus, com.moomoo.openapi.pb.Common.ProgramStatus.Builder, com.moomoo.openapi.pb.Common.ProgramStatusOrBuilder> getProgramStatusFieldBuilder() { if (programStatusBuilder_ == null) { programStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Common.ProgramStatus, com.moomoo.openapi.pb.Common.ProgramStatus.Builder, com.moomoo.openapi.pb.Common.ProgramStatusOrBuilder>( getProgramStatus(), getParentForChildren(), isClean()); programStatus_ = null; } return programStatusBuilder_; } 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:Notify.ProgramStatus) } // @@protoc_insertion_point(class_scope:Notify.ProgramStatus) private static final com.moomoo.openapi.pb.Notify.ProgramStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.ProgramStatus(); } public static com.moomoo.openapi.pb.Notify.ProgramStatus getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ProgramStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProgramStatus(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.Notify.ProgramStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConnectStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.ConnectStatus) com.google.protobuf.MessageOrBuilder { /** *
     *是否登陆行情服务器
     * 
* * required bool qotLogined = 1; */ boolean hasQotLogined(); /** *
     *是否登陆行情服务器
     * 
* * required bool qotLogined = 1; */ boolean getQotLogined(); /** *
     *是否登陆交易服务器
     * 
* * required bool trdLogined = 2; */ boolean hasTrdLogined(); /** *
     *是否登陆交易服务器
     * 
* * required bool trdLogined = 2; */ boolean getTrdLogined(); } /** * Protobuf type {@code Notify.ConnectStatus} */ public static final class ConnectStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.ConnectStatus) ConnectStatusOrBuilder { private static final long serialVersionUID = 0L; // Use ConnectStatus.newBuilder() to construct. private ConnectStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConnectStatus() { qotLogined_ = false; trdLogined_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConnectStatus( 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; qotLogined_ = input.readBool(); break; } case 16: { bitField0_ |= 0x00000002; trdLogined_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ConnectStatus_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ConnectStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.ConnectStatus.class, com.moomoo.openapi.pb.Notify.ConnectStatus.Builder.class); } private int bitField0_; public static final int QOTLOGINED_FIELD_NUMBER = 1; private boolean qotLogined_; /** *
     *是否登陆行情服务器
     * 
* * required bool qotLogined = 1; */ public boolean hasQotLogined() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *是否登陆行情服务器
     * 
* * required bool qotLogined = 1; */ public boolean getQotLogined() { return qotLogined_; } public static final int TRDLOGINED_FIELD_NUMBER = 2; private boolean trdLogined_; /** *
     *是否登陆交易服务器
     * 
* * required bool trdLogined = 2; */ public boolean hasTrdLogined() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *是否登陆交易服务器
     * 
* * required bool trdLogined = 2; */ public boolean getTrdLogined() { return trdLogined_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasQotLogined()) { memoizedIsInitialized = 0; return false; } if (!hasTrdLogined()) { 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.writeBool(1, qotLogined_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, trdLogined_); } 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 .computeBoolSize(1, qotLogined_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, trdLogined_); } 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.Notify.ConnectStatus)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.ConnectStatus other = (com.moomoo.openapi.pb.Notify.ConnectStatus) obj; boolean result = true; result = result && (hasQotLogined() == other.hasQotLogined()); if (hasQotLogined()) { result = result && (getQotLogined() == other.getQotLogined()); } result = result && (hasTrdLogined() == other.hasTrdLogined()); if (hasTrdLogined()) { result = result && (getTrdLogined() == other.getTrdLogined()); } 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 (hasQotLogined()) { hash = (37 * hash) + QOTLOGINED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getQotLogined()); } if (hasTrdLogined()) { hash = (37 * hash) + TRDLOGINED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTrdLogined()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.ConnectStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.ConnectStatus 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.Notify.ConnectStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.ConnectStatus 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.Notify.ConnectStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.ConnectStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.ConnectStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.ConnectStatus 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.Notify.ConnectStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.ConnectStatus 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.Notify.ConnectStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.ConnectStatus 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.Notify.ConnectStatus 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 Notify.ConnectStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.ConnectStatus) com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ConnectStatus_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ConnectStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.ConnectStatus.class, com.moomoo.openapi.pb.Notify.ConnectStatus.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.ConnectStatus.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(); qotLogined_ = false; bitField0_ = (bitField0_ & ~0x00000001); trdLogined_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_ConnectStatus_descriptor; } public com.moomoo.openapi.pb.Notify.ConnectStatus getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.ConnectStatus build() { com.moomoo.openapi.pb.Notify.ConnectStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.ConnectStatus buildPartial() { com.moomoo.openapi.pb.Notify.ConnectStatus result = new com.moomoo.openapi.pb.Notify.ConnectStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.qotLogined_ = qotLogined_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.trdLogined_ = trdLogined_; 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.Notify.ConnectStatus) { return mergeFrom((com.moomoo.openapi.pb.Notify.ConnectStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.ConnectStatus other) { if (other == com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance()) return this; if (other.hasQotLogined()) { setQotLogined(other.getQotLogined()); } if (other.hasTrdLogined()) { setTrdLogined(other.getTrdLogined()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasQotLogined()) { return false; } if (!hasTrdLogined()) { 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.Notify.ConnectStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.ConnectStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean qotLogined_ ; /** *
       *是否登陆行情服务器
       * 
* * required bool qotLogined = 1; */ public boolean hasQotLogined() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *是否登陆行情服务器
       * 
* * required bool qotLogined = 1; */ public boolean getQotLogined() { return qotLogined_; } /** *
       *是否登陆行情服务器
       * 
* * required bool qotLogined = 1; */ public Builder setQotLogined(boolean value) { bitField0_ |= 0x00000001; qotLogined_ = value; onChanged(); return this; } /** *
       *是否登陆行情服务器
       * 
* * required bool qotLogined = 1; */ public Builder clearQotLogined() { bitField0_ = (bitField0_ & ~0x00000001); qotLogined_ = false; onChanged(); return this; } private boolean trdLogined_ ; /** *
       *是否登陆交易服务器
       * 
* * required bool trdLogined = 2; */ public boolean hasTrdLogined() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *是否登陆交易服务器
       * 
* * required bool trdLogined = 2; */ public boolean getTrdLogined() { return trdLogined_; } /** *
       *是否登陆交易服务器
       * 
* * required bool trdLogined = 2; */ public Builder setTrdLogined(boolean value) { bitField0_ |= 0x00000002; trdLogined_ = value; onChanged(); return this; } /** *
       *是否登陆交易服务器
       * 
* * required bool trdLogined = 2; */ public Builder clearTrdLogined() { bitField0_ = (bitField0_ & ~0x00000002); trdLogined_ = false; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Notify.ConnectStatus) } // @@protoc_insertion_point(class_scope:Notify.ConnectStatus) private static final com.moomoo.openapi.pb.Notify.ConnectStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.ConnectStatus(); } public static com.moomoo.openapi.pb.Notify.ConnectStatus getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ConnectStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConnectStatus(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.Notify.ConnectStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QotRightOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.QotRight) com.google.protobuf.MessageOrBuilder { /** *
     *港股行情权限, Qot_Common.QotRight
     * 
* * required int32 hkQotRight = 4; */ boolean hasHkQotRight(); /** *
     *港股行情权限, Qot_Common.QotRight
     * 
* * required int32 hkQotRight = 4; */ int getHkQotRight(); /** *
     *美股行情权限, Qot_Common.QotRight
     * 
* * required int32 usQotRight = 5; */ boolean hasUsQotRight(); /** *
     *美股行情权限, Qot_Common.QotRight
     * 
* * required int32 usQotRight = 5; */ int getUsQotRight(); /** *
     *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
     * 
* * required int32 cnQotRight = 6; */ boolean hasCnQotRight(); /** *
     *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
     * 
* * required int32 cnQotRight = 6; */ int getCnQotRight(); /** *
     *港股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkOptionQotRight = 7; */ boolean hasHkOptionQotRight(); /** *
     *港股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkOptionQotRight = 7; */ int getHkOptionQotRight(); /** *
     *是否有美股期权行情权限
     * 
* * optional bool hasUSOptionQotRight = 8; */ boolean hasHasUSOptionQotRight(); /** *
     *是否有美股期权行情权限
     * 
* * optional bool hasUSOptionQotRight = 8; */ boolean getHasUSOptionQotRight(); /** *
     *港股期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkFutureQotRight = 9; */ boolean hasHkFutureQotRight(); /** *
     *港股期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkFutureQotRight = 9; */ int getHkFutureQotRight(); /** *
     *美股期货行情权限, Qot_Common.QotRight(已废弃)
     * 
* * optional int32 usFutureQotRight = 10; */ boolean hasUsFutureQotRight(); /** *
     *美股期货行情权限, Qot_Common.QotRight(已废弃)
     * 
* * optional int32 usFutureQotRight = 10; */ int getUsFutureQotRight(); /** *
     *美股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOptionQotRight = 11; */ boolean hasUsOptionQotRight(); /** *
     *美股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOptionQotRight = 11; */ int getUsOptionQotRight(); /** *
     *美股指数行情权限, Qot_Common.QotRight
     * 
* * optional int32 usIndexQotRight = 12; */ boolean hasUsIndexQotRight(); /** *
     *美股指数行情权限, Qot_Common.QotRight
     * 
* * optional int32 usIndexQotRight = 12; */ int getUsIndexQotRight(); /** *
     *美股OTC市场行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOtcQotRight = 13; */ boolean hasUsOtcQotRight(); /** *
     *美股OTC市场行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOtcQotRight = 13; */ int getUsOtcQotRight(); /** *
     *新加坡市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 sgFutureQotRight = 14; */ boolean hasSgFutureQotRight(); /** *
     *新加坡市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 sgFutureQotRight = 14; */ int getSgFutureQotRight(); /** *
     *日本市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 jpFutureQotRight = 15; */ boolean hasJpFutureQotRight(); /** *
     *日本市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 jpFutureQotRight = 15; */ int getJpFutureQotRight(); /** *
     *美股CME期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCMEFutureQotRight = 16; */ boolean hasUsCMEFutureQotRight(); /** *
     *美股CME期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCMEFutureQotRight = 16; */ int getUsCMEFutureQotRight(); /** *
     *美股CBOT期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOTFutureQotRight = 17; */ boolean hasUsCBOTFutureQotRight(); /** *
     *美股CBOT期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOTFutureQotRight = 17; */ int getUsCBOTFutureQotRight(); /** *
     *美股NYMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usNYMEXFutureQotRight = 18; */ boolean hasUsNYMEXFutureQotRight(); /** *
     *美股NYMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usNYMEXFutureQotRight = 18; */ int getUsNYMEXFutureQotRight(); /** *
     *美股COMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCOMEXFutureQotRight = 19; */ boolean hasUsCOMEXFutureQotRight(); /** *
     *美股COMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCOMEXFutureQotRight = 19; */ int getUsCOMEXFutureQotRight(); /** *
     *美股CBOE期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOEFutureQotRight = 20; */ boolean hasUsCBOEFutureQotRight(); /** *
     *美股CBOE期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOEFutureQotRight = 20; */ int getUsCBOEFutureQotRight(); /** *
     *上海A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 shQotRight = 21; */ boolean hasShQotRight(); /** *
     *上海A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 shQotRight = 21; */ int getShQotRight(); /** *
     *深圳A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 szQotRight = 22; */ boolean hasSzQotRight(); /** *
     *深圳A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 szQotRight = 22; */ int getSzQotRight(); } /** * Protobuf type {@code Notify.QotRight} */ public static final class QotRight extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.QotRight) QotRightOrBuilder { private static final long serialVersionUID = 0L; // Use QotRight.newBuilder() to construct. private QotRight(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QotRight() { hkQotRight_ = 0; usQotRight_ = 0; cnQotRight_ = 0; hkOptionQotRight_ = 0; hasUSOptionQotRight_ = false; hkFutureQotRight_ = 0; usFutureQotRight_ = 0; usOptionQotRight_ = 0; usIndexQotRight_ = 0; usOtcQotRight_ = 0; sgFutureQotRight_ = 0; jpFutureQotRight_ = 0; usCMEFutureQotRight_ = 0; usCBOTFutureQotRight_ = 0; usNYMEXFutureQotRight_ = 0; usCOMEXFutureQotRight_ = 0; usCBOEFutureQotRight_ = 0; shQotRight_ = 0; szQotRight_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QotRight( 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 32: { bitField0_ |= 0x00000001; hkQotRight_ = input.readInt32(); break; } case 40: { bitField0_ |= 0x00000002; usQotRight_ = input.readInt32(); break; } case 48: { bitField0_ |= 0x00000004; cnQotRight_ = input.readInt32(); break; } case 56: { bitField0_ |= 0x00000008; hkOptionQotRight_ = input.readInt32(); break; } case 64: { bitField0_ |= 0x00000010; hasUSOptionQotRight_ = input.readBool(); break; } case 72: { bitField0_ |= 0x00000020; hkFutureQotRight_ = input.readInt32(); break; } case 80: { bitField0_ |= 0x00000040; usFutureQotRight_ = input.readInt32(); break; } case 88: { bitField0_ |= 0x00000080; usOptionQotRight_ = input.readInt32(); break; } case 96: { bitField0_ |= 0x00000100; usIndexQotRight_ = input.readInt32(); break; } case 104: { bitField0_ |= 0x00000200; usOtcQotRight_ = input.readInt32(); break; } case 112: { bitField0_ |= 0x00000400; sgFutureQotRight_ = input.readInt32(); break; } case 120: { bitField0_ |= 0x00000800; jpFutureQotRight_ = input.readInt32(); break; } case 128: { bitField0_ |= 0x00001000; usCMEFutureQotRight_ = input.readInt32(); break; } case 136: { bitField0_ |= 0x00002000; usCBOTFutureQotRight_ = input.readInt32(); break; } case 144: { bitField0_ |= 0x00004000; usNYMEXFutureQotRight_ = input.readInt32(); break; } case 152: { bitField0_ |= 0x00008000; usCOMEXFutureQotRight_ = input.readInt32(); break; } case 160: { bitField0_ |= 0x00010000; usCBOEFutureQotRight_ = input.readInt32(); break; } case 168: { bitField0_ |= 0x00020000; shQotRight_ = input.readInt32(); break; } case 176: { bitField0_ |= 0x00040000; szQotRight_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_QotRight_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_QotRight_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.QotRight.class, com.moomoo.openapi.pb.Notify.QotRight.Builder.class); } private int bitField0_; public static final int HKQOTRIGHT_FIELD_NUMBER = 4; private int hkQotRight_; /** *
     *港股行情权限, Qot_Common.QotRight
     * 
* * required int32 hkQotRight = 4; */ public boolean hasHkQotRight() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *港股行情权限, Qot_Common.QotRight
     * 
* * required int32 hkQotRight = 4; */ public int getHkQotRight() { return hkQotRight_; } public static final int USQOTRIGHT_FIELD_NUMBER = 5; private int usQotRight_; /** *
     *美股行情权限, Qot_Common.QotRight
     * 
* * required int32 usQotRight = 5; */ public boolean hasUsQotRight() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *美股行情权限, Qot_Common.QotRight
     * 
* * required int32 usQotRight = 5; */ public int getUsQotRight() { return usQotRight_; } public static final int CNQOTRIGHT_FIELD_NUMBER = 6; private int cnQotRight_; /** *
     *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
     * 
* * required int32 cnQotRight = 6; */ public boolean hasCnQotRight() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
     * 
* * required int32 cnQotRight = 6; */ public int getCnQotRight() { return cnQotRight_; } public static final int HKOPTIONQOTRIGHT_FIELD_NUMBER = 7; private int hkOptionQotRight_; /** *
     *港股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkOptionQotRight = 7; */ public boolean hasHkOptionQotRight() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *港股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkOptionQotRight = 7; */ public int getHkOptionQotRight() { return hkOptionQotRight_; } public static final int HASUSOPTIONQOTRIGHT_FIELD_NUMBER = 8; private boolean hasUSOptionQotRight_; /** *
     *是否有美股期权行情权限
     * 
* * optional bool hasUSOptionQotRight = 8; */ public boolean hasHasUSOptionQotRight() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *是否有美股期权行情权限
     * 
* * optional bool hasUSOptionQotRight = 8; */ public boolean getHasUSOptionQotRight() { return hasUSOptionQotRight_; } public static final int HKFUTUREQOTRIGHT_FIELD_NUMBER = 9; private int hkFutureQotRight_; /** *
     *港股期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkFutureQotRight = 9; */ public boolean hasHkFutureQotRight() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *港股期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 hkFutureQotRight = 9; */ public int getHkFutureQotRight() { return hkFutureQotRight_; } public static final int USFUTUREQOTRIGHT_FIELD_NUMBER = 10; private int usFutureQotRight_; /** *
     *美股期货行情权限, Qot_Common.QotRight(已废弃)
     * 
* * optional int32 usFutureQotRight = 10; */ public boolean hasUsFutureQotRight() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *美股期货行情权限, Qot_Common.QotRight(已废弃)
     * 
* * optional int32 usFutureQotRight = 10; */ public int getUsFutureQotRight() { return usFutureQotRight_; } public static final int USOPTIONQOTRIGHT_FIELD_NUMBER = 11; private int usOptionQotRight_; /** *
     *美股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOptionQotRight = 11; */ public boolean hasUsOptionQotRight() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     *美股期权行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOptionQotRight = 11; */ public int getUsOptionQotRight() { return usOptionQotRight_; } public static final int USINDEXQOTRIGHT_FIELD_NUMBER = 12; private int usIndexQotRight_; /** *
     *美股指数行情权限, Qot_Common.QotRight
     * 
* * optional int32 usIndexQotRight = 12; */ public boolean hasUsIndexQotRight() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
     *美股指数行情权限, Qot_Common.QotRight
     * 
* * optional int32 usIndexQotRight = 12; */ public int getUsIndexQotRight() { return usIndexQotRight_; } public static final int USOTCQOTRIGHT_FIELD_NUMBER = 13; private int usOtcQotRight_; /** *
     *美股OTC市场行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOtcQotRight = 13; */ public boolean hasUsOtcQotRight() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
     *美股OTC市场行情权限, Qot_Common.QotRight
     * 
* * optional int32 usOtcQotRight = 13; */ public int getUsOtcQotRight() { return usOtcQotRight_; } public static final int SGFUTUREQOTRIGHT_FIELD_NUMBER = 14; private int sgFutureQotRight_; /** *
     *新加坡市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 sgFutureQotRight = 14; */ public boolean hasSgFutureQotRight() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     *新加坡市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 sgFutureQotRight = 14; */ public int getSgFutureQotRight() { return sgFutureQotRight_; } public static final int JPFUTUREQOTRIGHT_FIELD_NUMBER = 15; private int jpFutureQotRight_; /** *
     *日本市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 jpFutureQotRight = 15; */ public boolean hasJpFutureQotRight() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
     *日本市场期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 jpFutureQotRight = 15; */ public int getJpFutureQotRight() { return jpFutureQotRight_; } public static final int USCMEFUTUREQOTRIGHT_FIELD_NUMBER = 16; private int usCMEFutureQotRight_; /** *
     *美股CME期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCMEFutureQotRight = 16; */ public boolean hasUsCMEFutureQotRight() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
     *美股CME期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCMEFutureQotRight = 16; */ public int getUsCMEFutureQotRight() { return usCMEFutureQotRight_; } public static final int USCBOTFUTUREQOTRIGHT_FIELD_NUMBER = 17; private int usCBOTFutureQotRight_; /** *
     *美股CBOT期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOTFutureQotRight = 17; */ public boolean hasUsCBOTFutureQotRight() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
     *美股CBOT期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOTFutureQotRight = 17; */ public int getUsCBOTFutureQotRight() { return usCBOTFutureQotRight_; } public static final int USNYMEXFUTUREQOTRIGHT_FIELD_NUMBER = 18; private int usNYMEXFutureQotRight_; /** *
     *美股NYMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usNYMEXFutureQotRight = 18; */ public boolean hasUsNYMEXFutureQotRight() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
     *美股NYMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usNYMEXFutureQotRight = 18; */ public int getUsNYMEXFutureQotRight() { return usNYMEXFutureQotRight_; } public static final int USCOMEXFUTUREQOTRIGHT_FIELD_NUMBER = 19; private int usCOMEXFutureQotRight_; /** *
     *美股COMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCOMEXFutureQotRight = 19; */ public boolean hasUsCOMEXFutureQotRight() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
     *美股COMEX期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCOMEXFutureQotRight = 19; */ public int getUsCOMEXFutureQotRight() { return usCOMEXFutureQotRight_; } public static final int USCBOEFUTUREQOTRIGHT_FIELD_NUMBER = 20; private int usCBOEFutureQotRight_; /** *
     *美股CBOE期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOEFutureQotRight = 20; */ public boolean hasUsCBOEFutureQotRight() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
     *美股CBOE期货行情权限, Qot_Common.QotRight
     * 
* * optional int32 usCBOEFutureQotRight = 20; */ public int getUsCBOEFutureQotRight() { return usCBOEFutureQotRight_; } public static final int SHQOTRIGHT_FIELD_NUMBER = 21; private int shQotRight_; /** *
     *上海A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 shQotRight = 21; */ public boolean hasShQotRight() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
     *上海A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 shQotRight = 21; */ public int getShQotRight() { return shQotRight_; } public static final int SZQOTRIGHT_FIELD_NUMBER = 22; private int szQotRight_; /** *
     *深圳A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 szQotRight = 22; */ public boolean hasSzQotRight() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** *
     *深圳A股行情权限, Qot_Common.QotRight
     * 
* * optional int32 szQotRight = 22; */ public int getSzQotRight() { return szQotRight_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasHkQotRight()) { memoizedIsInitialized = 0; return false; } if (!hasUsQotRight()) { memoizedIsInitialized = 0; return false; } if (!hasCnQotRight()) { 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(4, hkQotRight_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(5, usQotRight_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(6, cnQotRight_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(7, hkOptionQotRight_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(8, hasUSOptionQotRight_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(9, hkFutureQotRight_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(10, usFutureQotRight_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(11, usOptionQotRight_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeInt32(12, usIndexQotRight_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeInt32(13, usOtcQotRight_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeInt32(14, sgFutureQotRight_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeInt32(15, jpFutureQotRight_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeInt32(16, usCMEFutureQotRight_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeInt32(17, usCBOTFutureQotRight_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeInt32(18, usNYMEXFutureQotRight_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeInt32(19, usCOMEXFutureQotRight_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeInt32(20, usCBOEFutureQotRight_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeInt32(21, shQotRight_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeInt32(22, szQotRight_); } 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(4, hkQotRight_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, usQotRight_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, cnQotRight_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, hkOptionQotRight_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, hasUSOptionQotRight_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, hkFutureQotRight_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, usFutureQotRight_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, usOptionQotRight_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, usIndexQotRight_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(13, usOtcQotRight_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, sgFutureQotRight_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(15, jpFutureQotRight_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(16, usCMEFutureQotRight_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(17, usCBOTFutureQotRight_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(18, usNYMEXFutureQotRight_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(19, usCOMEXFutureQotRight_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(20, usCBOEFutureQotRight_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(21, shQotRight_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(22, szQotRight_); } 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.Notify.QotRight)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.QotRight other = (com.moomoo.openapi.pb.Notify.QotRight) obj; boolean result = true; result = result && (hasHkQotRight() == other.hasHkQotRight()); if (hasHkQotRight()) { result = result && (getHkQotRight() == other.getHkQotRight()); } result = result && (hasUsQotRight() == other.hasUsQotRight()); if (hasUsQotRight()) { result = result && (getUsQotRight() == other.getUsQotRight()); } result = result && (hasCnQotRight() == other.hasCnQotRight()); if (hasCnQotRight()) { result = result && (getCnQotRight() == other.getCnQotRight()); } result = result && (hasHkOptionQotRight() == other.hasHkOptionQotRight()); if (hasHkOptionQotRight()) { result = result && (getHkOptionQotRight() == other.getHkOptionQotRight()); } result = result && (hasHasUSOptionQotRight() == other.hasHasUSOptionQotRight()); if (hasHasUSOptionQotRight()) { result = result && (getHasUSOptionQotRight() == other.getHasUSOptionQotRight()); } result = result && (hasHkFutureQotRight() == other.hasHkFutureQotRight()); if (hasHkFutureQotRight()) { result = result && (getHkFutureQotRight() == other.getHkFutureQotRight()); } result = result && (hasUsFutureQotRight() == other.hasUsFutureQotRight()); if (hasUsFutureQotRight()) { result = result && (getUsFutureQotRight() == other.getUsFutureQotRight()); } result = result && (hasUsOptionQotRight() == other.hasUsOptionQotRight()); if (hasUsOptionQotRight()) { result = result && (getUsOptionQotRight() == other.getUsOptionQotRight()); } result = result && (hasUsIndexQotRight() == other.hasUsIndexQotRight()); if (hasUsIndexQotRight()) { result = result && (getUsIndexQotRight() == other.getUsIndexQotRight()); } result = result && (hasUsOtcQotRight() == other.hasUsOtcQotRight()); if (hasUsOtcQotRight()) { result = result && (getUsOtcQotRight() == other.getUsOtcQotRight()); } result = result && (hasSgFutureQotRight() == other.hasSgFutureQotRight()); if (hasSgFutureQotRight()) { result = result && (getSgFutureQotRight() == other.getSgFutureQotRight()); } result = result && (hasJpFutureQotRight() == other.hasJpFutureQotRight()); if (hasJpFutureQotRight()) { result = result && (getJpFutureQotRight() == other.getJpFutureQotRight()); } result = result && (hasUsCMEFutureQotRight() == other.hasUsCMEFutureQotRight()); if (hasUsCMEFutureQotRight()) { result = result && (getUsCMEFutureQotRight() == other.getUsCMEFutureQotRight()); } result = result && (hasUsCBOTFutureQotRight() == other.hasUsCBOTFutureQotRight()); if (hasUsCBOTFutureQotRight()) { result = result && (getUsCBOTFutureQotRight() == other.getUsCBOTFutureQotRight()); } result = result && (hasUsNYMEXFutureQotRight() == other.hasUsNYMEXFutureQotRight()); if (hasUsNYMEXFutureQotRight()) { result = result && (getUsNYMEXFutureQotRight() == other.getUsNYMEXFutureQotRight()); } result = result && (hasUsCOMEXFutureQotRight() == other.hasUsCOMEXFutureQotRight()); if (hasUsCOMEXFutureQotRight()) { result = result && (getUsCOMEXFutureQotRight() == other.getUsCOMEXFutureQotRight()); } result = result && (hasUsCBOEFutureQotRight() == other.hasUsCBOEFutureQotRight()); if (hasUsCBOEFutureQotRight()) { result = result && (getUsCBOEFutureQotRight() == other.getUsCBOEFutureQotRight()); } result = result && (hasShQotRight() == other.hasShQotRight()); if (hasShQotRight()) { result = result && (getShQotRight() == other.getShQotRight()); } result = result && (hasSzQotRight() == other.hasSzQotRight()); if (hasSzQotRight()) { result = result && (getSzQotRight() == other.getSzQotRight()); } 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 (hasHkQotRight()) { hash = (37 * hash) + HKQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getHkQotRight(); } if (hasUsQotRight()) { hash = (37 * hash) + USQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsQotRight(); } if (hasCnQotRight()) { hash = (37 * hash) + CNQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getCnQotRight(); } if (hasHkOptionQotRight()) { hash = (37 * hash) + HKOPTIONQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getHkOptionQotRight(); } if (hasHasUSOptionQotRight()) { hash = (37 * hash) + HASUSOPTIONQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasUSOptionQotRight()); } if (hasHkFutureQotRight()) { hash = (37 * hash) + HKFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getHkFutureQotRight(); } if (hasUsFutureQotRight()) { hash = (37 * hash) + USFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsFutureQotRight(); } if (hasUsOptionQotRight()) { hash = (37 * hash) + USOPTIONQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsOptionQotRight(); } if (hasUsIndexQotRight()) { hash = (37 * hash) + USINDEXQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsIndexQotRight(); } if (hasUsOtcQotRight()) { hash = (37 * hash) + USOTCQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsOtcQotRight(); } if (hasSgFutureQotRight()) { hash = (37 * hash) + SGFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getSgFutureQotRight(); } if (hasJpFutureQotRight()) { hash = (37 * hash) + JPFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getJpFutureQotRight(); } if (hasUsCMEFutureQotRight()) { hash = (37 * hash) + USCMEFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsCMEFutureQotRight(); } if (hasUsCBOTFutureQotRight()) { hash = (37 * hash) + USCBOTFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsCBOTFutureQotRight(); } if (hasUsNYMEXFutureQotRight()) { hash = (37 * hash) + USNYMEXFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsNYMEXFutureQotRight(); } if (hasUsCOMEXFutureQotRight()) { hash = (37 * hash) + USCOMEXFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsCOMEXFutureQotRight(); } if (hasUsCBOEFutureQotRight()) { hash = (37 * hash) + USCBOEFUTUREQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getUsCBOEFutureQotRight(); } if (hasShQotRight()) { hash = (37 * hash) + SHQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getShQotRight(); } if (hasSzQotRight()) { hash = (37 * hash) + SZQOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getSzQotRight(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.QotRight parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.QotRight 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.Notify.QotRight parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.QotRight 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.Notify.QotRight parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.QotRight parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.QotRight parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.QotRight 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.Notify.QotRight parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.QotRight 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.Notify.QotRight parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.QotRight 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.Notify.QotRight 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 Notify.QotRight} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.QotRight) com.moomoo.openapi.pb.Notify.QotRightOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_QotRight_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_QotRight_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.QotRight.class, com.moomoo.openapi.pb.Notify.QotRight.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.QotRight.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(); hkQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000001); usQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000002); cnQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000004); hkOptionQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000008); hasUSOptionQotRight_ = false; bitField0_ = (bitField0_ & ~0x00000010); hkFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000020); usFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000040); usOptionQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000080); usIndexQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000100); usOtcQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000200); sgFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000400); jpFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00000800); usCMEFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00001000); usCBOTFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00002000); usNYMEXFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00004000); usCOMEXFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00008000); usCBOEFutureQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00010000); shQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00020000); szQotRight_ = 0; bitField0_ = (bitField0_ & ~0x00040000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_QotRight_descriptor; } public com.moomoo.openapi.pb.Notify.QotRight getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.QotRight build() { com.moomoo.openapi.pb.Notify.QotRight result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.QotRight buildPartial() { com.moomoo.openapi.pb.Notify.QotRight result = new com.moomoo.openapi.pb.Notify.QotRight(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.hkQotRight_ = hkQotRight_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.usQotRight_ = usQotRight_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.cnQotRight_ = cnQotRight_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.hkOptionQotRight_ = hkOptionQotRight_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.hasUSOptionQotRight_ = hasUSOptionQotRight_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.hkFutureQotRight_ = hkFutureQotRight_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.usFutureQotRight_ = usFutureQotRight_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.usOptionQotRight_ = usOptionQotRight_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.usIndexQotRight_ = usIndexQotRight_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.usOtcQotRight_ = usOtcQotRight_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.sgFutureQotRight_ = sgFutureQotRight_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.jpFutureQotRight_ = jpFutureQotRight_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.usCMEFutureQotRight_ = usCMEFutureQotRight_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.usCBOTFutureQotRight_ = usCBOTFutureQotRight_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.usNYMEXFutureQotRight_ = usNYMEXFutureQotRight_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.usCOMEXFutureQotRight_ = usCOMEXFutureQotRight_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.usCBOEFutureQotRight_ = usCBOEFutureQotRight_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00020000; } result.shQotRight_ = shQotRight_; if (((from_bitField0_ & 0x00040000) == 0x00040000)) { to_bitField0_ |= 0x00040000; } result.szQotRight_ = szQotRight_; 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.Notify.QotRight) { return mergeFrom((com.moomoo.openapi.pb.Notify.QotRight)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.QotRight other) { if (other == com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance()) return this; if (other.hasHkQotRight()) { setHkQotRight(other.getHkQotRight()); } if (other.hasUsQotRight()) { setUsQotRight(other.getUsQotRight()); } if (other.hasCnQotRight()) { setCnQotRight(other.getCnQotRight()); } if (other.hasHkOptionQotRight()) { setHkOptionQotRight(other.getHkOptionQotRight()); } if (other.hasHasUSOptionQotRight()) { setHasUSOptionQotRight(other.getHasUSOptionQotRight()); } if (other.hasHkFutureQotRight()) { setHkFutureQotRight(other.getHkFutureQotRight()); } if (other.hasUsFutureQotRight()) { setUsFutureQotRight(other.getUsFutureQotRight()); } if (other.hasUsOptionQotRight()) { setUsOptionQotRight(other.getUsOptionQotRight()); } if (other.hasUsIndexQotRight()) { setUsIndexQotRight(other.getUsIndexQotRight()); } if (other.hasUsOtcQotRight()) { setUsOtcQotRight(other.getUsOtcQotRight()); } if (other.hasSgFutureQotRight()) { setSgFutureQotRight(other.getSgFutureQotRight()); } if (other.hasJpFutureQotRight()) { setJpFutureQotRight(other.getJpFutureQotRight()); } if (other.hasUsCMEFutureQotRight()) { setUsCMEFutureQotRight(other.getUsCMEFutureQotRight()); } if (other.hasUsCBOTFutureQotRight()) { setUsCBOTFutureQotRight(other.getUsCBOTFutureQotRight()); } if (other.hasUsNYMEXFutureQotRight()) { setUsNYMEXFutureQotRight(other.getUsNYMEXFutureQotRight()); } if (other.hasUsCOMEXFutureQotRight()) { setUsCOMEXFutureQotRight(other.getUsCOMEXFutureQotRight()); } if (other.hasUsCBOEFutureQotRight()) { setUsCBOEFutureQotRight(other.getUsCBOEFutureQotRight()); } if (other.hasShQotRight()) { setShQotRight(other.getShQotRight()); } if (other.hasSzQotRight()) { setSzQotRight(other.getSzQotRight()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasHkQotRight()) { return false; } if (!hasUsQotRight()) { return false; } if (!hasCnQotRight()) { 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.Notify.QotRight parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.QotRight) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int hkQotRight_ ; /** *
       *港股行情权限, Qot_Common.QotRight
       * 
* * required int32 hkQotRight = 4; */ public boolean hasHkQotRight() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *港股行情权限, Qot_Common.QotRight
       * 
* * required int32 hkQotRight = 4; */ public int getHkQotRight() { return hkQotRight_; } /** *
       *港股行情权限, Qot_Common.QotRight
       * 
* * required int32 hkQotRight = 4; */ public Builder setHkQotRight(int value) { bitField0_ |= 0x00000001; hkQotRight_ = value; onChanged(); return this; } /** *
       *港股行情权限, Qot_Common.QotRight
       * 
* * required int32 hkQotRight = 4; */ public Builder clearHkQotRight() { bitField0_ = (bitField0_ & ~0x00000001); hkQotRight_ = 0; onChanged(); return this; } private int usQotRight_ ; /** *
       *美股行情权限, Qot_Common.QotRight
       * 
* * required int32 usQotRight = 5; */ public boolean hasUsQotRight() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *美股行情权限, Qot_Common.QotRight
       * 
* * required int32 usQotRight = 5; */ public int getUsQotRight() { return usQotRight_; } /** *
       *美股行情权限, Qot_Common.QotRight
       * 
* * required int32 usQotRight = 5; */ public Builder setUsQotRight(int value) { bitField0_ |= 0x00000002; usQotRight_ = value; onChanged(); return this; } /** *
       *美股行情权限, Qot_Common.QotRight
       * 
* * required int32 usQotRight = 5; */ public Builder clearUsQotRight() { bitField0_ = (bitField0_ & ~0x00000002); usQotRight_ = 0; onChanged(); return this; } private int cnQotRight_ ; /** *
       *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
       * 
* * required int32 cnQotRight = 6; */ public boolean hasCnQotRight() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
       * 
* * required int32 cnQotRight = 6; */ public int getCnQotRight() { return cnQotRight_; } /** *
       *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
       * 
* * required int32 cnQotRight = 6; */ public Builder setCnQotRight(int value) { bitField0_ |= 0x00000004; cnQotRight_ = value; onChanged(); return this; } /** *
       *A股行情权限, Qot_Common.QotRight // (已废弃),使用shQotRight和szQotRight
       * 
* * required int32 cnQotRight = 6; */ public Builder clearCnQotRight() { bitField0_ = (bitField0_ & ~0x00000004); cnQotRight_ = 0; onChanged(); return this; } private int hkOptionQotRight_ ; /** *
       *港股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkOptionQotRight = 7; */ public boolean hasHkOptionQotRight() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *港股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkOptionQotRight = 7; */ public int getHkOptionQotRight() { return hkOptionQotRight_; } /** *
       *港股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkOptionQotRight = 7; */ public Builder setHkOptionQotRight(int value) { bitField0_ |= 0x00000008; hkOptionQotRight_ = value; onChanged(); return this; } /** *
       *港股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkOptionQotRight = 7; */ public Builder clearHkOptionQotRight() { bitField0_ = (bitField0_ & ~0x00000008); hkOptionQotRight_ = 0; onChanged(); return this; } private boolean hasUSOptionQotRight_ ; /** *
       *是否有美股期权行情权限
       * 
* * optional bool hasUSOptionQotRight = 8; */ public boolean hasHasUSOptionQotRight() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *是否有美股期权行情权限
       * 
* * optional bool hasUSOptionQotRight = 8; */ public boolean getHasUSOptionQotRight() { return hasUSOptionQotRight_; } /** *
       *是否有美股期权行情权限
       * 
* * optional bool hasUSOptionQotRight = 8; */ public Builder setHasUSOptionQotRight(boolean value) { bitField0_ |= 0x00000010; hasUSOptionQotRight_ = value; onChanged(); return this; } /** *
       *是否有美股期权行情权限
       * 
* * optional bool hasUSOptionQotRight = 8; */ public Builder clearHasUSOptionQotRight() { bitField0_ = (bitField0_ & ~0x00000010); hasUSOptionQotRight_ = false; onChanged(); return this; } private int hkFutureQotRight_ ; /** *
       *港股期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkFutureQotRight = 9; */ public boolean hasHkFutureQotRight() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *港股期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkFutureQotRight = 9; */ public int getHkFutureQotRight() { return hkFutureQotRight_; } /** *
       *港股期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkFutureQotRight = 9; */ public Builder setHkFutureQotRight(int value) { bitField0_ |= 0x00000020; hkFutureQotRight_ = value; onChanged(); return this; } /** *
       *港股期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 hkFutureQotRight = 9; */ public Builder clearHkFutureQotRight() { bitField0_ = (bitField0_ & ~0x00000020); hkFutureQotRight_ = 0; onChanged(); return this; } private int usFutureQotRight_ ; /** *
       *美股期货行情权限, Qot_Common.QotRight(已废弃)
       * 
* * optional int32 usFutureQotRight = 10; */ public boolean hasUsFutureQotRight() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *美股期货行情权限, Qot_Common.QotRight(已废弃)
       * 
* * optional int32 usFutureQotRight = 10; */ public int getUsFutureQotRight() { return usFutureQotRight_; } /** *
       *美股期货行情权限, Qot_Common.QotRight(已废弃)
       * 
* * optional int32 usFutureQotRight = 10; */ public Builder setUsFutureQotRight(int value) { bitField0_ |= 0x00000040; usFutureQotRight_ = value; onChanged(); return this; } /** *
       *美股期货行情权限, Qot_Common.QotRight(已废弃)
       * 
* * optional int32 usFutureQotRight = 10; */ public Builder clearUsFutureQotRight() { bitField0_ = (bitField0_ & ~0x00000040); usFutureQotRight_ = 0; onChanged(); return this; } private int usOptionQotRight_ ; /** *
       *美股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOptionQotRight = 11; */ public boolean hasUsOptionQotRight() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       *美股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOptionQotRight = 11; */ public int getUsOptionQotRight() { return usOptionQotRight_; } /** *
       *美股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOptionQotRight = 11; */ public Builder setUsOptionQotRight(int value) { bitField0_ |= 0x00000080; usOptionQotRight_ = value; onChanged(); return this; } /** *
       *美股期权行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOptionQotRight = 11; */ public Builder clearUsOptionQotRight() { bitField0_ = (bitField0_ & ~0x00000080); usOptionQotRight_ = 0; onChanged(); return this; } private int usIndexQotRight_ ; /** *
       *美股指数行情权限, Qot_Common.QotRight
       * 
* * optional int32 usIndexQotRight = 12; */ public boolean hasUsIndexQotRight() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       *美股指数行情权限, Qot_Common.QotRight
       * 
* * optional int32 usIndexQotRight = 12; */ public int getUsIndexQotRight() { return usIndexQotRight_; } /** *
       *美股指数行情权限, Qot_Common.QotRight
       * 
* * optional int32 usIndexQotRight = 12; */ public Builder setUsIndexQotRight(int value) { bitField0_ |= 0x00000100; usIndexQotRight_ = value; onChanged(); return this; } /** *
       *美股指数行情权限, Qot_Common.QotRight
       * 
* * optional int32 usIndexQotRight = 12; */ public Builder clearUsIndexQotRight() { bitField0_ = (bitField0_ & ~0x00000100); usIndexQotRight_ = 0; onChanged(); return this; } private int usOtcQotRight_ ; /** *
       *美股OTC市场行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOtcQotRight = 13; */ public boolean hasUsOtcQotRight() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** *
       *美股OTC市场行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOtcQotRight = 13; */ public int getUsOtcQotRight() { return usOtcQotRight_; } /** *
       *美股OTC市场行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOtcQotRight = 13; */ public Builder setUsOtcQotRight(int value) { bitField0_ |= 0x00000200; usOtcQotRight_ = value; onChanged(); return this; } /** *
       *美股OTC市场行情权限, Qot_Common.QotRight
       * 
* * optional int32 usOtcQotRight = 13; */ public Builder clearUsOtcQotRight() { bitField0_ = (bitField0_ & ~0x00000200); usOtcQotRight_ = 0; onChanged(); return this; } private int sgFutureQotRight_ ; /** *
       *新加坡市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 sgFutureQotRight = 14; */ public boolean hasSgFutureQotRight() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
       *新加坡市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 sgFutureQotRight = 14; */ public int getSgFutureQotRight() { return sgFutureQotRight_; } /** *
       *新加坡市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 sgFutureQotRight = 14; */ public Builder setSgFutureQotRight(int value) { bitField0_ |= 0x00000400; sgFutureQotRight_ = value; onChanged(); return this; } /** *
       *新加坡市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 sgFutureQotRight = 14; */ public Builder clearSgFutureQotRight() { bitField0_ = (bitField0_ & ~0x00000400); sgFutureQotRight_ = 0; onChanged(); return this; } private int jpFutureQotRight_ ; /** *
       *日本市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 jpFutureQotRight = 15; */ public boolean hasJpFutureQotRight() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** *
       *日本市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 jpFutureQotRight = 15; */ public int getJpFutureQotRight() { return jpFutureQotRight_; } /** *
       *日本市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 jpFutureQotRight = 15; */ public Builder setJpFutureQotRight(int value) { bitField0_ |= 0x00000800; jpFutureQotRight_ = value; onChanged(); return this; } /** *
       *日本市场期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 jpFutureQotRight = 15; */ public Builder clearJpFutureQotRight() { bitField0_ = (bitField0_ & ~0x00000800); jpFutureQotRight_ = 0; onChanged(); return this; } private int usCMEFutureQotRight_ ; /** *
       *美股CME期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCMEFutureQotRight = 16; */ public boolean hasUsCMEFutureQotRight() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** *
       *美股CME期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCMEFutureQotRight = 16; */ public int getUsCMEFutureQotRight() { return usCMEFutureQotRight_; } /** *
       *美股CME期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCMEFutureQotRight = 16; */ public Builder setUsCMEFutureQotRight(int value) { bitField0_ |= 0x00001000; usCMEFutureQotRight_ = value; onChanged(); return this; } /** *
       *美股CME期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCMEFutureQotRight = 16; */ public Builder clearUsCMEFutureQotRight() { bitField0_ = (bitField0_ & ~0x00001000); usCMEFutureQotRight_ = 0; onChanged(); return this; } private int usCBOTFutureQotRight_ ; /** *
       *美股CBOT期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOTFutureQotRight = 17; */ public boolean hasUsCBOTFutureQotRight() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
       *美股CBOT期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOTFutureQotRight = 17; */ public int getUsCBOTFutureQotRight() { return usCBOTFutureQotRight_; } /** *
       *美股CBOT期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOTFutureQotRight = 17; */ public Builder setUsCBOTFutureQotRight(int value) { bitField0_ |= 0x00002000; usCBOTFutureQotRight_ = value; onChanged(); return this; } /** *
       *美股CBOT期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOTFutureQotRight = 17; */ public Builder clearUsCBOTFutureQotRight() { bitField0_ = (bitField0_ & ~0x00002000); usCBOTFutureQotRight_ = 0; onChanged(); return this; } private int usNYMEXFutureQotRight_ ; /** *
       *美股NYMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usNYMEXFutureQotRight = 18; */ public boolean hasUsNYMEXFutureQotRight() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** *
       *美股NYMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usNYMEXFutureQotRight = 18; */ public int getUsNYMEXFutureQotRight() { return usNYMEXFutureQotRight_; } /** *
       *美股NYMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usNYMEXFutureQotRight = 18; */ public Builder setUsNYMEXFutureQotRight(int value) { bitField0_ |= 0x00004000; usNYMEXFutureQotRight_ = value; onChanged(); return this; } /** *
       *美股NYMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usNYMEXFutureQotRight = 18; */ public Builder clearUsNYMEXFutureQotRight() { bitField0_ = (bitField0_ & ~0x00004000); usNYMEXFutureQotRight_ = 0; onChanged(); return this; } private int usCOMEXFutureQotRight_ ; /** *
       *美股COMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCOMEXFutureQotRight = 19; */ public boolean hasUsCOMEXFutureQotRight() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** *
       *美股COMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCOMEXFutureQotRight = 19; */ public int getUsCOMEXFutureQotRight() { return usCOMEXFutureQotRight_; } /** *
       *美股COMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCOMEXFutureQotRight = 19; */ public Builder setUsCOMEXFutureQotRight(int value) { bitField0_ |= 0x00008000; usCOMEXFutureQotRight_ = value; onChanged(); return this; } /** *
       *美股COMEX期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCOMEXFutureQotRight = 19; */ public Builder clearUsCOMEXFutureQotRight() { bitField0_ = (bitField0_ & ~0x00008000); usCOMEXFutureQotRight_ = 0; onChanged(); return this; } private int usCBOEFutureQotRight_ ; /** *
       *美股CBOE期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOEFutureQotRight = 20; */ public boolean hasUsCBOEFutureQotRight() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** *
       *美股CBOE期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOEFutureQotRight = 20; */ public int getUsCBOEFutureQotRight() { return usCBOEFutureQotRight_; } /** *
       *美股CBOE期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOEFutureQotRight = 20; */ public Builder setUsCBOEFutureQotRight(int value) { bitField0_ |= 0x00010000; usCBOEFutureQotRight_ = value; onChanged(); return this; } /** *
       *美股CBOE期货行情权限, Qot_Common.QotRight
       * 
* * optional int32 usCBOEFutureQotRight = 20; */ public Builder clearUsCBOEFutureQotRight() { bitField0_ = (bitField0_ & ~0x00010000); usCBOEFutureQotRight_ = 0; onChanged(); return this; } private int shQotRight_ ; /** *
       *上海A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 shQotRight = 21; */ public boolean hasShQotRight() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** *
       *上海A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 shQotRight = 21; */ public int getShQotRight() { return shQotRight_; } /** *
       *上海A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 shQotRight = 21; */ public Builder setShQotRight(int value) { bitField0_ |= 0x00020000; shQotRight_ = value; onChanged(); return this; } /** *
       *上海A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 shQotRight = 21; */ public Builder clearShQotRight() { bitField0_ = (bitField0_ & ~0x00020000); shQotRight_ = 0; onChanged(); return this; } private int szQotRight_ ; /** *
       *深圳A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 szQotRight = 22; */ public boolean hasSzQotRight() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** *
       *深圳A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 szQotRight = 22; */ public int getSzQotRight() { return szQotRight_; } /** *
       *深圳A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 szQotRight = 22; */ public Builder setSzQotRight(int value) { bitField0_ |= 0x00040000; szQotRight_ = value; onChanged(); return this; } /** *
       *深圳A股行情权限, Qot_Common.QotRight
       * 
* * optional int32 szQotRight = 22; */ public Builder clearSzQotRight() { bitField0_ = (bitField0_ & ~0x00040000); szQotRight_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Notify.QotRight) } // @@protoc_insertion_point(class_scope:Notify.QotRight) private static final com.moomoo.openapi.pb.Notify.QotRight DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.QotRight(); } public static com.moomoo.openapi.pb.Notify.QotRight getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public QotRight parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QotRight(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.Notify.QotRight getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APILevelOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.APILevel) com.google.protobuf.MessageOrBuilder { /** *
     *api用户等级描述,已在2.10版本之后废弃
     * 
* * required string apiLevel = 3; */ boolean hasApiLevel(); /** *
     *api用户等级描述,已在2.10版本之后废弃
     * 
* * required string apiLevel = 3; */ java.lang.String getApiLevel(); /** *
     *api用户等级描述,已在2.10版本之后废弃
     * 
* * required string apiLevel = 3; */ com.google.protobuf.ByteString getApiLevelBytes(); } /** * Protobuf type {@code Notify.APILevel} */ public static final class APILevel extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.APILevel) APILevelOrBuilder { private static final long serialVersionUID = 0L; // Use APILevel.newBuilder() to construct. private APILevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APILevel() { apiLevel_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private APILevel( 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 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; apiLevel_ = 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.Notify.internal_static_Notify_APILevel_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APILevel_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.APILevel.class, com.moomoo.openapi.pb.Notify.APILevel.Builder.class); } private int bitField0_; public static final int APILEVEL_FIELD_NUMBER = 3; private volatile java.lang.Object apiLevel_; /** *
     *api用户等级描述,已在2.10版本之后废弃
     * 
* * required string apiLevel = 3; */ public boolean hasApiLevel() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *api用户等级描述,已在2.10版本之后废弃
     * 
* * required string apiLevel = 3; */ public java.lang.String getApiLevel() { java.lang.Object ref = apiLevel_; 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()) { apiLevel_ = s; } return s; } } /** *
     *api用户等级描述,已在2.10版本之后废弃
     * 
* * required string apiLevel = 3; */ public com.google.protobuf.ByteString getApiLevelBytes() { java.lang.Object ref = apiLevel_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiLevel_ = 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 (!hasApiLevel()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, apiLevel_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiLevel_); } 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.Notify.APILevel)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.APILevel other = (com.moomoo.openapi.pb.Notify.APILevel) obj; boolean result = true; result = result && (hasApiLevel() == other.hasApiLevel()); if (hasApiLevel()) { result = result && getApiLevel() .equals(other.getApiLevel()); } 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 (hasApiLevel()) { hash = (37 * hash) + APILEVEL_FIELD_NUMBER; hash = (53 * hash) + getApiLevel().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.APILevel parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.APILevel 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.Notify.APILevel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.APILevel 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.Notify.APILevel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.APILevel parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.APILevel parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.APILevel 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.Notify.APILevel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.APILevel 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.Notify.APILevel parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.APILevel 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.Notify.APILevel 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 Notify.APILevel} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.APILevel) com.moomoo.openapi.pb.Notify.APILevelOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APILevel_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APILevel_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.APILevel.class, com.moomoo.openapi.pb.Notify.APILevel.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.APILevel.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(); apiLevel_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APILevel_descriptor; } public com.moomoo.openapi.pb.Notify.APILevel getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.APILevel build() { com.moomoo.openapi.pb.Notify.APILevel result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.APILevel buildPartial() { com.moomoo.openapi.pb.Notify.APILevel result = new com.moomoo.openapi.pb.Notify.APILevel(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.apiLevel_ = apiLevel_; 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.Notify.APILevel) { return mergeFrom((com.moomoo.openapi.pb.Notify.APILevel)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.APILevel other) { if (other == com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance()) return this; if (other.hasApiLevel()) { bitField0_ |= 0x00000001; apiLevel_ = other.apiLevel_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasApiLevel()) { 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.Notify.APILevel parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.APILevel) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object apiLevel_ = ""; /** *
       *api用户等级描述,已在2.10版本之后废弃
       * 
* * required string apiLevel = 3; */ public boolean hasApiLevel() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *api用户等级描述,已在2.10版本之后废弃
       * 
* * required string apiLevel = 3; */ public java.lang.String getApiLevel() { java.lang.Object ref = apiLevel_; 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()) { apiLevel_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *api用户等级描述,已在2.10版本之后废弃
       * 
* * required string apiLevel = 3; */ public com.google.protobuf.ByteString getApiLevelBytes() { java.lang.Object ref = apiLevel_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiLevel_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *api用户等级描述,已在2.10版本之后废弃
       * 
* * required string apiLevel = 3; */ public Builder setApiLevel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; apiLevel_ = value; onChanged(); return this; } /** *
       *api用户等级描述,已在2.10版本之后废弃
       * 
* * required string apiLevel = 3; */ public Builder clearApiLevel() { bitField0_ = (bitField0_ & ~0x00000001); apiLevel_ = getDefaultInstance().getApiLevel(); onChanged(); return this; } /** *
       *api用户等级描述,已在2.10版本之后废弃
       * 
* * required string apiLevel = 3; */ public Builder setApiLevelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; apiLevel_ = 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:Notify.APILevel) } // @@protoc_insertion_point(class_scope:Notify.APILevel) private static final com.moomoo.openapi.pb.Notify.APILevel DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.APILevel(); } public static com.moomoo.openapi.pb.Notify.APILevel getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public APILevel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APILevel(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.Notify.APILevel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIQuotaOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.APIQuota) com.google.protobuf.MessageOrBuilder { /** *
     *订阅额度
     * 
* * required int32 subQuota = 1; */ boolean hasSubQuota(); /** *
     *订阅额度
     * 
* * required int32 subQuota = 1; */ int getSubQuota(); /** *
     *历史K线额度
     * 
* * required int32 historyKLQuota = 2; */ boolean hasHistoryKLQuota(); /** *
     *历史K线额度
     * 
* * required int32 historyKLQuota = 2; */ int getHistoryKLQuota(); } /** * Protobuf type {@code Notify.APIQuota} */ public static final class APIQuota extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.APIQuota) APIQuotaOrBuilder { private static final long serialVersionUID = 0L; // Use APIQuota.newBuilder() to construct. private APIQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIQuota() { subQuota_ = 0; historyKLQuota_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private APIQuota( 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; subQuota_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; historyKLQuota_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APIQuota_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APIQuota_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.APIQuota.class, com.moomoo.openapi.pb.Notify.APIQuota.Builder.class); } private int bitField0_; public static final int SUBQUOTA_FIELD_NUMBER = 1; private int subQuota_; /** *
     *订阅额度
     * 
* * required int32 subQuota = 1; */ public boolean hasSubQuota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *订阅额度
     * 
* * required int32 subQuota = 1; */ public int getSubQuota() { return subQuota_; } public static final int HISTORYKLQUOTA_FIELD_NUMBER = 2; private int historyKLQuota_; /** *
     *历史K线额度
     * 
* * required int32 historyKLQuota = 2; */ public boolean hasHistoryKLQuota() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *历史K线额度
     * 
* * required int32 historyKLQuota = 2; */ public int getHistoryKLQuota() { return historyKLQuota_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSubQuota()) { memoizedIsInitialized = 0; return false; } if (!hasHistoryKLQuota()) { 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, subQuota_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, historyKLQuota_); } 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, subQuota_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, historyKLQuota_); } 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.Notify.APIQuota)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.APIQuota other = (com.moomoo.openapi.pb.Notify.APIQuota) obj; boolean result = true; result = result && (hasSubQuota() == other.hasSubQuota()); if (hasSubQuota()) { result = result && (getSubQuota() == other.getSubQuota()); } result = result && (hasHistoryKLQuota() == other.hasHistoryKLQuota()); if (hasHistoryKLQuota()) { result = result && (getHistoryKLQuota() == other.getHistoryKLQuota()); } 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 (hasSubQuota()) { hash = (37 * hash) + SUBQUOTA_FIELD_NUMBER; hash = (53 * hash) + getSubQuota(); } if (hasHistoryKLQuota()) { hash = (37 * hash) + HISTORYKLQUOTA_FIELD_NUMBER; hash = (53 * hash) + getHistoryKLQuota(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.APIQuota parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.APIQuota 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.Notify.APIQuota parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.APIQuota 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.Notify.APIQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.APIQuota parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.APIQuota parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.APIQuota 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.Notify.APIQuota parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.APIQuota 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.Notify.APIQuota parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.APIQuota 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.Notify.APIQuota 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 Notify.APIQuota} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.APIQuota) com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APIQuota_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APIQuota_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.APIQuota.class, com.moomoo.openapi.pb.Notify.APIQuota.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.APIQuota.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(); subQuota_ = 0; bitField0_ = (bitField0_ & ~0x00000001); historyKLQuota_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_APIQuota_descriptor; } public com.moomoo.openapi.pb.Notify.APIQuota getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.APIQuota build() { com.moomoo.openapi.pb.Notify.APIQuota result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.APIQuota buildPartial() { com.moomoo.openapi.pb.Notify.APIQuota result = new com.moomoo.openapi.pb.Notify.APIQuota(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.subQuota_ = subQuota_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.historyKLQuota_ = historyKLQuota_; 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.Notify.APIQuota) { return mergeFrom((com.moomoo.openapi.pb.Notify.APIQuota)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.APIQuota other) { if (other == com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance()) return this; if (other.hasSubQuota()) { setSubQuota(other.getSubQuota()); } if (other.hasHistoryKLQuota()) { setHistoryKLQuota(other.getHistoryKLQuota()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasSubQuota()) { return false; } if (!hasHistoryKLQuota()) { 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.Notify.APIQuota parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.APIQuota) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int subQuota_ ; /** *
       *订阅额度
       * 
* * required int32 subQuota = 1; */ public boolean hasSubQuota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *订阅额度
       * 
* * required int32 subQuota = 1; */ public int getSubQuota() { return subQuota_; } /** *
       *订阅额度
       * 
* * required int32 subQuota = 1; */ public Builder setSubQuota(int value) { bitField0_ |= 0x00000001; subQuota_ = value; onChanged(); return this; } /** *
       *订阅额度
       * 
* * required int32 subQuota = 1; */ public Builder clearSubQuota() { bitField0_ = (bitField0_ & ~0x00000001); subQuota_ = 0; onChanged(); return this; } private int historyKLQuota_ ; /** *
       *历史K线额度
       * 
* * required int32 historyKLQuota = 2; */ public boolean hasHistoryKLQuota() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *历史K线额度
       * 
* * required int32 historyKLQuota = 2; */ public int getHistoryKLQuota() { return historyKLQuota_; } /** *
       *历史K线额度
       * 
* * required int32 historyKLQuota = 2; */ public Builder setHistoryKLQuota(int value) { bitField0_ |= 0x00000002; historyKLQuota_ = value; onChanged(); return this; } /** *
       *历史K线额度
       * 
* * required int32 historyKLQuota = 2; */ public Builder clearHistoryKLQuota() { bitField0_ = (bitField0_ & ~0x00000002); historyKLQuota_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Notify.APIQuota) } // @@protoc_insertion_point(class_scope:Notify.APIQuota) private static final com.moomoo.openapi.pb.Notify.APIQuota DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.APIQuota(); } public static com.moomoo.openapi.pb.Notify.APIQuota getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public APIQuota parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APIQuota(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.Notify.APIQuota getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UsedQuotaOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.UsedQuota) com.google.protobuf.MessageOrBuilder { /** *
     * 已使用订阅额度
     * 
* * optional int32 usedSubQuota = 1; */ boolean hasUsedSubQuota(); /** *
     * 已使用订阅额度
     * 
* * optional int32 usedSubQuota = 1; */ int getUsedSubQuota(); /** *
     * 已使用历史 K 线额度
     * 
* * optional int32 usedKLineQuota = 2; */ boolean hasUsedKLineQuota(); /** *
     * 已使用历史 K 线额度
     * 
* * optional int32 usedKLineQuota = 2; */ int getUsedKLineQuota(); } /** * Protobuf type {@code Notify.UsedQuota} */ public static final class UsedQuota extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.UsedQuota) UsedQuotaOrBuilder { private static final long serialVersionUID = 0L; // Use UsedQuota.newBuilder() to construct. private UsedQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UsedQuota() { usedSubQuota_ = 0; usedKLineQuota_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UsedQuota( 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; usedSubQuota_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; usedKLineQuota_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_UsedQuota_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_UsedQuota_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.UsedQuota.class, com.moomoo.openapi.pb.Notify.UsedQuota.Builder.class); } private int bitField0_; public static final int USEDSUBQUOTA_FIELD_NUMBER = 1; private int usedSubQuota_; /** *
     * 已使用订阅额度
     * 
* * optional int32 usedSubQuota = 1; */ public boolean hasUsedSubQuota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * 已使用订阅额度
     * 
* * optional int32 usedSubQuota = 1; */ public int getUsedSubQuota() { return usedSubQuota_; } public static final int USEDKLINEQUOTA_FIELD_NUMBER = 2; private int usedKLineQuota_; /** *
     * 已使用历史 K 线额度
     * 
* * optional int32 usedKLineQuota = 2; */ public boolean hasUsedKLineQuota() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 已使用历史 K 线额度
     * 
* * optional int32 usedKLineQuota = 2; */ public int getUsedKLineQuota() { return usedKLineQuota_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, usedSubQuota_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, usedKLineQuota_); } 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, usedSubQuota_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, usedKLineQuota_); } 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.Notify.UsedQuota)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.UsedQuota other = (com.moomoo.openapi.pb.Notify.UsedQuota) obj; boolean result = true; result = result && (hasUsedSubQuota() == other.hasUsedSubQuota()); if (hasUsedSubQuota()) { result = result && (getUsedSubQuota() == other.getUsedSubQuota()); } result = result && (hasUsedKLineQuota() == other.hasUsedKLineQuota()); if (hasUsedKLineQuota()) { result = result && (getUsedKLineQuota() == other.getUsedKLineQuota()); } 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 (hasUsedSubQuota()) { hash = (37 * hash) + USEDSUBQUOTA_FIELD_NUMBER; hash = (53 * hash) + getUsedSubQuota(); } if (hasUsedKLineQuota()) { hash = (37 * hash) + USEDKLINEQUOTA_FIELD_NUMBER; hash = (53 * hash) + getUsedKLineQuota(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.UsedQuota parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.UsedQuota 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.Notify.UsedQuota parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.UsedQuota 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.Notify.UsedQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.UsedQuota parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.moomoo.openapi.pb.Notify.UsedQuota parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.UsedQuota 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.Notify.UsedQuota parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.UsedQuota 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.Notify.UsedQuota parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.UsedQuota 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.Notify.UsedQuota 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 Notify.UsedQuota} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.UsedQuota) com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_UsedQuota_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_UsedQuota_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.UsedQuota.class, com.moomoo.openapi.pb.Notify.UsedQuota.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.UsedQuota.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(); usedSubQuota_ = 0; bitField0_ = (bitField0_ & ~0x00000001); usedKLineQuota_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_UsedQuota_descriptor; } public com.moomoo.openapi.pb.Notify.UsedQuota getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.UsedQuota build() { com.moomoo.openapi.pb.Notify.UsedQuota result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.UsedQuota buildPartial() { com.moomoo.openapi.pb.Notify.UsedQuota result = new com.moomoo.openapi.pb.Notify.UsedQuota(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.usedSubQuota_ = usedSubQuota_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.usedKLineQuota_ = usedKLineQuota_; 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.Notify.UsedQuota) { return mergeFrom((com.moomoo.openapi.pb.Notify.UsedQuota)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.UsedQuota other) { if (other == com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance()) return this; if (other.hasUsedSubQuota()) { setUsedSubQuota(other.getUsedSubQuota()); } if (other.hasUsedKLineQuota()) { setUsedKLineQuota(other.getUsedKLineQuota()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.moomoo.openapi.pb.Notify.UsedQuota parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.UsedQuota) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int usedSubQuota_ ; /** *
       * 已使用订阅额度
       * 
* * optional int32 usedSubQuota = 1; */ public boolean hasUsedSubQuota() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * 已使用订阅额度
       * 
* * optional int32 usedSubQuota = 1; */ public int getUsedSubQuota() { return usedSubQuota_; } /** *
       * 已使用订阅额度
       * 
* * optional int32 usedSubQuota = 1; */ public Builder setUsedSubQuota(int value) { bitField0_ |= 0x00000001; usedSubQuota_ = value; onChanged(); return this; } /** *
       * 已使用订阅额度
       * 
* * optional int32 usedSubQuota = 1; */ public Builder clearUsedSubQuota() { bitField0_ = (bitField0_ & ~0x00000001); usedSubQuota_ = 0; onChanged(); return this; } private int usedKLineQuota_ ; /** *
       * 已使用历史 K 线额度
       * 
* * optional int32 usedKLineQuota = 2; */ public boolean hasUsedKLineQuota() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 已使用历史 K 线额度
       * 
* * optional int32 usedKLineQuota = 2; */ public int getUsedKLineQuota() { return usedKLineQuota_; } /** *
       * 已使用历史 K 线额度
       * 
* * optional int32 usedKLineQuota = 2; */ public Builder setUsedKLineQuota(int value) { bitField0_ |= 0x00000002; usedKLineQuota_ = value; onChanged(); return this; } /** *
       * 已使用历史 K 线额度
       * 
* * optional int32 usedKLineQuota = 2; */ public Builder clearUsedKLineQuota() { bitField0_ = (bitField0_ & ~0x00000002); usedKLineQuota_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Notify.UsedQuota) } // @@protoc_insertion_point(class_scope:Notify.UsedQuota) private static final com.moomoo.openapi.pb.Notify.UsedQuota DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.UsedQuota(); } public static com.moomoo.openapi.pb.Notify.UsedQuota getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public UsedQuota parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UsedQuota(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.Notify.UsedQuota getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface S2COrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.S2C) com.google.protobuf.MessageOrBuilder { /** *
     *通知类型
     * 
* * required int32 type = 1; */ boolean hasType(); /** *
     *通知类型
     * 
* * required int32 type = 1; */ int getType(); /** *
     *事件通息
     * 
* * optional .Notify.GtwEvent event = 2; */ boolean hasEvent(); /** *
     *事件通息
     * 
* * optional .Notify.GtwEvent event = 2; */ com.moomoo.openapi.pb.Notify.GtwEvent getEvent(); /** *
     *事件通息
     * 
* * optional .Notify.GtwEvent event = 2; */ com.moomoo.openapi.pb.Notify.GtwEventOrBuilder getEventOrBuilder(); /** *
     *程序状态
     * 
* * optional .Notify.ProgramStatus programStatus = 3; */ boolean hasProgramStatus(); /** *
     *程序状态
     * 
* * optional .Notify.ProgramStatus programStatus = 3; */ com.moomoo.openapi.pb.Notify.ProgramStatus getProgramStatus(); /** *
     *程序状态
     * 
* * optional .Notify.ProgramStatus programStatus = 3; */ com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder getProgramStatusOrBuilder(); /** *
     *连接状态
     * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ boolean hasConnectStatus(); /** *
     *连接状态
     * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ com.moomoo.openapi.pb.Notify.ConnectStatus getConnectStatus(); /** *
     *连接状态
     * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder getConnectStatusOrBuilder(); /** *
     *行情权限
     * 
* * optional .Notify.QotRight qotRight = 5; */ boolean hasQotRight(); /** *
     *行情权限
     * 
* * optional .Notify.QotRight qotRight = 5; */ com.moomoo.openapi.pb.Notify.QotRight getQotRight(); /** *
     *行情权限
     * 
* * optional .Notify.QotRight qotRight = 5; */ com.moomoo.openapi.pb.Notify.QotRightOrBuilder getQotRightOrBuilder(); /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * optional .Notify.APILevel apiLevel = 6; */ boolean hasApiLevel(); /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * optional .Notify.APILevel apiLevel = 6; */ com.moomoo.openapi.pb.Notify.APILevel getApiLevel(); /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * optional .Notify.APILevel apiLevel = 6; */ com.moomoo.openapi.pb.Notify.APILevelOrBuilder getApiLevelOrBuilder(); /** *
     *API额度
     * 
* * optional .Notify.APIQuota apiQuota = 7; */ boolean hasApiQuota(); /** *
     *API额度
     * 
* * optional .Notify.APIQuota apiQuota = 7; */ com.moomoo.openapi.pb.Notify.APIQuota getApiQuota(); /** *
     *API额度
     * 
* * optional .Notify.APIQuota apiQuota = 7; */ com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder getApiQuotaOrBuilder(); /** *
     * 已使用额度
     * 
* * optional .Notify.UsedQuota usedQuota = 8; */ boolean hasUsedQuota(); /** *
     * 已使用额度
     * 
* * optional .Notify.UsedQuota usedQuota = 8; */ com.moomoo.openapi.pb.Notify.UsedQuota getUsedQuota(); /** *
     * 已使用额度
     * 
* * optional .Notify.UsedQuota usedQuota = 8; */ com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder getUsedQuotaOrBuilder(); } /** * Protobuf type {@code Notify.S2C} */ public static final class S2C extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.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() { type_ = 0; } @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 8: { bitField0_ |= 0x00000001; type_ = input.readInt32(); break; } case 18: { com.moomoo.openapi.pb.Notify.GtwEvent.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = event_.toBuilder(); } event_ = input.readMessage(com.moomoo.openapi.pb.Notify.GtwEvent.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(event_); event_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.moomoo.openapi.pb.Notify.ProgramStatus.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = programStatus_.toBuilder(); } programStatus_ = input.readMessage(com.moomoo.openapi.pb.Notify.ProgramStatus.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(programStatus_); programStatus_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.moomoo.openapi.pb.Notify.ConnectStatus.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = connectStatus_.toBuilder(); } connectStatus_ = input.readMessage(com.moomoo.openapi.pb.Notify.ConnectStatus.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(connectStatus_); connectStatus_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.moomoo.openapi.pb.Notify.QotRight.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = qotRight_.toBuilder(); } qotRight_ = input.readMessage(com.moomoo.openapi.pb.Notify.QotRight.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(qotRight_); qotRight_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { com.moomoo.openapi.pb.Notify.APILevel.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = apiLevel_.toBuilder(); } apiLevel_ = input.readMessage(com.moomoo.openapi.pb.Notify.APILevel.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(apiLevel_); apiLevel_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { com.moomoo.openapi.pb.Notify.APIQuota.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = apiQuota_.toBuilder(); } apiQuota_ = input.readMessage(com.moomoo.openapi.pb.Notify.APIQuota.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(apiQuota_); apiQuota_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 66: { com.moomoo.openapi.pb.Notify.UsedQuota.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = usedQuota_.toBuilder(); } usedQuota_ = input.readMessage(com.moomoo.openapi.pb.Notify.UsedQuota.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(usedQuota_); usedQuota_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; 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.Notify.internal_static_Notify_S2C_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_S2C_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.S2C.class, com.moomoo.openapi.pb.Notify.S2C.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
     *通知类型
     * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     *通知类型
     * 
* * required int32 type = 1; */ public int getType() { return type_; } public static final int EVENT_FIELD_NUMBER = 2; private com.moomoo.openapi.pb.Notify.GtwEvent event_; /** *
     *事件通息
     * 
* * optional .Notify.GtwEvent event = 2; */ public boolean hasEvent() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     *事件通息
     * 
* * optional .Notify.GtwEvent event = 2; */ public com.moomoo.openapi.pb.Notify.GtwEvent getEvent() { return event_ == null ? com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance() : event_; } /** *
     *事件通息
     * 
* * optional .Notify.GtwEvent event = 2; */ public com.moomoo.openapi.pb.Notify.GtwEventOrBuilder getEventOrBuilder() { return event_ == null ? com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance() : event_; } public static final int PROGRAMSTATUS_FIELD_NUMBER = 3; private com.moomoo.openapi.pb.Notify.ProgramStatus programStatus_; /** *
     *程序状态
     * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public boolean hasProgramStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     *程序状态
     * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public com.moomoo.openapi.pb.Notify.ProgramStatus getProgramStatus() { return programStatus_ == null ? com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance() : programStatus_; } /** *
     *程序状态
     * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder getProgramStatusOrBuilder() { return programStatus_ == null ? com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance() : programStatus_; } public static final int CONNECTSTATUS_FIELD_NUMBER = 4; private com.moomoo.openapi.pb.Notify.ConnectStatus connectStatus_; /** *
     *连接状态
     * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public boolean hasConnectStatus() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     *连接状态
     * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public com.moomoo.openapi.pb.Notify.ConnectStatus getConnectStatus() { return connectStatus_ == null ? com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance() : connectStatus_; } /** *
     *连接状态
     * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder getConnectStatusOrBuilder() { return connectStatus_ == null ? com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance() : connectStatus_; } public static final int QOTRIGHT_FIELD_NUMBER = 5; private com.moomoo.openapi.pb.Notify.QotRight qotRight_; /** *
     *行情权限
     * 
* * optional .Notify.QotRight qotRight = 5; */ public boolean hasQotRight() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     *行情权限
     * 
* * optional .Notify.QotRight qotRight = 5; */ public com.moomoo.openapi.pb.Notify.QotRight getQotRight() { return qotRight_ == null ? com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance() : qotRight_; } /** *
     *行情权限
     * 
* * optional .Notify.QotRight qotRight = 5; */ public com.moomoo.openapi.pb.Notify.QotRightOrBuilder getQotRightOrBuilder() { return qotRight_ == null ? com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance() : qotRight_; } public static final int APILEVEL_FIELD_NUMBER = 6; private com.moomoo.openapi.pb.Notify.APILevel apiLevel_; /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * optional .Notify.APILevel apiLevel = 6; */ public boolean hasApiLevel() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * optional .Notify.APILevel apiLevel = 6; */ public com.moomoo.openapi.pb.Notify.APILevel getApiLevel() { return apiLevel_ == null ? com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance() : apiLevel_; } /** *
     *用户等级,已在2.10版本之后废弃
     * 
* * optional .Notify.APILevel apiLevel = 6; */ public com.moomoo.openapi.pb.Notify.APILevelOrBuilder getApiLevelOrBuilder() { return apiLevel_ == null ? com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance() : apiLevel_; } public static final int APIQUOTA_FIELD_NUMBER = 7; private com.moomoo.openapi.pb.Notify.APIQuota apiQuota_; /** *
     *API额度
     * 
* * optional .Notify.APIQuota apiQuota = 7; */ public boolean hasApiQuota() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
     *API额度
     * 
* * optional .Notify.APIQuota apiQuota = 7; */ public com.moomoo.openapi.pb.Notify.APIQuota getApiQuota() { return apiQuota_ == null ? com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance() : apiQuota_; } /** *
     *API额度
     * 
* * optional .Notify.APIQuota apiQuota = 7; */ public com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder getApiQuotaOrBuilder() { return apiQuota_ == null ? com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance() : apiQuota_; } public static final int USEDQUOTA_FIELD_NUMBER = 8; private com.moomoo.openapi.pb.Notify.UsedQuota usedQuota_; /** *
     * 已使用额度
     * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public boolean hasUsedQuota() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
     * 已使用额度
     * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public com.moomoo.openapi.pb.Notify.UsedQuota getUsedQuota() { return usedQuota_ == null ? com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance() : usedQuota_; } /** *
     * 已使用额度
     * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder getUsedQuotaOrBuilder() { return usedQuota_ == null ? com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance() : usedQuota_; } 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 (hasEvent()) { if (!getEvent().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasProgramStatus()) { if (!getProgramStatus().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasConnectStatus()) { if (!getConnectStatus().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasQotRight()) { if (!getQotRight().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasApiLevel()) { if (!getApiLevel().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasApiQuota()) { if (!getApiQuota().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, getEvent()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getProgramStatus()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getConnectStatus()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getQotRight()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, getApiLevel()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, getApiQuota()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, getUsedQuota()); } 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, getEvent()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProgramStatus()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getConnectStatus()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getQotRight()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getApiLevel()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getApiQuota()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getUsedQuota()); } 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.Notify.S2C)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.S2C other = (com.moomoo.openapi.pb.Notify.S2C) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && (getType() == other.getType()); } result = result && (hasEvent() == other.hasEvent()); if (hasEvent()) { result = result && getEvent() .equals(other.getEvent()); } result = result && (hasProgramStatus() == other.hasProgramStatus()); if (hasProgramStatus()) { result = result && getProgramStatus() .equals(other.getProgramStatus()); } result = result && (hasConnectStatus() == other.hasConnectStatus()); if (hasConnectStatus()) { result = result && getConnectStatus() .equals(other.getConnectStatus()); } result = result && (hasQotRight() == other.hasQotRight()); if (hasQotRight()) { result = result && getQotRight() .equals(other.getQotRight()); } result = result && (hasApiLevel() == other.hasApiLevel()); if (hasApiLevel()) { result = result && getApiLevel() .equals(other.getApiLevel()); } result = result && (hasApiQuota() == other.hasApiQuota()); if (hasApiQuota()) { result = result && getApiQuota() .equals(other.getApiQuota()); } result = result && (hasUsedQuota() == other.hasUsedQuota()); if (hasUsedQuota()) { result = result && getUsedQuota() .equals(other.getUsedQuota()); } 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 (hasEvent()) { hash = (37 * hash) + EVENT_FIELD_NUMBER; hash = (53 * hash) + getEvent().hashCode(); } if (hasProgramStatus()) { hash = (37 * hash) + PROGRAMSTATUS_FIELD_NUMBER; hash = (53 * hash) + getProgramStatus().hashCode(); } if (hasConnectStatus()) { hash = (37 * hash) + CONNECTSTATUS_FIELD_NUMBER; hash = (53 * hash) + getConnectStatus().hashCode(); } if (hasQotRight()) { hash = (37 * hash) + QOTRIGHT_FIELD_NUMBER; hash = (53 * hash) + getQotRight().hashCode(); } if (hasApiLevel()) { hash = (37 * hash) + APILEVEL_FIELD_NUMBER; hash = (53 * hash) + getApiLevel().hashCode(); } if (hasApiQuota()) { hash = (37 * hash) + APIQUOTA_FIELD_NUMBER; hash = (53 * hash) + getApiQuota().hashCode(); } if (hasUsedQuota()) { hash = (37 * hash) + USEDQUOTA_FIELD_NUMBER; hash = (53 * hash) + getUsedQuota().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.moomoo.openapi.pb.Notify.S2C parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.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.Notify.S2C parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.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.Notify.S2C parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.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.Notify.S2C parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.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.Notify.S2C parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.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.Notify.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.Notify.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.Notify.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 Notify.S2C} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.S2C) com.moomoo.openapi.pb.Notify.S2COrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_S2C_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_S2C_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.S2C.class, com.moomoo.openapi.pb.Notify.S2C.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.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) { getEventFieldBuilder(); getProgramStatusFieldBuilder(); getConnectStatusFieldBuilder(); getQotRightFieldBuilder(); getApiLevelFieldBuilder(); getApiQuotaFieldBuilder(); getUsedQuotaFieldBuilder(); } } public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (eventBuilder_ == null) { event_ = null; } else { eventBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (programStatusBuilder_ == null) { programStatus_ = null; } else { programStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (connectStatusBuilder_ == null) { connectStatus_ = null; } else { connectStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (qotRightBuilder_ == null) { qotRight_ = null; } else { qotRightBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (apiLevelBuilder_ == null) { apiLevel_ = null; } else { apiLevelBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (apiQuotaBuilder_ == null) { apiQuota_ = null; } else { apiQuotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (usedQuotaBuilder_ == null) { usedQuota_ = null; } else { usedQuotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_S2C_descriptor; } public com.moomoo.openapi.pb.Notify.S2C getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.S2C.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.S2C build() { com.moomoo.openapi.pb.Notify.S2C result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.S2C buildPartial() { com.moomoo.openapi.pb.Notify.S2C result = new com.moomoo.openapi.pb.Notify.S2C(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 (eventBuilder_ == null) { result.event_ = event_; } else { result.event_ = eventBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (programStatusBuilder_ == null) { result.programStatus_ = programStatus_; } else { result.programStatus_ = programStatusBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (connectStatusBuilder_ == null) { result.connectStatus_ = connectStatus_; } else { result.connectStatus_ = connectStatusBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (qotRightBuilder_ == null) { result.qotRight_ = qotRight_; } else { result.qotRight_ = qotRightBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (apiLevelBuilder_ == null) { result.apiLevel_ = apiLevel_; } else { result.apiLevel_ = apiLevelBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (apiQuotaBuilder_ == null) { result.apiQuota_ = apiQuota_; } else { result.apiQuota_ = apiQuotaBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } if (usedQuotaBuilder_ == null) { result.usedQuota_ = usedQuota_; } else { result.usedQuota_ = usedQuotaBuilder_.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.Notify.S2C) { return mergeFrom((com.moomoo.openapi.pb.Notify.S2C)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.S2C other) { if (other == com.moomoo.openapi.pb.Notify.S2C.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasEvent()) { mergeEvent(other.getEvent()); } if (other.hasProgramStatus()) { mergeProgramStatus(other.getProgramStatus()); } if (other.hasConnectStatus()) { mergeConnectStatus(other.getConnectStatus()); } if (other.hasQotRight()) { mergeQotRight(other.getQotRight()); } if (other.hasApiLevel()) { mergeApiLevel(other.getApiLevel()); } if (other.hasApiQuota()) { mergeApiQuota(other.getApiQuota()); } if (other.hasUsedQuota()) { mergeUsedQuota(other.getUsedQuota()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasType()) { return false; } if (hasEvent()) { if (!getEvent().isInitialized()) { return false; } } if (hasProgramStatus()) { if (!getProgramStatus().isInitialized()) { return false; } } if (hasConnectStatus()) { if (!getConnectStatus().isInitialized()) { return false; } } if (hasQotRight()) { if (!getQotRight().isInitialized()) { return false; } } if (hasApiLevel()) { if (!getApiLevel().isInitialized()) { return false; } } if (hasApiQuota()) { if (!getApiQuota().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.Notify.S2C parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.S2C) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ ; /** *
       *通知类型
       * 
* * required int32 type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       *通知类型
       * 
* * required int32 type = 1; */ public int getType() { return type_; } /** *
       *通知类型
       * 
* * required int32 type = 1; */ public Builder setType(int value) { bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** *
       *通知类型
       * 
* * required int32 type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private com.moomoo.openapi.pb.Notify.GtwEvent event_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.GtwEvent, com.moomoo.openapi.pb.Notify.GtwEvent.Builder, com.moomoo.openapi.pb.Notify.GtwEventOrBuilder> eventBuilder_; /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public boolean hasEvent() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public com.moomoo.openapi.pb.Notify.GtwEvent getEvent() { if (eventBuilder_ == null) { return event_ == null ? com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance() : event_; } else { return eventBuilder_.getMessage(); } } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public Builder setEvent(com.moomoo.openapi.pb.Notify.GtwEvent value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } event_ = value; onChanged(); } else { eventBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public Builder setEvent( com.moomoo.openapi.pb.Notify.GtwEvent.Builder builderForValue) { if (eventBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { eventBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public Builder mergeEvent(com.moomoo.openapi.pb.Notify.GtwEvent value) { if (eventBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && event_ != null && event_ != com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance()) { event_ = com.moomoo.openapi.pb.Notify.GtwEvent.newBuilder(event_).mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { eventBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public Builder clearEvent() { if (eventBuilder_ == null) { event_ = null; onChanged(); } else { eventBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public com.moomoo.openapi.pb.Notify.GtwEvent.Builder getEventBuilder() { bitField0_ |= 0x00000002; onChanged(); return getEventFieldBuilder().getBuilder(); } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ public com.moomoo.openapi.pb.Notify.GtwEventOrBuilder getEventOrBuilder() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilder(); } else { return event_ == null ? com.moomoo.openapi.pb.Notify.GtwEvent.getDefaultInstance() : event_; } } /** *
       *事件通息
       * 
* * optional .Notify.GtwEvent event = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.GtwEvent, com.moomoo.openapi.pb.Notify.GtwEvent.Builder, com.moomoo.openapi.pb.Notify.GtwEventOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.GtwEvent, com.moomoo.openapi.pb.Notify.GtwEvent.Builder, com.moomoo.openapi.pb.Notify.GtwEventOrBuilder>( getEvent(), getParentForChildren(), isClean()); event_ = null; } return eventBuilder_; } private com.moomoo.openapi.pb.Notify.ProgramStatus programStatus_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.ProgramStatus, com.moomoo.openapi.pb.Notify.ProgramStatus.Builder, com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder> programStatusBuilder_; /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public boolean hasProgramStatus() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public com.moomoo.openapi.pb.Notify.ProgramStatus getProgramStatus() { if (programStatusBuilder_ == null) { return programStatus_ == null ? com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance() : programStatus_; } else { return programStatusBuilder_.getMessage(); } } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public Builder setProgramStatus(com.moomoo.openapi.pb.Notify.ProgramStatus value) { if (programStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } programStatus_ = value; onChanged(); } else { programStatusBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public Builder setProgramStatus( com.moomoo.openapi.pb.Notify.ProgramStatus.Builder builderForValue) { if (programStatusBuilder_ == null) { programStatus_ = builderForValue.build(); onChanged(); } else { programStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public Builder mergeProgramStatus(com.moomoo.openapi.pb.Notify.ProgramStatus value) { if (programStatusBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && programStatus_ != null && programStatus_ != com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance()) { programStatus_ = com.moomoo.openapi.pb.Notify.ProgramStatus.newBuilder(programStatus_).mergeFrom(value).buildPartial(); } else { programStatus_ = value; } onChanged(); } else { programStatusBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public Builder clearProgramStatus() { if (programStatusBuilder_ == null) { programStatus_ = null; onChanged(); } else { programStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public com.moomoo.openapi.pb.Notify.ProgramStatus.Builder getProgramStatusBuilder() { bitField0_ |= 0x00000004; onChanged(); return getProgramStatusFieldBuilder().getBuilder(); } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ public com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder getProgramStatusOrBuilder() { if (programStatusBuilder_ != null) { return programStatusBuilder_.getMessageOrBuilder(); } else { return programStatus_ == null ? com.moomoo.openapi.pb.Notify.ProgramStatus.getDefaultInstance() : programStatus_; } } /** *
       *程序状态
       * 
* * optional .Notify.ProgramStatus programStatus = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.ProgramStatus, com.moomoo.openapi.pb.Notify.ProgramStatus.Builder, com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder> getProgramStatusFieldBuilder() { if (programStatusBuilder_ == null) { programStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.ProgramStatus, com.moomoo.openapi.pb.Notify.ProgramStatus.Builder, com.moomoo.openapi.pb.Notify.ProgramStatusOrBuilder>( getProgramStatus(), getParentForChildren(), isClean()); programStatus_ = null; } return programStatusBuilder_; } private com.moomoo.openapi.pb.Notify.ConnectStatus connectStatus_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.ConnectStatus, com.moomoo.openapi.pb.Notify.ConnectStatus.Builder, com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder> connectStatusBuilder_; /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public boolean hasConnectStatus() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public com.moomoo.openapi.pb.Notify.ConnectStatus getConnectStatus() { if (connectStatusBuilder_ == null) { return connectStatus_ == null ? com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance() : connectStatus_; } else { return connectStatusBuilder_.getMessage(); } } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public Builder setConnectStatus(com.moomoo.openapi.pb.Notify.ConnectStatus value) { if (connectStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } connectStatus_ = value; onChanged(); } else { connectStatusBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public Builder setConnectStatus( com.moomoo.openapi.pb.Notify.ConnectStatus.Builder builderForValue) { if (connectStatusBuilder_ == null) { connectStatus_ = builderForValue.build(); onChanged(); } else { connectStatusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public Builder mergeConnectStatus(com.moomoo.openapi.pb.Notify.ConnectStatus value) { if (connectStatusBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && connectStatus_ != null && connectStatus_ != com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance()) { connectStatus_ = com.moomoo.openapi.pb.Notify.ConnectStatus.newBuilder(connectStatus_).mergeFrom(value).buildPartial(); } else { connectStatus_ = value; } onChanged(); } else { connectStatusBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public Builder clearConnectStatus() { if (connectStatusBuilder_ == null) { connectStatus_ = null; onChanged(); } else { connectStatusBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public com.moomoo.openapi.pb.Notify.ConnectStatus.Builder getConnectStatusBuilder() { bitField0_ |= 0x00000008; onChanged(); return getConnectStatusFieldBuilder().getBuilder(); } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ public com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder getConnectStatusOrBuilder() { if (connectStatusBuilder_ != null) { return connectStatusBuilder_.getMessageOrBuilder(); } else { return connectStatus_ == null ? com.moomoo.openapi.pb.Notify.ConnectStatus.getDefaultInstance() : connectStatus_; } } /** *
       *连接状态
       * 
* * optional .Notify.ConnectStatus connectStatus = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.ConnectStatus, com.moomoo.openapi.pb.Notify.ConnectStatus.Builder, com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder> getConnectStatusFieldBuilder() { if (connectStatusBuilder_ == null) { connectStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.ConnectStatus, com.moomoo.openapi.pb.Notify.ConnectStatus.Builder, com.moomoo.openapi.pb.Notify.ConnectStatusOrBuilder>( getConnectStatus(), getParentForChildren(), isClean()); connectStatus_ = null; } return connectStatusBuilder_; } private com.moomoo.openapi.pb.Notify.QotRight qotRight_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.QotRight, com.moomoo.openapi.pb.Notify.QotRight.Builder, com.moomoo.openapi.pb.Notify.QotRightOrBuilder> qotRightBuilder_; /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public boolean hasQotRight() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public com.moomoo.openapi.pb.Notify.QotRight getQotRight() { if (qotRightBuilder_ == null) { return qotRight_ == null ? com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance() : qotRight_; } else { return qotRightBuilder_.getMessage(); } } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public Builder setQotRight(com.moomoo.openapi.pb.Notify.QotRight value) { if (qotRightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } qotRight_ = value; onChanged(); } else { qotRightBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public Builder setQotRight( com.moomoo.openapi.pb.Notify.QotRight.Builder builderForValue) { if (qotRightBuilder_ == null) { qotRight_ = builderForValue.build(); onChanged(); } else { qotRightBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public Builder mergeQotRight(com.moomoo.openapi.pb.Notify.QotRight value) { if (qotRightBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && qotRight_ != null && qotRight_ != com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance()) { qotRight_ = com.moomoo.openapi.pb.Notify.QotRight.newBuilder(qotRight_).mergeFrom(value).buildPartial(); } else { qotRight_ = value; } onChanged(); } else { qotRightBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public Builder clearQotRight() { if (qotRightBuilder_ == null) { qotRight_ = null; onChanged(); } else { qotRightBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public com.moomoo.openapi.pb.Notify.QotRight.Builder getQotRightBuilder() { bitField0_ |= 0x00000010; onChanged(); return getQotRightFieldBuilder().getBuilder(); } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ public com.moomoo.openapi.pb.Notify.QotRightOrBuilder getQotRightOrBuilder() { if (qotRightBuilder_ != null) { return qotRightBuilder_.getMessageOrBuilder(); } else { return qotRight_ == null ? com.moomoo.openapi.pb.Notify.QotRight.getDefaultInstance() : qotRight_; } } /** *
       *行情权限
       * 
* * optional .Notify.QotRight qotRight = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.QotRight, com.moomoo.openapi.pb.Notify.QotRight.Builder, com.moomoo.openapi.pb.Notify.QotRightOrBuilder> getQotRightFieldBuilder() { if (qotRightBuilder_ == null) { qotRightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.QotRight, com.moomoo.openapi.pb.Notify.QotRight.Builder, com.moomoo.openapi.pb.Notify.QotRightOrBuilder>( getQotRight(), getParentForChildren(), isClean()); qotRight_ = null; } return qotRightBuilder_; } private com.moomoo.openapi.pb.Notify.APILevel apiLevel_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.APILevel, com.moomoo.openapi.pb.Notify.APILevel.Builder, com.moomoo.openapi.pb.Notify.APILevelOrBuilder> apiLevelBuilder_; /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public boolean hasApiLevel() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public com.moomoo.openapi.pb.Notify.APILevel getApiLevel() { if (apiLevelBuilder_ == null) { return apiLevel_ == null ? com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance() : apiLevel_; } else { return apiLevelBuilder_.getMessage(); } } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public Builder setApiLevel(com.moomoo.openapi.pb.Notify.APILevel value) { if (apiLevelBuilder_ == null) { if (value == null) { throw new NullPointerException(); } apiLevel_ = value; onChanged(); } else { apiLevelBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public Builder setApiLevel( com.moomoo.openapi.pb.Notify.APILevel.Builder builderForValue) { if (apiLevelBuilder_ == null) { apiLevel_ = builderForValue.build(); onChanged(); } else { apiLevelBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public Builder mergeApiLevel(com.moomoo.openapi.pb.Notify.APILevel value) { if (apiLevelBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && apiLevel_ != null && apiLevel_ != com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance()) { apiLevel_ = com.moomoo.openapi.pb.Notify.APILevel.newBuilder(apiLevel_).mergeFrom(value).buildPartial(); } else { apiLevel_ = value; } onChanged(); } else { apiLevelBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public Builder clearApiLevel() { if (apiLevelBuilder_ == null) { apiLevel_ = null; onChanged(); } else { apiLevelBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public com.moomoo.openapi.pb.Notify.APILevel.Builder getApiLevelBuilder() { bitField0_ |= 0x00000020; onChanged(); return getApiLevelFieldBuilder().getBuilder(); } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ public com.moomoo.openapi.pb.Notify.APILevelOrBuilder getApiLevelOrBuilder() { if (apiLevelBuilder_ != null) { return apiLevelBuilder_.getMessageOrBuilder(); } else { return apiLevel_ == null ? com.moomoo.openapi.pb.Notify.APILevel.getDefaultInstance() : apiLevel_; } } /** *
       *用户等级,已在2.10版本之后废弃
       * 
* * optional .Notify.APILevel apiLevel = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.APILevel, com.moomoo.openapi.pb.Notify.APILevel.Builder, com.moomoo.openapi.pb.Notify.APILevelOrBuilder> getApiLevelFieldBuilder() { if (apiLevelBuilder_ == null) { apiLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.APILevel, com.moomoo.openapi.pb.Notify.APILevel.Builder, com.moomoo.openapi.pb.Notify.APILevelOrBuilder>( getApiLevel(), getParentForChildren(), isClean()); apiLevel_ = null; } return apiLevelBuilder_; } private com.moomoo.openapi.pb.Notify.APIQuota apiQuota_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.APIQuota, com.moomoo.openapi.pb.Notify.APIQuota.Builder, com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder> apiQuotaBuilder_; /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public boolean hasApiQuota() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public com.moomoo.openapi.pb.Notify.APIQuota getApiQuota() { if (apiQuotaBuilder_ == null) { return apiQuota_ == null ? com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance() : apiQuota_; } else { return apiQuotaBuilder_.getMessage(); } } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public Builder setApiQuota(com.moomoo.openapi.pb.Notify.APIQuota value) { if (apiQuotaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } apiQuota_ = value; onChanged(); } else { apiQuotaBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public Builder setApiQuota( com.moomoo.openapi.pb.Notify.APIQuota.Builder builderForValue) { if (apiQuotaBuilder_ == null) { apiQuota_ = builderForValue.build(); onChanged(); } else { apiQuotaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public Builder mergeApiQuota(com.moomoo.openapi.pb.Notify.APIQuota value) { if (apiQuotaBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && apiQuota_ != null && apiQuota_ != com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance()) { apiQuota_ = com.moomoo.openapi.pb.Notify.APIQuota.newBuilder(apiQuota_).mergeFrom(value).buildPartial(); } else { apiQuota_ = value; } onChanged(); } else { apiQuotaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public Builder clearApiQuota() { if (apiQuotaBuilder_ == null) { apiQuota_ = null; onChanged(); } else { apiQuotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public com.moomoo.openapi.pb.Notify.APIQuota.Builder getApiQuotaBuilder() { bitField0_ |= 0x00000040; onChanged(); return getApiQuotaFieldBuilder().getBuilder(); } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ public com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder getApiQuotaOrBuilder() { if (apiQuotaBuilder_ != null) { return apiQuotaBuilder_.getMessageOrBuilder(); } else { return apiQuota_ == null ? com.moomoo.openapi.pb.Notify.APIQuota.getDefaultInstance() : apiQuota_; } } /** *
       *API额度
       * 
* * optional .Notify.APIQuota apiQuota = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.APIQuota, com.moomoo.openapi.pb.Notify.APIQuota.Builder, com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder> getApiQuotaFieldBuilder() { if (apiQuotaBuilder_ == null) { apiQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.APIQuota, com.moomoo.openapi.pb.Notify.APIQuota.Builder, com.moomoo.openapi.pb.Notify.APIQuotaOrBuilder>( getApiQuota(), getParentForChildren(), isClean()); apiQuota_ = null; } return apiQuotaBuilder_; } private com.moomoo.openapi.pb.Notify.UsedQuota usedQuota_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.UsedQuota, com.moomoo.openapi.pb.Notify.UsedQuota.Builder, com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder> usedQuotaBuilder_; /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public boolean hasUsedQuota() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public com.moomoo.openapi.pb.Notify.UsedQuota getUsedQuota() { if (usedQuotaBuilder_ == null) { return usedQuota_ == null ? com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance() : usedQuota_; } else { return usedQuotaBuilder_.getMessage(); } } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public Builder setUsedQuota(com.moomoo.openapi.pb.Notify.UsedQuota value) { if (usedQuotaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } usedQuota_ = value; onChanged(); } else { usedQuotaBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public Builder setUsedQuota( com.moomoo.openapi.pb.Notify.UsedQuota.Builder builderForValue) { if (usedQuotaBuilder_ == null) { usedQuota_ = builderForValue.build(); onChanged(); } else { usedQuotaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public Builder mergeUsedQuota(com.moomoo.openapi.pb.Notify.UsedQuota value) { if (usedQuotaBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && usedQuota_ != null && usedQuota_ != com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance()) { usedQuota_ = com.moomoo.openapi.pb.Notify.UsedQuota.newBuilder(usedQuota_).mergeFrom(value).buildPartial(); } else { usedQuota_ = value; } onChanged(); } else { usedQuotaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public Builder clearUsedQuota() { if (usedQuotaBuilder_ == null) { usedQuota_ = null; onChanged(); } else { usedQuotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public com.moomoo.openapi.pb.Notify.UsedQuota.Builder getUsedQuotaBuilder() { bitField0_ |= 0x00000080; onChanged(); return getUsedQuotaFieldBuilder().getBuilder(); } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ public com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder getUsedQuotaOrBuilder() { if (usedQuotaBuilder_ != null) { return usedQuotaBuilder_.getMessageOrBuilder(); } else { return usedQuota_ == null ? com.moomoo.openapi.pb.Notify.UsedQuota.getDefaultInstance() : usedQuota_; } } /** *
       * 已使用额度
       * 
* * optional .Notify.UsedQuota usedQuota = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.UsedQuota, com.moomoo.openapi.pb.Notify.UsedQuota.Builder, com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder> getUsedQuotaFieldBuilder() { if (usedQuotaBuilder_ == null) { usedQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.UsedQuota, com.moomoo.openapi.pb.Notify.UsedQuota.Builder, com.moomoo.openapi.pb.Notify.UsedQuotaOrBuilder>( getUsedQuota(), getParentForChildren(), isClean()); usedQuota_ = null; } return usedQuotaBuilder_; } 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:Notify.S2C) } // @@protoc_insertion_point(class_scope:Notify.S2C) private static final com.moomoo.openapi.pb.Notify.S2C DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.S2C(); } public static com.moomoo.openapi.pb.Notify.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.Notify.S2C getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Notify.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 .Notify.S2C s2c = 4; */ boolean hasS2C(); /** * optional .Notify.S2C s2c = 4; */ com.moomoo.openapi.pb.Notify.S2C getS2C(); /** * optional .Notify.S2C s2c = 4; */ com.moomoo.openapi.pb.Notify.S2COrBuilder getS2COrBuilder(); } /** * Protobuf type {@code Notify.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Notify.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.Notify.S2C.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = s2C_.toBuilder(); } s2C_ = input.readMessage(com.moomoo.openapi.pb.Notify.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.Notify.internal_static_Notify_Response_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.Response.class, com.moomoo.openapi.pb.Notify.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.Notify.S2C s2C_; /** * optional .Notify.S2C s2c = 4; */ public boolean hasS2C() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .Notify.S2C s2c = 4; */ public com.moomoo.openapi.pb.Notify.S2C getS2C() { return s2C_ == null ? com.moomoo.openapi.pb.Notify.S2C.getDefaultInstance() : s2C_; } /** * optional .Notify.S2C s2c = 4; */ public com.moomoo.openapi.pb.Notify.S2COrBuilder getS2COrBuilder() { return s2C_ == null ? com.moomoo.openapi.pb.Notify.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.Notify.Response)) { return super.equals(obj); } com.moomoo.openapi.pb.Notify.Response other = (com.moomoo.openapi.pb.Notify.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.Notify.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.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.Notify.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.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.Notify.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.moomoo.openapi.pb.Notify.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.Notify.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.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.Notify.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.moomoo.openapi.pb.Notify.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.Notify.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.Notify.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.Notify.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 Notify.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Notify.Response) com.moomoo.openapi.pb.Notify.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_Response_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.moomoo.openapi.pb.Notify.internal_static_Notify_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.moomoo.openapi.pb.Notify.Response.class, com.moomoo.openapi.pb.Notify.Response.Builder.class); } // Construct using com.moomoo.openapi.pb.Notify.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.Notify.internal_static_Notify_Response_descriptor; } public com.moomoo.openapi.pb.Notify.Response getDefaultInstanceForType() { return com.moomoo.openapi.pb.Notify.Response.getDefaultInstance(); } public com.moomoo.openapi.pb.Notify.Response build() { com.moomoo.openapi.pb.Notify.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.moomoo.openapi.pb.Notify.Response buildPartial() { com.moomoo.openapi.pb.Notify.Response result = new com.moomoo.openapi.pb.Notify.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.Notify.Response) { return mergeFrom((com.moomoo.openapi.pb.Notify.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.moomoo.openapi.pb.Notify.Response other) { if (other == com.moomoo.openapi.pb.Notify.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.Notify.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.moomoo.openapi.pb.Notify.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.Notify.S2C s2C_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.S2C, com.moomoo.openapi.pb.Notify.S2C.Builder, com.moomoo.openapi.pb.Notify.S2COrBuilder> s2CBuilder_; /** * optional .Notify.S2C s2c = 4; */ public boolean hasS2C() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .Notify.S2C s2c = 4; */ public com.moomoo.openapi.pb.Notify.S2C getS2C() { if (s2CBuilder_ == null) { return s2C_ == null ? com.moomoo.openapi.pb.Notify.S2C.getDefaultInstance() : s2C_; } else { return s2CBuilder_.getMessage(); } } /** * optional .Notify.S2C s2c = 4; */ public Builder setS2C(com.moomoo.openapi.pb.Notify.S2C value) { if (s2CBuilder_ == null) { if (value == null) { throw new NullPointerException(); } s2C_ = value; onChanged(); } else { s2CBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .Notify.S2C s2c = 4; */ public Builder setS2C( com.moomoo.openapi.pb.Notify.S2C.Builder builderForValue) { if (s2CBuilder_ == null) { s2C_ = builderForValue.build(); onChanged(); } else { s2CBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .Notify.S2C s2c = 4; */ public Builder mergeS2C(com.moomoo.openapi.pb.Notify.S2C value) { if (s2CBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && s2C_ != null && s2C_ != com.moomoo.openapi.pb.Notify.S2C.getDefaultInstance()) { s2C_ = com.moomoo.openapi.pb.Notify.S2C.newBuilder(s2C_).mergeFrom(value).buildPartial(); } else { s2C_ = value; } onChanged(); } else { s2CBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .Notify.S2C s2c = 4; */ public Builder clearS2C() { if (s2CBuilder_ == null) { s2C_ = null; onChanged(); } else { s2CBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .Notify.S2C s2c = 4; */ public com.moomoo.openapi.pb.Notify.S2C.Builder getS2CBuilder() { bitField0_ |= 0x00000008; onChanged(); return getS2CFieldBuilder().getBuilder(); } /** * optional .Notify.S2C s2c = 4; */ public com.moomoo.openapi.pb.Notify.S2COrBuilder getS2COrBuilder() { if (s2CBuilder_ != null) { return s2CBuilder_.getMessageOrBuilder(); } else { return s2C_ == null ? com.moomoo.openapi.pb.Notify.S2C.getDefaultInstance() : s2C_; } } /** * optional .Notify.S2C s2c = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.S2C, com.moomoo.openapi.pb.Notify.S2C.Builder, com.moomoo.openapi.pb.Notify.S2COrBuilder> getS2CFieldBuilder() { if (s2CBuilder_ == null) { s2CBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.moomoo.openapi.pb.Notify.S2C, com.moomoo.openapi.pb.Notify.S2C.Builder, com.moomoo.openapi.pb.Notify.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:Notify.Response) } // @@protoc_insertion_point(class_scope:Notify.Response) private static final com.moomoo.openapi.pb.Notify.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.moomoo.openapi.pb.Notify.Response(); } public static com.moomoo.openapi.pb.Notify.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.Notify.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_GtwEvent_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_GtwEvent_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_ProgramStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_ProgramStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_ConnectStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_ConnectStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_QotRight_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_QotRight_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_APILevel_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_APILevel_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_APIQuota_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_APIQuota_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_UsedQuota_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_UsedQuota_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_S2C_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_S2C_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Notify_Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Notify_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\014Notify.proto\022\006Notify\032\014Common.proto\"+\n\010" + "GtwEvent\022\021\n\teventType\030\001 \002(\005\022\014\n\004desc\030\002 \002(" + "\t\"=\n\rProgramStatus\022,\n\rprogramStatus\030\001 \002(" + "\0132\025.Common.ProgramStatus\"7\n\rConnectStatu" + "s\022\022\n\nqotLogined\030\001 \002(\010\022\022\n\ntrdLogined\030\002 \002(" + "\010\"\356\003\n\010QotRight\022\022\n\nhkQotRight\030\004 \002(\005\022\022\n\nus" + "QotRight\030\005 \002(\005\022\022\n\ncnQotRight\030\006 \002(\005\022\030\n\020hk" + "OptionQotRight\030\007 \001(\005\022\033\n\023hasUSOptionQotRi" + "ght\030\010 \001(\010\022\030\n\020hkFutureQotRight\030\t \001(\005\022\030\n\020u" + "sFutureQotRight\030\n \001(\005\022\030\n\020usOptionQotRigh" + "t\030\013 \001(\005\022\027\n\017usIndexQotRight\030\014 \001(\005\022\025\n\rusOt" + "cQotRight\030\r \001(\005\022\030\n\020sgFutureQotRight\030\016 \001(" + "\005\022\030\n\020jpFutureQotRight\030\017 \001(\005\022\033\n\023usCMEFutu" + "reQotRight\030\020 \001(\005\022\034\n\024usCBOTFutureQotRight" + "\030\021 \001(\005\022\035\n\025usNYMEXFutureQotRight\030\022 \001(\005\022\035\n" + "\025usCOMEXFutureQotRight\030\023 \001(\005\022\034\n\024usCBOEFu" + "tureQotRight\030\024 \001(\005\022\022\n\nshQotRight\030\025 \001(\005\022\022" + "\n\nszQotRight\030\026 \001(\005\"\034\n\010APILevel\022\020\n\010apiLev" + "el\030\003 \002(\t\"4\n\010APIQuota\022\020\n\010subQuota\030\001 \002(\005\022\026" + "\n\016historyKLQuota\030\002 \002(\005\"9\n\tUsedQuota\022\024\n\014u" + "sedSubQuota\030\001 \001(\005\022\026\n\016usedKLineQuota\030\002 \001(" + "\005\"\242\002\n\003S2C\022\014\n\004type\030\001 \002(\005\022\037\n\005event\030\002 \001(\0132\020" + ".Notify.GtwEvent\022,\n\rprogramStatus\030\003 \001(\0132" + "\025.Notify.ProgramStatus\022,\n\rconnectStatus\030" + "\004 \001(\0132\025.Notify.ConnectStatus\022\"\n\010qotRight" + "\030\005 \001(\0132\020.Notify.QotRight\022\"\n\010apiLevel\030\006 \001" + "(\0132\020.Notify.APILevel\022\"\n\010apiQuota\030\007 \001(\0132\020" + ".Notify.APIQuota\022$\n\tusedQuota\030\010 \001(\0132\021.No" + "tify.UsedQuota\"\\\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\030\n\003s2c\030\004 \001(\0132\013.Notify.S2C*\330\001\n\nNotifyT" + "ype\022\023\n\017NotifyType_None\020\000\022\027\n\023NotifyType_G" + "twEvent\020\001\022\034\n\030NotifyType_ProgramStatus\020\002\022" + "\031\n\025NotifyType_ConnStatus\020\003\022\027\n\023NotifyType" + "_QotRight\020\004\022\027\n\023NotifyType_APILevel\020\005\022\027\n\023" + "NotifyType_APIQuota\020\006\022\030\n\024NotifyType_Used" + "Quota\020\007*\233\004\n\014GtwEventType\022\025\n\021GtwEventType" + "_None\020\000\022#\n\037GtwEventType_LocalCfgLoadFail" + "ed\020\001\022 \n\034GtwEventType_APISvrRunFailed\020\002\022\034" + "\n\030GtwEventType_ForceUpdate\020\003\022\034\n\030GtwEvent" + "Type_LoginFailed\020\004\022\"\n\036GtwEventType_UnAgr" + "eeDisclaimer\020\005\022\036\n\032GtwEventType_NetCfgMis" + "sing\020\006\022\032\n\026GtwEventType_KickedOut\020\007\022 \n\034Gt" + "wEventType_LoginPwdChanged\020\010\022\031\n\025GtwEvent" + "Type_BanLogin\020\t\022\"\n\036GtwEventType_NeedPicV" + "erifyCode\020\n\022$\n GtwEventType_NeedPhoneVer" + "ifyCode\020\013\022 \n\034GtwEventType_AppDataNotExis" + "t\020\014\022#\n\037GtwEventType_NessaryDataMissing\020\r" + "\022 \n\034GtwEventType_TradePwdChanged\020\016\022!\n\035Gt" + "wEventType_EnableDeviceLock\020\017B?\n\025com.moo" + "moo.openapi.pbZ&github.com/futuopen/ftap" + "i4go/pb/notify" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.moomoo.openapi.pb.Common.getDescriptor(), }, assigner); internal_static_Notify_GtwEvent_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Notify_GtwEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_GtwEvent_descriptor, new java.lang.String[] { "EventType", "Desc", }); internal_static_Notify_ProgramStatus_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Notify_ProgramStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_ProgramStatus_descriptor, new java.lang.String[] { "ProgramStatus", }); internal_static_Notify_ConnectStatus_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Notify_ConnectStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_ConnectStatus_descriptor, new java.lang.String[] { "QotLogined", "TrdLogined", }); internal_static_Notify_QotRight_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Notify_QotRight_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_QotRight_descriptor, new java.lang.String[] { "HkQotRight", "UsQotRight", "CnQotRight", "HkOptionQotRight", "HasUSOptionQotRight", "HkFutureQotRight", "UsFutureQotRight", "UsOptionQotRight", "UsIndexQotRight", "UsOtcQotRight", "SgFutureQotRight", "JpFutureQotRight", "UsCMEFutureQotRight", "UsCBOTFutureQotRight", "UsNYMEXFutureQotRight", "UsCOMEXFutureQotRight", "UsCBOEFutureQotRight", "ShQotRight", "SzQotRight", }); internal_static_Notify_APILevel_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Notify_APILevel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_APILevel_descriptor, new java.lang.String[] { "ApiLevel", }); internal_static_Notify_APIQuota_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Notify_APIQuota_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_APIQuota_descriptor, new java.lang.String[] { "SubQuota", "HistoryKLQuota", }); internal_static_Notify_UsedQuota_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_Notify_UsedQuota_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_UsedQuota_descriptor, new java.lang.String[] { "UsedSubQuota", "UsedKLineQuota", }); internal_static_Notify_S2C_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_Notify_S2C_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_S2C_descriptor, new java.lang.String[] { "Type", "Event", "ProgramStatus", "ConnectStatus", "QotRight", "ApiLevel", "ApiQuota", "UsedQuota", }); internal_static_Notify_Response_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_Notify_Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Notify_Response_descriptor, new java.lang.String[] { "RetType", "RetMsg", "ErrCode", "S2C", }); com.moomoo.openapi.pb.Common.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy