com.moomoo.openapi.pb.QotRequestHistoryKL Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moomoo-api Show documentation
Show all versions of moomoo-api Show documentation
Moomoo OpenAPI quantitative transaction interface for Java.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Qot_RequestHistoryKL.proto
package com.moomoo.openapi.pb;
public final class QotRequestHistoryKL {
private QotRequestHistoryKL() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface C2SOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_RequestHistoryKL.C2S)
com.google.protobuf.MessageOrBuilder {
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
boolean hasRehabType();
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
int getRehabType();
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
boolean hasKlType();
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
int getKlType();
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
boolean hasSecurity();
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
com.moomoo.openapi.pb.QotCommon.Security getSecurity();
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder();
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
boolean hasBeginTime();
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
java.lang.String getBeginTime();
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
com.google.protobuf.ByteString
getBeginTimeBytes();
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
boolean hasEndTime();
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
java.lang.String getEndTime();
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
com.google.protobuf.ByteString
getEndTimeBytes();
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
boolean hasMaxAckKLNum();
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
int getMaxAckKLNum();
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
boolean hasNeedKLFieldsFlag();
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
long getNeedKLFieldsFlag();
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
boolean hasNextReqKey();
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
com.google.protobuf.ByteString getNextReqKey();
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
boolean hasExtendedTime();
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
boolean getExtendedTime();
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.C2S}
*/
public static final class C2S extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_RequestHistoryKL.C2S)
C2SOrBuilder {
private static final long serialVersionUID = 0L;
// Use C2S.newBuilder() to construct.
private C2S(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private C2S() {
rehabType_ = 0;
klType_ = 0;
beginTime_ = "";
endTime_ = "";
maxAckKLNum_ = 0;
needKLFieldsFlag_ = 0L;
nextReqKey_ = com.google.protobuf.ByteString.EMPTY;
extendedTime_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private C2S(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
rehabType_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
klType_ = input.readInt32();
break;
}
case 26: {
com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = security_.toBuilder();
}
security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(security_);
security_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
beginTime_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
endTime_ = bs;
break;
}
case 48: {
bitField0_ |= 0x00000020;
maxAckKLNum_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
needKLFieldsFlag_ = input.readInt64();
break;
}
case 66: {
bitField0_ |= 0x00000080;
nextReqKey_ = input.readBytes();
break;
}
case 72: {
bitField0_ |= 0x00000100;
extendedTime_ = 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.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_C2S_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_C2S_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.class, com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder.class);
}
private int bitField0_;
public static final int REHABTYPE_FIELD_NUMBER = 1;
private int rehabType_;
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
public boolean hasRehabType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
public int getRehabType() {
return rehabType_;
}
public static final int KLTYPE_FIELD_NUMBER = 2;
private int klType_;
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
public boolean hasKlType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
public int getKlType() {
return klType_;
}
public static final int SECURITY_FIELD_NUMBER = 3;
private com.moomoo.openapi.pb.QotCommon.Security security_;
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
public static final int BEGINTIME_FIELD_NUMBER = 4;
private volatile java.lang.Object beginTime_;
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public boolean hasBeginTime() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public java.lang.String getBeginTime() {
java.lang.Object ref = beginTime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
beginTime_ = s;
}
return s;
}
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public com.google.protobuf.ByteString
getBeginTimeBytes() {
java.lang.Object ref = beginTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
beginTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDTIME_FIELD_NUMBER = 5;
private volatile java.lang.Object endTime_;
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public boolean hasEndTime() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
endTime_ = s;
}
return s;
}
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXACKKLNUM_FIELD_NUMBER = 6;
private int maxAckKLNum_;
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
public boolean hasMaxAckKLNum() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
public int getMaxAckKLNum() {
return maxAckKLNum_;
}
public static final int NEEDKLFIELDSFLAG_FIELD_NUMBER = 7;
private long needKLFieldsFlag_;
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
public boolean hasNeedKLFieldsFlag() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
public long getNeedKLFieldsFlag() {
return needKLFieldsFlag_;
}
public static final int NEXTREQKEY_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString nextReqKey_;
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
public boolean hasNextReqKey() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
public com.google.protobuf.ByteString getNextReqKey() {
return nextReqKey_;
}
public static final int EXTENDEDTIME_FIELD_NUMBER = 9;
private boolean extendedTime_;
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
public boolean hasExtendedTime() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
public boolean getExtendedTime() {
return extendedTime_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasRehabType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasKlType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSecurity()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasBeginTime()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEndTime()) {
memoizedIsInitialized = 0;
return false;
}
if (!getSecurity().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, rehabType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, klType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, getSecurity());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, beginTime_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, endTime_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, maxAckKLNum_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt64(7, needKLFieldsFlag_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(8, nextReqKey_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(9, extendedTime_);
}
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, rehabType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, klType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getSecurity());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, beginTime_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, endTime_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, maxAckKLNum_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, needKLFieldsFlag_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, nextReqKey_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, extendedTime_);
}
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.QotRequestHistoryKL.C2S)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S other = (com.moomoo.openapi.pb.QotRequestHistoryKL.C2S) obj;
boolean result = true;
result = result && (hasRehabType() == other.hasRehabType());
if (hasRehabType()) {
result = result && (getRehabType()
== other.getRehabType());
}
result = result && (hasKlType() == other.hasKlType());
if (hasKlType()) {
result = result && (getKlType()
== other.getKlType());
}
result = result && (hasSecurity() == other.hasSecurity());
if (hasSecurity()) {
result = result && getSecurity()
.equals(other.getSecurity());
}
result = result && (hasBeginTime() == other.hasBeginTime());
if (hasBeginTime()) {
result = result && getBeginTime()
.equals(other.getBeginTime());
}
result = result && (hasEndTime() == other.hasEndTime());
if (hasEndTime()) {
result = result && getEndTime()
.equals(other.getEndTime());
}
result = result && (hasMaxAckKLNum() == other.hasMaxAckKLNum());
if (hasMaxAckKLNum()) {
result = result && (getMaxAckKLNum()
== other.getMaxAckKLNum());
}
result = result && (hasNeedKLFieldsFlag() == other.hasNeedKLFieldsFlag());
if (hasNeedKLFieldsFlag()) {
result = result && (getNeedKLFieldsFlag()
== other.getNeedKLFieldsFlag());
}
result = result && (hasNextReqKey() == other.hasNextReqKey());
if (hasNextReqKey()) {
result = result && getNextReqKey()
.equals(other.getNextReqKey());
}
result = result && (hasExtendedTime() == other.hasExtendedTime());
if (hasExtendedTime()) {
result = result && (getExtendedTime()
== other.getExtendedTime());
}
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 (hasRehabType()) {
hash = (37 * hash) + REHABTYPE_FIELD_NUMBER;
hash = (53 * hash) + getRehabType();
}
if (hasKlType()) {
hash = (37 * hash) + KLTYPE_FIELD_NUMBER;
hash = (53 * hash) + getKlType();
}
if (hasSecurity()) {
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
}
if (hasBeginTime()) {
hash = (37 * hash) + BEGINTIME_FIELD_NUMBER;
hash = (53 * hash) + getBeginTime().hashCode();
}
if (hasEndTime()) {
hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
}
if (hasMaxAckKLNum()) {
hash = (37 * hash) + MAXACKKLNUM_FIELD_NUMBER;
hash = (53 * hash) + getMaxAckKLNum();
}
if (hasNeedKLFieldsFlag()) {
hash = (37 * hash) + NEEDKLFIELDSFLAG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNeedKLFieldsFlag());
}
if (hasNextReqKey()) {
hash = (37 * hash) + NEXTREQKEY_FIELD_NUMBER;
hash = (53 * hash) + getNextReqKey().hashCode();
}
if (hasExtendedTime()) {
hash = (37 * hash) + EXTENDEDTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExtendedTime());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.moomoo.openapi.pb.QotRequestHistoryKL.C2S prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.C2S}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_RequestHistoryKL.C2S)
com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_C2S_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_C2S_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.class, com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSecurityFieldBuilder();
}
}
public Builder clear() {
super.clear();
rehabType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
klType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (securityBuilder_ == null) {
security_ = null;
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
beginTime_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
endTime_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
maxAckKLNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
needKLFieldsFlag_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
nextReqKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
extendedTime_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_C2S_descriptor;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S build() {
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S buildPartial() {
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S result = new com.moomoo.openapi.pb.QotRequestHistoryKL.C2S(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.rehabType_ = rehabType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.klType_ = klType_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (securityBuilder_ == null) {
result.security_ = security_;
} else {
result.security_ = securityBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.beginTime_ = beginTime_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.endTime_ = endTime_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.maxAckKLNum_ = maxAckKLNum_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.needKLFieldsFlag_ = needKLFieldsFlag_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.nextReqKey_ = nextReqKey_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.extendedTime_ = extendedTime_;
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.QotRequestHistoryKL.C2S) {
return mergeFrom((com.moomoo.openapi.pb.QotRequestHistoryKL.C2S)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotRequestHistoryKL.C2S other) {
if (other == com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance()) return this;
if (other.hasRehabType()) {
setRehabType(other.getRehabType());
}
if (other.hasKlType()) {
setKlType(other.getKlType());
}
if (other.hasSecurity()) {
mergeSecurity(other.getSecurity());
}
if (other.hasBeginTime()) {
bitField0_ |= 0x00000008;
beginTime_ = other.beginTime_;
onChanged();
}
if (other.hasEndTime()) {
bitField0_ |= 0x00000010;
endTime_ = other.endTime_;
onChanged();
}
if (other.hasMaxAckKLNum()) {
setMaxAckKLNum(other.getMaxAckKLNum());
}
if (other.hasNeedKLFieldsFlag()) {
setNeedKLFieldsFlag(other.getNeedKLFieldsFlag());
}
if (other.hasNextReqKey()) {
setNextReqKey(other.getNextReqKey());
}
if (other.hasExtendedTime()) {
setExtendedTime(other.getExtendedTime());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasRehabType()) {
return false;
}
if (!hasKlType()) {
return false;
}
if (!hasSecurity()) {
return false;
}
if (!hasBeginTime()) {
return false;
}
if (!hasEndTime()) {
return false;
}
if (!getSecurity().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotRequestHistoryKL.C2S) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int rehabType_ ;
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
public boolean hasRehabType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
public int getRehabType() {
return rehabType_;
}
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
public Builder setRehabType(int value) {
bitField0_ |= 0x00000001;
rehabType_ = value;
onChanged();
return this;
}
/**
*
*Qot_Common.RehabType,复权类型
*
*
* required int32 rehabType = 1;
*/
public Builder clearRehabType() {
bitField0_ = (bitField0_ & ~0x00000001);
rehabType_ = 0;
onChanged();
return this;
}
private int klType_ ;
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
public boolean hasKlType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
public int getKlType() {
return klType_;
}
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
public Builder setKlType(int value) {
bitField0_ |= 0x00000002;
klType_ = value;
onChanged();
return this;
}
/**
*
*Qot_Common.KLType,K线类型
*
*
* required int32 klType = 2;
*/
public Builder clearKlType() {
bitField0_ = (bitField0_ & ~0x00000002);
klType_ = 0;
onChanged();
return this;
}
private com.moomoo.openapi.pb.QotCommon.Security security_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityBuilder_;
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
if (securityBuilder_ == null) {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
} else {
return securityBuilder_.getMessage();
}
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public Builder setSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
} else {
securityBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public Builder setSecurity(
com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) {
if (securityBuilder_ == null) {
security_ = builderForValue.build();
onChanged();
} else {
securityBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
security_ != null &&
security_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) {
security_ =
com.moomoo.openapi.pb.QotCommon.Security.newBuilder(security_).mergeFrom(value).buildPartial();
} else {
security_ = value;
}
onChanged();
} else {
securityBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public Builder clearSecurity() {
if (securityBuilder_ == null) {
security_ = null;
onChanged();
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getSecurityFieldBuilder().getBuilder();
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
if (securityBuilder_ != null) {
return securityBuilder_.getMessageOrBuilder();
} else {
return security_ == null ?
com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
}
/**
*
*股票市场以及股票代码
*
*
* required .Qot_Common.Security security = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>
getSecurityFieldBuilder() {
if (securityBuilder_ == null) {
securityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>(
getSecurity(),
getParentForChildren(),
isClean());
security_ = null;
}
return securityBuilder_;
}
private java.lang.Object beginTime_ = "";
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public boolean hasBeginTime() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public java.lang.String getBeginTime() {
java.lang.Object ref = beginTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
beginTime_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public com.google.protobuf.ByteString
getBeginTimeBytes() {
java.lang.Object ref = beginTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
beginTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public Builder setBeginTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
beginTime_ = value;
onChanged();
return this;
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public Builder clearBeginTime() {
bitField0_ = (bitField0_ & ~0x00000008);
beginTime_ = getDefaultInstance().getBeginTime();
onChanged();
return this;
}
/**
*
*开始时间字符串
*
*
* required string beginTime = 4;
*/
public Builder setBeginTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
beginTime_ = value;
onChanged();
return this;
}
private java.lang.Object endTime_ = "";
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public boolean hasEndTime() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
endTime_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public Builder setEndTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
endTime_ = value;
onChanged();
return this;
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public Builder clearEndTime() {
bitField0_ = (bitField0_ & ~0x00000010);
endTime_ = getDefaultInstance().getEndTime();
onChanged();
return this;
}
/**
*
*结束时间字符串
*
*
* required string endTime = 5;
*/
public Builder setEndTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
endTime_ = value;
onChanged();
return this;
}
private int maxAckKLNum_ ;
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
public boolean hasMaxAckKLNum() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
public int getMaxAckKLNum() {
return maxAckKLNum_;
}
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
public Builder setMaxAckKLNum(int value) {
bitField0_ |= 0x00000020;
maxAckKLNum_ = value;
onChanged();
return this;
}
/**
*
*最多返回多少根K线,如果未指定表示不限制
*
*
* optional int32 maxAckKLNum = 6;
*/
public Builder clearMaxAckKLNum() {
bitField0_ = (bitField0_ & ~0x00000020);
maxAckKLNum_ = 0;
onChanged();
return this;
}
private long needKLFieldsFlag_ ;
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
public boolean hasNeedKLFieldsFlag() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
public long getNeedKLFieldsFlag() {
return needKLFieldsFlag_;
}
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
public Builder setNeedKLFieldsFlag(long value) {
bitField0_ |= 0x00000040;
needKLFieldsFlag_ = value;
onChanged();
return this;
}
/**
*
*指定返回K线结构体特定某几项数据,KLFields枚举值或组合,如果未指定返回全部字段
*
*
* optional int64 needKLFieldsFlag = 7;
*/
public Builder clearNeedKLFieldsFlag() {
bitField0_ = (bitField0_ & ~0x00000040);
needKLFieldsFlag_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.ByteString nextReqKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
public boolean hasNextReqKey() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
public com.google.protobuf.ByteString getNextReqKey() {
return nextReqKey_;
}
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
public Builder setNextReqKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
nextReqKey_ = value;
onChanged();
return this;
}
/**
*
*分页请求key
*
*
* optional bytes nextReqKey = 8;
*/
public Builder clearNextReqKey() {
bitField0_ = (bitField0_ & ~0x00000080);
nextReqKey_ = getDefaultInstance().getNextReqKey();
onChanged();
return this;
}
private boolean extendedTime_ ;
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
public boolean hasExtendedTime() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
public boolean getExtendedTime() {
return extendedTime_;
}
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
public Builder setExtendedTime(boolean value) {
bitField0_ |= 0x00000100;
extendedTime_ = value;
onChanged();
return this;
}
/**
*
*是否获取美股盘前盘后数据,当前仅支持1分k。
*
*
* optional bool extendedTime = 9;
*/
public Builder clearExtendedTime() {
bitField0_ = (bitField0_ & ~0x00000100);
extendedTime_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_RequestHistoryKL.C2S)
}
// @@protoc_insertion_point(class_scope:Qot_RequestHistoryKL.C2S)
private static final com.moomoo.openapi.pb.QotRequestHistoryKL.C2S DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotRequestHistoryKL.C2S();
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.C2S getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public C2S parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new C2S(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface S2COrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_RequestHistoryKL.S2C)
com.google.protobuf.MessageOrBuilder {
/**
* required .Qot_Common.Security security = 1;
*/
boolean hasSecurity();
/**
* required .Qot_Common.Security security = 1;
*/
com.moomoo.openapi.pb.QotCommon.Security getSecurity();
/**
* required .Qot_Common.Security security = 1;
*/
com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder();
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
boolean hasName();
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
java.lang.String getName();
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
java.util.List
getKlListList();
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
com.moomoo.openapi.pb.QotCommon.KLine getKlList(int index);
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
int getKlListCount();
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
java.util.List extends com.moomoo.openapi.pb.QotCommon.KLineOrBuilder>
getKlListOrBuilderList();
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
com.moomoo.openapi.pb.QotCommon.KLineOrBuilder getKlListOrBuilder(
int index);
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
boolean hasNextReqKey();
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
com.google.protobuf.ByteString getNextReqKey();
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.S2C}
*/
public static final class S2C extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_RequestHistoryKL.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() {
name_ = "";
klList_ = java.util.Collections.emptyList();
nextReqKey_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private S2C(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = security_.toBuilder();
}
security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(security_);
security_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
klList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
klList_.add(
input.readMessage(com.moomoo.openapi.pb.QotCommon.KLine.PARSER, extensionRegistry));
break;
}
case 26: {
bitField0_ |= 0x00000004;
nextReqKey_ = input.readBytes();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
klList_ = java.util.Collections.unmodifiableList(klList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_S2C_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_S2C_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.class, com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder.class);
}
private int bitField0_;
public static final int SECURITY_FIELD_NUMBER = 1;
private com.moomoo.openapi.pb.QotCommon.Security security_;
/**
* required .Qot_Common.Security security = 1;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
/**
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
public static final int NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object name_;
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KLLIST_FIELD_NUMBER = 2;
private java.util.List klList_;
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public java.util.List getKlListList() {
return klList_;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.QotCommon.KLineOrBuilder>
getKlListOrBuilderList() {
return klList_;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public int getKlListCount() {
return klList_.size();
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLine getKlList(int index) {
return klList_.get(index);
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLineOrBuilder getKlListOrBuilder(
int index) {
return klList_.get(index);
}
public static final int NEXTREQKEY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString nextReqKey_;
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
public boolean hasNextReqKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
public com.google.protobuf.ByteString getNextReqKey() {
return nextReqKey_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasSecurity()) {
memoizedIsInitialized = 0;
return false;
}
if (!getSecurity().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getKlListCount(); i++) {
if (!getKlList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getSecurity());
}
for (int i = 0; i < klList_.size(); i++) {
output.writeMessage(2, klList_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, nextReqKey_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSecurity());
}
for (int i = 0; i < klList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, klList_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, nextReqKey_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.moomoo.openapi.pb.QotRequestHistoryKL.S2C)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C other = (com.moomoo.openapi.pb.QotRequestHistoryKL.S2C) obj;
boolean result = true;
result = result && (hasSecurity() == other.hasSecurity());
if (hasSecurity()) {
result = result && getSecurity()
.equals(other.getSecurity());
}
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && getKlListList()
.equals(other.getKlListList());
result = result && (hasNextReqKey() == other.hasNextReqKey());
if (hasNextReqKey()) {
result = result && getNextReqKey()
.equals(other.getNextReqKey());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSecurity()) {
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getKlListCount() > 0) {
hash = (37 * hash) + KLLIST_FIELD_NUMBER;
hash = (53 * hash) + getKlListList().hashCode();
}
if (hasNextReqKey()) {
hash = (37 * hash) + NEXTREQKEY_FIELD_NUMBER;
hash = (53 * hash) + getNextReqKey().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.S2C parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.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.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.S2C}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_RequestHistoryKL.S2C)
com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_S2C_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_S2C_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.class, com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotRequestHistoryKL.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) {
getSecurityFieldBuilder();
getKlListFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (securityBuilder_ == null) {
security_ = null;
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (klListBuilder_ == null) {
klList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
klListBuilder_.clear();
}
nextReqKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_S2C_descriptor;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2C getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2C build() {
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2C buildPartial() {
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C result = new com.moomoo.openapi.pb.QotRequestHistoryKL.S2C(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (securityBuilder_ == null) {
result.security_ = security_;
} else {
result.security_ = securityBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (klListBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
klList_ = java.util.Collections.unmodifiableList(klList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.klList_ = klList_;
} else {
result.klList_ = klListBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.nextReqKey_ = nextReqKey_;
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.QotRequestHistoryKL.S2C) {
return mergeFrom((com.moomoo.openapi.pb.QotRequestHistoryKL.S2C)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotRequestHistoryKL.S2C other) {
if (other == com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.getDefaultInstance()) return this;
if (other.hasSecurity()) {
mergeSecurity(other.getSecurity());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (klListBuilder_ == null) {
if (!other.klList_.isEmpty()) {
if (klList_.isEmpty()) {
klList_ = other.klList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureKlListIsMutable();
klList_.addAll(other.klList_);
}
onChanged();
}
} else {
if (!other.klList_.isEmpty()) {
if (klListBuilder_.isEmpty()) {
klListBuilder_.dispose();
klListBuilder_ = null;
klList_ = other.klList_;
bitField0_ = (bitField0_ & ~0x00000004);
klListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getKlListFieldBuilder() : null;
} else {
klListBuilder_.addAllMessages(other.klList_);
}
}
}
if (other.hasNextReqKey()) {
setNextReqKey(other.getNextReqKey());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasSecurity()) {
return false;
}
if (!getSecurity().isInitialized()) {
return false;
}
for (int i = 0; i < getKlListCount(); i++) {
if (!getKlList(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotRequestHistoryKL.S2C) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.moomoo.openapi.pb.QotCommon.Security security_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityBuilder_;
/**
* required .Qot_Common.Security security = 1;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
if (securityBuilder_ == null) {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
} else {
return securityBuilder_.getMessage();
}
}
/**
* required .Qot_Common.Security security = 1;
*/
public Builder setSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
} else {
securityBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_Common.Security security = 1;
*/
public Builder setSecurity(
com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) {
if (securityBuilder_ == null) {
security_ = builderForValue.build();
onChanged();
} else {
securityBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_Common.Security security = 1;
*/
public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
security_ != null &&
security_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) {
security_ =
com.moomoo.openapi.pb.QotCommon.Security.newBuilder(security_).mergeFrom(value).buildPartial();
} else {
security_ = value;
}
onChanged();
} else {
securityBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_Common.Security security = 1;
*/
public Builder clearSecurity() {
if (securityBuilder_ == null) {
security_ = null;
onChanged();
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSecurityFieldBuilder().getBuilder();
}
/**
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
if (securityBuilder_ != null) {
return securityBuilder_.getMessageOrBuilder();
} else {
return security_ == null ?
com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
}
/**
* required .Qot_Common.Security security = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>
getSecurityFieldBuilder() {
if (securityBuilder_ == null) {
securityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>(
getSecurity(),
getParentForChildren(),
isClean());
security_ = null;
}
return securityBuilder_;
}
private java.lang.Object name_ = "";
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* 股票名称
*
*
* optional string name = 4;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private java.util.List klList_ =
java.util.Collections.emptyList();
private void ensureKlListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
klList_ = new java.util.ArrayList(klList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.KLine, com.moomoo.openapi.pb.QotCommon.KLine.Builder, com.moomoo.openapi.pb.QotCommon.KLineOrBuilder> klListBuilder_;
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public java.util.List getKlListList() {
if (klListBuilder_ == null) {
return java.util.Collections.unmodifiableList(klList_);
} else {
return klListBuilder_.getMessageList();
}
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public int getKlListCount() {
if (klListBuilder_ == null) {
return klList_.size();
} else {
return klListBuilder_.getCount();
}
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLine getKlList(int index) {
if (klListBuilder_ == null) {
return klList_.get(index);
} else {
return klListBuilder_.getMessage(index);
}
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder setKlList(
int index, com.moomoo.openapi.pb.QotCommon.KLine value) {
if (klListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKlListIsMutable();
klList_.set(index, value);
onChanged();
} else {
klListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder setKlList(
int index, com.moomoo.openapi.pb.QotCommon.KLine.Builder builderForValue) {
if (klListBuilder_ == null) {
ensureKlListIsMutable();
klList_.set(index, builderForValue.build());
onChanged();
} else {
klListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder addKlList(com.moomoo.openapi.pb.QotCommon.KLine value) {
if (klListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKlListIsMutable();
klList_.add(value);
onChanged();
} else {
klListBuilder_.addMessage(value);
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder addKlList(
int index, com.moomoo.openapi.pb.QotCommon.KLine value) {
if (klListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKlListIsMutable();
klList_.add(index, value);
onChanged();
} else {
klListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder addKlList(
com.moomoo.openapi.pb.QotCommon.KLine.Builder builderForValue) {
if (klListBuilder_ == null) {
ensureKlListIsMutable();
klList_.add(builderForValue.build());
onChanged();
} else {
klListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder addKlList(
int index, com.moomoo.openapi.pb.QotCommon.KLine.Builder builderForValue) {
if (klListBuilder_ == null) {
ensureKlListIsMutable();
klList_.add(index, builderForValue.build());
onChanged();
} else {
klListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder addAllKlList(
java.lang.Iterable extends com.moomoo.openapi.pb.QotCommon.KLine> values) {
if (klListBuilder_ == null) {
ensureKlListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, klList_);
onChanged();
} else {
klListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder clearKlList() {
if (klListBuilder_ == null) {
klList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
klListBuilder_.clear();
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public Builder removeKlList(int index) {
if (klListBuilder_ == null) {
ensureKlListIsMutable();
klList_.remove(index);
onChanged();
} else {
klListBuilder_.remove(index);
}
return this;
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLine.Builder getKlListBuilder(
int index) {
return getKlListFieldBuilder().getBuilder(index);
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLineOrBuilder getKlListOrBuilder(
int index) {
if (klListBuilder_ == null) {
return klList_.get(index); } else {
return klListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.QotCommon.KLineOrBuilder>
getKlListOrBuilderList() {
if (klListBuilder_ != null) {
return klListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(klList_);
}
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLine.Builder addKlListBuilder() {
return getKlListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.QotCommon.KLine.getDefaultInstance());
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public com.moomoo.openapi.pb.QotCommon.KLine.Builder addKlListBuilder(
int index) {
return getKlListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.QotCommon.KLine.getDefaultInstance());
}
/**
*
*K线数据
*
*
* repeated .Qot_Common.KLine klList = 2;
*/
public java.util.List
getKlListBuilderList() {
return getKlListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.KLine, com.moomoo.openapi.pb.QotCommon.KLine.Builder, com.moomoo.openapi.pb.QotCommon.KLineOrBuilder>
getKlListFieldBuilder() {
if (klListBuilder_ == null) {
klListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.KLine, com.moomoo.openapi.pb.QotCommon.KLine.Builder, com.moomoo.openapi.pb.QotCommon.KLineOrBuilder>(
klList_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
klList_ = null;
}
return klListBuilder_;
}
private com.google.protobuf.ByteString nextReqKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
public boolean hasNextReqKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
public com.google.protobuf.ByteString getNextReqKey() {
return nextReqKey_;
}
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
public Builder setNextReqKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
nextReqKey_ = value;
onChanged();
return this;
}
/**
*
*分页请求key。一次请求没有返回所有数据时,下次请求带上这个key,会接着请求
*
*
* optional bytes nextReqKey = 3;
*/
public Builder clearNextReqKey() {
bitField0_ = (bitField0_ & ~0x00000008);
nextReqKey_ = getDefaultInstance().getNextReqKey();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_RequestHistoryKL.S2C)
}
// @@protoc_insertion_point(class_scope:Qot_RequestHistoryKL.S2C)
private static final com.moomoo.openapi.pb.QotRequestHistoryKL.S2C DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotRequestHistoryKL.S2C();
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_RequestHistoryKL.Request)
com.google.protobuf.MessageOrBuilder {
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
boolean hasC2S();
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S getC2S();
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder getC2SOrBuilder();
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_RequestHistoryKL.Request)
RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Request.newBuilder() to construct.
private Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Request() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Request(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = c2S_.toBuilder();
}
c2S_ = input.readMessage(com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(c2S_);
c2S_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.Request.class, com.moomoo.openapi.pb.QotRequestHistoryKL.Request.Builder.class);
}
private int bitField0_;
public static final int C2S_FIELD_NUMBER = 1;
private com.moomoo.openapi.pb.QotRequestHistoryKL.C2S c2S_;
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public boolean hasC2S() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S getC2S() {
return c2S_ == null ? com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance() : c2S_;
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder getC2SOrBuilder() {
return c2S_ == null ? com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance() : c2S_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasC2S()) {
memoizedIsInitialized = 0;
return false;
}
if (!getC2S().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getC2S());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getC2S());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.moomoo.openapi.pb.QotRequestHistoryKL.Request)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotRequestHistoryKL.Request other = (com.moomoo.openapi.pb.QotRequestHistoryKL.Request) obj;
boolean result = true;
result = result && (hasC2S() == other.hasC2S());
if (hasC2S()) {
result = result && getC2S()
.equals(other.getC2S());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasC2S()) {
hash = (37 * hash) + C2S_FIELD_NUMBER;
hash = (53 * hash) + getC2S().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.moomoo.openapi.pb.QotRequestHistoryKL.Request prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_RequestHistoryKL.Request)
com.moomoo.openapi.pb.QotRequestHistoryKL.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.Request.class, com.moomoo.openapi.pb.QotRequestHistoryKL.Request.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotRequestHistoryKL.Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getC2SFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (c2SBuilder_ == null) {
c2S_ = null;
} else {
c2SBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Request_descriptor;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Request getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.Request.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Request build() {
com.moomoo.openapi.pb.QotRequestHistoryKL.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Request buildPartial() {
com.moomoo.openapi.pb.QotRequestHistoryKL.Request result = new com.moomoo.openapi.pb.QotRequestHistoryKL.Request(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (c2SBuilder_ == null) {
result.c2S_ = c2S_;
} else {
result.c2S_ = c2SBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.moomoo.openapi.pb.QotRequestHistoryKL.Request) {
return mergeFrom((com.moomoo.openapi.pb.QotRequestHistoryKL.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotRequestHistoryKL.Request other) {
if (other == com.moomoo.openapi.pb.QotRequestHistoryKL.Request.getDefaultInstance()) return this;
if (other.hasC2S()) {
mergeC2S(other.getC2S());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasC2S()) {
return false;
}
if (!getC2S().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.QotRequestHistoryKL.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotRequestHistoryKL.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.moomoo.openapi.pb.QotRequestHistoryKL.C2S c2S_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S, com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder, com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder> c2SBuilder_;
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public boolean hasC2S() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S getC2S() {
if (c2SBuilder_ == null) {
return c2S_ == null ? com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance() : c2S_;
} else {
return c2SBuilder_.getMessage();
}
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public Builder setC2S(com.moomoo.openapi.pb.QotRequestHistoryKL.C2S value) {
if (c2SBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
c2S_ = value;
onChanged();
} else {
c2SBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public Builder setC2S(
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder builderForValue) {
if (c2SBuilder_ == null) {
c2S_ = builderForValue.build();
onChanged();
} else {
c2SBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public Builder mergeC2S(com.moomoo.openapi.pb.QotRequestHistoryKL.C2S value) {
if (c2SBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
c2S_ != null &&
c2S_ != com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance()) {
c2S_ =
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.newBuilder(c2S_).mergeFrom(value).buildPartial();
} else {
c2S_ = value;
}
onChanged();
} else {
c2SBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public Builder clearC2S() {
if (c2SBuilder_ == null) {
c2S_ = null;
onChanged();
} else {
c2SBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder getC2SBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getC2SFieldBuilder().getBuilder();
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder getC2SOrBuilder() {
if (c2SBuilder_ != null) {
return c2SBuilder_.getMessageOrBuilder();
} else {
return c2S_ == null ?
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.getDefaultInstance() : c2S_;
}
}
/**
* required .Qot_RequestHistoryKL.C2S c2s = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S, com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder, com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder>
getC2SFieldBuilder() {
if (c2SBuilder_ == null) {
c2SBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotRequestHistoryKL.C2S, com.moomoo.openapi.pb.QotRequestHistoryKL.C2S.Builder, com.moomoo.openapi.pb.QotRequestHistoryKL.C2SOrBuilder>(
getC2S(),
getParentForChildren(),
isClean());
c2S_ = null;
}
return c2SBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_RequestHistoryKL.Request)
}
// @@protoc_insertion_point(class_scope:Qot_RequestHistoryKL.Request)
private static final com.moomoo.openapi.pb.QotRequestHistoryKL.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotRequestHistoryKL.Request();
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Request(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_RequestHistoryKL.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
boolean hasRetType();
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
int getRetType();
/**
* optional string retMsg = 2;
*/
boolean hasRetMsg();
/**
* optional string retMsg = 2;
*/
java.lang.String getRetMsg();
/**
* optional string retMsg = 2;
*/
com.google.protobuf.ByteString
getRetMsgBytes();
/**
* optional int32 errCode = 3;
*/
boolean hasErrCode();
/**
* optional int32 errCode = 3;
*/
int getErrCode();
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
boolean hasS2C();
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C getS2C();
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder getS2COrBuilder();
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_RequestHistoryKL.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.QotRequestHistoryKL.S2C.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = s2C_.toBuilder();
}
s2C_ = input.readMessage(com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.Response.class, com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C s2C_;
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public boolean hasS2C() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2C getS2C() {
return s2C_ == null ? com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.getDefaultInstance() : s2C_;
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder getS2COrBuilder() {
return s2C_ == null ? com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotRequestHistoryKL.Response other = (com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.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.QotRequestHistoryKL.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.QotRequestHistoryKL.Response prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_RequestHistoryKL.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_RequestHistoryKL.Response)
com.moomoo.openapi.pb.QotRequestHistoryKL.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotRequestHistoryKL.Response.class, com.moomoo.openapi.pb.QotRequestHistoryKL.Response.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.internal_static_Qot_RequestHistoryKL_Response_descriptor;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Response getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotRequestHistoryKL.Response.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Response build() {
com.moomoo.openapi.pb.QotRequestHistoryKL.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotRequestHistoryKL.Response buildPartial() {
com.moomoo.openapi.pb.QotRequestHistoryKL.Response result = new com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response) {
return mergeFrom((com.moomoo.openapi.pb.QotRequestHistoryKL.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotRequestHistoryKL.Response other) {
if (other == com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.S2C s2C_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C, com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder, com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder> s2CBuilder_;
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public boolean hasS2C() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2C getS2C() {
if (s2CBuilder_ == null) {
return s2C_ == null ? com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.getDefaultInstance() : s2C_;
} else {
return s2CBuilder_.getMessage();
}
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public Builder setS2C(com.moomoo.openapi.pb.QotRequestHistoryKL.S2C value) {
if (s2CBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
s2C_ = value;
onChanged();
} else {
s2CBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public Builder setS2C(
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder builderForValue) {
if (s2CBuilder_ == null) {
s2C_ = builderForValue.build();
onChanged();
} else {
s2CBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public Builder mergeS2C(com.moomoo.openapi.pb.QotRequestHistoryKL.S2C value) {
if (s2CBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
s2C_ != null &&
s2C_ != com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.getDefaultInstance()) {
s2C_ =
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.newBuilder(s2C_).mergeFrom(value).buildPartial();
} else {
s2C_ = value;
}
onChanged();
} else {
s2CBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public Builder clearS2C() {
if (s2CBuilder_ == null) {
s2C_ = null;
onChanged();
} else {
s2CBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder getS2CBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getS2CFieldBuilder().getBuilder();
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder getS2COrBuilder() {
if (s2CBuilder_ != null) {
return s2CBuilder_.getMessageOrBuilder();
} else {
return s2C_ == null ?
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.getDefaultInstance() : s2C_;
}
}
/**
* optional .Qot_RequestHistoryKL.S2C s2c = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C, com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder, com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder>
getS2CFieldBuilder() {
if (s2CBuilder_ == null) {
s2CBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotRequestHistoryKL.S2C, com.moomoo.openapi.pb.QotRequestHistoryKL.S2C.Builder, com.moomoo.openapi.pb.QotRequestHistoryKL.S2COrBuilder>(
getS2C(),
getParentForChildren(),
isClean());
s2C_ = null;
}
return s2CBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_RequestHistoryKL.Response)
}
// @@protoc_insertion_point(class_scope:Qot_RequestHistoryKL.Response)
private static final com.moomoo.openapi.pb.QotRequestHistoryKL.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotRequestHistoryKL.Response();
}
public static com.moomoo.openapi.pb.QotRequestHistoryKL.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.QotRequestHistoryKL.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_RequestHistoryKL_C2S_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_RequestHistoryKL_C2S_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_RequestHistoryKL_S2C_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_RequestHistoryKL_S2C_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_RequestHistoryKL_Request_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_RequestHistoryKL_Request_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_RequestHistoryKL_Response_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_RequestHistoryKL_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\032Qot_RequestHistoryKL.proto\022\024Qot_Reques" +
"tHistoryKL\032\014Common.proto\032\020Qot_Common.pro" +
"to\"\315\001\n\003C2S\022\021\n\trehabType\030\001 \002(\005\022\016\n\006klType\030" +
"\002 \002(\005\022&\n\010security\030\003 \002(\0132\024.Qot_Common.Sec" +
"urity\022\021\n\tbeginTime\030\004 \002(\t\022\017\n\007endTime\030\005 \002(" +
"\t\022\023\n\013maxAckKLNum\030\006 \001(\005\022\030\n\020needKLFieldsFl" +
"ag\030\007 \001(\003\022\022\n\nnextReqKey\030\010 \001(\014\022\024\n\014extended" +
"Time\030\t \001(\010\"r\n\003S2C\022&\n\010security\030\001 \002(\0132\024.Qo" +
"t_Common.Security\022\014\n\004name\030\004 \001(\t\022!\n\006klLis" +
"t\030\002 \003(\0132\021.Qot_Common.KLine\022\022\n\nnextReqKey" +
"\030\003 \001(\014\"1\n\007Request\022&\n\003c2s\030\001 \002(\0132\031.Qot_Req" +
"uestHistoryKL.C2S\"j\n\010Response\022\025\n\007retType" +
"\030\001 \002(\005:\004-400\022\016\n\006retMsg\030\002 \001(\t\022\017\n\007errCode\030" +
"\003 \001(\005\022&\n\003s2c\030\004 \001(\0132\031.Qot_RequestHistoryK" +
"L.S2CBL\n\025com.moomoo.openapi.pbZ3github.c" +
"om/futuopen/ftapi4go/pb/qotrequesthistor" +
"ykl"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.moomoo.openapi.pb.Common.getDescriptor(),
com.moomoo.openapi.pb.QotCommon.getDescriptor(),
}, assigner);
internal_static_Qot_RequestHistoryKL_C2S_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Qot_RequestHistoryKL_C2S_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_RequestHistoryKL_C2S_descriptor,
new java.lang.String[] { "RehabType", "KlType", "Security", "BeginTime", "EndTime", "MaxAckKLNum", "NeedKLFieldsFlag", "NextReqKey", "ExtendedTime", });
internal_static_Qot_RequestHistoryKL_S2C_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Qot_RequestHistoryKL_S2C_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_RequestHistoryKL_S2C_descriptor,
new java.lang.String[] { "Security", "Name", "KlList", "NextReqKey", });
internal_static_Qot_RequestHistoryKL_Request_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_Qot_RequestHistoryKL_Request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_RequestHistoryKL_Request_descriptor,
new java.lang.String[] { "C2S", });
internal_static_Qot_RequestHistoryKL_Response_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_Qot_RequestHistoryKL_Response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_RequestHistoryKL_Response_descriptor,
new java.lang.String[] { "RetType", "RetMsg", "ErrCode", "S2C", });
com.moomoo.openapi.pb.Common.getDescriptor();
com.moomoo.openapi.pb.QotCommon.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}