com.moomoo.openapi.pb.GetDelayStatistics 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: GetDelayStatistics.proto
package com.moomoo.openapi.pb;
public final class GetDelayStatistics {
private GetDelayStatistics() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code GetDelayStatistics.DelayStatisticsType}
*/
public enum DelayStatisticsType
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*未知类型
*
*
* DelayStatisticsType_Unkonw = 0;
*/
DelayStatisticsType_Unkonw(0),
/**
*
*行情推送统计
*
*
* DelayStatisticsType_QotPush = 1;
*/
DelayStatisticsType_QotPush(1),
/**
*
*请求回应统计
*
*
* DelayStatisticsType_ReqReply = 2;
*/
DelayStatisticsType_ReqReply(2),
/**
*
*下单统计
*
*
* DelayStatisticsType_PlaceOrder = 3;
*/
DelayStatisticsType_PlaceOrder(3),
;
/**
*
*未知类型
*
*
* DelayStatisticsType_Unkonw = 0;
*/
public static final int DelayStatisticsType_Unkonw_VALUE = 0;
/**
*
*行情推送统计
*
*
* DelayStatisticsType_QotPush = 1;
*/
public static final int DelayStatisticsType_QotPush_VALUE = 1;
/**
*
*请求回应统计
*
*
* DelayStatisticsType_ReqReply = 2;
*/
public static final int DelayStatisticsType_ReqReply_VALUE = 2;
/**
*
*下单统计
*
*
* DelayStatisticsType_PlaceOrder = 3;
*/
public static final int DelayStatisticsType_PlaceOrder_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DelayStatisticsType valueOf(int value) {
return forNumber(value);
}
public static DelayStatisticsType forNumber(int value) {
switch (value) {
case 0: return DelayStatisticsType_Unkonw;
case 1: return DelayStatisticsType_QotPush;
case 2: return DelayStatisticsType_ReqReply;
case 3: return DelayStatisticsType_PlaceOrder;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DelayStatisticsType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DelayStatisticsType findValueByNumber(int number) {
return DelayStatisticsType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.getDescriptor().getEnumTypes().get(0);
}
private static final DelayStatisticsType[] VALUES = values();
public static DelayStatisticsType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private DelayStatisticsType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:GetDelayStatistics.DelayStatisticsType)
}
/**
*
*某段时间的统计数据
*SR表示服务器收到数据,目前只有港股支持SR字段,SS表示服务器发出数据
*CR表示OpenD收到数据,CS表示OpenD发出数据
*
*
* Protobuf enum {@code GetDelayStatistics.QotPushStage}
*/
public enum QotPushStage
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* 未知
*
*
* QotPushStage_Unkonw = 0;
*/
QotPushStage_Unkonw(0),
/**
*
*统计服务端处理耗时
*
*
* QotPushStage_SR2SS = 1;
*/
QotPushStage_SR2SS(1),
/**
*
*统计网络耗时
*
*
* QotPushStage_SS2CR = 2;
*/
QotPushStage_SS2CR(2),
/**
*
*统计OpenD处理耗时
*
*
* QotPushStage_CR2CS = 3;
*/
QotPushStage_CR2CS(3),
/**
*
*统计服务器发出到OpenD发出的处理耗时
*
*
* QotPushStage_SS2CS = 4;
*/
QotPushStage_SS2CS(4),
/**
*
*统计服务器收到数据到OpenD发出的处理耗时
*
*
* QotPushStage_SR2CS = 5;
*/
QotPushStage_SR2CS(5),
;
/**
*
* 未知
*
*
* QotPushStage_Unkonw = 0;
*/
public static final int QotPushStage_Unkonw_VALUE = 0;
/**
*
*统计服务端处理耗时
*
*
* QotPushStage_SR2SS = 1;
*/
public static final int QotPushStage_SR2SS_VALUE = 1;
/**
*
*统计网络耗时
*
*
* QotPushStage_SS2CR = 2;
*/
public static final int QotPushStage_SS2CR_VALUE = 2;
/**
*
*统计OpenD处理耗时
*
*
* QotPushStage_CR2CS = 3;
*/
public static final int QotPushStage_CR2CS_VALUE = 3;
/**
*
*统计服务器发出到OpenD发出的处理耗时
*
*
* QotPushStage_SS2CS = 4;
*/
public static final int QotPushStage_SS2CS_VALUE = 4;
/**
*
*统计服务器收到数据到OpenD发出的处理耗时
*
*
* QotPushStage_SR2CS = 5;
*/
public static final int QotPushStage_SR2CS_VALUE = 5;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static QotPushStage valueOf(int value) {
return forNumber(value);
}
public static QotPushStage forNumber(int value) {
switch (value) {
case 0: return QotPushStage_Unkonw;
case 1: return QotPushStage_SR2SS;
case 2: return QotPushStage_SS2CR;
case 3: return QotPushStage_CR2CS;
case 4: return QotPushStage_SS2CS;
case 5: return QotPushStage_SR2CS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
QotPushStage> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public QotPushStage findValueByNumber(int number) {
return QotPushStage.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.getDescriptor().getEnumTypes().get(1);
}
private static final QotPushStage[] VALUES = values();
public static QotPushStage valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private QotPushStage(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:GetDelayStatistics.QotPushStage)
}
/**
*
*行情推送类型
*
*
* Protobuf enum {@code GetDelayStatistics.QotPushType}
*/
public enum QotPushType
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* 未知
*
*
* QotPushType_Unkonw = 0;
*/
QotPushType_Unkonw(0),
/**
*
*最新价
*
*
* QotPushType_Price = 1;
*/
QotPushType_Price(1),
/**
*
*逐笔
*
*
* QotPushType_Ticker = 2;
*/
QotPushType_Ticker(2),
/**
*
*摆盘
*
*
* QotPushType_OrderBook = 3;
*/
QotPushType_OrderBook(3),
/**
*
*经纪队列
*
*
* QotPushType_Broker = 4;
*/
QotPushType_Broker(4),
;
/**
*
* 未知
*
*
* QotPushType_Unkonw = 0;
*/
public static final int QotPushType_Unkonw_VALUE = 0;
/**
*
*最新价
*
*
* QotPushType_Price = 1;
*/
public static final int QotPushType_Price_VALUE = 1;
/**
*
*逐笔
*
*
* QotPushType_Ticker = 2;
*/
public static final int QotPushType_Ticker_VALUE = 2;
/**
*
*摆盘
*
*
* QotPushType_OrderBook = 3;
*/
public static final int QotPushType_OrderBook_VALUE = 3;
/**
*
*经纪队列
*
*
* QotPushType_Broker = 4;
*/
public static final int QotPushType_Broker_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static QotPushType valueOf(int value) {
return forNumber(value);
}
public static QotPushType forNumber(int value) {
switch (value) {
case 0: return QotPushType_Unkonw;
case 1: return QotPushType_Price;
case 2: return QotPushType_Ticker;
case 3: return QotPushType_OrderBook;
case 4: return QotPushType_Broker;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
QotPushType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public QotPushType findValueByNumber(int number) {
return QotPushType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.getDescriptor().getEnumTypes().get(2);
}
private static final QotPushType[] VALUES = values();
public static QotPushType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private QotPushType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:GetDelayStatistics.QotPushType)
}
public interface C2SOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.C2S)
com.google.protobuf.MessageOrBuilder {
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
java.util.List getTypeListList();
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
int getTypeListCount();
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
int getTypeList(int index);
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
boolean hasQotPushStage();
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
int getQotPushStage();
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
java.util.List getSegmentListList();
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
int getSegmentListCount();
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
int getSegmentList(int index);
}
/**
* Protobuf type {@code GetDelayStatistics.C2S}
*/
public static final class C2S extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.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() {
typeList_ = java.util.Collections.emptyList();
qotPushStage_ = 0;
segmentList_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private C2S(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
typeList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
typeList_.add(input.readInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
typeList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
typeList_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 16: {
bitField0_ |= 0x00000001;
qotPushStage_ = input.readInt32();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
segmentList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
segmentList_.add(input.readInt32());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
segmentList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
segmentList_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
typeList_ = java.util.Collections.unmodifiableList(typeList_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
segmentList_ = java.util.Collections.unmodifiableList(segmentList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_C2S_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_C2S_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.C2S.class, com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder.class);
}
private int bitField0_;
public static final int TYPELIST_FIELD_NUMBER = 1;
private java.util.List typeList_;
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public java.util.List
getTypeListList() {
return typeList_;
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public int getTypeListCount() {
return typeList_.size();
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public int getTypeList(int index) {
return typeList_.get(index);
}
public static final int QOTPUSHSTAGE_FIELD_NUMBER = 2;
private int qotPushStage_;
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
public boolean hasQotPushStage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
public int getQotPushStage() {
return qotPushStage_;
}
public static final int SEGMENTLIST_FIELD_NUMBER = 3;
private java.util.List segmentList_;
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public java.util.List
getSegmentListList() {
return segmentList_;
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public int getSegmentListCount() {
return segmentList_.size();
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public int getSegmentList(int index) {
return segmentList_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < typeList_.size(); i++) {
output.writeInt32(1, typeList_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(2, qotPushStage_);
}
for (int i = 0; i < segmentList_.size(); i++) {
output.writeInt32(3, segmentList_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < typeList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(typeList_.get(i));
}
size += dataSize;
size += 1 * getTypeListList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, qotPushStage_);
}
{
int dataSize = 0;
for (int i = 0; i < segmentList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(segmentList_.get(i));
}
size += dataSize;
size += 1 * getSegmentListList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.moomoo.openapi.pb.GetDelayStatistics.C2S)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.C2S other = (com.moomoo.openapi.pb.GetDelayStatistics.C2S) obj;
boolean result = true;
result = result && getTypeListList()
.equals(other.getTypeListList());
result = result && (hasQotPushStage() == other.hasQotPushStage());
if (hasQotPushStage()) {
result = result && (getQotPushStage()
== other.getQotPushStage());
}
result = result && getSegmentListList()
.equals(other.getSegmentListList());
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 (getTypeListCount() > 0) {
hash = (37 * hash) + TYPELIST_FIELD_NUMBER;
hash = (53 * hash) + getTypeListList().hashCode();
}
if (hasQotPushStage()) {
hash = (37 * hash) + QOTPUSHSTAGE_FIELD_NUMBER;
hash = (53 * hash) + getQotPushStage();
}
if (getSegmentListCount() > 0) {
hash = (37 * hash) + SEGMENTLIST_FIELD_NUMBER;
hash = (53 * hash) + getSegmentListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.GetDelayStatistics.C2S parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.C2S parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.C2S parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.C2S parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.C2S parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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 GetDelayStatistics.C2S}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.C2S)
com.moomoo.openapi.pb.GetDelayStatistics.C2SOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_C2S_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_C2S_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.C2S.class, com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.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) {
}
}
public Builder clear() {
super.clear();
typeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
qotPushStage_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
segmentList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_C2S_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.C2S getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.C2S.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.C2S build() {
com.moomoo.openapi.pb.GetDelayStatistics.C2S result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.C2S buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.C2S result = new com.moomoo.openapi.pb.GetDelayStatistics.C2S(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
typeList_ = java.util.Collections.unmodifiableList(typeList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.typeList_ = typeList_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.qotPushStage_ = qotPushStage_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
segmentList_ = java.util.Collections.unmodifiableList(segmentList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.segmentList_ = segmentList_;
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.GetDelayStatistics.C2S) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.C2S)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.C2S other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.C2S.getDefaultInstance()) return this;
if (!other.typeList_.isEmpty()) {
if (typeList_.isEmpty()) {
typeList_ = other.typeList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTypeListIsMutable();
typeList_.addAll(other.typeList_);
}
onChanged();
}
if (other.hasQotPushStage()) {
setQotPushStage(other.getQotPushStage());
}
if (!other.segmentList_.isEmpty()) {
if (segmentList_.isEmpty()) {
segmentList_ = other.segmentList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSegmentListIsMutable();
segmentList_.addAll(other.segmentList_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.GetDelayStatistics.C2S parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.C2S) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List typeList_ = java.util.Collections.emptyList();
private void ensureTypeListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
typeList_ = new java.util.ArrayList(typeList_);
bitField0_ |= 0x00000001;
}
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public java.util.List
getTypeListList() {
return java.util.Collections.unmodifiableList(typeList_);
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public int getTypeListCount() {
return typeList_.size();
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public int getTypeList(int index) {
return typeList_.get(index);
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public Builder setTypeList(
int index, int value) {
ensureTypeListIsMutable();
typeList_.set(index, value);
onChanged();
return this;
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public Builder addTypeList(int value) {
ensureTypeListIsMutable();
typeList_.add(value);
onChanged();
return this;
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public Builder addAllTypeList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureTypeListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, typeList_);
onChanged();
return this;
}
/**
*
*统计数据类型,DelayStatisticsType
*
*
* repeated int32 typeList = 1;
*/
public Builder clearTypeList() {
typeList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int qotPushStage_ ;
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
public boolean hasQotPushStage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
public int getQotPushStage() {
return qotPushStage_;
}
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
public Builder setQotPushStage(int value) {
bitField0_ |= 0x00000002;
qotPushStage_ = value;
onChanged();
return this;
}
/**
*
*行情推送统计的区间,行情推送统计时有效,QotPushStage
*
*
* optional int32 qotPushStage = 2;
*/
public Builder clearQotPushStage() {
bitField0_ = (bitField0_ & ~0x00000002);
qotPushStage_ = 0;
onChanged();
return this;
}
private java.util.List segmentList_ = java.util.Collections.emptyList();
private void ensureSegmentListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
segmentList_ = new java.util.ArrayList(segmentList_);
bitField0_ |= 0x00000004;
}
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public java.util.List
getSegmentListList() {
return java.util.Collections.unmodifiableList(segmentList_);
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public int getSegmentListCount() {
return segmentList_.size();
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public int getSegmentList(int index) {
return segmentList_.get(index);
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public Builder setSegmentList(
int index, int value) {
ensureSegmentListIsMutable();
segmentList_.set(index, value);
onChanged();
return this;
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public Builder addSegmentList(int value) {
ensureSegmentListIsMutable();
segmentList_.add(value);
onChanged();
return this;
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public Builder addAllSegmentList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureSegmentListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentList_);
onChanged();
return this;
}
/**
*
*统计分段,默认100ms以下以2ms分段,100ms以上以500,1000,2000,-1分段,-1表示无穷大。
*
*
* repeated int32 segmentList = 3;
*/
public Builder clearSegmentList() {
segmentList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
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:GetDelayStatistics.C2S)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.C2S)
private static final com.moomoo.openapi.pb.GetDelayStatistics.C2S DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.C2S();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.C2S getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DelayStatisticsItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.DelayStatisticsItem)
com.google.protobuf.MessageOrBuilder {
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
boolean hasBegin();
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
int getBegin();
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
boolean hasEnd();
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
int getEnd();
/**
*
*个数
*
*
* required int32 count = 3;
*/
boolean hasCount();
/**
*
*个数
*
*
* required int32 count = 3;
*/
int getCount();
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
boolean hasProportion();
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
float getProportion();
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
boolean hasCumulativeRatio();
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
float getCumulativeRatio();
}
/**
* Protobuf type {@code GetDelayStatistics.DelayStatisticsItem}
*/
public static final class DelayStatisticsItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.DelayStatisticsItem)
DelayStatisticsItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use DelayStatisticsItem.newBuilder() to construct.
private DelayStatisticsItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DelayStatisticsItem() {
begin_ = 0;
end_ = 0;
count_ = 0;
proportion_ = 0F;
cumulativeRatio_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DelayStatisticsItem(
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;
begin_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
end_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
count_ = input.readInt32();
break;
}
case 37: {
bitField0_ |= 0x00000008;
proportion_ = input.readFloat();
break;
}
case 45: {
bitField0_ |= 0x00000010;
cumulativeRatio_ = input.readFloat();
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.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatisticsItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatisticsItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.class, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder.class);
}
private int bitField0_;
public static final int BEGIN_FIELD_NUMBER = 1;
private int begin_;
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
public boolean hasBegin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
public int getBegin() {
return begin_;
}
public static final int END_FIELD_NUMBER = 2;
private int end_;
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
public int getEnd() {
return end_;
}
public static final int COUNT_FIELD_NUMBER = 3;
private int count_;
/**
*
*个数
*
*
* required int32 count = 3;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*个数
*
*
* required int32 count = 3;
*/
public int getCount() {
return count_;
}
public static final int PROPORTION_FIELD_NUMBER = 4;
private float proportion_;
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
public boolean hasProportion() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
public float getProportion() {
return proportion_;
}
public static final int CUMULATIVERATIO_FIELD_NUMBER = 5;
private float cumulativeRatio_;
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
public boolean hasCumulativeRatio() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
public float getCumulativeRatio() {
return cumulativeRatio_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasBegin()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEnd()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCount()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasProportion()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCumulativeRatio()) {
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, begin_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, end_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, count_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFloat(4, proportion_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeFloat(5, cumulativeRatio_);
}
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, begin_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, end_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, count_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, proportion_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(5, cumulativeRatio_);
}
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.GetDelayStatistics.DelayStatisticsItem)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem other = (com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem) obj;
boolean result = true;
result = result && (hasBegin() == other.hasBegin());
if (hasBegin()) {
result = result && (getBegin()
== other.getBegin());
}
result = result && (hasEnd() == other.hasEnd());
if (hasEnd()) {
result = result && (getEnd()
== other.getEnd());
}
result = result && (hasCount() == other.hasCount());
if (hasCount()) {
result = result && (getCount()
== other.getCount());
}
result = result && (hasProportion() == other.hasProportion());
if (hasProportion()) {
result = result && (
java.lang.Float.floatToIntBits(getProportion())
== java.lang.Float.floatToIntBits(
other.getProportion()));
}
result = result && (hasCumulativeRatio() == other.hasCumulativeRatio());
if (hasCumulativeRatio()) {
result = result && (
java.lang.Float.floatToIntBits(getCumulativeRatio())
== java.lang.Float.floatToIntBits(
other.getCumulativeRatio()));
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBegin()) {
hash = (37 * hash) + BEGIN_FIELD_NUMBER;
hash = (53 * hash) + getBegin();
}
if (hasEnd()) {
hash = (37 * hash) + END_FIELD_NUMBER;
hash = (53 * hash) + getEnd();
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (hasProportion()) {
hash = (37 * hash) + PROPORTION_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getProportion());
}
if (hasCumulativeRatio()) {
hash = (37 * hash) + CUMULATIVERATIO_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getCumulativeRatio());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem 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.GetDelayStatistics.DelayStatisticsItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem 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.GetDelayStatistics.DelayStatisticsItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem 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.GetDelayStatistics.DelayStatisticsItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem 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.GetDelayStatistics.DelayStatisticsItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem 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.GetDelayStatistics.DelayStatisticsItem 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 GetDelayStatistics.DelayStatisticsItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.DelayStatisticsItem)
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatisticsItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatisticsItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.class, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
begin_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
end_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
proportion_ = 0F;
bitField0_ = (bitField0_ & ~0x00000008);
cumulativeRatio_ = 0F;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatisticsItem_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem build() {
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem result = new com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.begin_ = begin_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.end_ = end_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.count_ = count_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.proportion_ = proportion_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.cumulativeRatio_ = cumulativeRatio_;
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.GetDelayStatistics.DelayStatisticsItem) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.getDefaultInstance()) return this;
if (other.hasBegin()) {
setBegin(other.getBegin());
}
if (other.hasEnd()) {
setEnd(other.getEnd());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (other.hasProportion()) {
setProportion(other.getProportion());
}
if (other.hasCumulativeRatio()) {
setCumulativeRatio(other.getCumulativeRatio());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasBegin()) {
return false;
}
if (!hasEnd()) {
return false;
}
if (!hasCount()) {
return false;
}
if (!hasProportion()) {
return false;
}
if (!hasCumulativeRatio()) {
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.GetDelayStatistics.DelayStatisticsItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int begin_ ;
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
public boolean hasBegin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
public int getBegin() {
return begin_;
}
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
public Builder setBegin(int value) {
bitField0_ |= 0x00000001;
begin_ = value;
onChanged();
return this;
}
/**
*
*范围左闭右开,[begin,end)
*
*
* required int32 begin = 1;
*/
public Builder clearBegin() {
bitField0_ = (bitField0_ & ~0x00000001);
begin_ = 0;
onChanged();
return this;
}
private int end_ ;
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
public int getEnd() {
return end_;
}
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
public Builder setEnd(int value) {
bitField0_ |= 0x00000002;
end_ = value;
onChanged();
return this;
}
/**
*
*耗时范围结束,毫秒单位
*
*
* required int32 end = 2;
*/
public Builder clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 0;
onChanged();
return this;
}
private int count_ ;
/**
*
*个数
*
*
* required int32 count = 3;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*个数
*
*
* required int32 count = 3;
*/
public int getCount() {
return count_;
}
/**
*
*个数
*
*
* required int32 count = 3;
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000004;
count_ = value;
onChanged();
return this;
}
/**
*
*个数
*
*
* required int32 count = 3;
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000004);
count_ = 0;
onChanged();
return this;
}
private float proportion_ ;
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
public boolean hasProportion() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
public float getProportion() {
return proportion_;
}
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
public Builder setProportion(float value) {
bitField0_ |= 0x00000008;
proportion_ = value;
onChanged();
return this;
}
/**
*
*占比, %
*
*
* required float proportion = 4;
*/
public Builder clearProportion() {
bitField0_ = (bitField0_ & ~0x00000008);
proportion_ = 0F;
onChanged();
return this;
}
private float cumulativeRatio_ ;
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
public boolean hasCumulativeRatio() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
public float getCumulativeRatio() {
return cumulativeRatio_;
}
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
public Builder setCumulativeRatio(float value) {
bitField0_ |= 0x00000010;
cumulativeRatio_ = value;
onChanged();
return this;
}
/**
*
*累计占比, %
*
*
* required float cumulativeRatio = 5;
*/
public Builder clearCumulativeRatio() {
bitField0_ = (bitField0_ & ~0x00000010);
cumulativeRatio_ = 0F;
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:GetDelayStatistics.DelayStatisticsItem)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.DelayStatisticsItem)
private static final com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DelayStatisticsItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DelayStatisticsItem(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.GetDelayStatistics.DelayStatisticsItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DelayStatisticsOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.DelayStatistics)
com.google.protobuf.MessageOrBuilder {
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
boolean hasQotPushType();
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
int getQotPushType();
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
java.util.List
getItemListList();
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem getItemList(int index);
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
int getItemListCount();
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder>
getItemListOrBuilderList();
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder getItemListOrBuilder(
int index);
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
boolean hasDelayAvg();
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
float getDelayAvg();
/**
*
*总包数
*
*
* required int32 count = 4;
*/
boolean hasCount();
/**
*
*总包数
*
*
* required int32 count = 4;
*/
int getCount();
}
/**
* Protobuf type {@code GetDelayStatistics.DelayStatistics}
*/
public static final class DelayStatistics extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.DelayStatistics)
DelayStatisticsOrBuilder {
private static final long serialVersionUID = 0L;
// Use DelayStatistics.newBuilder() to construct.
private DelayStatistics(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DelayStatistics() {
qotPushType_ = 0;
itemList_ = java.util.Collections.emptyList();
delayAvg_ = 0F;
count_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DelayStatistics(
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;
qotPushType_ = input.readInt32();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
itemList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
itemList_.add(
input.readMessage(com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.PARSER, extensionRegistry));
break;
}
case 29: {
bitField0_ |= 0x00000002;
delayAvg_ = input.readFloat();
break;
}
case 32: {
bitField0_ |= 0x00000004;
count_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
itemList_ = java.util.Collections.unmodifiableList(itemList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatistics_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.class, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder.class);
}
private int bitField0_;
public static final int QOTPUSHTYPE_FIELD_NUMBER = 1;
private int qotPushType_;
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
public boolean hasQotPushType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
public int getQotPushType() {
return qotPushType_;
}
public static final int ITEMLIST_FIELD_NUMBER = 2;
private java.util.List itemList_;
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public java.util.List getItemListList() {
return itemList_;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder>
getItemListOrBuilderList() {
return itemList_;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public int getItemListCount() {
return itemList_.size();
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem getItemList(int index) {
return itemList_.get(index);
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder getItemListOrBuilder(
int index) {
return itemList_.get(index);
}
public static final int DELAYAVG_FIELD_NUMBER = 3;
private float delayAvg_;
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
public boolean hasDelayAvg() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
public float getDelayAvg() {
return delayAvg_;
}
public static final int COUNT_FIELD_NUMBER = 4;
private int count_;
/**
*
*总包数
*
*
* required int32 count = 4;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*总包数
*
*
* required int32 count = 4;
*/
public int getCount() {
return count_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasQotPushType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasDelayAvg()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCount()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getItemListCount(); i++) {
if (!getItemList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, qotPushType_);
}
for (int i = 0; i < itemList_.size(); i++) {
output.writeMessage(2, itemList_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFloat(3, delayAvg_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, count_);
}
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, qotPushType_);
}
for (int i = 0; i < itemList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, itemList_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, delayAvg_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, count_);
}
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.GetDelayStatistics.DelayStatistics)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics other = (com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics) obj;
boolean result = true;
result = result && (hasQotPushType() == other.hasQotPushType());
if (hasQotPushType()) {
result = result && (getQotPushType()
== other.getQotPushType());
}
result = result && getItemListList()
.equals(other.getItemListList());
result = result && (hasDelayAvg() == other.hasDelayAvg());
if (hasDelayAvg()) {
result = result && (
java.lang.Float.floatToIntBits(getDelayAvg())
== java.lang.Float.floatToIntBits(
other.getDelayAvg()));
}
result = result && (hasCount() == other.hasCount());
if (hasCount()) {
result = result && (getCount()
== other.getCount());
}
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 (hasQotPushType()) {
hash = (37 * hash) + QOTPUSHTYPE_FIELD_NUMBER;
hash = (53 * hash) + getQotPushType();
}
if (getItemListCount() > 0) {
hash = (37 * hash) + ITEMLIST_FIELD_NUMBER;
hash = (53 * hash) + getItemListList().hashCode();
}
if (hasDelayAvg()) {
hash = (37 * hash) + DELAYAVG_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getDelayAvg());
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics 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.GetDelayStatistics.DelayStatistics parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics 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.GetDelayStatistics.DelayStatistics parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics 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.GetDelayStatistics.DelayStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics 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.GetDelayStatistics.DelayStatistics parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics 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.GetDelayStatistics.DelayStatistics 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 GetDelayStatistics.DelayStatistics}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.DelayStatistics)
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatistics_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.class, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getItemListFieldBuilder();
}
}
public Builder clear() {
super.clear();
qotPushType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (itemListBuilder_ == null) {
itemList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
itemListBuilder_.clear();
}
delayAvg_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_DelayStatistics_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics build() {
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics result = new com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.qotPushType_ = qotPushType_;
if (itemListBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
itemList_ = java.util.Collections.unmodifiableList(itemList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.itemList_ = itemList_;
} else {
result.itemList_ = itemListBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.delayAvg_ = delayAvg_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.count_ = count_;
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.GetDelayStatistics.DelayStatistics) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.getDefaultInstance()) return this;
if (other.hasQotPushType()) {
setQotPushType(other.getQotPushType());
}
if (itemListBuilder_ == null) {
if (!other.itemList_.isEmpty()) {
if (itemList_.isEmpty()) {
itemList_ = other.itemList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureItemListIsMutable();
itemList_.addAll(other.itemList_);
}
onChanged();
}
} else {
if (!other.itemList_.isEmpty()) {
if (itemListBuilder_.isEmpty()) {
itemListBuilder_.dispose();
itemListBuilder_ = null;
itemList_ = other.itemList_;
bitField0_ = (bitField0_ & ~0x00000002);
itemListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemListFieldBuilder() : null;
} else {
itemListBuilder_.addAllMessages(other.itemList_);
}
}
}
if (other.hasDelayAvg()) {
setDelayAvg(other.getDelayAvg());
}
if (other.hasCount()) {
setCount(other.getCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasQotPushType()) {
return false;
}
if (!hasDelayAvg()) {
return false;
}
if (!hasCount()) {
return false;
}
for (int i = 0; i < getItemListCount(); i++) {
if (!getItemList(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.GetDelayStatistics.DelayStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int qotPushType_ ;
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
public boolean hasQotPushType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
public int getQotPushType() {
return qotPushType_;
}
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
public Builder setQotPushType(int value) {
bitField0_ |= 0x00000001;
qotPushType_ = value;
onChanged();
return this;
}
/**
*
*行情推送类型,QotPushType
*
*
* required int32 qotPushType = 1;
*/
public Builder clearQotPushType() {
bitField0_ = (bitField0_ & ~0x00000001);
qotPushType_ = 0;
onChanged();
return this;
}
private java.util.List itemList_ =
java.util.Collections.emptyList();
private void ensureItemListIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
itemList_ = new java.util.ArrayList(itemList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder> itemListBuilder_;
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public java.util.List getItemListList() {
if (itemListBuilder_ == null) {
return java.util.Collections.unmodifiableList(itemList_);
} else {
return itemListBuilder_.getMessageList();
}
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public int getItemListCount() {
if (itemListBuilder_ == null) {
return itemList_.size();
} else {
return itemListBuilder_.getCount();
}
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem getItemList(int index) {
if (itemListBuilder_ == null) {
return itemList_.get(index);
} else {
return itemListBuilder_.getMessage(index);
}
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder setItemList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem value) {
if (itemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemListIsMutable();
itemList_.set(index, value);
onChanged();
} else {
itemListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder setItemList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder builderForValue) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.set(index, builderForValue.build());
onChanged();
} else {
itemListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder addItemList(com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem value) {
if (itemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemListIsMutable();
itemList_.add(value);
onChanged();
} else {
itemListBuilder_.addMessage(value);
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder addItemList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem value) {
if (itemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemListIsMutable();
itemList_.add(index, value);
onChanged();
} else {
itemListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder addItemList(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder builderForValue) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.add(builderForValue.build());
onChanged();
} else {
itemListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder addItemList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder builderForValue) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.add(index, builderForValue.build());
onChanged();
} else {
itemListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder addAllItemList(
java.lang.Iterable extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem> values) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, itemList_);
onChanged();
} else {
itemListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder clearItemList() {
if (itemListBuilder_ == null) {
itemList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
itemListBuilder_.clear();
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public Builder removeItemList(int index) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.remove(index);
onChanged();
} else {
itemListBuilder_.remove(index);
}
return this;
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder getItemListBuilder(
int index) {
return getItemListFieldBuilder().getBuilder(index);
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder getItemListOrBuilder(
int index) {
if (itemListBuilder_ == null) {
return itemList_.get(index); } else {
return itemListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder>
getItemListOrBuilderList() {
if (itemListBuilder_ != null) {
return itemListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(itemList_);
}
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder addItemListBuilder() {
return getItemListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.getDefaultInstance());
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder addItemListBuilder(
int index) {
return getItemListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.getDefaultInstance());
}
/**
*
*统计信息
*
*
* repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
*/
public java.util.List
getItemListBuilderList() {
return getItemListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder>
getItemListFieldBuilder() {
if (itemListBuilder_ == null) {
itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsItemOrBuilder>(
itemList_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
itemList_ = null;
}
return itemListBuilder_;
}
private float delayAvg_ ;
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
public boolean hasDelayAvg() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
public float getDelayAvg() {
return delayAvg_;
}
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
public Builder setDelayAvg(float value) {
bitField0_ |= 0x00000004;
delayAvg_ = value;
onChanged();
return this;
}
/**
*
*平均延迟
*
*
* required float delayAvg = 3;
*/
public Builder clearDelayAvg() {
bitField0_ = (bitField0_ & ~0x00000004);
delayAvg_ = 0F;
onChanged();
return this;
}
private int count_ ;
/**
*
*总包数
*
*
* required int32 count = 4;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*总包数
*
*
* required int32 count = 4;
*/
public int getCount() {
return count_;
}
/**
*
*总包数
*
*
* required int32 count = 4;
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000008;
count_ = value;
onChanged();
return this;
}
/**
*
*总包数
*
*
* required int32 count = 4;
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000008);
count_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:GetDelayStatistics.DelayStatistics)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.DelayStatistics)
private static final com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DelayStatistics parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DelayStatistics(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.GetDelayStatistics.DelayStatistics getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ReqReplyStatisticsItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.ReqReplyStatisticsItem)
com.google.protobuf.MessageOrBuilder {
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
boolean hasProtoID();
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
int getProtoID();
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
boolean hasCount();
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
int getCount();
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
boolean hasTotalCostAvg();
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
float getTotalCostAvg();
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
boolean hasOpenDCostAvg();
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
float getOpenDCostAvg();
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
boolean hasNetDelayAvg();
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
float getNetDelayAvg();
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
boolean hasIsLocalReply();
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
boolean getIsLocalReply();
}
/**
* Protobuf type {@code GetDelayStatistics.ReqReplyStatisticsItem}
*/
public static final class ReqReplyStatisticsItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.ReqReplyStatisticsItem)
ReqReplyStatisticsItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReqReplyStatisticsItem.newBuilder() to construct.
private ReqReplyStatisticsItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReqReplyStatisticsItem() {
protoID_ = 0;
count_ = 0;
totalCostAvg_ = 0F;
openDCostAvg_ = 0F;
netDelayAvg_ = 0F;
isLocalReply_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReqReplyStatisticsItem(
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;
protoID_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
count_ = input.readInt32();
break;
}
case 29: {
bitField0_ |= 0x00000004;
totalCostAvg_ = input.readFloat();
break;
}
case 37: {
bitField0_ |= 0x00000008;
openDCostAvg_ = input.readFloat();
break;
}
case 45: {
bitField0_ |= 0x00000010;
netDelayAvg_ = input.readFloat();
break;
}
case 48: {
bitField0_ |= 0x00000020;
isLocalReply_ = 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.GetDelayStatistics.internal_static_GetDelayStatistics_ReqReplyStatisticsItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_ReqReplyStatisticsItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.class, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder.class);
}
private int bitField0_;
public static final int PROTOID_FIELD_NUMBER = 1;
private int protoID_;
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
public boolean hasProtoID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
public int getProtoID() {
return protoID_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
public int getCount() {
return count_;
}
public static final int TOTALCOSTAVG_FIELD_NUMBER = 3;
private float totalCostAvg_;
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
public boolean hasTotalCostAvg() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
public float getTotalCostAvg() {
return totalCostAvg_;
}
public static final int OPENDCOSTAVG_FIELD_NUMBER = 4;
private float openDCostAvg_;
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
public boolean hasOpenDCostAvg() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
public float getOpenDCostAvg() {
return openDCostAvg_;
}
public static final int NETDELAYAVG_FIELD_NUMBER = 5;
private float netDelayAvg_;
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
public boolean hasNetDelayAvg() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
public float getNetDelayAvg() {
return netDelayAvg_;
}
public static final int ISLOCALREPLY_FIELD_NUMBER = 6;
private boolean isLocalReply_;
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
public boolean hasIsLocalReply() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
public boolean getIsLocalReply() {
return isLocalReply_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasProtoID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCount()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTotalCostAvg()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasOpenDCostAvg()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasNetDelayAvg()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIsLocalReply()) {
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, protoID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, count_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, totalCostAvg_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFloat(4, openDCostAvg_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeFloat(5, netDelayAvg_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, isLocalReply_);
}
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, protoID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, count_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, totalCostAvg_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, openDCostAvg_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(5, netDelayAvg_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isLocalReply_);
}
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.GetDelayStatistics.ReqReplyStatisticsItem)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem other = (com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem) obj;
boolean result = true;
result = result && (hasProtoID() == other.hasProtoID());
if (hasProtoID()) {
result = result && (getProtoID()
== other.getProtoID());
}
result = result && (hasCount() == other.hasCount());
if (hasCount()) {
result = result && (getCount()
== other.getCount());
}
result = result && (hasTotalCostAvg() == other.hasTotalCostAvg());
if (hasTotalCostAvg()) {
result = result && (
java.lang.Float.floatToIntBits(getTotalCostAvg())
== java.lang.Float.floatToIntBits(
other.getTotalCostAvg()));
}
result = result && (hasOpenDCostAvg() == other.hasOpenDCostAvg());
if (hasOpenDCostAvg()) {
result = result && (
java.lang.Float.floatToIntBits(getOpenDCostAvg())
== java.lang.Float.floatToIntBits(
other.getOpenDCostAvg()));
}
result = result && (hasNetDelayAvg() == other.hasNetDelayAvg());
if (hasNetDelayAvg()) {
result = result && (
java.lang.Float.floatToIntBits(getNetDelayAvg())
== java.lang.Float.floatToIntBits(
other.getNetDelayAvg()));
}
result = result && (hasIsLocalReply() == other.hasIsLocalReply());
if (hasIsLocalReply()) {
result = result && (getIsLocalReply()
== other.getIsLocalReply());
}
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 (hasProtoID()) {
hash = (37 * hash) + PROTOID_FIELD_NUMBER;
hash = (53 * hash) + getProtoID();
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (hasTotalCostAvg()) {
hash = (37 * hash) + TOTALCOSTAVG_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getTotalCostAvg());
}
if (hasOpenDCostAvg()) {
hash = (37 * hash) + OPENDCOSTAVG_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getOpenDCostAvg());
}
if (hasNetDelayAvg()) {
hash = (37 * hash) + NETDELAYAVG_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getNetDelayAvg());
}
if (hasIsLocalReply()) {
hash = (37 * hash) + ISLOCALREPLY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsLocalReply());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem 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.GetDelayStatistics.ReqReplyStatisticsItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem 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.GetDelayStatistics.ReqReplyStatisticsItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem 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.GetDelayStatistics.ReqReplyStatisticsItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem 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.GetDelayStatistics.ReqReplyStatisticsItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem 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.GetDelayStatistics.ReqReplyStatisticsItem 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 GetDelayStatistics.ReqReplyStatisticsItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.ReqReplyStatisticsItem)
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_ReqReplyStatisticsItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_ReqReplyStatisticsItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.class, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
protoID_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
totalCostAvg_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
openDCostAvg_ = 0F;
bitField0_ = (bitField0_ & ~0x00000008);
netDelayAvg_ = 0F;
bitField0_ = (bitField0_ & ~0x00000010);
isLocalReply_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_ReqReplyStatisticsItem_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem build() {
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem result = new com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.protoID_ = protoID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.count_ = count_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.totalCostAvg_ = totalCostAvg_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.openDCostAvg_ = openDCostAvg_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.netDelayAvg_ = netDelayAvg_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.isLocalReply_ = isLocalReply_;
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.GetDelayStatistics.ReqReplyStatisticsItem) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.getDefaultInstance()) return this;
if (other.hasProtoID()) {
setProtoID(other.getProtoID());
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (other.hasTotalCostAvg()) {
setTotalCostAvg(other.getTotalCostAvg());
}
if (other.hasOpenDCostAvg()) {
setOpenDCostAvg(other.getOpenDCostAvg());
}
if (other.hasNetDelayAvg()) {
setNetDelayAvg(other.getNetDelayAvg());
}
if (other.hasIsLocalReply()) {
setIsLocalReply(other.getIsLocalReply());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasProtoID()) {
return false;
}
if (!hasCount()) {
return false;
}
if (!hasTotalCostAvg()) {
return false;
}
if (!hasOpenDCostAvg()) {
return false;
}
if (!hasNetDelayAvg()) {
return false;
}
if (!hasIsLocalReply()) {
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.GetDelayStatistics.ReqReplyStatisticsItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int protoID_ ;
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
public boolean hasProtoID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
public int getProtoID() {
return protoID_;
}
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
public Builder setProtoID(int value) {
bitField0_ |= 0x00000001;
protoID_ = value;
onChanged();
return this;
}
/**
*
*协议ID
*
*
* required int32 protoID = 1;
*/
public Builder clearProtoID() {
bitField0_ = (bitField0_ & ~0x00000001);
protoID_ = 0;
onChanged();
return this;
}
private int count_ ;
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
public boolean hasCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
public int getCount() {
return count_;
}
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000002;
count_ = value;
onChanged();
return this;
}
/**
*
*请求个数
*
*
* required int32 count = 2;
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0;
onChanged();
return this;
}
private float totalCostAvg_ ;
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
public boolean hasTotalCostAvg() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
public float getTotalCostAvg() {
return totalCostAvg_;
}
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
public Builder setTotalCostAvg(float value) {
bitField0_ |= 0x00000004;
totalCostAvg_ = value;
onChanged();
return this;
}
/**
*
*平均总耗时,毫秒单位
*
*
* required float totalCostAvg = 3;
*/
public Builder clearTotalCostAvg() {
bitField0_ = (bitField0_ & ~0x00000004);
totalCostAvg_ = 0F;
onChanged();
return this;
}
private float openDCostAvg_ ;
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
public boolean hasOpenDCostAvg() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
public float getOpenDCostAvg() {
return openDCostAvg_;
}
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
public Builder setOpenDCostAvg(float value) {
bitField0_ |= 0x00000008;
openDCostAvg_ = value;
onChanged();
return this;
}
/**
*
*平均OpenD耗时,毫秒单位
*
*
* required float openDCostAvg = 4;
*/
public Builder clearOpenDCostAvg() {
bitField0_ = (bitField0_ & ~0x00000008);
openDCostAvg_ = 0F;
onChanged();
return this;
}
private float netDelayAvg_ ;
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
public boolean hasNetDelayAvg() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
public float getNetDelayAvg() {
return netDelayAvg_;
}
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
public Builder setNetDelayAvg(float value) {
bitField0_ |= 0x00000010;
netDelayAvg_ = value;
onChanged();
return this;
}
/**
*
*平均网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelayAvg = 5;
*/
public Builder clearNetDelayAvg() {
bitField0_ = (bitField0_ & ~0x00000010);
netDelayAvg_ = 0F;
onChanged();
return this;
}
private boolean isLocalReply_ ;
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
public boolean hasIsLocalReply() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
public boolean getIsLocalReply() {
return isLocalReply_;
}
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
public Builder setIsLocalReply(boolean value) {
bitField0_ |= 0x00000020;
isLocalReply_ = value;
onChanged();
return this;
}
/**
*
*是否本地直接回包,没有向服务器请求数据
*
*
* required bool isLocalReply = 6;
*/
public Builder clearIsLocalReply() {
bitField0_ = (bitField0_ & ~0x00000020);
isLocalReply_ = 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:GetDelayStatistics.ReqReplyStatisticsItem)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.ReqReplyStatisticsItem)
private static final com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ReqReplyStatisticsItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReqReplyStatisticsItem(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.GetDelayStatistics.ReqReplyStatisticsItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PlaceOrderStatisticsItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.PlaceOrderStatisticsItem)
com.google.protobuf.MessageOrBuilder {
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
boolean hasOrderID();
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
java.lang.String getOrderID();
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
com.google.protobuf.ByteString
getOrderIDBytes();
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
boolean hasTotalCost();
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
float getTotalCost();
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
boolean hasOpenDCost();
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
float getOpenDCost();
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
boolean hasNetDelay();
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
float getNetDelay();
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
boolean hasUpdateCost();
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
float getUpdateCost();
}
/**
* Protobuf type {@code GetDelayStatistics.PlaceOrderStatisticsItem}
*/
public static final class PlaceOrderStatisticsItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.PlaceOrderStatisticsItem)
PlaceOrderStatisticsItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use PlaceOrderStatisticsItem.newBuilder() to construct.
private PlaceOrderStatisticsItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PlaceOrderStatisticsItem() {
orderID_ = "";
totalCost_ = 0F;
openDCost_ = 0F;
netDelay_ = 0F;
updateCost_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PlaceOrderStatisticsItem(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
orderID_ = bs;
break;
}
case 21: {
bitField0_ |= 0x00000002;
totalCost_ = input.readFloat();
break;
}
case 29: {
bitField0_ |= 0x00000004;
openDCost_ = input.readFloat();
break;
}
case 37: {
bitField0_ |= 0x00000008;
netDelay_ = input.readFloat();
break;
}
case 45: {
bitField0_ |= 0x00000010;
updateCost_ = input.readFloat();
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.GetDelayStatistics.internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.class, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder.class);
}
private int bitField0_;
public static final int ORDERID_FIELD_NUMBER = 1;
private volatile java.lang.Object orderID_;
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public boolean hasOrderID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public java.lang.String getOrderID() {
java.lang.Object ref = orderID_;
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()) {
orderID_ = s;
}
return s;
}
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public com.google.protobuf.ByteString
getOrderIDBytes() {
java.lang.Object ref = orderID_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
orderID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOTALCOST_FIELD_NUMBER = 2;
private float totalCost_;
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
public boolean hasTotalCost() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
public float getTotalCost() {
return totalCost_;
}
public static final int OPENDCOST_FIELD_NUMBER = 3;
private float openDCost_;
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
public boolean hasOpenDCost() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
public float getOpenDCost() {
return openDCost_;
}
public static final int NETDELAY_FIELD_NUMBER = 4;
private float netDelay_;
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
public boolean hasNetDelay() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
public float getNetDelay() {
return netDelay_;
}
public static final int UPDATECOST_FIELD_NUMBER = 5;
private float updateCost_;
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
public boolean hasUpdateCost() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
public float getUpdateCost() {
return updateCost_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasOrderID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTotalCost()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasOpenDCost()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasNetDelay()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasUpdateCost()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFloat(2, totalCost_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, openDCost_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFloat(4, netDelay_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeFloat(5, updateCost_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderID_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, totalCost_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, openDCost_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, netDelay_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(5, updateCost_);
}
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.GetDelayStatistics.PlaceOrderStatisticsItem)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem other = (com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem) obj;
boolean result = true;
result = result && (hasOrderID() == other.hasOrderID());
if (hasOrderID()) {
result = result && getOrderID()
.equals(other.getOrderID());
}
result = result && (hasTotalCost() == other.hasTotalCost());
if (hasTotalCost()) {
result = result && (
java.lang.Float.floatToIntBits(getTotalCost())
== java.lang.Float.floatToIntBits(
other.getTotalCost()));
}
result = result && (hasOpenDCost() == other.hasOpenDCost());
if (hasOpenDCost()) {
result = result && (
java.lang.Float.floatToIntBits(getOpenDCost())
== java.lang.Float.floatToIntBits(
other.getOpenDCost()));
}
result = result && (hasNetDelay() == other.hasNetDelay());
if (hasNetDelay()) {
result = result && (
java.lang.Float.floatToIntBits(getNetDelay())
== java.lang.Float.floatToIntBits(
other.getNetDelay()));
}
result = result && (hasUpdateCost() == other.hasUpdateCost());
if (hasUpdateCost()) {
result = result && (
java.lang.Float.floatToIntBits(getUpdateCost())
== java.lang.Float.floatToIntBits(
other.getUpdateCost()));
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOrderID()) {
hash = (37 * hash) + ORDERID_FIELD_NUMBER;
hash = (53 * hash) + getOrderID().hashCode();
}
if (hasTotalCost()) {
hash = (37 * hash) + TOTALCOST_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getTotalCost());
}
if (hasOpenDCost()) {
hash = (37 * hash) + OPENDCOST_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getOpenDCost());
}
if (hasNetDelay()) {
hash = (37 * hash) + NETDELAY_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getNetDelay());
}
if (hasUpdateCost()) {
hash = (37 * hash) + UPDATECOST_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getUpdateCost());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem 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.GetDelayStatistics.PlaceOrderStatisticsItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem 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.GetDelayStatistics.PlaceOrderStatisticsItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem 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.GetDelayStatistics.PlaceOrderStatisticsItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem 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.GetDelayStatistics.PlaceOrderStatisticsItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem 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.GetDelayStatistics.PlaceOrderStatisticsItem 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 GetDelayStatistics.PlaceOrderStatisticsItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.PlaceOrderStatisticsItem)
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.class, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
orderID_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
totalCost_ = 0F;
bitField0_ = (bitField0_ & ~0x00000002);
openDCost_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
netDelay_ = 0F;
bitField0_ = (bitField0_ & ~0x00000008);
updateCost_ = 0F;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem build() {
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem result = new com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.orderID_ = orderID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.totalCost_ = totalCost_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.openDCost_ = openDCost_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.netDelay_ = netDelay_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.updateCost_ = updateCost_;
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.GetDelayStatistics.PlaceOrderStatisticsItem) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.getDefaultInstance()) return this;
if (other.hasOrderID()) {
bitField0_ |= 0x00000001;
orderID_ = other.orderID_;
onChanged();
}
if (other.hasTotalCost()) {
setTotalCost(other.getTotalCost());
}
if (other.hasOpenDCost()) {
setOpenDCost(other.getOpenDCost());
}
if (other.hasNetDelay()) {
setNetDelay(other.getNetDelay());
}
if (other.hasUpdateCost()) {
setUpdateCost(other.getUpdateCost());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasOrderID()) {
return false;
}
if (!hasTotalCost()) {
return false;
}
if (!hasOpenDCost()) {
return false;
}
if (!hasNetDelay()) {
return false;
}
if (!hasUpdateCost()) {
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.GetDelayStatistics.PlaceOrderStatisticsItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object orderID_ = "";
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public boolean hasOrderID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public java.lang.String getOrderID() {
java.lang.Object ref = orderID_;
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()) {
orderID_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public com.google.protobuf.ByteString
getOrderIDBytes() {
java.lang.Object ref = orderID_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
orderID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public Builder setOrderID(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
orderID_ = value;
onChanged();
return this;
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public Builder clearOrderID() {
bitField0_ = (bitField0_ & ~0x00000001);
orderID_ = getDefaultInstance().getOrderID();
onChanged();
return this;
}
/**
*
*订单ID
*
*
* required string orderID = 1;
*/
public Builder setOrderIDBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
orderID_ = value;
onChanged();
return this;
}
private float totalCost_ ;
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
public boolean hasTotalCost() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
public float getTotalCost() {
return totalCost_;
}
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
public Builder setTotalCost(float value) {
bitField0_ |= 0x00000002;
totalCost_ = value;
onChanged();
return this;
}
/**
*
*总耗时,毫秒单位
*
*
* required float totalCost = 2;
*/
public Builder clearTotalCost() {
bitField0_ = (bitField0_ & ~0x00000002);
totalCost_ = 0F;
onChanged();
return this;
}
private float openDCost_ ;
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
public boolean hasOpenDCost() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
public float getOpenDCost() {
return openDCost_;
}
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
public Builder setOpenDCost(float value) {
bitField0_ |= 0x00000004;
openDCost_ = value;
onChanged();
return this;
}
/**
*
*OpenD耗时,毫秒单位
*
*
* required float openDCost = 3;
*/
public Builder clearOpenDCost() {
bitField0_ = (bitField0_ & ~0x00000004);
openDCost_ = 0F;
onChanged();
return this;
}
private float netDelay_ ;
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
public boolean hasNetDelay() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
public float getNetDelay() {
return netDelay_;
}
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
public Builder setNetDelay(float value) {
bitField0_ |= 0x00000008;
netDelay_ = value;
onChanged();
return this;
}
/**
*
*网络耗时,非当时实际请求网络耗时,毫秒单位
*
*
* required float netDelay = 4;
*/
public Builder clearNetDelay() {
bitField0_ = (bitField0_ & ~0x00000008);
netDelay_ = 0F;
onChanged();
return this;
}
private float updateCost_ ;
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
public boolean hasUpdateCost() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
public float getUpdateCost() {
return updateCost_;
}
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
public Builder setUpdateCost(float value) {
bitField0_ |= 0x00000010;
updateCost_ = value;
onChanged();
return this;
}
/**
*
*订单回包后到接收到订单下到交易所的耗时,毫秒单位
*
*
* required float updateCost = 5;
*/
public Builder clearUpdateCost() {
bitField0_ = (bitField0_ & ~0x00000010);
updateCost_ = 0F;
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:GetDelayStatistics.PlaceOrderStatisticsItem)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.PlaceOrderStatisticsItem)
private static final com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PlaceOrderStatisticsItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PlaceOrderStatisticsItem(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.GetDelayStatistics.PlaceOrderStatisticsItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface S2COrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.S2C)
com.google.protobuf.MessageOrBuilder {
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
java.util.List
getQotPushStatisticsListList();
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics getQotPushStatisticsList(int index);
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
int getQotPushStatisticsListCount();
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder>
getQotPushStatisticsListOrBuilderList();
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder getQotPushStatisticsListOrBuilder(
int index);
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
java.util.List
getReqReplyStatisticsListList();
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem getReqReplyStatisticsList(int index);
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
int getReqReplyStatisticsListCount();
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder>
getReqReplyStatisticsListOrBuilderList();
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder getReqReplyStatisticsListOrBuilder(
int index);
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
java.util.List
getPlaceOrderStatisticsListList();
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem getPlaceOrderStatisticsList(int index);
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
int getPlaceOrderStatisticsListCount();
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder>
getPlaceOrderStatisticsListOrBuilderList();
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder getPlaceOrderStatisticsListOrBuilder(
int index);
}
/**
* Protobuf type {@code GetDelayStatistics.S2C}
*/
public static final class S2C extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.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() {
qotPushStatisticsList_ = java.util.Collections.emptyList();
reqReplyStatisticsList_ = java.util.Collections.emptyList();
placeOrderStatisticsList_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private S2C(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
qotPushStatisticsList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
qotPushStatisticsList_.add(
input.readMessage(com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.PARSER, extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
reqReplyStatisticsList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
reqReplyStatisticsList_.add(
input.readMessage(com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.PARSER, extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
placeOrderStatisticsList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
placeOrderStatisticsList_.add(
input.readMessage(com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
qotPushStatisticsList_ = java.util.Collections.unmodifiableList(qotPushStatisticsList_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
reqReplyStatisticsList_ = java.util.Collections.unmodifiableList(reqReplyStatisticsList_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
placeOrderStatisticsList_ = java.util.Collections.unmodifiableList(placeOrderStatisticsList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_S2C_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_S2C_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.S2C.class, com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder.class);
}
public static final int QOTPUSHSTATISTICSLIST_FIELD_NUMBER = 1;
private java.util.List qotPushStatisticsList_;
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public java.util.List getQotPushStatisticsListList() {
return qotPushStatisticsList_;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder>
getQotPushStatisticsListOrBuilderList() {
return qotPushStatisticsList_;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public int getQotPushStatisticsListCount() {
return qotPushStatisticsList_.size();
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics getQotPushStatisticsList(int index) {
return qotPushStatisticsList_.get(index);
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder getQotPushStatisticsListOrBuilder(
int index) {
return qotPushStatisticsList_.get(index);
}
public static final int REQREPLYSTATISTICSLIST_FIELD_NUMBER = 2;
private java.util.List reqReplyStatisticsList_;
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public java.util.List getReqReplyStatisticsListList() {
return reqReplyStatisticsList_;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder>
getReqReplyStatisticsListOrBuilderList() {
return reqReplyStatisticsList_;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public int getReqReplyStatisticsListCount() {
return reqReplyStatisticsList_.size();
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem getReqReplyStatisticsList(int index) {
return reqReplyStatisticsList_.get(index);
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder getReqReplyStatisticsListOrBuilder(
int index) {
return reqReplyStatisticsList_.get(index);
}
public static final int PLACEORDERSTATISTICSLIST_FIELD_NUMBER = 3;
private java.util.List placeOrderStatisticsList_;
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public java.util.List getPlaceOrderStatisticsListList() {
return placeOrderStatisticsList_;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder>
getPlaceOrderStatisticsListOrBuilderList() {
return placeOrderStatisticsList_;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public int getPlaceOrderStatisticsListCount() {
return placeOrderStatisticsList_.size();
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem getPlaceOrderStatisticsList(int index) {
return placeOrderStatisticsList_.get(index);
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder getPlaceOrderStatisticsListOrBuilder(
int index) {
return placeOrderStatisticsList_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getQotPushStatisticsListCount(); i++) {
if (!getQotPushStatisticsList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getReqReplyStatisticsListCount(); i++) {
if (!getReqReplyStatisticsList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getPlaceOrderStatisticsListCount(); i++) {
if (!getPlaceOrderStatisticsList(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < qotPushStatisticsList_.size(); i++) {
output.writeMessage(1, qotPushStatisticsList_.get(i));
}
for (int i = 0; i < reqReplyStatisticsList_.size(); i++) {
output.writeMessage(2, reqReplyStatisticsList_.get(i));
}
for (int i = 0; i < placeOrderStatisticsList_.size(); i++) {
output.writeMessage(3, placeOrderStatisticsList_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < qotPushStatisticsList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, qotPushStatisticsList_.get(i));
}
for (int i = 0; i < reqReplyStatisticsList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, reqReplyStatisticsList_.get(i));
}
for (int i = 0; i < placeOrderStatisticsList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, placeOrderStatisticsList_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.moomoo.openapi.pb.GetDelayStatistics.S2C)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.S2C other = (com.moomoo.openapi.pb.GetDelayStatistics.S2C) obj;
boolean result = true;
result = result && getQotPushStatisticsListList()
.equals(other.getQotPushStatisticsListList());
result = result && getReqReplyStatisticsListList()
.equals(other.getReqReplyStatisticsListList());
result = result && getPlaceOrderStatisticsListList()
.equals(other.getPlaceOrderStatisticsListList());
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 (getQotPushStatisticsListCount() > 0) {
hash = (37 * hash) + QOTPUSHSTATISTICSLIST_FIELD_NUMBER;
hash = (53 * hash) + getQotPushStatisticsListList().hashCode();
}
if (getReqReplyStatisticsListCount() > 0) {
hash = (37 * hash) + REQREPLYSTATISTICSLIST_FIELD_NUMBER;
hash = (53 * hash) + getReqReplyStatisticsListList().hashCode();
}
if (getPlaceOrderStatisticsListCount() > 0) {
hash = (37 * hash) + PLACEORDERSTATISTICSLIST_FIELD_NUMBER;
hash = (53 * hash) + getPlaceOrderStatisticsListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.GetDelayStatistics.S2C parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.S2C parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.S2C parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.S2C parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.S2C parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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 GetDelayStatistics.S2C}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.S2C)
com.moomoo.openapi.pb.GetDelayStatistics.S2COrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_S2C_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_S2C_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.S2C.class, com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.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) {
getQotPushStatisticsListFieldBuilder();
getReqReplyStatisticsListFieldBuilder();
getPlaceOrderStatisticsListFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (qotPushStatisticsListBuilder_ == null) {
qotPushStatisticsList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
qotPushStatisticsListBuilder_.clear();
}
if (reqReplyStatisticsListBuilder_ == null) {
reqReplyStatisticsList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
reqReplyStatisticsListBuilder_.clear();
}
if (placeOrderStatisticsListBuilder_ == null) {
placeOrderStatisticsList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
placeOrderStatisticsListBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_S2C_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.S2C getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.S2C.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.S2C build() {
com.moomoo.openapi.pb.GetDelayStatistics.S2C result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.S2C buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.S2C result = new com.moomoo.openapi.pb.GetDelayStatistics.S2C(this);
int from_bitField0_ = bitField0_;
if (qotPushStatisticsListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
qotPushStatisticsList_ = java.util.Collections.unmodifiableList(qotPushStatisticsList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.qotPushStatisticsList_ = qotPushStatisticsList_;
} else {
result.qotPushStatisticsList_ = qotPushStatisticsListBuilder_.build();
}
if (reqReplyStatisticsListBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
reqReplyStatisticsList_ = java.util.Collections.unmodifiableList(reqReplyStatisticsList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.reqReplyStatisticsList_ = reqReplyStatisticsList_;
} else {
result.reqReplyStatisticsList_ = reqReplyStatisticsListBuilder_.build();
}
if (placeOrderStatisticsListBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
placeOrderStatisticsList_ = java.util.Collections.unmodifiableList(placeOrderStatisticsList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.placeOrderStatisticsList_ = placeOrderStatisticsList_;
} else {
result.placeOrderStatisticsList_ = placeOrderStatisticsListBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.moomoo.openapi.pb.GetDelayStatistics.S2C) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.S2C)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.S2C other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.S2C.getDefaultInstance()) return this;
if (qotPushStatisticsListBuilder_ == null) {
if (!other.qotPushStatisticsList_.isEmpty()) {
if (qotPushStatisticsList_.isEmpty()) {
qotPushStatisticsList_ = other.qotPushStatisticsList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.addAll(other.qotPushStatisticsList_);
}
onChanged();
}
} else {
if (!other.qotPushStatisticsList_.isEmpty()) {
if (qotPushStatisticsListBuilder_.isEmpty()) {
qotPushStatisticsListBuilder_.dispose();
qotPushStatisticsListBuilder_ = null;
qotPushStatisticsList_ = other.qotPushStatisticsList_;
bitField0_ = (bitField0_ & ~0x00000001);
qotPushStatisticsListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getQotPushStatisticsListFieldBuilder() : null;
} else {
qotPushStatisticsListBuilder_.addAllMessages(other.qotPushStatisticsList_);
}
}
}
if (reqReplyStatisticsListBuilder_ == null) {
if (!other.reqReplyStatisticsList_.isEmpty()) {
if (reqReplyStatisticsList_.isEmpty()) {
reqReplyStatisticsList_ = other.reqReplyStatisticsList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.addAll(other.reqReplyStatisticsList_);
}
onChanged();
}
} else {
if (!other.reqReplyStatisticsList_.isEmpty()) {
if (reqReplyStatisticsListBuilder_.isEmpty()) {
reqReplyStatisticsListBuilder_.dispose();
reqReplyStatisticsListBuilder_ = null;
reqReplyStatisticsList_ = other.reqReplyStatisticsList_;
bitField0_ = (bitField0_ & ~0x00000002);
reqReplyStatisticsListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getReqReplyStatisticsListFieldBuilder() : null;
} else {
reqReplyStatisticsListBuilder_.addAllMessages(other.reqReplyStatisticsList_);
}
}
}
if (placeOrderStatisticsListBuilder_ == null) {
if (!other.placeOrderStatisticsList_.isEmpty()) {
if (placeOrderStatisticsList_.isEmpty()) {
placeOrderStatisticsList_ = other.placeOrderStatisticsList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.addAll(other.placeOrderStatisticsList_);
}
onChanged();
}
} else {
if (!other.placeOrderStatisticsList_.isEmpty()) {
if (placeOrderStatisticsListBuilder_.isEmpty()) {
placeOrderStatisticsListBuilder_.dispose();
placeOrderStatisticsListBuilder_ = null;
placeOrderStatisticsList_ = other.placeOrderStatisticsList_;
bitField0_ = (bitField0_ & ~0x00000004);
placeOrderStatisticsListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPlaceOrderStatisticsListFieldBuilder() : null;
} else {
placeOrderStatisticsListBuilder_.addAllMessages(other.placeOrderStatisticsList_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getQotPushStatisticsListCount(); i++) {
if (!getQotPushStatisticsList(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getReqReplyStatisticsListCount(); i++) {
if (!getReqReplyStatisticsList(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getPlaceOrderStatisticsListCount(); i++) {
if (!getPlaceOrderStatisticsList(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.GetDelayStatistics.S2C parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.S2C) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List qotPushStatisticsList_ =
java.util.Collections.emptyList();
private void ensureQotPushStatisticsListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
qotPushStatisticsList_ = new java.util.ArrayList(qotPushStatisticsList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder> qotPushStatisticsListBuilder_;
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public java.util.List getQotPushStatisticsListList() {
if (qotPushStatisticsListBuilder_ == null) {
return java.util.Collections.unmodifiableList(qotPushStatisticsList_);
} else {
return qotPushStatisticsListBuilder_.getMessageList();
}
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public int getQotPushStatisticsListCount() {
if (qotPushStatisticsListBuilder_ == null) {
return qotPushStatisticsList_.size();
} else {
return qotPushStatisticsListBuilder_.getCount();
}
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics getQotPushStatisticsList(int index) {
if (qotPushStatisticsListBuilder_ == null) {
return qotPushStatisticsList_.get(index);
} else {
return qotPushStatisticsListBuilder_.getMessage(index);
}
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder setQotPushStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics value) {
if (qotPushStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.set(index, value);
onChanged();
} else {
qotPushStatisticsListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder setQotPushStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder builderForValue) {
if (qotPushStatisticsListBuilder_ == null) {
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.set(index, builderForValue.build());
onChanged();
} else {
qotPushStatisticsListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder addQotPushStatisticsList(com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics value) {
if (qotPushStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.add(value);
onChanged();
} else {
qotPushStatisticsListBuilder_.addMessage(value);
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder addQotPushStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics value) {
if (qotPushStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.add(index, value);
onChanged();
} else {
qotPushStatisticsListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder addQotPushStatisticsList(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder builderForValue) {
if (qotPushStatisticsListBuilder_ == null) {
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.add(builderForValue.build());
onChanged();
} else {
qotPushStatisticsListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder addQotPushStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder builderForValue) {
if (qotPushStatisticsListBuilder_ == null) {
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.add(index, builderForValue.build());
onChanged();
} else {
qotPushStatisticsListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder addAllQotPushStatisticsList(
java.lang.Iterable extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics> values) {
if (qotPushStatisticsListBuilder_ == null) {
ensureQotPushStatisticsListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, qotPushStatisticsList_);
onChanged();
} else {
qotPushStatisticsListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder clearQotPushStatisticsList() {
if (qotPushStatisticsListBuilder_ == null) {
qotPushStatisticsList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
qotPushStatisticsListBuilder_.clear();
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public Builder removeQotPushStatisticsList(int index) {
if (qotPushStatisticsListBuilder_ == null) {
ensureQotPushStatisticsListIsMutable();
qotPushStatisticsList_.remove(index);
onChanged();
} else {
qotPushStatisticsListBuilder_.remove(index);
}
return this;
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder getQotPushStatisticsListBuilder(
int index) {
return getQotPushStatisticsListFieldBuilder().getBuilder(index);
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder getQotPushStatisticsListOrBuilder(
int index) {
if (qotPushStatisticsListBuilder_ == null) {
return qotPushStatisticsList_.get(index); } else {
return qotPushStatisticsListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder>
getQotPushStatisticsListOrBuilderList() {
if (qotPushStatisticsListBuilder_ != null) {
return qotPushStatisticsListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(qotPushStatisticsList_);
}
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder addQotPushStatisticsListBuilder() {
return getQotPushStatisticsListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.getDefaultInstance());
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder addQotPushStatisticsListBuilder(
int index) {
return getQotPushStatisticsListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.getDefaultInstance());
}
/**
*
*行情推送延迟统计
*
*
* repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
*/
public java.util.List
getQotPushStatisticsListBuilderList() {
return getQotPushStatisticsListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder>
getQotPushStatisticsListFieldBuilder() {
if (qotPushStatisticsListBuilder_ == null) {
qotPushStatisticsListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatistics.Builder, com.moomoo.openapi.pb.GetDelayStatistics.DelayStatisticsOrBuilder>(
qotPushStatisticsList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
qotPushStatisticsList_ = null;
}
return qotPushStatisticsListBuilder_;
}
private java.util.List reqReplyStatisticsList_ =
java.util.Collections.emptyList();
private void ensureReqReplyStatisticsListIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
reqReplyStatisticsList_ = new java.util.ArrayList(reqReplyStatisticsList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder> reqReplyStatisticsListBuilder_;
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public java.util.List getReqReplyStatisticsListList() {
if (reqReplyStatisticsListBuilder_ == null) {
return java.util.Collections.unmodifiableList(reqReplyStatisticsList_);
} else {
return reqReplyStatisticsListBuilder_.getMessageList();
}
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public int getReqReplyStatisticsListCount() {
if (reqReplyStatisticsListBuilder_ == null) {
return reqReplyStatisticsList_.size();
} else {
return reqReplyStatisticsListBuilder_.getCount();
}
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem getReqReplyStatisticsList(int index) {
if (reqReplyStatisticsListBuilder_ == null) {
return reqReplyStatisticsList_.get(index);
} else {
return reqReplyStatisticsListBuilder_.getMessage(index);
}
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder setReqReplyStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem value) {
if (reqReplyStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.set(index, value);
onChanged();
} else {
reqReplyStatisticsListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder setReqReplyStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder builderForValue) {
if (reqReplyStatisticsListBuilder_ == null) {
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.set(index, builderForValue.build());
onChanged();
} else {
reqReplyStatisticsListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder addReqReplyStatisticsList(com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem value) {
if (reqReplyStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.add(value);
onChanged();
} else {
reqReplyStatisticsListBuilder_.addMessage(value);
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder addReqReplyStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem value) {
if (reqReplyStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.add(index, value);
onChanged();
} else {
reqReplyStatisticsListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder addReqReplyStatisticsList(
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder builderForValue) {
if (reqReplyStatisticsListBuilder_ == null) {
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.add(builderForValue.build());
onChanged();
} else {
reqReplyStatisticsListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder addReqReplyStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder builderForValue) {
if (reqReplyStatisticsListBuilder_ == null) {
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.add(index, builderForValue.build());
onChanged();
} else {
reqReplyStatisticsListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder addAllReqReplyStatisticsList(
java.lang.Iterable extends com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem> values) {
if (reqReplyStatisticsListBuilder_ == null) {
ensureReqReplyStatisticsListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, reqReplyStatisticsList_);
onChanged();
} else {
reqReplyStatisticsListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder clearReqReplyStatisticsList() {
if (reqReplyStatisticsListBuilder_ == null) {
reqReplyStatisticsList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
reqReplyStatisticsListBuilder_.clear();
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public Builder removeReqReplyStatisticsList(int index) {
if (reqReplyStatisticsListBuilder_ == null) {
ensureReqReplyStatisticsListIsMutable();
reqReplyStatisticsList_.remove(index);
onChanged();
} else {
reqReplyStatisticsListBuilder_.remove(index);
}
return this;
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder getReqReplyStatisticsListBuilder(
int index) {
return getReqReplyStatisticsListFieldBuilder().getBuilder(index);
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder getReqReplyStatisticsListOrBuilder(
int index) {
if (reqReplyStatisticsListBuilder_ == null) {
return reqReplyStatisticsList_.get(index); } else {
return reqReplyStatisticsListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder>
getReqReplyStatisticsListOrBuilderList() {
if (reqReplyStatisticsListBuilder_ != null) {
return reqReplyStatisticsListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(reqReplyStatisticsList_);
}
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder addReqReplyStatisticsListBuilder() {
return getReqReplyStatisticsListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.getDefaultInstance());
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder addReqReplyStatisticsListBuilder(
int index) {
return getReqReplyStatisticsListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.getDefaultInstance());
}
/**
*
*请求延迟统计
*
*
* repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
*/
public java.util.List
getReqReplyStatisticsListBuilderList() {
return getReqReplyStatisticsListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder>
getReqReplyStatisticsListFieldBuilder() {
if (reqReplyStatisticsListBuilder_ == null) {
reqReplyStatisticsListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.ReqReplyStatisticsItemOrBuilder>(
reqReplyStatisticsList_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
reqReplyStatisticsList_ = null;
}
return reqReplyStatisticsListBuilder_;
}
private java.util.List placeOrderStatisticsList_ =
java.util.Collections.emptyList();
private void ensurePlaceOrderStatisticsListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
placeOrderStatisticsList_ = new java.util.ArrayList(placeOrderStatisticsList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder> placeOrderStatisticsListBuilder_;
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public java.util.List getPlaceOrderStatisticsListList() {
if (placeOrderStatisticsListBuilder_ == null) {
return java.util.Collections.unmodifiableList(placeOrderStatisticsList_);
} else {
return placeOrderStatisticsListBuilder_.getMessageList();
}
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public int getPlaceOrderStatisticsListCount() {
if (placeOrderStatisticsListBuilder_ == null) {
return placeOrderStatisticsList_.size();
} else {
return placeOrderStatisticsListBuilder_.getCount();
}
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem getPlaceOrderStatisticsList(int index) {
if (placeOrderStatisticsListBuilder_ == null) {
return placeOrderStatisticsList_.get(index);
} else {
return placeOrderStatisticsListBuilder_.getMessage(index);
}
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder setPlaceOrderStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem value) {
if (placeOrderStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.set(index, value);
onChanged();
} else {
placeOrderStatisticsListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder setPlaceOrderStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder builderForValue) {
if (placeOrderStatisticsListBuilder_ == null) {
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.set(index, builderForValue.build());
onChanged();
} else {
placeOrderStatisticsListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder addPlaceOrderStatisticsList(com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem value) {
if (placeOrderStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.add(value);
onChanged();
} else {
placeOrderStatisticsListBuilder_.addMessage(value);
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder addPlaceOrderStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem value) {
if (placeOrderStatisticsListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.add(index, value);
onChanged();
} else {
placeOrderStatisticsListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder addPlaceOrderStatisticsList(
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder builderForValue) {
if (placeOrderStatisticsListBuilder_ == null) {
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.add(builderForValue.build());
onChanged();
} else {
placeOrderStatisticsListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder addPlaceOrderStatisticsList(
int index, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder builderForValue) {
if (placeOrderStatisticsListBuilder_ == null) {
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.add(index, builderForValue.build());
onChanged();
} else {
placeOrderStatisticsListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder addAllPlaceOrderStatisticsList(
java.lang.Iterable extends com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem> values) {
if (placeOrderStatisticsListBuilder_ == null) {
ensurePlaceOrderStatisticsListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, placeOrderStatisticsList_);
onChanged();
} else {
placeOrderStatisticsListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder clearPlaceOrderStatisticsList() {
if (placeOrderStatisticsListBuilder_ == null) {
placeOrderStatisticsList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
placeOrderStatisticsListBuilder_.clear();
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public Builder removePlaceOrderStatisticsList(int index) {
if (placeOrderStatisticsListBuilder_ == null) {
ensurePlaceOrderStatisticsListIsMutable();
placeOrderStatisticsList_.remove(index);
onChanged();
} else {
placeOrderStatisticsListBuilder_.remove(index);
}
return this;
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder getPlaceOrderStatisticsListBuilder(
int index) {
return getPlaceOrderStatisticsListFieldBuilder().getBuilder(index);
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder getPlaceOrderStatisticsListOrBuilder(
int index) {
if (placeOrderStatisticsListBuilder_ == null) {
return placeOrderStatisticsList_.get(index); } else {
return placeOrderStatisticsListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public java.util.List extends com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder>
getPlaceOrderStatisticsListOrBuilderList() {
if (placeOrderStatisticsListBuilder_ != null) {
return placeOrderStatisticsListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(placeOrderStatisticsList_);
}
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder addPlaceOrderStatisticsListBuilder() {
return getPlaceOrderStatisticsListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.getDefaultInstance());
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder addPlaceOrderStatisticsListBuilder(
int index) {
return getPlaceOrderStatisticsListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.getDefaultInstance());
}
/**
*
*下单延迟统计
*
*
* repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
*/
public java.util.List
getPlaceOrderStatisticsListBuilderList() {
return getPlaceOrderStatisticsListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder>
getPlaceOrderStatisticsListFieldBuilder() {
if (placeOrderStatisticsListBuilder_ == null) {
placeOrderStatisticsListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItem.Builder, com.moomoo.openapi.pb.GetDelayStatistics.PlaceOrderStatisticsItemOrBuilder>(
placeOrderStatisticsList_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
placeOrderStatisticsList_ = null;
}
return placeOrderStatisticsListBuilder_;
}
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:GetDelayStatistics.S2C)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.S2C)
private static final com.moomoo.openapi.pb.GetDelayStatistics.S2C DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.S2C();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.S2C getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.Request)
com.google.protobuf.MessageOrBuilder {
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
boolean hasC2S();
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
com.moomoo.openapi.pb.GetDelayStatistics.C2S getC2S();
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
com.moomoo.openapi.pb.GetDelayStatistics.C2SOrBuilder getC2SOrBuilder();
}
/**
* Protobuf type {@code GetDelayStatistics.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.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.GetDelayStatistics.C2S.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = c2S_.toBuilder();
}
c2S_ = input.readMessage(com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.internal_static_GetDelayStatistics_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.Request.class, com.moomoo.openapi.pb.GetDelayStatistics.Request.Builder.class);
}
private int bitField0_;
public static final int C2S_FIELD_NUMBER = 1;
private com.moomoo.openapi.pb.GetDelayStatistics.C2S c2S_;
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public boolean hasC2S() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.C2S getC2S() {
return c2S_ == null ? com.moomoo.openapi.pb.GetDelayStatistics.C2S.getDefaultInstance() : c2S_;
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.C2SOrBuilder getC2SOrBuilder() {
return c2S_ == null ? com.moomoo.openapi.pb.GetDelayStatistics.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;
}
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.GetDelayStatistics.Request)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.Request other = (com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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 GetDelayStatistics.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.Request)
com.moomoo.openapi.pb.GetDelayStatistics.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.Request.class, com.moomoo.openapi.pb.GetDelayStatistics.Request.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.internal_static_GetDelayStatistics_Request_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.Request getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.Request.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.Request build() {
com.moomoo.openapi.pb.GetDelayStatistics.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.Request buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.Request result = new com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.Request other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.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;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.GetDelayStatistics.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.moomoo.openapi.pb.GetDelayStatistics.C2S c2S_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.C2S, com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder, com.moomoo.openapi.pb.GetDelayStatistics.C2SOrBuilder> c2SBuilder_;
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public boolean hasC2S() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.C2S getC2S() {
if (c2SBuilder_ == null) {
return c2S_ == null ? com.moomoo.openapi.pb.GetDelayStatistics.C2S.getDefaultInstance() : c2S_;
} else {
return c2SBuilder_.getMessage();
}
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public Builder setC2S(com.moomoo.openapi.pb.GetDelayStatistics.C2S value) {
if (c2SBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
c2S_ = value;
onChanged();
} else {
c2SBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public Builder setC2S(
com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder builderForValue) {
if (c2SBuilder_ == null) {
c2S_ = builderForValue.build();
onChanged();
} else {
c2SBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public Builder mergeC2S(com.moomoo.openapi.pb.GetDelayStatistics.C2S value) {
if (c2SBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
c2S_ != null &&
c2S_ != com.moomoo.openapi.pb.GetDelayStatistics.C2S.getDefaultInstance()) {
c2S_ =
com.moomoo.openapi.pb.GetDelayStatistics.C2S.newBuilder(c2S_).mergeFrom(value).buildPartial();
} else {
c2S_ = value;
}
onChanged();
} else {
c2SBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public Builder clearC2S() {
if (c2SBuilder_ == null) {
c2S_ = null;
onChanged();
} else {
c2SBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder getC2SBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getC2SFieldBuilder().getBuilder();
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.C2SOrBuilder getC2SOrBuilder() {
if (c2SBuilder_ != null) {
return c2SBuilder_.getMessageOrBuilder();
} else {
return c2S_ == null ?
com.moomoo.openapi.pb.GetDelayStatistics.C2S.getDefaultInstance() : c2S_;
}
}
/**
* required .GetDelayStatistics.C2S c2s = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.C2S, com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder, com.moomoo.openapi.pb.GetDelayStatistics.C2SOrBuilder>
getC2SFieldBuilder() {
if (c2SBuilder_ == null) {
c2SBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.C2S, com.moomoo.openapi.pb.GetDelayStatistics.C2S.Builder, com.moomoo.openapi.pb.GetDelayStatistics.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:GetDelayStatistics.Request)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.Request)
private static final com.moomoo.openapi.pb.GetDelayStatistics.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.Request();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDelayStatistics.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
*返回结果,参见Common.RetType的枚举定义
*
*
* required int32 retType = 1 [default = -400];
*/
boolean hasRetType();
/**
*
*返回结果,参见Common.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();
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
boolean hasErrCode();
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
int getErrCode();
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
boolean hasS2C();
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
com.moomoo.openapi.pb.GetDelayStatistics.S2C getS2C();
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
com.moomoo.openapi.pb.GetDelayStatistics.S2COrBuilder getS2COrBuilder();
}
/**
* Protobuf type {@code GetDelayStatistics.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDelayStatistics.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.GetDelayStatistics.S2C.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = s2C_.toBuilder();
}
s2C_ = input.readMessage(com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.internal_static_GetDelayStatistics_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.Response.class, com.moomoo.openapi.pb.GetDelayStatistics.Response.Builder.class);
}
private int bitField0_;
public static final int RETTYPE_FIELD_NUMBER = 1;
private int retType_;
/**
*
*返回结果,参见Common.RetType的枚举定义
*
*
* required int32 retType = 1 [default = -400];
*/
public boolean hasRetType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*返回结果,参见Common.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_;
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
public boolean hasErrCode() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
public int getErrCode() {
return errCode_;
}
public static final int S2C_FIELD_NUMBER = 4;
private com.moomoo.openapi.pb.GetDelayStatistics.S2C s2C_;
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public boolean hasS2C() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.S2C getS2C() {
return s2C_ == null ? com.moomoo.openapi.pb.GetDelayStatistics.S2C.getDefaultInstance() : s2C_;
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.S2COrBuilder getS2COrBuilder() {
return s2C_ == null ? com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.GetDelayStatistics.Response other = (com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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.GetDelayStatistics.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 GetDelayStatistics.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDelayStatistics.Response)
com.moomoo.openapi.pb.GetDelayStatistics.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.GetDelayStatistics.internal_static_GetDelayStatistics_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.GetDelayStatistics.Response.class, com.moomoo.openapi.pb.GetDelayStatistics.Response.Builder.class);
}
// Construct using com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.internal_static_GetDelayStatistics_Response_descriptor;
}
public com.moomoo.openapi.pb.GetDelayStatistics.Response getDefaultInstanceForType() {
return com.moomoo.openapi.pb.GetDelayStatistics.Response.getDefaultInstance();
}
public com.moomoo.openapi.pb.GetDelayStatistics.Response build() {
com.moomoo.openapi.pb.GetDelayStatistics.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.GetDelayStatistics.Response buildPartial() {
com.moomoo.openapi.pb.GetDelayStatistics.Response result = new com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response) {
return mergeFrom((com.moomoo.openapi.pb.GetDelayStatistics.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.GetDelayStatistics.Response other) {
if (other == com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.GetDelayStatistics.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int retType_ = -400;
/**
*
*返回结果,参见Common.RetType的枚举定义
*
*
* required int32 retType = 1 [default = -400];
*/
public boolean hasRetType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*返回结果,参见Common.RetType的枚举定义
*
*
* required int32 retType = 1 [default = -400];
*/
public int getRetType() {
return retType_;
}
/**
*
*返回结果,参见Common.RetType的枚举定义
*
*
* required int32 retType = 1 [default = -400];
*/
public Builder setRetType(int value) {
bitField0_ |= 0x00000001;
retType_ = value;
onChanged();
return this;
}
/**
*
*返回结果,参见Common.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_ ;
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
public boolean hasErrCode() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
public int getErrCode() {
return errCode_;
}
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
public Builder setErrCode(int value) {
bitField0_ |= 0x00000004;
errCode_ = value;
onChanged();
return this;
}
/**
*
*错误码,客户端一般通过retType和retMsg来判断结果和详情,errCode只做日志记录,仅在个别协议失败时对账用
*
*
* optional int32 errCode = 3;
*/
public Builder clearErrCode() {
bitField0_ = (bitField0_ & ~0x00000004);
errCode_ = 0;
onChanged();
return this;
}
private com.moomoo.openapi.pb.GetDelayStatistics.S2C s2C_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.S2C, com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder, com.moomoo.openapi.pb.GetDelayStatistics.S2COrBuilder> s2CBuilder_;
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public boolean hasS2C() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.S2C getS2C() {
if (s2CBuilder_ == null) {
return s2C_ == null ? com.moomoo.openapi.pb.GetDelayStatistics.S2C.getDefaultInstance() : s2C_;
} else {
return s2CBuilder_.getMessage();
}
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public Builder setS2C(com.moomoo.openapi.pb.GetDelayStatistics.S2C value) {
if (s2CBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
s2C_ = value;
onChanged();
} else {
s2CBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public Builder setS2C(
com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder builderForValue) {
if (s2CBuilder_ == null) {
s2C_ = builderForValue.build();
onChanged();
} else {
s2CBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public Builder mergeS2C(com.moomoo.openapi.pb.GetDelayStatistics.S2C value) {
if (s2CBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
s2C_ != null &&
s2C_ != com.moomoo.openapi.pb.GetDelayStatistics.S2C.getDefaultInstance()) {
s2C_ =
com.moomoo.openapi.pb.GetDelayStatistics.S2C.newBuilder(s2C_).mergeFrom(value).buildPartial();
} else {
s2C_ = value;
}
onChanged();
} else {
s2CBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public Builder clearS2C() {
if (s2CBuilder_ == null) {
s2C_ = null;
onChanged();
} else {
s2CBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder getS2CBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getS2CFieldBuilder().getBuilder();
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.GetDelayStatistics.S2COrBuilder getS2COrBuilder() {
if (s2CBuilder_ != null) {
return s2CBuilder_.getMessageOrBuilder();
} else {
return s2C_ == null ?
com.moomoo.openapi.pb.GetDelayStatistics.S2C.getDefaultInstance() : s2C_;
}
}
/**
* optional .GetDelayStatistics.S2C s2c = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.S2C, com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder, com.moomoo.openapi.pb.GetDelayStatistics.S2COrBuilder>
getS2CFieldBuilder() {
if (s2CBuilder_ == null) {
s2CBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.GetDelayStatistics.S2C, com.moomoo.openapi.pb.GetDelayStatistics.S2C.Builder, com.moomoo.openapi.pb.GetDelayStatistics.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:GetDelayStatistics.Response)
}
// @@protoc_insertion_point(class_scope:GetDelayStatistics.Response)
private static final com.moomoo.openapi.pb.GetDelayStatistics.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.GetDelayStatistics.Response();
}
public static com.moomoo.openapi.pb.GetDelayStatistics.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.GetDelayStatistics.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_C2S_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_C2S_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_DelayStatisticsItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_DelayStatisticsItem_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_DelayStatistics_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_DelayStatistics_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_ReqReplyStatisticsItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_ReqReplyStatisticsItem_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_S2C_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_S2C_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_Request_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_Request_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetDelayStatistics_Response_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetDelayStatistics_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\030GetDelayStatistics.proto\022\022GetDelayStat" +
"istics\032\014Common.proto\"B\n\003C2S\022\020\n\010typeList\030" +
"\001 \003(\005\022\024\n\014qotPushStage\030\002 \001(\005\022\023\n\013segmentLi" +
"st\030\003 \003(\005\"m\n\023DelayStatisticsItem\022\r\n\005begin" +
"\030\001 \002(\005\022\013\n\003end\030\002 \002(\005\022\r\n\005count\030\003 \002(\005\022\022\n\npr" +
"oportion\030\004 \002(\002\022\027\n\017cumulativeRatio\030\005 \002(\002\"" +
"\202\001\n\017DelayStatistics\022\023\n\013qotPushType\030\001 \002(\005" +
"\0229\n\010itemList\030\002 \003(\0132\'.GetDelayStatistics." +
"DelayStatisticsItem\022\020\n\010delayAvg\030\003 \002(\002\022\r\n" +
"\005count\030\004 \002(\005\"\217\001\n\026ReqReplyStatisticsItem\022" +
"\017\n\007protoID\030\001 \002(\005\022\r\n\005count\030\002 \002(\005\022\024\n\014total" +
"CostAvg\030\003 \002(\002\022\024\n\014openDCostAvg\030\004 \002(\002\022\023\n\013n" +
"etDelayAvg\030\005 \002(\002\022\024\n\014isLocalReply\030\006 \002(\010\"w" +
"\n\030PlaceOrderStatisticsItem\022\017\n\007orderID\030\001 " +
"\002(\t\022\021\n\ttotalCost\030\002 \002(\002\022\021\n\topenDCost\030\003 \002(" +
"\002\022\020\n\010netDelay\030\004 \002(\002\022\022\n\nupdateCost\030\005 \002(\002\"" +
"\345\001\n\003S2C\022B\n\025qotPushStatisticsList\030\001 \003(\0132#" +
".GetDelayStatistics.DelayStatistics\022J\n\026r" +
"eqReplyStatisticsList\030\002 \003(\0132*.GetDelaySt" +
"atistics.ReqReplyStatisticsItem\022N\n\030place" +
"OrderStatisticsList\030\003 \003(\0132,.GetDelayStat" +
"istics.PlaceOrderStatisticsItem\"/\n\007Reque" +
"st\022$\n\003c2s\030\001 \002(\0132\027.GetDelayStatistics.C2S" +
"\"h\n\010Response\022\025\n\007retType\030\001 \002(\005:\004-400\022\016\n\006r" +
"etMsg\030\002 \001(\t\022\017\n\007errCode\030\003 \001(\005\022$\n\003s2c\030\004 \001(" +
"\0132\027.GetDelayStatistics.S2C*\234\001\n\023DelayStat" +
"isticsType\022\036\n\032DelayStatisticsType_Unkonw" +
"\020\000\022\037\n\033DelayStatisticsType_QotPush\020\001\022 \n\034D" +
"elayStatisticsType_ReqReply\020\002\022\"\n\036DelaySt" +
"atisticsType_PlaceOrder\020\003*\237\001\n\014QotPushSta" +
"ge\022\027\n\023QotPushStage_Unkonw\020\000\022\026\n\022QotPushSt" +
"age_SR2SS\020\001\022\026\n\022QotPushStage_SS2CR\020\002\022\026\n\022Q" +
"otPushStage_CR2CS\020\003\022\026\n\022QotPushStage_SS2C" +
"S\020\004\022\026\n\022QotPushStage_SR2CS\020\005*\207\001\n\013QotPushT" +
"ype\022\026\n\022QotPushType_Unkonw\020\000\022\025\n\021QotPushTy" +
"pe_Price\020\001\022\026\n\022QotPushType_Ticker\020\002\022\031\n\025Qo" +
"tPushType_OrderBook\020\003\022\026\n\022QotPushType_Bro" +
"ker\020\004BK\n\025com.moomoo.openapi.pbZ2github.c" +
"om/futuopen/ftapi4go/pb/getdelaystatisti" +
"cs"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.moomoo.openapi.pb.Common.getDescriptor(),
}, assigner);
internal_static_GetDelayStatistics_C2S_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GetDelayStatistics_C2S_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_C2S_descriptor,
new java.lang.String[] { "TypeList", "QotPushStage", "SegmentList", });
internal_static_GetDelayStatistics_DelayStatisticsItem_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_GetDelayStatistics_DelayStatisticsItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_DelayStatisticsItem_descriptor,
new java.lang.String[] { "Begin", "End", "Count", "Proportion", "CumulativeRatio", });
internal_static_GetDelayStatistics_DelayStatistics_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_GetDelayStatistics_DelayStatistics_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_DelayStatistics_descriptor,
new java.lang.String[] { "QotPushType", "ItemList", "DelayAvg", "Count", });
internal_static_GetDelayStatistics_ReqReplyStatisticsItem_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_GetDelayStatistics_ReqReplyStatisticsItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_ReqReplyStatisticsItem_descriptor,
new java.lang.String[] { "ProtoID", "Count", "TotalCostAvg", "OpenDCostAvg", "NetDelayAvg", "IsLocalReply", });
internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_PlaceOrderStatisticsItem_descriptor,
new java.lang.String[] { "OrderID", "TotalCost", "OpenDCost", "NetDelay", "UpdateCost", });
internal_static_GetDelayStatistics_S2C_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_GetDelayStatistics_S2C_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_S2C_descriptor,
new java.lang.String[] { "QotPushStatisticsList", "ReqReplyStatisticsList", "PlaceOrderStatisticsList", });
internal_static_GetDelayStatistics_Request_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_GetDelayStatistics_Request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_Request_descriptor,
new java.lang.String[] { "C2S", });
internal_static_GetDelayStatistics_Response_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_GetDelayStatistics_Response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetDelayStatistics_Response_descriptor,
new java.lang.String[] { "RetType", "RetMsg", "ErrCode", "S2C", });
com.moomoo.openapi.pb.Common.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}