com.moomoo.openapi.pb.QotGetPriceReminder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moomoo-api Show documentation
Show all versions of moomoo-api Show documentation
Moomoo OpenAPI quantitative transaction interface for Java.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Qot_GetPriceReminder.proto
package com.moomoo.openapi.pb;
public final class QotGetPriceReminder {
private QotGetPriceReminder() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PriceReminderItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_GetPriceReminder.PriceReminderItem)
com.google.protobuf.MessageOrBuilder {
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
boolean hasKey();
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
long getKey();
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
boolean hasType();
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
int getType();
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
boolean hasValue();
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
double getValue();
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
boolean hasNote();
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
java.lang.String getNote();
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
com.google.protobuf.ByteString
getNoteBytes();
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
boolean hasFreq();
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
int getFreq();
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
boolean hasIsEnable();
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
boolean getIsEnable();
}
/**
*
* 提醒信息列表
*
*
* Protobuf type {@code Qot_GetPriceReminder.PriceReminderItem}
*/
public static final class PriceReminderItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_GetPriceReminder.PriceReminderItem)
PriceReminderItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use PriceReminderItem.newBuilder() to construct.
private PriceReminderItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PriceReminderItem() {
key_ = 0L;
type_ = 0;
value_ = 0D;
note_ = "";
freq_ = 0;
isEnable_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PriceReminderItem(
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;
key_ = input.readInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
type_ = input.readInt32();
break;
}
case 25: {
bitField0_ |= 0x00000004;
value_ = input.readDouble();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
note_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
freq_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
isEnable_ = 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.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminderItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminderItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.class, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private long key_;
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
public long getKey() {
return key_;
}
public static final int TYPE_FIELD_NUMBER = 2;
private int type_;
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
public int getType() {
return type_;
}
public static final int VALUE_FIELD_NUMBER = 3;
private double value_;
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
public double getValue() {
return value_;
}
public static final int NOTE_FIELD_NUMBER = 4;
private volatile java.lang.Object note_;
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public boolean hasNote() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public java.lang.String getNote() {
java.lang.Object ref = note_;
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()) {
note_ = s;
}
return s;
}
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public com.google.protobuf.ByteString
getNoteBytes() {
java.lang.Object ref = note_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
note_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FREQ_FIELD_NUMBER = 5;
private int freq_;
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
public boolean hasFreq() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
public int getFreq() {
return freq_;
}
public static final int ISENABLE_FIELD_NUMBER = 6;
private boolean isEnable_;
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
public boolean hasIsEnable() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
public boolean getIsEnable() {
return isEnable_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasNote()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasFreq()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIsEnable()) {
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.writeInt64(1, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, type_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeDouble(3, value_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, note_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, freq_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, isEnable_);
}
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
.computeInt64Size(1, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, type_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, value_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, note_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, freq_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isEnable_);
}
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.QotGetPriceReminder.PriceReminderItem)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem other = (com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem) obj;
boolean result = true;
result = result && (hasKey() == other.hasKey());
if (hasKey()) {
result = result && (getKey()
== other.getKey());
}
result = result && (hasType() == other.hasType());
if (hasType()) {
result = result && (getType()
== other.getType());
}
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && (
java.lang.Double.doubleToLongBits(getValue())
== java.lang.Double.doubleToLongBits(
other.getValue()));
}
result = result && (hasNote() == other.hasNote());
if (hasNote()) {
result = result && getNote()
.equals(other.getNote());
}
result = result && (hasFreq() == other.hasFreq());
if (hasFreq()) {
result = result && (getFreq()
== other.getFreq());
}
result = result && (hasIsEnable() == other.hasIsEnable());
if (hasIsEnable()) {
result = result && (getIsEnable()
== other.getIsEnable());
}
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 (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getKey());
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getValue()));
}
if (hasNote()) {
hash = (37 * hash) + NOTE_FIELD_NUMBER;
hash = (53 * hash) + getNote().hashCode();
}
if (hasFreq()) {
hash = (37 * hash) + FREQ_FIELD_NUMBER;
hash = (53 * hash) + getFreq();
}
if (hasIsEnable()) {
hash = (37 * hash) + ISENABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsEnable());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem 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.QotGetPriceReminder.PriceReminderItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem 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.QotGetPriceReminder.PriceReminderItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem 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.QotGetPriceReminder.PriceReminderItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem 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.QotGetPriceReminder.PriceReminderItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem 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.QotGetPriceReminder.PriceReminderItem prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 提醒信息列表
*
*
* Protobuf type {@code Qot_GetPriceReminder.PriceReminderItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_GetPriceReminder.PriceReminderItem)
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminderItem_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminderItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.class, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.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();
key_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0D;
bitField0_ = (bitField0_ & ~0x00000004);
note_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
freq_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
isEnable_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminderItem_descriptor;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem build() {
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem buildPartial() {
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem result = new com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.value_ = value_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.note_ = note_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.freq_ = freq_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.isEnable_ = isEnable_;
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.QotGetPriceReminder.PriceReminderItem) {
return mergeFrom((com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem other) {
if (other == com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.getDefaultInstance()) return this;
if (other.hasKey()) {
setKey(other.getKey());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasValue()) {
setValue(other.getValue());
}
if (other.hasNote()) {
bitField0_ |= 0x00000008;
note_ = other.note_;
onChanged();
}
if (other.hasFreq()) {
setFreq(other.getFreq());
}
if (other.hasIsEnable()) {
setIsEnable(other.getIsEnable());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasType()) {
return false;
}
if (!hasValue()) {
return false;
}
if (!hasNote()) {
return false;
}
if (!hasFreq()) {
return false;
}
if (!hasIsEnable()) {
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.QotGetPriceReminder.PriceReminderItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long key_ ;
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
public long getKey() {
return key_;
}
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
public Builder setKey(long value) {
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
*
* 每个提醒的唯一标识
*
*
* required int64 key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = 0L;
onChanged();
return this;
}
private int type_ ;
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
public int getType() {
return type_;
}
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
public Builder setType(int value) {
bitField0_ |= 0x00000002;
type_ = value;
onChanged();
return this;
}
/**
*
* Qot_Common::PriceReminderType 提醒类型
*
*
* required int32 type = 2;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = 0;
onChanged();
return this;
}
private double value_ ;
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
public double getValue() {
return value_;
}
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
public Builder setValue(double value) {
bitField0_ |= 0x00000004;
value_ = value;
onChanged();
return this;
}
/**
*
* 提醒参数值
*
*
* required double value = 3;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000004);
value_ = 0D;
onChanged();
return this;
}
private java.lang.Object note_ = "";
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public boolean hasNote() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public java.lang.String getNote() {
java.lang.Object ref = note_;
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()) {
note_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public com.google.protobuf.ByteString
getNoteBytes() {
java.lang.Object ref = note_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
note_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public Builder setNote(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
note_ = value;
onChanged();
return this;
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public Builder clearNote() {
bitField0_ = (bitField0_ & ~0x00000008);
note_ = getDefaultInstance().getNote();
onChanged();
return this;
}
/**
*
* 备注仅支持 20 个以内的中文字符
*
*
* required string note = 4;
*/
public Builder setNoteBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
note_ = value;
onChanged();
return this;
}
private int freq_ ;
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
public boolean hasFreq() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
public int getFreq() {
return freq_;
}
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
public Builder setFreq(int value) {
bitField0_ |= 0x00000010;
freq_ = value;
onChanged();
return this;
}
/**
*
* Qot_Common::PriceReminderFreq 提醒频率类型
*
*
* required int32 freq = 5;
*/
public Builder clearFreq() {
bitField0_ = (bitField0_ & ~0x00000010);
freq_ = 0;
onChanged();
return this;
}
private boolean isEnable_ ;
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
public boolean hasIsEnable() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
public boolean getIsEnable() {
return isEnable_;
}
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
public Builder setIsEnable(boolean value) {
bitField0_ |= 0x00000020;
isEnable_ = value;
onChanged();
return this;
}
/**
*
* 该提醒设置是否生效。false不生效,true生效
*
*
* required bool isEnable = 6;
*/
public Builder clearIsEnable() {
bitField0_ = (bitField0_ & ~0x00000020);
isEnable_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_GetPriceReminder.PriceReminderItem)
}
// @@protoc_insertion_point(class_scope:Qot_GetPriceReminder.PriceReminderItem)
private static final com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem();
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PriceReminderItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PriceReminderItem(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.QotGetPriceReminder.PriceReminderItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PriceReminderOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_GetPriceReminder.PriceReminder)
com.google.protobuf.MessageOrBuilder {
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
boolean hasSecurity();
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
com.moomoo.openapi.pb.QotCommon.Security getSecurity();
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder();
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
boolean hasName();
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
java.lang.String getName();
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
java.util.List
getItemListList();
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem getItemList(int index);
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
int getItemListCount();
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
java.util.List extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder>
getItemListOrBuilderList();
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder getItemListOrBuilder(
int index);
}
/**
* Protobuf type {@code Qot_GetPriceReminder.PriceReminder}
*/
public static final class PriceReminder extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_GetPriceReminder.PriceReminder)
PriceReminderOrBuilder {
private static final long serialVersionUID = 0L;
// Use PriceReminder.newBuilder() to construct.
private PriceReminder(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PriceReminder() {
name_ = "";
itemList_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PriceReminder(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = security_.toBuilder();
}
security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(security_);
security_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
itemList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
itemList_.add(
input.readMessage(com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.PARSER, extensionRegistry));
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
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.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminder_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminder_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.class, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder.class);
}
private int bitField0_;
public static final int SECURITY_FIELD_NUMBER = 1;
private com.moomoo.openapi.pb.QotCommon.Security security_;
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ITEMLIST_FIELD_NUMBER = 2;
private java.util.List itemList_;
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public java.util.List getItemListList() {
return itemList_;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder>
getItemListOrBuilderList() {
return itemList_;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public int getItemListCount() {
return itemList_.size();
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem getItemList(int index) {
return itemList_.get(index);
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder getItemListOrBuilder(
int index) {
return itemList_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasSecurity()) {
memoizedIsInitialized = 0;
return false;
}
if (!getSecurity().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < 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.writeMessage(1, getSecurity());
}
for (int i = 0; i < itemList_.size(); i++) {
output.writeMessage(2, itemList_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSecurity());
}
for (int i = 0; i < itemList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, itemList_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder other = (com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder) obj;
boolean result = true;
result = result && (hasSecurity() == other.hasSecurity());
if (hasSecurity()) {
result = result && getSecurity()
.equals(other.getSecurity());
}
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && getItemListList()
.equals(other.getItemListList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSecurity()) {
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getItemListCount() > 0) {
hash = (37 * hash) + ITEMLIST_FIELD_NUMBER;
hash = (53 * hash) + getItemListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder 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.QotGetPriceReminder.PriceReminder parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder 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.QotGetPriceReminder.PriceReminder parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder 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.QotGetPriceReminder.PriceReminder parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder 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.QotGetPriceReminder.PriceReminder parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder 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.QotGetPriceReminder.PriceReminder prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_GetPriceReminder.PriceReminder}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_GetPriceReminder.PriceReminder)
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminder_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminder_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.class, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSecurityFieldBuilder();
getItemListFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (securityBuilder_ == null) {
security_ = null;
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (itemListBuilder_ == null) {
itemList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
itemListBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_PriceReminder_descriptor;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder build() {
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder buildPartial() {
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder result = new com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (securityBuilder_ == null) {
result.security_ = security_;
} else {
result.security_ = securityBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (itemListBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
itemList_ = java.util.Collections.unmodifiableList(itemList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.itemList_ = itemList_;
} else {
result.itemList_ = itemListBuilder_.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.QotGetPriceReminder.PriceReminder) {
return mergeFrom((com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder other) {
if (other == com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.getDefaultInstance()) return this;
if (other.hasSecurity()) {
mergeSecurity(other.getSecurity());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (itemListBuilder_ == null) {
if (!other.itemList_.isEmpty()) {
if (itemList_.isEmpty()) {
itemList_ = other.itemList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureItemListIsMutable();
itemList_.addAll(other.itemList_);
}
onChanged();
}
} else {
if (!other.itemList_.isEmpty()) {
if (itemListBuilder_.isEmpty()) {
itemListBuilder_.dispose();
itemListBuilder_ = null;
itemList_ = other.itemList_;
bitField0_ = (bitField0_ & ~0x00000004);
itemListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemListFieldBuilder() : null;
} else {
itemListBuilder_.addAllMessages(other.itemList_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasSecurity()) {
return false;
}
if (!getSecurity().isInitialized()) {
return false;
}
for (int i = 0; i < 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.QotGetPriceReminder.PriceReminder parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.moomoo.openapi.pb.QotCommon.Security security_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityBuilder_;
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
if (securityBuilder_ == null) {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
} else {
return securityBuilder_.getMessage();
}
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public Builder setSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
} else {
securityBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public Builder setSecurity(
com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) {
if (securityBuilder_ == null) {
security_ = builderForValue.build();
onChanged();
} else {
securityBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
security_ != null &&
security_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) {
security_ =
com.moomoo.openapi.pb.QotCommon.Security.newBuilder(security_).mergeFrom(value).buildPartial();
} else {
security_ = value;
}
onChanged();
} else {
securityBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public Builder clearSecurity() {
if (securityBuilder_ == null) {
security_ = null;
onChanged();
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSecurityFieldBuilder().getBuilder();
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
if (securityBuilder_ != null) {
return securityBuilder_.getMessageOrBuilder();
} else {
return security_ == null ?
com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
}
/**
*
* 股票
*
*
* required .Qot_Common.Security security = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>
getSecurityFieldBuilder() {
if (securityBuilder_ == null) {
securityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>(
getSecurity(),
getParentForChildren(),
isClean());
security_ = null;
}
return securityBuilder_;
}
private java.lang.Object name_ = "";
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* 股票名称
*
*
* optional string name = 3;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private java.util.List itemList_ =
java.util.Collections.emptyList();
private void ensureItemListIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
itemList_ = new java.util.ArrayList(itemList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder> itemListBuilder_;
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public java.util.List getItemListList() {
if (itemListBuilder_ == null) {
return java.util.Collections.unmodifiableList(itemList_);
} else {
return itemListBuilder_.getMessageList();
}
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public int getItemListCount() {
if (itemListBuilder_ == null) {
return itemList_.size();
} else {
return itemListBuilder_.getCount();
}
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem getItemList(int index) {
if (itemListBuilder_ == null) {
return itemList_.get(index);
} else {
return itemListBuilder_.getMessage(index);
}
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder setItemList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem value) {
if (itemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemListIsMutable();
itemList_.set(index, value);
onChanged();
} else {
itemListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder setItemList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder builderForValue) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.set(index, builderForValue.build());
onChanged();
} else {
itemListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder addItemList(com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem value) {
if (itemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemListIsMutable();
itemList_.add(value);
onChanged();
} else {
itemListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder addItemList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem value) {
if (itemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemListIsMutable();
itemList_.add(index, value);
onChanged();
} else {
itemListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder addItemList(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder builderForValue) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.add(builderForValue.build());
onChanged();
} else {
itemListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder addItemList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder builderForValue) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.add(index, builderForValue.build());
onChanged();
} else {
itemListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder addAllItemList(
java.lang.Iterable extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem> values) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, itemList_);
onChanged();
} else {
itemListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder clearItemList() {
if (itemListBuilder_ == null) {
itemList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
itemListBuilder_.clear();
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public Builder removeItemList(int index) {
if (itemListBuilder_ == null) {
ensureItemListIsMutable();
itemList_.remove(index);
onChanged();
} else {
itemListBuilder_.remove(index);
}
return this;
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder getItemListBuilder(
int index) {
return getItemListFieldBuilder().getBuilder(index);
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder getItemListOrBuilder(
int index) {
if (itemListBuilder_ == null) {
return itemList_.get(index); } else {
return itemListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public java.util.List extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder>
getItemListOrBuilderList() {
if (itemListBuilder_ != null) {
return itemListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(itemList_);
}
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder addItemListBuilder() {
return getItemListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.getDefaultInstance());
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder addItemListBuilder(
int index) {
return getItemListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.getDefaultInstance());
}
/**
*
* 提醒信息列表
*
*
* repeated .Qot_GetPriceReminder.PriceReminderItem itemList = 2;
*/
public java.util.List
getItemListBuilderList() {
return getItemListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder>
getItemListFieldBuilder() {
if (itemListBuilder_ == null) {
itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItem.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderItemOrBuilder>(
itemList_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
itemList_ = null;
}
return itemListBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_GetPriceReminder.PriceReminder)
}
// @@protoc_insertion_point(class_scope:Qot_GetPriceReminder.PriceReminder)
private static final com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder();
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public PriceReminder parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PriceReminder(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.QotGetPriceReminder.PriceReminder getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface C2SOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_GetPriceReminder.C2S)
com.google.protobuf.MessageOrBuilder {
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
boolean hasSecurity();
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
com.moomoo.openapi.pb.QotCommon.Security getSecurity();
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder();
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
boolean hasMarket();
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
int getMarket();
}
/**
* Protobuf type {@code Qot_GetPriceReminder.C2S}
*/
public static final class C2S extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_GetPriceReminder.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() {
market_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private C2S(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.moomoo.openapi.pb.QotCommon.Security.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = security_.toBuilder();
}
security_ = input.readMessage(com.moomoo.openapi.pb.QotCommon.Security.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(security_);
security_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
market_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_C2S_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_C2S_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.C2S.class, com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder.class);
}
private int bitField0_;
public static final int SECURITY_FIELD_NUMBER = 1;
private com.moomoo.openapi.pb.QotCommon.Security security_;
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
public static final int MARKET_FIELD_NUMBER = 2;
private int market_;
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
public boolean hasMarket() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
public int getMarket() {
return market_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasSecurity()) {
if (!getSecurity().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getSecurity());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, market_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSecurity());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, market_);
}
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.QotGetPriceReminder.C2S)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotGetPriceReminder.C2S other = (com.moomoo.openapi.pb.QotGetPriceReminder.C2S) obj;
boolean result = true;
result = result && (hasSecurity() == other.hasSecurity());
if (hasSecurity()) {
result = result && getSecurity()
.equals(other.getSecurity());
}
result = result && (hasMarket() == other.hasMarket());
if (hasMarket()) {
result = result && (getMarket()
== other.getMarket());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSecurity()) {
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
}
if (hasMarket()) {
hash = (37 * hash) + MARKET_FIELD_NUMBER;
hash = (53 * hash) + getMarket();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.C2S parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.C2S parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.C2S parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.C2S parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.C2S parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.C2S prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_GetPriceReminder.C2S}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_GetPriceReminder.C2S)
com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_C2S_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_C2S_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.C2S.class, com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotGetPriceReminder.C2S.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSecurityFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (securityBuilder_ == null) {
security_ = null;
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
market_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_C2S_descriptor;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.C2S getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotGetPriceReminder.C2S build() {
com.moomoo.openapi.pb.QotGetPriceReminder.C2S result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.C2S buildPartial() {
com.moomoo.openapi.pb.QotGetPriceReminder.C2S result = new com.moomoo.openapi.pb.QotGetPriceReminder.C2S(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (securityBuilder_ == null) {
result.security_ = security_;
} else {
result.security_ = securityBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.market_ = market_;
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.QotGetPriceReminder.C2S) {
return mergeFrom((com.moomoo.openapi.pb.QotGetPriceReminder.C2S)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotGetPriceReminder.C2S other) {
if (other == com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance()) return this;
if (other.hasSecurity()) {
mergeSecurity(other.getSecurity());
}
if (other.hasMarket()) {
setMarket(other.getMarket());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (hasSecurity()) {
if (!getSecurity().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.QotGetPriceReminder.C2S parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotGetPriceReminder.C2S) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.moomoo.openapi.pb.QotCommon.Security security_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder> securityBuilder_;
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public boolean hasSecurity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security getSecurity() {
if (securityBuilder_ == null) {
return security_ == null ? com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
} else {
return securityBuilder_.getMessage();
}
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public Builder setSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
} else {
securityBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public Builder setSecurity(
com.moomoo.openapi.pb.QotCommon.Security.Builder builderForValue) {
if (securityBuilder_ == null) {
security_ = builderForValue.build();
onChanged();
} else {
securityBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public Builder mergeSecurity(com.moomoo.openapi.pb.QotCommon.Security value) {
if (securityBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
security_ != null &&
security_ != com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance()) {
security_ =
com.moomoo.openapi.pb.QotCommon.Security.newBuilder(security_).mergeFrom(value).buildPartial();
} else {
security_ = value;
}
onChanged();
} else {
securityBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public Builder clearSecurity() {
if (securityBuilder_ == null) {
security_ = null;
onChanged();
} else {
securityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.Security.Builder getSecurityBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSecurityFieldBuilder().getBuilder();
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
public com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder getSecurityOrBuilder() {
if (securityBuilder_ != null) {
return securityBuilder_.getMessageOrBuilder();
} else {
return security_ == null ?
com.moomoo.openapi.pb.QotCommon.Security.getDefaultInstance() : security_;
}
}
/**
*
* 查询股票下的到价提醒项,security和market二选一,都存在的情况下security优先。
*
*
* optional .Qot_Common.Security security = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>
getSecurityFieldBuilder() {
if (securityBuilder_ == null) {
securityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotCommon.Security, com.moomoo.openapi.pb.QotCommon.Security.Builder, com.moomoo.openapi.pb.QotCommon.SecurityOrBuilder>(
getSecurity(),
getParentForChildren(),
isClean());
security_ = null;
}
return securityBuilder_;
}
private int market_ ;
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
public boolean hasMarket() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
public int getMarket() {
return market_;
}
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
public Builder setMarket(int value) {
bitField0_ |= 0x00000002;
market_ = value;
onChanged();
return this;
}
/**
*
*Qot_Common::QotMarket 市场,查询市场下的到价提醒项,不区分沪深
*
*
* optional int32 market = 2;
*/
public Builder clearMarket() {
bitField0_ = (bitField0_ & ~0x00000002);
market_ = 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:Qot_GetPriceReminder.C2S)
}
// @@protoc_insertion_point(class_scope:Qot_GetPriceReminder.C2S)
private static final com.moomoo.openapi.pb.QotGetPriceReminder.C2S DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetPriceReminder.C2S();
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.C2S getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface S2COrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_GetPriceReminder.S2C)
com.google.protobuf.MessageOrBuilder {
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
java.util.List
getPriceReminderListList();
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder getPriceReminderList(int index);
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
int getPriceReminderListCount();
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
java.util.List extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder>
getPriceReminderListOrBuilderList();
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder getPriceReminderListOrBuilder(
int index);
}
/**
* Protobuf type {@code Qot_GetPriceReminder.S2C}
*/
public static final class S2C extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_GetPriceReminder.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() {
priceReminderList_ = 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)) {
priceReminderList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
priceReminderList_.add(
input.readMessage(com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.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)) {
priceReminderList_ = java.util.Collections.unmodifiableList(priceReminderList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_S2C_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_S2C_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.S2C.class, com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder.class);
}
public static final int PRICEREMINDERLIST_FIELD_NUMBER = 1;
private java.util.List priceReminderList_;
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public java.util.List getPriceReminderListList() {
return priceReminderList_;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public java.util.List extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder>
getPriceReminderListOrBuilderList() {
return priceReminderList_;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public int getPriceReminderListCount() {
return priceReminderList_.size();
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder getPriceReminderList(int index) {
return priceReminderList_.get(index);
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder getPriceReminderListOrBuilder(
int index) {
return priceReminderList_.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 < getPriceReminderListCount(); i++) {
if (!getPriceReminderList(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 < priceReminderList_.size(); i++) {
output.writeMessage(1, priceReminderList_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < priceReminderList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, priceReminderList_.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.QotGetPriceReminder.S2C)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotGetPriceReminder.S2C other = (com.moomoo.openapi.pb.QotGetPriceReminder.S2C) obj;
boolean result = true;
result = result && getPriceReminderListList()
.equals(other.getPriceReminderListList());
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 (getPriceReminderListCount() > 0) {
hash = (37 * hash) + PRICEREMINDERLIST_FIELD_NUMBER;
hash = (53 * hash) + getPriceReminderListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.S2C parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.S2C parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.S2C parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.S2C parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.S2C parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.S2C prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_GetPriceReminder.S2C}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_GetPriceReminder.S2C)
com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_S2C_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_S2C_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.S2C.class, com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotGetPriceReminder.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) {
getPriceReminderListFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (priceReminderListBuilder_ == null) {
priceReminderList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
priceReminderListBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_S2C_descriptor;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.S2C getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.S2C.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotGetPriceReminder.S2C build() {
com.moomoo.openapi.pb.QotGetPriceReminder.S2C result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.S2C buildPartial() {
com.moomoo.openapi.pb.QotGetPriceReminder.S2C result = new com.moomoo.openapi.pb.QotGetPriceReminder.S2C(this);
int from_bitField0_ = bitField0_;
if (priceReminderListBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
priceReminderList_ = java.util.Collections.unmodifiableList(priceReminderList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.priceReminderList_ = priceReminderList_;
} else {
result.priceReminderList_ = priceReminderListBuilder_.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.QotGetPriceReminder.S2C) {
return mergeFrom((com.moomoo.openapi.pb.QotGetPriceReminder.S2C)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotGetPriceReminder.S2C other) {
if (other == com.moomoo.openapi.pb.QotGetPriceReminder.S2C.getDefaultInstance()) return this;
if (priceReminderListBuilder_ == null) {
if (!other.priceReminderList_.isEmpty()) {
if (priceReminderList_.isEmpty()) {
priceReminderList_ = other.priceReminderList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePriceReminderListIsMutable();
priceReminderList_.addAll(other.priceReminderList_);
}
onChanged();
}
} else {
if (!other.priceReminderList_.isEmpty()) {
if (priceReminderListBuilder_.isEmpty()) {
priceReminderListBuilder_.dispose();
priceReminderListBuilder_ = null;
priceReminderList_ = other.priceReminderList_;
bitField0_ = (bitField0_ & ~0x00000001);
priceReminderListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPriceReminderListFieldBuilder() : null;
} else {
priceReminderListBuilder_.addAllMessages(other.priceReminderList_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getPriceReminderListCount(); i++) {
if (!getPriceReminderList(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.QotGetPriceReminder.S2C parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotGetPriceReminder.S2C) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List priceReminderList_ =
java.util.Collections.emptyList();
private void ensurePriceReminderListIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
priceReminderList_ = new java.util.ArrayList(priceReminderList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder> priceReminderListBuilder_;
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public java.util.List getPriceReminderListList() {
if (priceReminderListBuilder_ == null) {
return java.util.Collections.unmodifiableList(priceReminderList_);
} else {
return priceReminderListBuilder_.getMessageList();
}
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public int getPriceReminderListCount() {
if (priceReminderListBuilder_ == null) {
return priceReminderList_.size();
} else {
return priceReminderListBuilder_.getCount();
}
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder getPriceReminderList(int index) {
if (priceReminderListBuilder_ == null) {
return priceReminderList_.get(index);
} else {
return priceReminderListBuilder_.getMessage(index);
}
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder setPriceReminderList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder value) {
if (priceReminderListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePriceReminderListIsMutable();
priceReminderList_.set(index, value);
onChanged();
} else {
priceReminderListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder setPriceReminderList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder builderForValue) {
if (priceReminderListBuilder_ == null) {
ensurePriceReminderListIsMutable();
priceReminderList_.set(index, builderForValue.build());
onChanged();
} else {
priceReminderListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder addPriceReminderList(com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder value) {
if (priceReminderListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePriceReminderListIsMutable();
priceReminderList_.add(value);
onChanged();
} else {
priceReminderListBuilder_.addMessage(value);
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder addPriceReminderList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder value) {
if (priceReminderListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePriceReminderListIsMutable();
priceReminderList_.add(index, value);
onChanged();
} else {
priceReminderListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder addPriceReminderList(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder builderForValue) {
if (priceReminderListBuilder_ == null) {
ensurePriceReminderListIsMutable();
priceReminderList_.add(builderForValue.build());
onChanged();
} else {
priceReminderListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder addPriceReminderList(
int index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder builderForValue) {
if (priceReminderListBuilder_ == null) {
ensurePriceReminderListIsMutable();
priceReminderList_.add(index, builderForValue.build());
onChanged();
} else {
priceReminderListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder addAllPriceReminderList(
java.lang.Iterable extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder> values) {
if (priceReminderListBuilder_ == null) {
ensurePriceReminderListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, priceReminderList_);
onChanged();
} else {
priceReminderListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder clearPriceReminderList() {
if (priceReminderListBuilder_ == null) {
priceReminderList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
priceReminderListBuilder_.clear();
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public Builder removePriceReminderList(int index) {
if (priceReminderListBuilder_ == null) {
ensurePriceReminderListIsMutable();
priceReminderList_.remove(index);
onChanged();
} else {
priceReminderListBuilder_.remove(index);
}
return this;
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder getPriceReminderListBuilder(
int index) {
return getPriceReminderListFieldBuilder().getBuilder(index);
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder getPriceReminderListOrBuilder(
int index) {
if (priceReminderListBuilder_ == null) {
return priceReminderList_.get(index); } else {
return priceReminderListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public java.util.List extends com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder>
getPriceReminderListOrBuilderList() {
if (priceReminderListBuilder_ != null) {
return priceReminderListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(priceReminderList_);
}
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder addPriceReminderListBuilder() {
return getPriceReminderListFieldBuilder().addBuilder(
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.getDefaultInstance());
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder addPriceReminderListBuilder(
int index) {
return getPriceReminderListFieldBuilder().addBuilder(
index, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.getDefaultInstance());
}
/**
*
*到价提醒
*
*
* repeated .Qot_GetPriceReminder.PriceReminder priceReminderList = 1;
*/
public java.util.List
getPriceReminderListBuilderList() {
return getPriceReminderListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder>
getPriceReminderListFieldBuilder() {
if (priceReminderListBuilder_ == null) {
priceReminderListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminder.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.PriceReminderOrBuilder>(
priceReminderList_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
priceReminderList_ = null;
}
return priceReminderListBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_GetPriceReminder.S2C)
}
// @@protoc_insertion_point(class_scope:Qot_GetPriceReminder.S2C)
private static final com.moomoo.openapi.pb.QotGetPriceReminder.S2C DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetPriceReminder.S2C();
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.S2C getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_GetPriceReminder.Request)
com.google.protobuf.MessageOrBuilder {
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
boolean hasC2S();
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.C2S getC2S();
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder getC2SOrBuilder();
}
/**
* Protobuf type {@code Qot_GetPriceReminder.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_GetPriceReminder.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.QotGetPriceReminder.C2S.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = c2S_.toBuilder();
}
c2S_ = input.readMessage(com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.Request.class, com.moomoo.openapi.pb.QotGetPriceReminder.Request.Builder.class);
}
private int bitField0_;
public static final int C2S_FIELD_NUMBER = 1;
private com.moomoo.openapi.pb.QotGetPriceReminder.C2S c2S_;
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public boolean hasC2S() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.C2S getC2S() {
return c2S_ == null ? com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance() : c2S_;
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder getC2SOrBuilder() {
return c2S_ == null ? com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance() : c2S_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasC2S()) {
memoizedIsInitialized = 0;
return false;
}
if (!getC2S().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getC2S());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getC2S());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.moomoo.openapi.pb.QotGetPriceReminder.Request)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotGetPriceReminder.Request other = (com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.Request prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_GetPriceReminder.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_GetPriceReminder.Request)
com.moomoo.openapi.pb.QotGetPriceReminder.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.Request.class, com.moomoo.openapi.pb.QotGetPriceReminder.Request.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Request_descriptor;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.Request getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.Request.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotGetPriceReminder.Request build() {
com.moomoo.openapi.pb.QotGetPriceReminder.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.Request buildPartial() {
com.moomoo.openapi.pb.QotGetPriceReminder.Request result = new com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request) {
return mergeFrom((com.moomoo.openapi.pb.QotGetPriceReminder.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotGetPriceReminder.Request other) {
if (other == com.moomoo.openapi.pb.QotGetPriceReminder.Request.getDefaultInstance()) return this;
if (other.hasC2S()) {
mergeC2S(other.getC2S());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
if (!hasC2S()) {
return false;
}
if (!getC2S().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.moomoo.openapi.pb.QotGetPriceReminder.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotGetPriceReminder.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.moomoo.openapi.pb.QotGetPriceReminder.C2S c2S_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.C2S, com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder> c2SBuilder_;
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public boolean hasC2S() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.C2S getC2S() {
if (c2SBuilder_ == null) {
return c2S_ == null ? com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance() : c2S_;
} else {
return c2SBuilder_.getMessage();
}
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public Builder setC2S(com.moomoo.openapi.pb.QotGetPriceReminder.C2S value) {
if (c2SBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
c2S_ = value;
onChanged();
} else {
c2SBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public Builder setC2S(
com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder builderForValue) {
if (c2SBuilder_ == null) {
c2S_ = builderForValue.build();
onChanged();
} else {
c2SBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public Builder mergeC2S(com.moomoo.openapi.pb.QotGetPriceReminder.C2S value) {
if (c2SBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
c2S_ != null &&
c2S_ != com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance()) {
c2S_ =
com.moomoo.openapi.pb.QotGetPriceReminder.C2S.newBuilder(c2S_).mergeFrom(value).buildPartial();
} else {
c2S_ = value;
}
onChanged();
} else {
c2SBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public Builder clearC2S() {
if (c2SBuilder_ == null) {
c2S_ = null;
onChanged();
} else {
c2SBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder getC2SBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getC2SFieldBuilder().getBuilder();
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder getC2SOrBuilder() {
if (c2SBuilder_ != null) {
return c2SBuilder_.getMessageOrBuilder();
} else {
return c2S_ == null ?
com.moomoo.openapi.pb.QotGetPriceReminder.C2S.getDefaultInstance() : c2S_;
}
}
/**
* required .Qot_GetPriceReminder.C2S c2s = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.C2S, com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder>
getC2SFieldBuilder() {
if (c2SBuilder_ == null) {
c2SBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.C2S, com.moomoo.openapi.pb.QotGetPriceReminder.C2S.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.C2SOrBuilder>(
getC2S(),
getParentForChildren(),
isClean());
c2S_ = null;
}
return c2SBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_GetPriceReminder.Request)
}
// @@protoc_insertion_point(class_scope:Qot_GetPriceReminder.Request)
private static final com.moomoo.openapi.pb.QotGetPriceReminder.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetPriceReminder.Request();
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Qot_GetPriceReminder.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
boolean hasRetType();
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
int getRetType();
/**
* optional string retMsg = 2;
*/
boolean hasRetMsg();
/**
* optional string retMsg = 2;
*/
java.lang.String getRetMsg();
/**
* optional string retMsg = 2;
*/
com.google.protobuf.ByteString
getRetMsgBytes();
/**
* optional int32 errCode = 3;
*/
boolean hasErrCode();
/**
* optional int32 errCode = 3;
*/
int getErrCode();
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
boolean hasS2C();
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.S2C getS2C();
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder getS2COrBuilder();
}
/**
* Protobuf type {@code Qot_GetPriceReminder.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Qot_GetPriceReminder.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.QotGetPriceReminder.S2C.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = s2C_.toBuilder();
}
s2C_ = input.readMessage(com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.Response.class, com.moomoo.openapi.pb.QotGetPriceReminder.Response.Builder.class);
}
private int bitField0_;
public static final int RETTYPE_FIELD_NUMBER = 1;
private int retType_;
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
public boolean hasRetType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
public int getRetType() {
return retType_;
}
public static final int RETMSG_FIELD_NUMBER = 2;
private volatile java.lang.Object retMsg_;
/**
* optional string retMsg = 2;
*/
public boolean hasRetMsg() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string retMsg = 2;
*/
public java.lang.String getRetMsg() {
java.lang.Object ref = retMsg_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
retMsg_ = s;
}
return s;
}
}
/**
* optional string retMsg = 2;
*/
public com.google.protobuf.ByteString
getRetMsgBytes() {
java.lang.Object ref = retMsg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
retMsg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERRCODE_FIELD_NUMBER = 3;
private int errCode_;
/**
* optional int32 errCode = 3;
*/
public boolean hasErrCode() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 errCode = 3;
*/
public int getErrCode() {
return errCode_;
}
public static final int S2C_FIELD_NUMBER = 4;
private com.moomoo.openapi.pb.QotGetPriceReminder.S2C s2C_;
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public boolean hasS2C() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.S2C getS2C() {
return s2C_ == null ? com.moomoo.openapi.pb.QotGetPriceReminder.S2C.getDefaultInstance() : s2C_;
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder getS2COrBuilder() {
return s2C_ == null ? com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response)) {
return super.equals(obj);
}
com.moomoo.openapi.pb.QotGetPriceReminder.Response other = (com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.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.QotGetPriceReminder.Response prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Qot_GetPriceReminder.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Qot_GetPriceReminder.Response)
com.moomoo.openapi.pb.QotGetPriceReminder.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.moomoo.openapi.pb.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.moomoo.openapi.pb.QotGetPriceReminder.Response.class, com.moomoo.openapi.pb.QotGetPriceReminder.Response.Builder.class);
}
// Construct using com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.internal_static_Qot_GetPriceReminder_Response_descriptor;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.Response getDefaultInstanceForType() {
return com.moomoo.openapi.pb.QotGetPriceReminder.Response.getDefaultInstance();
}
public com.moomoo.openapi.pb.QotGetPriceReminder.Response build() {
com.moomoo.openapi.pb.QotGetPriceReminder.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.moomoo.openapi.pb.QotGetPriceReminder.Response buildPartial() {
com.moomoo.openapi.pb.QotGetPriceReminder.Response result = new com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response) {
return mergeFrom((com.moomoo.openapi.pb.QotGetPriceReminder.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.moomoo.openapi.pb.QotGetPriceReminder.Response other) {
if (other == com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.moomoo.openapi.pb.QotGetPriceReminder.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int retType_ = -400;
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
public boolean hasRetType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
public int getRetType() {
return retType_;
}
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
public Builder setRetType(int value) {
bitField0_ |= 0x00000001;
retType_ = value;
onChanged();
return this;
}
/**
*
*RetType,返回结果
*
*
* required int32 retType = 1 [default = -400];
*/
public Builder clearRetType() {
bitField0_ = (bitField0_ & ~0x00000001);
retType_ = -400;
onChanged();
return this;
}
private java.lang.Object retMsg_ = "";
/**
* optional string retMsg = 2;
*/
public boolean hasRetMsg() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string retMsg = 2;
*/
public java.lang.String getRetMsg() {
java.lang.Object ref = retMsg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
retMsg_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string retMsg = 2;
*/
public com.google.protobuf.ByteString
getRetMsgBytes() {
java.lang.Object ref = retMsg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
retMsg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string retMsg = 2;
*/
public Builder setRetMsg(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
retMsg_ = value;
onChanged();
return this;
}
/**
* optional string retMsg = 2;
*/
public Builder clearRetMsg() {
bitField0_ = (bitField0_ & ~0x00000002);
retMsg_ = getDefaultInstance().getRetMsg();
onChanged();
return this;
}
/**
* optional string retMsg = 2;
*/
public Builder setRetMsgBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
retMsg_ = value;
onChanged();
return this;
}
private int errCode_ ;
/**
* optional int32 errCode = 3;
*/
public boolean hasErrCode() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 errCode = 3;
*/
public int getErrCode() {
return errCode_;
}
/**
* optional int32 errCode = 3;
*/
public Builder setErrCode(int value) {
bitField0_ |= 0x00000004;
errCode_ = value;
onChanged();
return this;
}
/**
* optional int32 errCode = 3;
*/
public Builder clearErrCode() {
bitField0_ = (bitField0_ & ~0x00000004);
errCode_ = 0;
onChanged();
return this;
}
private com.moomoo.openapi.pb.QotGetPriceReminder.S2C s2C_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.S2C, com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder> s2CBuilder_;
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public boolean hasS2C() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.S2C getS2C() {
if (s2CBuilder_ == null) {
return s2C_ == null ? com.moomoo.openapi.pb.QotGetPriceReminder.S2C.getDefaultInstance() : s2C_;
} else {
return s2CBuilder_.getMessage();
}
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public Builder setS2C(com.moomoo.openapi.pb.QotGetPriceReminder.S2C value) {
if (s2CBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
s2C_ = value;
onChanged();
} else {
s2CBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public Builder setS2C(
com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder builderForValue) {
if (s2CBuilder_ == null) {
s2C_ = builderForValue.build();
onChanged();
} else {
s2CBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public Builder mergeS2C(com.moomoo.openapi.pb.QotGetPriceReminder.S2C value) {
if (s2CBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
s2C_ != null &&
s2C_ != com.moomoo.openapi.pb.QotGetPriceReminder.S2C.getDefaultInstance()) {
s2C_ =
com.moomoo.openapi.pb.QotGetPriceReminder.S2C.newBuilder(s2C_).mergeFrom(value).buildPartial();
} else {
s2C_ = value;
}
onChanged();
} else {
s2CBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public Builder clearS2C() {
if (s2CBuilder_ == null) {
s2C_ = null;
onChanged();
} else {
s2CBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder getS2CBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getS2CFieldBuilder().getBuilder();
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
public com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder getS2COrBuilder() {
if (s2CBuilder_ != null) {
return s2CBuilder_.getMessageOrBuilder();
} else {
return s2C_ == null ?
com.moomoo.openapi.pb.QotGetPriceReminder.S2C.getDefaultInstance() : s2C_;
}
}
/**
* optional .Qot_GetPriceReminder.S2C s2c = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.S2C, com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder>
getS2CFieldBuilder() {
if (s2CBuilder_ == null) {
s2CBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.moomoo.openapi.pb.QotGetPriceReminder.S2C, com.moomoo.openapi.pb.QotGetPriceReminder.S2C.Builder, com.moomoo.openapi.pb.QotGetPriceReminder.S2COrBuilder>(
getS2C(),
getParentForChildren(),
isClean());
s2C_ = null;
}
return s2CBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Qot_GetPriceReminder.Response)
}
// @@protoc_insertion_point(class_scope:Qot_GetPriceReminder.Response)
private static final com.moomoo.openapi.pb.QotGetPriceReminder.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.moomoo.openapi.pb.QotGetPriceReminder.Response();
}
public static com.moomoo.openapi.pb.QotGetPriceReminder.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.QotGetPriceReminder.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_GetPriceReminder_PriceReminderItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_GetPriceReminder_PriceReminderItem_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_GetPriceReminder_PriceReminder_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_GetPriceReminder_PriceReminder_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_GetPriceReminder_C2S_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_GetPriceReminder_C2S_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_GetPriceReminder_S2C_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_GetPriceReminder_S2C_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_GetPriceReminder_Request_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_GetPriceReminder_Request_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Qot_GetPriceReminder_Response_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Qot_GetPriceReminder_Response_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032Qot_GetPriceReminder.proto\022\024Qot_GetPri" +
"ceReminder\032\014Common.proto\032\020Qot_Common.pro" +
"to\"k\n\021PriceReminderItem\022\013\n\003key\030\001 \002(\003\022\014\n\004" +
"type\030\002 \002(\005\022\r\n\005value\030\003 \002(\001\022\014\n\004note\030\004 \002(\t\022" +
"\014\n\004freq\030\005 \002(\005\022\020\n\010isEnable\030\006 \002(\010\"\200\001\n\rPric" +
"eReminder\022&\n\010security\030\001 \002(\0132\024.Qot_Common" +
".Security\022\014\n\004name\030\003 \001(\t\0229\n\010itemList\030\002 \003(" +
"\0132\'.Qot_GetPriceReminder.PriceReminderIt" +
"em\"=\n\003C2S\022&\n\010security\030\001 \001(\0132\024.Qot_Common" +
".Security\022\016\n\006market\030\002 \001(\005\"E\n\003S2C\022>\n\021pric" +
"eReminderList\030\001 \003(\0132#.Qot_GetPriceRemind" +
"er.PriceReminder\"1\n\007Request\022&\n\003c2s\030\001 \002(\013" +
"2\031.Qot_GetPriceReminder.C2S\"j\n\010Response\022" +
"\025\n\007retType\030\001 \002(\005:\004-400\022\016\n\006retMsg\030\002 \001(\t\022\017" +
"\n\007errCode\030\003 \001(\005\022&\n\003s2c\030\004 \001(\0132\031.Qot_GetPr" +
"iceReminder.S2CBL\n\025com.moomoo.openapi.pb" +
"Z3github.com/futuopen/ftapi4go/pb/qotget" +
"pricereminder"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.moomoo.openapi.pb.Common.getDescriptor(),
com.moomoo.openapi.pb.QotCommon.getDescriptor(),
}, assigner);
internal_static_Qot_GetPriceReminder_PriceReminderItem_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Qot_GetPriceReminder_PriceReminderItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_GetPriceReminder_PriceReminderItem_descriptor,
new java.lang.String[] { "Key", "Type", "Value", "Note", "Freq", "IsEnable", });
internal_static_Qot_GetPriceReminder_PriceReminder_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Qot_GetPriceReminder_PriceReminder_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_GetPriceReminder_PriceReminder_descriptor,
new java.lang.String[] { "Security", "Name", "ItemList", });
internal_static_Qot_GetPriceReminder_C2S_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_Qot_GetPriceReminder_C2S_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_GetPriceReminder_C2S_descriptor,
new java.lang.String[] { "Security", "Market", });
internal_static_Qot_GetPriceReminder_S2C_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_Qot_GetPriceReminder_S2C_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_GetPriceReminder_S2C_descriptor,
new java.lang.String[] { "PriceReminderList", });
internal_static_Qot_GetPriceReminder_Request_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_Qot_GetPriceReminder_Request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_GetPriceReminder_Request_descriptor,
new java.lang.String[] { "C2S", });
internal_static_Qot_GetPriceReminder_Response_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_Qot_GetPriceReminder_Response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Qot_GetPriceReminder_Response_descriptor,
new java.lang.String[] { "RetType", "RetMsg", "ErrCode", "S2C", });
com.moomoo.openapi.pb.Common.getDescriptor();
com.moomoo.openapi.pb.QotCommon.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}