// Generated by the protocol buffer compiler. DO NOT EDIT! // source: struct.proto package mqComsumerV1; public final class Struct { private Struct() {} 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 RecordOrBuilder extends // @@protoc_insertion_point(interface_extends:mqComsumerV1.Record) com.google.protobuf.MessageOrBuilder { /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ java.util.List getEntityList(); /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ mqComsumerV1.Struct.LearnEntity getEntity(int index); /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ int getEntityCount(); /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ java.util.List getEntityOrBuilderList(); /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ mqComsumerV1.Struct.LearnEntityOrBuilder getEntityOrBuilder( int index); /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ java.util.List getDurationList(); /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ mqComsumerV1.Struct.LearnDuration getDuration(int index); /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ int getDurationCount(); /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ java.util.List getDurationOrBuilderList(); /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ mqComsumerV1.Struct.LearnDurationOrBuilder getDurationOrBuilder( int index); /** * repeated .mqComsumerV1.LearnExam exam = 3; */ java.util.List getExamList(); /** * repeated .mqComsumerV1.LearnExam exam = 3; */ mqComsumerV1.Struct.LearnExam getExam(int index); /** * repeated .mqComsumerV1.LearnExam exam = 3; */ int getExamCount(); /** * repeated .mqComsumerV1.LearnExam exam = 3; */ java.util.List getExamOrBuilderList(); /** * repeated .mqComsumerV1.LearnExam exam = 3; */ mqComsumerV1.Struct.LearnExamOrBuilder getExamOrBuilder( int index); /** * int64 user_id = 4; * @return The userId. */ long getUserId(); /** * int64 school_id = 5; * @return The schoolId. */ long getSchoolId(); /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ java.util.List getScheduleList(); /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ mqComsumerV1.Struct.LearnSchedule getSchedule(int index); /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ int getScheduleCount(); /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ java.util.List getScheduleOrBuilderList(); /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ mqComsumerV1.Struct.LearnScheduleOrBuilder getScheduleOrBuilder( int index); /** *
     *时间戳,服务器会记录最新一次时间戳,上传时间戳如果小于记录时间戳,直接忽略该数据
     * 
* * int64 version = 7; * @return The version. */ long getVersion(); /** * int64 corp_id = 8; * @return The corpId. */ long getCorpId(); /** *
     *0 PC;1 移动
     * 
* * int64 client_type = 9; * @return The clientType. */ long getClientType(); } /** *
   * 数据分表沿用目前的截取用户id后三位的模式,依然为1000张表
   * 
* * Protobuf type {@code mqComsumerV1.Record} */ public static final class Record extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mqComsumerV1.Record) RecordOrBuilder { private static final long serialVersionUID = 0L; // Use Record.newBuilder() to construct. private Record(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Record() { entity_ = java.util.Collections.emptyList(); duration_ = java.util.Collections.emptyList(); exam_ = java.util.Collections.emptyList(); schedule_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Record(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Record( 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; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { entity_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entity_.add( input.readMessage(mqComsumerV1.Struct.LearnEntity.parser(), extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { duration_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } duration_.add( input.readMessage(mqComsumerV1.Struct.LearnDuration.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { exam_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } exam_.add( input.readMessage(mqComsumerV1.Struct.LearnExam.parser(), extensionRegistry)); break; } case 32: { userId_ = input.readInt64(); break; } case 40: { schoolId_ = input.readInt64(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { schedule_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } schedule_.add( input.readMessage(mqComsumerV1.Struct.LearnSchedule.parser(), extensionRegistry)); break; } case 56: { version_ = input.readInt64(); break; } case 64: { corpId_ = input.readInt64(); break; } case 72: { clientType_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } 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) != 0)) { entity_ = java.util.Collections.unmodifiableList(entity_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { duration_ = java.util.Collections.unmodifiableList(duration_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { exam_ = java.util.Collections.unmodifiableList(exam_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { schedule_ = java.util.Collections.unmodifiableList(schedule_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_Record_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_Record_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.Record.class, mqComsumerV1.Struct.Record.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private java.util.List entity_; /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ @java.lang.Override public java.util.List getEntityList() { return entity_; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ @java.lang.Override public java.util.List getEntityOrBuilderList() { return entity_; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ @java.lang.Override public int getEntityCount() { return entity_.size(); } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ @java.lang.Override public mqComsumerV1.Struct.LearnEntity getEntity(int index) { return entity_.get(index); } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ @java.lang.Override public mqComsumerV1.Struct.LearnEntityOrBuilder getEntityOrBuilder( int index) { return entity_.get(index); } public static final int DURATION_FIELD_NUMBER = 2; private java.util.List duration_; /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ @java.lang.Override public java.util.List getDurationList() { return duration_; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ @java.lang.Override public java.util.List getDurationOrBuilderList() { return duration_; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ @java.lang.Override public int getDurationCount() { return duration_.size(); } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ @java.lang.Override public mqComsumerV1.Struct.LearnDuration getDuration(int index) { return duration_.get(index); } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ @java.lang.Override public mqComsumerV1.Struct.LearnDurationOrBuilder getDurationOrBuilder( int index) { return duration_.get(index); } public static final int EXAM_FIELD_NUMBER = 3; private java.util.List exam_; /** * repeated .mqComsumerV1.LearnExam exam = 3; */ @java.lang.Override public java.util.List getExamList() { return exam_; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ @java.lang.Override public java.util.List getExamOrBuilderList() { return exam_; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ @java.lang.Override public int getExamCount() { return exam_.size(); } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ @java.lang.Override public mqComsumerV1.Struct.LearnExam getExam(int index) { return exam_.get(index); } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ @java.lang.Override public mqComsumerV1.Struct.LearnExamOrBuilder getExamOrBuilder( int index) { return exam_.get(index); } public static final int USER_ID_FIELD_NUMBER = 4; private long userId_; /** * int64 user_id = 4; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } public static final int SCHOOL_ID_FIELD_NUMBER = 5; private long schoolId_; /** * int64 school_id = 5; * @return The schoolId. */ @java.lang.Override public long getSchoolId() { return schoolId_; } public static final int SCHEDULE_FIELD_NUMBER = 6; private java.util.List schedule_; /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ @java.lang.Override public java.util.List getScheduleList() { return schedule_; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ @java.lang.Override public java.util.List getScheduleOrBuilderList() { return schedule_; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ @java.lang.Override public int getScheduleCount() { return schedule_.size(); } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ @java.lang.Override public mqComsumerV1.Struct.LearnSchedule getSchedule(int index) { return schedule_.get(index); } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ @java.lang.Override public mqComsumerV1.Struct.LearnScheduleOrBuilder getScheduleOrBuilder( int index) { return schedule_.get(index); } public static final int VERSION_FIELD_NUMBER = 7; private long version_; /** *
     *时间戳,服务器会记录最新一次时间戳,上传时间戳如果小于记录时间戳,直接忽略该数据
     * 
* * int64 version = 7; * @return The version. */ @java.lang.Override public long getVersion() { return version_; } public static final int CORP_ID_FIELD_NUMBER = 8; private long corpId_; /** * int64 corp_id = 8; * @return The corpId. */ @java.lang.Override public long getCorpId() { return corpId_; } public static final int CLIENT_TYPE_FIELD_NUMBER = 9; private long clientType_; /** *
     *0 PC;1 移动
     * 
* * int64 client_type = 9; * @return The clientType. */ @java.lang.Override public long getClientType() { return clientType_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entity_.size(); i++) { output.writeMessage(1, entity_.get(i)); } for (int i = 0; i < duration_.size(); i++) { output.writeMessage(2, duration_.get(i)); } for (int i = 0; i < exam_.size(); i++) { output.writeMessage(3, exam_.get(i)); } if (userId_ != 0L) { output.writeInt64(4, userId_); } if (schoolId_ != 0L) { output.writeInt64(5, schoolId_); } for (int i = 0; i < schedule_.size(); i++) { output.writeMessage(6, schedule_.get(i)); } if (version_ != 0L) { output.writeInt64(7, version_); } if (corpId_ != 0L) { output.writeInt64(8, corpId_); } if (clientType_ != 0L) { output.writeInt64(9, clientType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entity_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, entity_.get(i)); } for (int i = 0; i < duration_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, duration_.get(i)); } for (int i = 0; i < exam_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, exam_.get(i)); } if (userId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, userId_); } if (schoolId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, schoolId_); } for (int i = 0; i < schedule_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, schedule_.get(i)); } if (version_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, version_); } if (corpId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, corpId_); } if (clientType_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, clientType_); } 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 mqComsumerV1.Struct.Record)) { return super.equals(obj); } mqComsumerV1.Struct.Record other = (mqComsumerV1.Struct.Record) obj; if (!getEntityList() .equals(other.getEntityList())) return false; if (!getDurationList() .equals(other.getDurationList())) return false; if (!getExamList() .equals(other.getExamList())) return false; if (getUserId() != other.getUserId()) return false; if (getSchoolId() != other.getSchoolId()) return false; if (!getScheduleList() .equals(other.getScheduleList())) return false; if (getVersion() != other.getVersion()) return false; if (getCorpId() != other.getCorpId()) return false; if (getClientType() != other.getClientType()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getEntityCount() > 0) { hash = (37 * hash) + ENTITY_FIELD_NUMBER; hash = (53 * hash) + getEntityList().hashCode(); } if (getDurationCount() > 0) { hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + getDurationList().hashCode(); } if (getExamCount() > 0) { hash = (37 * hash) + EXAM_FIELD_NUMBER; hash = (53 * hash) + getExamList().hashCode(); } hash = (37 * hash) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); hash = (37 * hash) + SCHOOL_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSchoolId()); if (getScheduleCount() > 0) { hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getScheduleList().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVersion()); hash = (37 * hash) + CORP_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCorpId()); hash = (37 * hash) + CLIENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getClientType()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mqComsumerV1.Struct.Record parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.Record parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.Record parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.Record parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.Record parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.Record parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.Record parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.Record 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 mqComsumerV1.Struct.Record parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mqComsumerV1.Struct.Record 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 mqComsumerV1.Struct.Record parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.Record parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(mqComsumerV1.Struct.Record prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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; } /** *
     * 数据分表沿用目前的截取用户id后三位的模式,依然为1000张表
     * 
* * Protobuf type {@code mqComsumerV1.Record} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mqComsumerV1.Record) mqComsumerV1.Struct.RecordOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_Record_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_Record_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.Record.class, mqComsumerV1.Struct.Record.Builder.class); } // Construct using mqComsumerV1.Struct.Record.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntityFieldBuilder(); getDurationFieldBuilder(); getExamFieldBuilder(); getScheduleFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (entityBuilder_ == null) { entity_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entityBuilder_.clear(); } if (durationBuilder_ == null) { duration_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { durationBuilder_.clear(); } if (examBuilder_ == null) { exam_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { examBuilder_.clear(); } userId_ = 0L; schoolId_ = 0L; if (scheduleBuilder_ == null) { schedule_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { scheduleBuilder_.clear(); } version_ = 0L; corpId_ = 0L; clientType_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_Record_descriptor; } @java.lang.Override public mqComsumerV1.Struct.Record getDefaultInstanceForType() { return mqComsumerV1.Struct.Record.getDefaultInstance(); } @java.lang.Override public mqComsumerV1.Struct.Record build() { mqComsumerV1.Struct.Record result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mqComsumerV1.Struct.Record buildPartial() { mqComsumerV1.Struct.Record result = new mqComsumerV1.Struct.Record(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entity_ = java.util.Collections.unmodifiableList(entity_); bitField0_ = (bitField0_ & ~0x00000001); } result.entity_ = entity_; } else { result.entity_ = entityBuilder_.build(); } if (durationBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { duration_ = java.util.Collections.unmodifiableList(duration_); bitField0_ = (bitField0_ & ~0x00000002); } result.duration_ = duration_; } else { result.duration_ = durationBuilder_.build(); } if (examBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { exam_ = java.util.Collections.unmodifiableList(exam_); bitField0_ = (bitField0_ & ~0x00000004); } result.exam_ = exam_; } else { result.exam_ = examBuilder_.build(); } result.userId_ = userId_; result.schoolId_ = schoolId_; if (scheduleBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { schedule_ = java.util.Collections.unmodifiableList(schedule_); bitField0_ = (bitField0_ & ~0x00000008); } result.schedule_ = schedule_; } else { result.schedule_ = scheduleBuilder_.build(); } result.version_ = version_; result.corpId_ = corpId_; result.clientType_ = clientType_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof mqComsumerV1.Struct.Record) { return mergeFrom((mqComsumerV1.Struct.Record)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mqComsumerV1.Struct.Record other) { if (other == mqComsumerV1.Struct.Record.getDefaultInstance()) return this; if (entityBuilder_ == null) { if (!other.entity_.isEmpty()) { if (entity_.isEmpty()) { entity_ = other.entity_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntityIsMutable(); entity_.addAll(other.entity_); } onChanged(); } } else { if (!other.entity_.isEmpty()) { if (entityBuilder_.isEmpty()) { entityBuilder_.dispose(); entityBuilder_ = null; entity_ = other.entity_; bitField0_ = (bitField0_ & ~0x00000001); entityBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntityFieldBuilder() : null; } else { entityBuilder_.addAllMessages(other.entity_); } } } if (durationBuilder_ == null) { if (!other.duration_.isEmpty()) { if (duration_.isEmpty()) { duration_ = other.duration_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDurationIsMutable(); duration_.addAll(other.duration_); } onChanged(); } } else { if (!other.duration_.isEmpty()) { if (durationBuilder_.isEmpty()) { durationBuilder_.dispose(); durationBuilder_ = null; duration_ = other.duration_; bitField0_ = (bitField0_ & ~0x00000002); durationBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDurationFieldBuilder() : null; } else { durationBuilder_.addAllMessages(other.duration_); } } } if (examBuilder_ == null) { if (!other.exam_.isEmpty()) { if (exam_.isEmpty()) { exam_ = other.exam_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureExamIsMutable(); exam_.addAll(other.exam_); } onChanged(); } } else { if (!other.exam_.isEmpty()) { if (examBuilder_.isEmpty()) { examBuilder_.dispose(); examBuilder_ = null; exam_ = other.exam_; bitField0_ = (bitField0_ & ~0x00000004); examBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExamFieldBuilder() : null; } else { examBuilder_.addAllMessages(other.exam_); } } } if (other.getUserId() != 0L) { setUserId(other.getUserId()); } if (other.getSchoolId() != 0L) { setSchoolId(other.getSchoolId()); } if (scheduleBuilder_ == null) { if (!other.schedule_.isEmpty()) { if (schedule_.isEmpty()) { schedule_ = other.schedule_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureScheduleIsMutable(); schedule_.addAll(other.schedule_); } onChanged(); } } else { if (!other.schedule_.isEmpty()) { if (scheduleBuilder_.isEmpty()) { scheduleBuilder_.dispose(); scheduleBuilder_ = null; schedule_ = other.schedule_; bitField0_ = (bitField0_ & ~0x00000008); scheduleBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getScheduleFieldBuilder() : null; } else { scheduleBuilder_.addAllMessages(other.schedule_); } } } if (other.getVersion() != 0L) { setVersion(other.getVersion()); } if (other.getCorpId() != 0L) { setCorpId(other.getCorpId()); } if (other.getClientType() != 0L) { setClientType(other.getClientType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { mqComsumerV1.Struct.Record parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mqComsumerV1.Struct.Record) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List entity_ = java.util.Collections.emptyList(); private void ensureEntityIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entity_ = new java.util.ArrayList(entity_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnEntity, mqComsumerV1.Struct.LearnEntity.Builder, mqComsumerV1.Struct.LearnEntityOrBuilder> entityBuilder_; /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public java.util.List getEntityList() { if (entityBuilder_ == null) { return java.util.Collections.unmodifiableList(entity_); } else { return entityBuilder_.getMessageList(); } } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public int getEntityCount() { if (entityBuilder_ == null) { return entity_.size(); } else { return entityBuilder_.getCount(); } } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public mqComsumerV1.Struct.LearnEntity getEntity(int index) { if (entityBuilder_ == null) { return entity_.get(index); } else { return entityBuilder_.getMessage(index); } } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder setEntity( int index, mqComsumerV1.Struct.LearnEntity value) { if (entityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntityIsMutable(); entity_.set(index, value); onChanged(); } else { entityBuilder_.setMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder setEntity( int index, mqComsumerV1.Struct.LearnEntity.Builder builderForValue) { if (entityBuilder_ == null) { ensureEntityIsMutable(); entity_.set(index, builderForValue.build()); onChanged(); } else { entityBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder addEntity(mqComsumerV1.Struct.LearnEntity value) { if (entityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntityIsMutable(); entity_.add(value); onChanged(); } else { entityBuilder_.addMessage(value); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder addEntity( int index, mqComsumerV1.Struct.LearnEntity value) { if (entityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntityIsMutable(); entity_.add(index, value); onChanged(); } else { entityBuilder_.addMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder addEntity( mqComsumerV1.Struct.LearnEntity.Builder builderForValue) { if (entityBuilder_ == null) { ensureEntityIsMutable(); entity_.add(builderForValue.build()); onChanged(); } else { entityBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder addEntity( int index, mqComsumerV1.Struct.LearnEntity.Builder builderForValue) { if (entityBuilder_ == null) { ensureEntityIsMutable(); entity_.add(index, builderForValue.build()); onChanged(); } else { entityBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder addAllEntity( java.lang.Iterable values) { if (entityBuilder_ == null) { ensureEntityIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entity_); onChanged(); } else { entityBuilder_.addAllMessages(values); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder clearEntity() { if (entityBuilder_ == null) { entity_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entityBuilder_.clear(); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public Builder removeEntity(int index) { if (entityBuilder_ == null) { ensureEntityIsMutable(); entity_.remove(index); onChanged(); } else { entityBuilder_.remove(index); } return this; } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public mqComsumerV1.Struct.LearnEntity.Builder getEntityBuilder( int index) { return getEntityFieldBuilder().getBuilder(index); } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public mqComsumerV1.Struct.LearnEntityOrBuilder getEntityOrBuilder( int index) { if (entityBuilder_ == null) { return entity_.get(index); } else { return entityBuilder_.getMessageOrBuilder(index); } } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public java.util.List getEntityOrBuilderList() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entity_); } } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public mqComsumerV1.Struct.LearnEntity.Builder addEntityBuilder() { return getEntityFieldBuilder().addBuilder( mqComsumerV1.Struct.LearnEntity.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public mqComsumerV1.Struct.LearnEntity.Builder addEntityBuilder( int index) { return getEntityFieldBuilder().addBuilder( index, mqComsumerV1.Struct.LearnEntity.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnEntity entity = 1; */ public java.util.List getEntityBuilderList() { return getEntityFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnEntity, mqComsumerV1.Struct.LearnEntity.Builder, mqComsumerV1.Struct.LearnEntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { entityBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnEntity, mqComsumerV1.Struct.LearnEntity.Builder, mqComsumerV1.Struct.LearnEntityOrBuilder>( entity_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private java.util.List duration_ = java.util.Collections.emptyList(); private void ensureDurationIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { duration_ = new java.util.ArrayList(duration_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnDuration, mqComsumerV1.Struct.LearnDuration.Builder, mqComsumerV1.Struct.LearnDurationOrBuilder> durationBuilder_; /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public java.util.List getDurationList() { if (durationBuilder_ == null) { return java.util.Collections.unmodifiableList(duration_); } else { return durationBuilder_.getMessageList(); } } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public int getDurationCount() { if (durationBuilder_ == null) { return duration_.size(); } else { return durationBuilder_.getCount(); } } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public mqComsumerV1.Struct.LearnDuration getDuration(int index) { if (durationBuilder_ == null) { return duration_.get(index); } else { return durationBuilder_.getMessage(index); } } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder setDuration( int index, mqComsumerV1.Struct.LearnDuration value) { if (durationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDurationIsMutable(); duration_.set(index, value); onChanged(); } else { durationBuilder_.setMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder setDuration( int index, mqComsumerV1.Struct.LearnDuration.Builder builderForValue) { if (durationBuilder_ == null) { ensureDurationIsMutable(); duration_.set(index, builderForValue.build()); onChanged(); } else { durationBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder addDuration(mqComsumerV1.Struct.LearnDuration value) { if (durationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDurationIsMutable(); duration_.add(value); onChanged(); } else { durationBuilder_.addMessage(value); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder addDuration( int index, mqComsumerV1.Struct.LearnDuration value) { if (durationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDurationIsMutable(); duration_.add(index, value); onChanged(); } else { durationBuilder_.addMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder addDuration( mqComsumerV1.Struct.LearnDuration.Builder builderForValue) { if (durationBuilder_ == null) { ensureDurationIsMutable(); duration_.add(builderForValue.build()); onChanged(); } else { durationBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder addDuration( int index, mqComsumerV1.Struct.LearnDuration.Builder builderForValue) { if (durationBuilder_ == null) { ensureDurationIsMutable(); duration_.add(index, builderForValue.build()); onChanged(); } else { durationBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder addAllDuration( java.lang.Iterable values) { if (durationBuilder_ == null) { ensureDurationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, duration_); onChanged(); } else { durationBuilder_.addAllMessages(values); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder clearDuration() { if (durationBuilder_ == null) { duration_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { durationBuilder_.clear(); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public Builder removeDuration(int index) { if (durationBuilder_ == null) { ensureDurationIsMutable(); duration_.remove(index); onChanged(); } else { durationBuilder_.remove(index); } return this; } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public mqComsumerV1.Struct.LearnDuration.Builder getDurationBuilder( int index) { return getDurationFieldBuilder().getBuilder(index); } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public mqComsumerV1.Struct.LearnDurationOrBuilder getDurationOrBuilder( int index) { if (durationBuilder_ == null) { return duration_.get(index); } else { return durationBuilder_.getMessageOrBuilder(index); } } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public java.util.List getDurationOrBuilderList() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(duration_); } } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public mqComsumerV1.Struct.LearnDuration.Builder addDurationBuilder() { return getDurationFieldBuilder().addBuilder( mqComsumerV1.Struct.LearnDuration.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public mqComsumerV1.Struct.LearnDuration.Builder addDurationBuilder( int index) { return getDurationFieldBuilder().addBuilder( index, mqComsumerV1.Struct.LearnDuration.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnDuration duration = 2; */ public java.util.List getDurationBuilderList() { return getDurationFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnDuration, mqComsumerV1.Struct.LearnDuration.Builder, mqComsumerV1.Struct.LearnDurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { durationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnDuration, mqComsumerV1.Struct.LearnDuration.Builder, mqComsumerV1.Struct.LearnDurationOrBuilder>( duration_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } private java.util.List exam_ = java.util.Collections.emptyList(); private void ensureExamIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { exam_ = new java.util.ArrayList(exam_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnExam, mqComsumerV1.Struct.LearnExam.Builder, mqComsumerV1.Struct.LearnExamOrBuilder> examBuilder_; /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public java.util.List getExamList() { if (examBuilder_ == null) { return java.util.Collections.unmodifiableList(exam_); } else { return examBuilder_.getMessageList(); } } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public int getExamCount() { if (examBuilder_ == null) { return exam_.size(); } else { return examBuilder_.getCount(); } } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public mqComsumerV1.Struct.LearnExam getExam(int index) { if (examBuilder_ == null) { return exam_.get(index); } else { return examBuilder_.getMessage(index); } } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder setExam( int index, mqComsumerV1.Struct.LearnExam value) { if (examBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExamIsMutable(); exam_.set(index, value); onChanged(); } else { examBuilder_.setMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder setExam( int index, mqComsumerV1.Struct.LearnExam.Builder builderForValue) { if (examBuilder_ == null) { ensureExamIsMutable(); exam_.set(index, builderForValue.build()); onChanged(); } else { examBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder addExam(mqComsumerV1.Struct.LearnExam value) { if (examBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExamIsMutable(); exam_.add(value); onChanged(); } else { examBuilder_.addMessage(value); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder addExam( int index, mqComsumerV1.Struct.LearnExam value) { if (examBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExamIsMutable(); exam_.add(index, value); onChanged(); } else { examBuilder_.addMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder addExam( mqComsumerV1.Struct.LearnExam.Builder builderForValue) { if (examBuilder_ == null) { ensureExamIsMutable(); exam_.add(builderForValue.build()); onChanged(); } else { examBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder addExam( int index, mqComsumerV1.Struct.LearnExam.Builder builderForValue) { if (examBuilder_ == null) { ensureExamIsMutable(); exam_.add(index, builderForValue.build()); onChanged(); } else { examBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder addAllExam( java.lang.Iterable values) { if (examBuilder_ == null) { ensureExamIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, exam_); onChanged(); } else { examBuilder_.addAllMessages(values); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder clearExam() { if (examBuilder_ == null) { exam_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { examBuilder_.clear(); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public Builder removeExam(int index) { if (examBuilder_ == null) { ensureExamIsMutable(); exam_.remove(index); onChanged(); } else { examBuilder_.remove(index); } return this; } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public mqComsumerV1.Struct.LearnExam.Builder getExamBuilder( int index) { return getExamFieldBuilder().getBuilder(index); } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public mqComsumerV1.Struct.LearnExamOrBuilder getExamOrBuilder( int index) { if (examBuilder_ == null) { return exam_.get(index); } else { return examBuilder_.getMessageOrBuilder(index); } } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public java.util.List getExamOrBuilderList() { if (examBuilder_ != null) { return examBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(exam_); } } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public mqComsumerV1.Struct.LearnExam.Builder addExamBuilder() { return getExamFieldBuilder().addBuilder( mqComsumerV1.Struct.LearnExam.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public mqComsumerV1.Struct.LearnExam.Builder addExamBuilder( int index) { return getExamFieldBuilder().addBuilder( index, mqComsumerV1.Struct.LearnExam.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnExam exam = 3; */ public java.util.List getExamBuilderList() { return getExamFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnExam, mqComsumerV1.Struct.LearnExam.Builder, mqComsumerV1.Struct.LearnExamOrBuilder> getExamFieldBuilder() { if (examBuilder_ == null) { examBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnExam, mqComsumerV1.Struct.LearnExam.Builder, mqComsumerV1.Struct.LearnExamOrBuilder>( exam_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); exam_ = null; } return examBuilder_; } private long userId_ ; /** * int64 user_id = 4; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } /** * int64 user_id = 4; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { userId_ = value; onChanged(); return this; } /** * int64 user_id = 4; * @return This builder for chaining. */ public Builder clearUserId() { userId_ = 0L; onChanged(); return this; } private long schoolId_ ; /** * int64 school_id = 5; * @return The schoolId. */ @java.lang.Override public long getSchoolId() { return schoolId_; } /** * int64 school_id = 5; * @param value The schoolId to set. * @return This builder for chaining. */ public Builder setSchoolId(long value) { schoolId_ = value; onChanged(); return this; } /** * int64 school_id = 5; * @return This builder for chaining. */ public Builder clearSchoolId() { schoolId_ = 0L; onChanged(); return this; } private java.util.List schedule_ = java.util.Collections.emptyList(); private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { schedule_ = new java.util.ArrayList(schedule_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnSchedule, mqComsumerV1.Struct.LearnSchedule.Builder, mqComsumerV1.Struct.LearnScheduleOrBuilder> scheduleBuilder_; /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public java.util.List getScheduleList() { if (scheduleBuilder_ == null) { return java.util.Collections.unmodifiableList(schedule_); } else { return scheduleBuilder_.getMessageList(); } } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public int getScheduleCount() { if (scheduleBuilder_ == null) { return schedule_.size(); } else { return scheduleBuilder_.getCount(); } } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public mqComsumerV1.Struct.LearnSchedule getSchedule(int index) { if (scheduleBuilder_ == null) { return schedule_.get(index); } else { return scheduleBuilder_.getMessage(index); } } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder setSchedule( int index, mqComsumerV1.Struct.LearnSchedule value) { if (scheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); } else { scheduleBuilder_.setMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder setSchedule( int index, mqComsumerV1.Struct.LearnSchedule.Builder builderForValue) { if (scheduleBuilder_ == null) { ensureScheduleIsMutable(); schedule_.set(index, builderForValue.build()); onChanged(); } else { scheduleBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder addSchedule(mqComsumerV1.Struct.LearnSchedule value) { if (scheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScheduleIsMutable(); schedule_.add(value); onChanged(); } else { scheduleBuilder_.addMessage(value); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder addSchedule( int index, mqComsumerV1.Struct.LearnSchedule value) { if (scheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScheduleIsMutable(); schedule_.add(index, value); onChanged(); } else { scheduleBuilder_.addMessage(index, value); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder addSchedule( mqComsumerV1.Struct.LearnSchedule.Builder builderForValue) { if (scheduleBuilder_ == null) { ensureScheduleIsMutable(); schedule_.add(builderForValue.build()); onChanged(); } else { scheduleBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder addSchedule( int index, mqComsumerV1.Struct.LearnSchedule.Builder builderForValue) { if (scheduleBuilder_ == null) { ensureScheduleIsMutable(); schedule_.add(index, builderForValue.build()); onChanged(); } else { scheduleBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder addAllSchedule( java.lang.Iterable values) { if (scheduleBuilder_ == null) { ensureScheduleIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, schedule_); onChanged(); } else { scheduleBuilder_.addAllMessages(values); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder clearSchedule() { if (scheduleBuilder_ == null) { schedule_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { scheduleBuilder_.clear(); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public Builder removeSchedule(int index) { if (scheduleBuilder_ == null) { ensureScheduleIsMutable(); schedule_.remove(index); onChanged(); } else { scheduleBuilder_.remove(index); } return this; } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public mqComsumerV1.Struct.LearnSchedule.Builder getScheduleBuilder( int index) { return getScheduleFieldBuilder().getBuilder(index); } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public mqComsumerV1.Struct.LearnScheduleOrBuilder getScheduleOrBuilder( int index) { if (scheduleBuilder_ == null) { return schedule_.get(index); } else { return scheduleBuilder_.getMessageOrBuilder(index); } } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public java.util.List getScheduleOrBuilderList() { if (scheduleBuilder_ != null) { return scheduleBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(schedule_); } } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public mqComsumerV1.Struct.LearnSchedule.Builder addScheduleBuilder() { return getScheduleFieldBuilder().addBuilder( mqComsumerV1.Struct.LearnSchedule.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public mqComsumerV1.Struct.LearnSchedule.Builder addScheduleBuilder( int index) { return getScheduleFieldBuilder().addBuilder( index, mqComsumerV1.Struct.LearnSchedule.getDefaultInstance()); } /** * repeated .mqComsumerV1.LearnSchedule schedule = 6; */ public java.util.List getScheduleBuilderList() { return getScheduleFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnSchedule, mqComsumerV1.Struct.LearnSchedule.Builder, mqComsumerV1.Struct.LearnScheduleOrBuilder> getScheduleFieldBuilder() { if (scheduleBuilder_ == null) { scheduleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.LearnSchedule, mqComsumerV1.Struct.LearnSchedule.Builder, mqComsumerV1.Struct.LearnScheduleOrBuilder>( schedule_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); schedule_ = null; } return scheduleBuilder_; } private long version_ ; /** *
       *时间戳,服务器会记录最新一次时间戳,上传时间戳如果小于记录时间戳,直接忽略该数据
       * 
* * int64 version = 7; * @return The version. */ @java.lang.Override public long getVersion() { return version_; } /** *
       *时间戳,服务器会记录最新一次时间戳,上传时间戳如果小于记录时间戳,直接忽略该数据
       * 
* * int64 version = 7; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(long value) { version_ = value; onChanged(); return this; } /** *
       *时间戳,服务器会记录最新一次时间戳,上传时间戳如果小于记录时间戳,直接忽略该数据
       * 
* * int64 version = 7; * @return This builder for chaining. */ public Builder clearVersion() { version_ = 0L; onChanged(); return this; } private long corpId_ ; /** * int64 corp_id = 8; * @return The corpId. */ @java.lang.Override public long getCorpId() { return corpId_; } /** * int64 corp_id = 8; * @param value The corpId to set. * @return This builder for chaining. */ public Builder setCorpId(long value) { corpId_ = value; onChanged(); return this; } /** * int64 corp_id = 8; * @return This builder for chaining. */ public Builder clearCorpId() { corpId_ = 0L; onChanged(); return this; } private long clientType_ ; /** *
       *0 PC;1 移动
       * 
* * int64 client_type = 9; * @return The clientType. */ @java.lang.Override public long getClientType() { return clientType_; } /** *
       *0 PC;1 移动
       * 
* * int64 client_type = 9; * @param value The clientType to set. * @return This builder for chaining. */ public Builder setClientType(long value) { clientType_ = value; onChanged(); return this; } /** *
       *0 PC;1 移动
       * 
* * int64 client_type = 9; * @return This builder for chaining. */ public Builder clearClientType() { clientType_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:mqComsumerV1.Record) } // @@protoc_insertion_point(class_scope:mqComsumerV1.Record) private static final mqComsumerV1.Struct.Record DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mqComsumerV1.Struct.Record(); } public static mqComsumerV1.Struct.Record getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Record parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Record(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mqComsumerV1.Struct.Record getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LearnEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:mqComsumerV1.LearnEntity) com.google.protobuf.MessageOrBuilder { /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ long getProjectId(); /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ long getPackId(); /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ long getCourseId(); /** *
     *章节id
     * 
* * int64 chapter_id = 4; * @return The chapterId. */ long getChapterId(); /** *
     *条目id
     * 
* * int64 entity_id = 5; * @return The entityId. */ long getEntityId(); /** *
     *是否学习错误
     * 
* * bool is_error = 6; * @return The isError. */ boolean getIsError(); /** *
     *复习次数
     * 
* * int64 review_num = 7; * @return The reviewNum. */ long getReviewNum(); /** *
     *最后复习日期
     * 
* * string last_review_date = 8; * @return The lastReviewDate. */ java.lang.String getLastReviewDate(); /** *
     *最后复习日期
     * 
* * string last_review_date = 8; * @return The bytes for lastReviewDate. */ com.google.protobuf.ByteString getLastReviewDateBytes(); /** *
     *附加字段
     * 
* * string ext = 9; * @return The ext. */ java.lang.String getExt(); /** *
     *附加字段
     * 
* * string ext = 9; * @return The bytes for ext. */ com.google.protobuf.ByteString getExtBytes(); /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 10; * @return The tag. */ java.lang.String getTag(); /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 10; * @return The bytes for tag. */ com.google.protobuf.ByteString getTagBytes(); /** *
     *数据创建时间
     * 
* * string created = 11; * @return The created. */ java.lang.String getCreated(); /** *
     *数据创建时间
     * 
* * string created = 11; * @return The bytes for created. */ com.google.protobuf.ByteString getCreatedBytes(); /** *
     *是否是从轨迹来的
     * 
* * bool is_from_track = 12; * @return The isFromTrack. */ boolean getIsFromTrack(); /** *
     *上次选择是正确/错误,与is_from_track联合使用
     * 
* * bool last_is_error = 13; * @return The lastIsError. */ boolean getLastIsError(); /** *
     * 是否是课堂练习,仅针对作文,仅保存进度点
     * 
* * bool is_comp_exercise = 14; * @return The isCompExercise. */ boolean getIsCompExercise(); /** * int64 lesson_id = 15; * @return The lessonId. */ long getLessonId(); /** *
     * 是否是学前测试来的
     * 
* * bool is_from_exam = 16; * @return The isFromExam. */ boolean getIsFromExam(); /** *
     * 仅保存进度
     * 
* * bool is_only_save_point = 17; * @return The isOnlySavePoint. */ boolean getIsOnlySavePoint(); } /** *
   * 单词学习情况
   * 
* * Protobuf type {@code mqComsumerV1.LearnEntity} */ public static final class LearnEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mqComsumerV1.LearnEntity) LearnEntityOrBuilder { private static final long serialVersionUID = 0L; // Use LearnEntity.newBuilder() to construct. private LearnEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LearnEntity() { lastReviewDate_ = ""; ext_ = ""; tag_ = ""; created_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LearnEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LearnEntity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 8: { projectId_ = input.readInt64(); break; } case 16: { packId_ = input.readInt64(); break; } case 24: { courseId_ = input.readInt64(); break; } case 32: { chapterId_ = input.readInt64(); break; } case 40: { entityId_ = input.readInt64(); break; } case 48: { isError_ = input.readBool(); break; } case 56: { reviewNum_ = input.readInt64(); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); lastReviewDate_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); ext_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); tag_ = s; break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); created_ = s; break; } case 96: { isFromTrack_ = input.readBool(); break; } case 104: { lastIsError_ = input.readBool(); break; } case 112: { isCompExercise_ = input.readBool(); break; } case 120: { lessonId_ = input.readInt64(); break; } case 128: { isFromExam_ = input.readBool(); break; } case 136: { isOnlySavePoint_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } 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 mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnEntity.class, mqComsumerV1.Struct.LearnEntity.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private long projectId_; /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } public static final int PACK_ID_FIELD_NUMBER = 2; private long packId_; /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } public static final int COURSE_ID_FIELD_NUMBER = 3; private long courseId_; /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } public static final int CHAPTER_ID_FIELD_NUMBER = 4; private long chapterId_; /** *
     *章节id
     * 
* * int64 chapter_id = 4; * @return The chapterId. */ @java.lang.Override public long getChapterId() { return chapterId_; } public static final int ENTITY_ID_FIELD_NUMBER = 5; private long entityId_; /** *
     *条目id
     * 
* * int64 entity_id = 5; * @return The entityId. */ @java.lang.Override public long getEntityId() { return entityId_; } public static final int IS_ERROR_FIELD_NUMBER = 6; private boolean isError_; /** *
     *是否学习错误
     * 
* * bool is_error = 6; * @return The isError. */ @java.lang.Override public boolean getIsError() { return isError_; } public static final int REVIEW_NUM_FIELD_NUMBER = 7; private long reviewNum_; /** *
     *复习次数
     * 
* * int64 review_num = 7; * @return The reviewNum. */ @java.lang.Override public long getReviewNum() { return reviewNum_; } public static final int LAST_REVIEW_DATE_FIELD_NUMBER = 8; private volatile java.lang.Object lastReviewDate_; /** *
     *最后复习日期
     * 
* * string last_review_date = 8; * @return The lastReviewDate. */ @java.lang.Override public java.lang.String getLastReviewDate() { java.lang.Object ref = lastReviewDate_; 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(); lastReviewDate_ = s; return s; } } /** *
     *最后复习日期
     * 
* * string last_review_date = 8; * @return The bytes for lastReviewDate. */ @java.lang.Override public com.google.protobuf.ByteString getLastReviewDateBytes() { java.lang.Object ref = lastReviewDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastReviewDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXT_FIELD_NUMBER = 9; private volatile java.lang.Object ext_; /** *
     *附加字段
     * 
* * string ext = 9; * @return The ext. */ @java.lang.Override public java.lang.String getExt() { java.lang.Object ref = ext_; 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(); ext_ = s; return s; } } /** *
     *附加字段
     * 
* * string ext = 9; * @return The bytes for ext. */ @java.lang.Override public com.google.protobuf.ByteString getExtBytes() { java.lang.Object ref = ext_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ext_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAG_FIELD_NUMBER = 10; private volatile java.lang.Object tag_; /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 10; * @return The tag. */ @java.lang.Override public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; } } /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 10; * @return The bytes for tag. */ @java.lang.Override public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATED_FIELD_NUMBER = 11; private volatile java.lang.Object created_; /** *
     *数据创建时间
     * 
* * string created = 11; * @return The created. */ @java.lang.Override public java.lang.String getCreated() { java.lang.Object ref = created_; 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(); created_ = s; return s; } } /** *
     *数据创建时间
     * 
* * string created = 11; * @return The bytes for created. */ @java.lang.Override public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_FROM_TRACK_FIELD_NUMBER = 12; private boolean isFromTrack_; /** *
     *是否是从轨迹来的
     * 
* * bool is_from_track = 12; * @return The isFromTrack. */ @java.lang.Override public boolean getIsFromTrack() { return isFromTrack_; } public static final int LAST_IS_ERROR_FIELD_NUMBER = 13; private boolean lastIsError_; /** *
     *上次选择是正确/错误,与is_from_track联合使用
     * 
* * bool last_is_error = 13; * @return The lastIsError. */ @java.lang.Override public boolean getLastIsError() { return lastIsError_; } public static final int IS_COMP_EXERCISE_FIELD_NUMBER = 14; private boolean isCompExercise_; /** *
     * 是否是课堂练习,仅针对作文,仅保存进度点
     * 
* * bool is_comp_exercise = 14; * @return The isCompExercise. */ @java.lang.Override public boolean getIsCompExercise() { return isCompExercise_; } public static final int LESSON_ID_FIELD_NUMBER = 15; private long lessonId_; /** * int64 lesson_id = 15; * @return The lessonId. */ @java.lang.Override public long getLessonId() { return lessonId_; } public static final int IS_FROM_EXAM_FIELD_NUMBER = 16; private boolean isFromExam_; /** *
     * 是否是学前测试来的
     * 
* * bool is_from_exam = 16; * @return The isFromExam. */ @java.lang.Override public boolean getIsFromExam() { return isFromExam_; } public static final int IS_ONLY_SAVE_POINT_FIELD_NUMBER = 17; private boolean isOnlySavePoint_; /** *
     * 仅保存进度
     * 
* * bool is_only_save_point = 17; * @return The isOnlySavePoint. */ @java.lang.Override public boolean getIsOnlySavePoint() { return isOnlySavePoint_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (packId_ != 0L) { output.writeInt64(2, packId_); } if (courseId_ != 0L) { output.writeInt64(3, courseId_); } if (chapterId_ != 0L) { output.writeInt64(4, chapterId_); } if (entityId_ != 0L) { output.writeInt64(5, entityId_); } if (isError_ != false) { output.writeBool(6, isError_); } if (reviewNum_ != 0L) { output.writeInt64(7, reviewNum_); } if (!getLastReviewDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, lastReviewDate_); } if (!getExtBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, ext_); } if (!getTagBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, tag_); } if (!getCreatedBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, created_); } if (isFromTrack_ != false) { output.writeBool(12, isFromTrack_); } if (lastIsError_ != false) { output.writeBool(13, lastIsError_); } if (isCompExercise_ != false) { output.writeBool(14, isCompExercise_); } if (lessonId_ != 0L) { output.writeInt64(15, lessonId_); } if (isFromExam_ != false) { output.writeBool(16, isFromExam_); } if (isOnlySavePoint_ != false) { output.writeBool(17, isOnlySavePoint_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectId_); } if (packId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, packId_); } if (courseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, courseId_); } if (chapterId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, chapterId_); } if (entityId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, entityId_); } if (isError_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, isError_); } if (reviewNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, reviewNum_); } if (!getLastReviewDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, lastReviewDate_); } if (!getExtBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, ext_); } if (!getTagBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, tag_); } if (!getCreatedBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, created_); } if (isFromTrack_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, isFromTrack_); } if (lastIsError_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, lastIsError_); } if (isCompExercise_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, isCompExercise_); } if (lessonId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(15, lessonId_); } if (isFromExam_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, isFromExam_); } if (isOnlySavePoint_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(17, isOnlySavePoint_); } 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 mqComsumerV1.Struct.LearnEntity)) { return super.equals(obj); } mqComsumerV1.Struct.LearnEntity other = (mqComsumerV1.Struct.LearnEntity) obj; if (getProjectId() != other.getProjectId()) return false; if (getPackId() != other.getPackId()) return false; if (getCourseId() != other.getCourseId()) return false; if (getChapterId() != other.getChapterId()) return false; if (getEntityId() != other.getEntityId()) return false; if (getIsError() != other.getIsError()) return false; if (getReviewNum() != other.getReviewNum()) return false; if (!getLastReviewDate() .equals(other.getLastReviewDate())) return false; if (!getExt() .equals(other.getExt())) return false; if (!getTag() .equals(other.getTag())) return false; if (!getCreated() .equals(other.getCreated())) return false; if (getIsFromTrack() != other.getIsFromTrack()) return false; if (getLastIsError() != other.getLastIsError()) return false; if (getIsCompExercise() != other.getIsCompExercise()) return false; if (getLessonId() != other.getLessonId()) return false; if (getIsFromExam() != other.getIsFromExam()) return false; if (getIsOnlySavePoint() != other.getIsOnlySavePoint()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectId()); hash = (37 * hash) + PACK_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPackId()); hash = (37 * hash) + COURSE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCourseId()); hash = (37 * hash) + CHAPTER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChapterId()); hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEntityId()); hash = (37 * hash) + IS_ERROR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsError()); hash = (37 * hash) + REVIEW_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReviewNum()); hash = (37 * hash) + LAST_REVIEW_DATE_FIELD_NUMBER; hash = (53 * hash) + getLastReviewDate().hashCode(); hash = (37 * hash) + EXT_FIELD_NUMBER; hash = (53 * hash) + getExt().hashCode(); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); hash = (37 * hash) + IS_FROM_TRACK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsFromTrack()); hash = (37 * hash) + LAST_IS_ERROR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLastIsError()); hash = (37 * hash) + IS_COMP_EXERCISE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsCompExercise()); hash = (37 * hash) + LESSON_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLessonId()); hash = (37 * hash) + IS_FROM_EXAM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsFromExam()); hash = (37 * hash) + IS_ONLY_SAVE_POINT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsOnlySavePoint()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mqComsumerV1.Struct.LearnEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnEntity 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 mqComsumerV1.Struct.LearnEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnEntity 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 mqComsumerV1.Struct.LearnEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnEntity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(mqComsumerV1.Struct.LearnEntity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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 mqComsumerV1.LearnEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mqComsumerV1.LearnEntity) mqComsumerV1.Struct.LearnEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnEntity.class, mqComsumerV1.Struct.LearnEntity.Builder.class); } // Construct using mqComsumerV1.Struct.LearnEntity.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); projectId_ = 0L; packId_ = 0L; courseId_ = 0L; chapterId_ = 0L; entityId_ = 0L; isError_ = false; reviewNum_ = 0L; lastReviewDate_ = ""; ext_ = ""; tag_ = ""; created_ = ""; isFromTrack_ = false; lastIsError_ = false; isCompExercise_ = false; lessonId_ = 0L; isFromExam_ = false; isOnlySavePoint_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnEntity_descriptor; } @java.lang.Override public mqComsumerV1.Struct.LearnEntity getDefaultInstanceForType() { return mqComsumerV1.Struct.LearnEntity.getDefaultInstance(); } @java.lang.Override public mqComsumerV1.Struct.LearnEntity build() { mqComsumerV1.Struct.LearnEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mqComsumerV1.Struct.LearnEntity buildPartial() { mqComsumerV1.Struct.LearnEntity result = new mqComsumerV1.Struct.LearnEntity(this); result.projectId_ = projectId_; result.packId_ = packId_; result.courseId_ = courseId_; result.chapterId_ = chapterId_; result.entityId_ = entityId_; result.isError_ = isError_; result.reviewNum_ = reviewNum_; result.lastReviewDate_ = lastReviewDate_; result.ext_ = ext_; result.tag_ = tag_; result.created_ = created_; result.isFromTrack_ = isFromTrack_; result.lastIsError_ = lastIsError_; result.isCompExercise_ = isCompExercise_; result.lessonId_ = lessonId_; result.isFromExam_ = isFromExam_; result.isOnlySavePoint_ = isOnlySavePoint_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof mqComsumerV1.Struct.LearnEntity) { return mergeFrom((mqComsumerV1.Struct.LearnEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mqComsumerV1.Struct.LearnEntity other) { if (other == mqComsumerV1.Struct.LearnEntity.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (other.getPackId() != 0L) { setPackId(other.getPackId()); } if (other.getCourseId() != 0L) { setCourseId(other.getCourseId()); } if (other.getChapterId() != 0L) { setChapterId(other.getChapterId()); } if (other.getEntityId() != 0L) { setEntityId(other.getEntityId()); } if (other.getIsError() != false) { setIsError(other.getIsError()); } if (other.getReviewNum() != 0L) { setReviewNum(other.getReviewNum()); } if (!other.getLastReviewDate().isEmpty()) { lastReviewDate_ = other.lastReviewDate_; onChanged(); } if (!other.getExt().isEmpty()) { ext_ = other.ext_; onChanged(); } if (!other.getTag().isEmpty()) { tag_ = other.tag_; onChanged(); } if (!other.getCreated().isEmpty()) { created_ = other.created_; onChanged(); } if (other.getIsFromTrack() != false) { setIsFromTrack(other.getIsFromTrack()); } if (other.getLastIsError() != false) { setLastIsError(other.getLastIsError()); } if (other.getIsCompExercise() != false) { setIsCompExercise(other.getIsCompExercise()); } if (other.getLessonId() != 0L) { setLessonId(other.getLessonId()); } if (other.getIsFromExam() != false) { setIsFromExam(other.getIsFromExam()); } if (other.getIsOnlySavePoint() != false) { setIsOnlySavePoint(other.getIsOnlySavePoint()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { mqComsumerV1.Struct.LearnEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mqComsumerV1.Struct.LearnEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long projectId_ ; /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @param value The projectId to set. * @return This builder for chaining. */ public Builder setProjectId(long value) { projectId_ = value; onChanged(); return this; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return This builder for chaining. */ public Builder clearProjectId() { projectId_ = 0L; onChanged(); return this; } private long packId_ ; /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @param value The packId to set. * @return This builder for chaining. */ public Builder setPackId(long value) { packId_ = value; onChanged(); return this; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return This builder for chaining. */ public Builder clearPackId() { packId_ = 0L; onChanged(); return this; } private long courseId_ ; /** *
       *课程id
       * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @param value The courseId to set. * @return This builder for chaining. */ public Builder setCourseId(long value) { courseId_ = value; onChanged(); return this; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @return This builder for chaining. */ public Builder clearCourseId() { courseId_ = 0L; onChanged(); return this; } private long chapterId_ ; /** *
       *章节id
       * 
* * int64 chapter_id = 4; * @return The chapterId. */ @java.lang.Override public long getChapterId() { return chapterId_; } /** *
       *章节id
       * 
* * int64 chapter_id = 4; * @param value The chapterId to set. * @return This builder for chaining. */ public Builder setChapterId(long value) { chapterId_ = value; onChanged(); return this; } /** *
       *章节id
       * 
* * int64 chapter_id = 4; * @return This builder for chaining. */ public Builder clearChapterId() { chapterId_ = 0L; onChanged(); return this; } private long entityId_ ; /** *
       *条目id
       * 
* * int64 entity_id = 5; * @return The entityId. */ @java.lang.Override public long getEntityId() { return entityId_; } /** *
       *条目id
       * 
* * int64 entity_id = 5; * @param value The entityId to set. * @return This builder for chaining. */ public Builder setEntityId(long value) { entityId_ = value; onChanged(); return this; } /** *
       *条目id
       * 
* * int64 entity_id = 5; * @return This builder for chaining. */ public Builder clearEntityId() { entityId_ = 0L; onChanged(); return this; } private boolean isError_ ; /** *
       *是否学习错误
       * 
* * bool is_error = 6; * @return The isError. */ @java.lang.Override public boolean getIsError() { return isError_; } /** *
       *是否学习错误
       * 
* * bool is_error = 6; * @param value The isError to set. * @return This builder for chaining. */ public Builder setIsError(boolean value) { isError_ = value; onChanged(); return this; } /** *
       *是否学习错误
       * 
* * bool is_error = 6; * @return This builder for chaining. */ public Builder clearIsError() { isError_ = false; onChanged(); return this; } private long reviewNum_ ; /** *
       *复习次数
       * 
* * int64 review_num = 7; * @return The reviewNum. */ @java.lang.Override public long getReviewNum() { return reviewNum_; } /** *
       *复习次数
       * 
* * int64 review_num = 7; * @param value The reviewNum to set. * @return This builder for chaining. */ public Builder setReviewNum(long value) { reviewNum_ = value; onChanged(); return this; } /** *
       *复习次数
       * 
* * int64 review_num = 7; * @return This builder for chaining. */ public Builder clearReviewNum() { reviewNum_ = 0L; onChanged(); return this; } private java.lang.Object lastReviewDate_ = ""; /** *
       *最后复习日期
       * 
* * string last_review_date = 8; * @return The lastReviewDate. */ public java.lang.String getLastReviewDate() { java.lang.Object ref = lastReviewDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastReviewDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *最后复习日期
       * 
* * string last_review_date = 8; * @return The bytes for lastReviewDate. */ public com.google.protobuf.ByteString getLastReviewDateBytes() { java.lang.Object ref = lastReviewDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastReviewDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *最后复习日期
       * 
* * string last_review_date = 8; * @param value The lastReviewDate to set. * @return This builder for chaining. */ public Builder setLastReviewDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lastReviewDate_ = value; onChanged(); return this; } /** *
       *最后复习日期
       * 
* * string last_review_date = 8; * @return This builder for chaining. */ public Builder clearLastReviewDate() { lastReviewDate_ = getDefaultInstance().getLastReviewDate(); onChanged(); return this; } /** *
       *最后复习日期
       * 
* * string last_review_date = 8; * @param value The bytes for lastReviewDate to set. * @return This builder for chaining. */ public Builder setLastReviewDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lastReviewDate_ = value; onChanged(); return this; } private java.lang.Object ext_ = ""; /** *
       *附加字段
       * 
* * string ext = 9; * @return The ext. */ public java.lang.String getExt() { java.lang.Object ref = ext_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ext_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *附加字段
       * 
* * string ext = 9; * @return The bytes for ext. */ public com.google.protobuf.ByteString getExtBytes() { java.lang.Object ref = ext_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ext_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *附加字段
       * 
* * string ext = 9; * @param value The ext to set. * @return This builder for chaining. */ public Builder setExt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ext_ = value; onChanged(); return this; } /** *
       *附加字段
       * 
* * string ext = 9; * @return This builder for chaining. */ public Builder clearExt() { ext_ = getDefaultInstance().getExt(); onChanged(); return this; } /** *
       *附加字段
       * 
* * string ext = 9; * @param value The bytes for ext to set. * @return This builder for chaining. */ public Builder setExtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ext_ = value; onChanged(); return this; } private java.lang.Object tag_ = ""; /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 10; * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 10; * @return The bytes for tag. */ public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 10; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 10; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 10; * @param value The bytes for tag to set. * @return This builder for chaining. */ public Builder setTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tag_ = value; onChanged(); return this; } private java.lang.Object created_ = ""; /** *
       *数据创建时间
       * 
* * string created = 11; * @return The created. */ public java.lang.String getCreated() { java.lang.Object ref = created_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); created_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *数据创建时间
       * 
* * string created = 11; * @return The bytes for created. */ public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *数据创建时间
       * 
* * string created = 11; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated( java.lang.String value) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); return this; } /** *
       *数据创建时间
       * 
* * string created = 11; * @return This builder for chaining. */ public Builder clearCreated() { created_ = getDefaultInstance().getCreated(); onChanged(); return this; } /** *
       *数据创建时间
       * 
* * string created = 11; * @param value The bytes for created to set. * @return This builder for chaining. */ public Builder setCreatedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); created_ = value; onChanged(); return this; } private boolean isFromTrack_ ; /** *
       *是否是从轨迹来的
       * 
* * bool is_from_track = 12; * @return The isFromTrack. */ @java.lang.Override public boolean getIsFromTrack() { return isFromTrack_; } /** *
       *是否是从轨迹来的
       * 
* * bool is_from_track = 12; * @param value The isFromTrack to set. * @return This builder for chaining. */ public Builder setIsFromTrack(boolean value) { isFromTrack_ = value; onChanged(); return this; } /** *
       *是否是从轨迹来的
       * 
* * bool is_from_track = 12; * @return This builder for chaining. */ public Builder clearIsFromTrack() { isFromTrack_ = false; onChanged(); return this; } private boolean lastIsError_ ; /** *
       *上次选择是正确/错误,与is_from_track联合使用
       * 
* * bool last_is_error = 13; * @return The lastIsError. */ @java.lang.Override public boolean getLastIsError() { return lastIsError_; } /** *
       *上次选择是正确/错误,与is_from_track联合使用
       * 
* * bool last_is_error = 13; * @param value The lastIsError to set. * @return This builder for chaining. */ public Builder setLastIsError(boolean value) { lastIsError_ = value; onChanged(); return this; } /** *
       *上次选择是正确/错误,与is_from_track联合使用
       * 
* * bool last_is_error = 13; * @return This builder for chaining. */ public Builder clearLastIsError() { lastIsError_ = false; onChanged(); return this; } private boolean isCompExercise_ ; /** *
       * 是否是课堂练习,仅针对作文,仅保存进度点
       * 
* * bool is_comp_exercise = 14; * @return The isCompExercise. */ @java.lang.Override public boolean getIsCompExercise() { return isCompExercise_; } /** *
       * 是否是课堂练习,仅针对作文,仅保存进度点
       * 
* * bool is_comp_exercise = 14; * @param value The isCompExercise to set. * @return This builder for chaining. */ public Builder setIsCompExercise(boolean value) { isCompExercise_ = value; onChanged(); return this; } /** *
       * 是否是课堂练习,仅针对作文,仅保存进度点
       * 
* * bool is_comp_exercise = 14; * @return This builder for chaining. */ public Builder clearIsCompExercise() { isCompExercise_ = false; onChanged(); return this; } private long lessonId_ ; /** * int64 lesson_id = 15; * @return The lessonId. */ @java.lang.Override public long getLessonId() { return lessonId_; } /** * int64 lesson_id = 15; * @param value The lessonId to set. * @return This builder for chaining. */ public Builder setLessonId(long value) { lessonId_ = value; onChanged(); return this; } /** * int64 lesson_id = 15; * @return This builder for chaining. */ public Builder clearLessonId() { lessonId_ = 0L; onChanged(); return this; } private boolean isFromExam_ ; /** *
       * 是否是学前测试来的
       * 
* * bool is_from_exam = 16; * @return The isFromExam. */ @java.lang.Override public boolean getIsFromExam() { return isFromExam_; } /** *
       * 是否是学前测试来的
       * 
* * bool is_from_exam = 16; * @param value The isFromExam to set. * @return This builder for chaining. */ public Builder setIsFromExam(boolean value) { isFromExam_ = value; onChanged(); return this; } /** *
       * 是否是学前测试来的
       * 
* * bool is_from_exam = 16; * @return This builder for chaining. */ public Builder clearIsFromExam() { isFromExam_ = false; onChanged(); return this; } private boolean isOnlySavePoint_ ; /** *
       * 仅保存进度
       * 
* * bool is_only_save_point = 17; * @return The isOnlySavePoint. */ @java.lang.Override public boolean getIsOnlySavePoint() { return isOnlySavePoint_; } /** *
       * 仅保存进度
       * 
* * bool is_only_save_point = 17; * @param value The isOnlySavePoint to set. * @return This builder for chaining. */ public Builder setIsOnlySavePoint(boolean value) { isOnlySavePoint_ = value; onChanged(); return this; } /** *
       * 仅保存进度
       * 
* * bool is_only_save_point = 17; * @return This builder for chaining. */ public Builder clearIsOnlySavePoint() { isOnlySavePoint_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:mqComsumerV1.LearnEntity) } // @@protoc_insertion_point(class_scope:mqComsumerV1.LearnEntity) private static final mqComsumerV1.Struct.LearnEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mqComsumerV1.Struct.LearnEntity(); } public static mqComsumerV1.Struct.LearnEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LearnEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LearnEntity(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mqComsumerV1.Struct.LearnEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LearnDurationOrBuilder extends // @@protoc_insertion_point(interface_extends:mqComsumerV1.LearnDuration) com.google.protobuf.MessageOrBuilder { /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ long getProjectId(); /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ long getPackId(); /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ long getCourseId(); /** *
     *时段标记
     * 
* * int64 time_frame = 4; * @return The timeFrame. */ long getTimeFrame(); /** *
     *是否是复习时长
     * 
* * bool is_review = 5; * @return The isReview. */ boolean getIsReview(); /** *
     *时长(毫秒)
     * 
* * int64 duration = 6; * @return The duration. */ long getDuration(); /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 7; * @return The tag. */ java.lang.String getTag(); /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 7; * @return The bytes for tag. */ com.google.protobuf.ByteString getTagBytes(); /** *
     *创建时间(当前时长记录结束的时间)
     * 
* * string created = 8; * @return The created. */ java.lang.String getCreated(); /** *
     *创建时间(当前时长记录结束的时间)
     * 
* * string created = 8; * @return The bytes for created. */ com.google.protobuf.ByteString getCreatedBytes(); /** *
     *总时间,包含空闲部分
     * 
* * int64 total_duration = 9; * @return The totalDuration. */ long getTotalDuration(); /** * int64 category_id = 10; * @return The categoryId. */ long getCategoryId(); } /** *
   * 学习时长情况
   * 
* * Protobuf type {@code mqComsumerV1.LearnDuration} */ public static final class LearnDuration extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mqComsumerV1.LearnDuration) LearnDurationOrBuilder { private static final long serialVersionUID = 0L; // Use LearnDuration.newBuilder() to construct. private LearnDuration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LearnDuration() { tag_ = ""; created_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LearnDuration(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LearnDuration( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 8: { projectId_ = input.readInt64(); break; } case 16: { packId_ = input.readInt64(); break; } case 24: { courseId_ = input.readInt64(); break; } case 32: { timeFrame_ = input.readInt64(); break; } case 40: { isReview_ = input.readBool(); break; } case 48: { duration_ = input.readInt64(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); tag_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); created_ = s; break; } case 72: { totalDuration_ = input.readInt64(); break; } case 80: { categoryId_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } 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 mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnDuration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnDuration_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnDuration.class, mqComsumerV1.Struct.LearnDuration.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private long projectId_; /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } public static final int PACK_ID_FIELD_NUMBER = 2; private long packId_; /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } public static final int COURSE_ID_FIELD_NUMBER = 3; private long courseId_; /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } public static final int TIME_FRAME_FIELD_NUMBER = 4; private long timeFrame_; /** *
     *时段标记
     * 
* * int64 time_frame = 4; * @return The timeFrame. */ @java.lang.Override public long getTimeFrame() { return timeFrame_; } public static final int IS_REVIEW_FIELD_NUMBER = 5; private boolean isReview_; /** *
     *是否是复习时长
     * 
* * bool is_review = 5; * @return The isReview. */ @java.lang.Override public boolean getIsReview() { return isReview_; } public static final int DURATION_FIELD_NUMBER = 6; private long duration_; /** *
     *时长(毫秒)
     * 
* * int64 duration = 6; * @return The duration. */ @java.lang.Override public long getDuration() { return duration_; } public static final int TAG_FIELD_NUMBER = 7; private volatile java.lang.Object tag_; /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 7; * @return The tag. */ @java.lang.Override public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; } } /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 7; * @return The bytes for tag. */ @java.lang.Override public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATED_FIELD_NUMBER = 8; private volatile java.lang.Object created_; /** *
     *创建时间(当前时长记录结束的时间)
     * 
* * string created = 8; * @return The created. */ @java.lang.Override public java.lang.String getCreated() { java.lang.Object ref = created_; 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(); created_ = s; return s; } } /** *
     *创建时间(当前时长记录结束的时间)
     * 
* * string created = 8; * @return The bytes for created. */ @java.lang.Override public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTAL_DURATION_FIELD_NUMBER = 9; private long totalDuration_; /** *
     *总时间,包含空闲部分
     * 
* * int64 total_duration = 9; * @return The totalDuration. */ @java.lang.Override public long getTotalDuration() { return totalDuration_; } public static final int CATEGORY_ID_FIELD_NUMBER = 10; private long categoryId_; /** * int64 category_id = 10; * @return The categoryId. */ @java.lang.Override public long getCategoryId() { return categoryId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (packId_ != 0L) { output.writeInt64(2, packId_); } if (courseId_ != 0L) { output.writeInt64(3, courseId_); } if (timeFrame_ != 0L) { output.writeInt64(4, timeFrame_); } if (isReview_ != false) { output.writeBool(5, isReview_); } if (duration_ != 0L) { output.writeInt64(6, duration_); } if (!getTagBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tag_); } if (!getCreatedBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, created_); } if (totalDuration_ != 0L) { output.writeInt64(9, totalDuration_); } if (categoryId_ != 0L) { output.writeInt64(10, categoryId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectId_); } if (packId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, packId_); } if (courseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, courseId_); } if (timeFrame_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, timeFrame_); } if (isReview_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, isReview_); } if (duration_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, duration_); } if (!getTagBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, tag_); } if (!getCreatedBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, created_); } if (totalDuration_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, totalDuration_); } if (categoryId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, categoryId_); } 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 mqComsumerV1.Struct.LearnDuration)) { return super.equals(obj); } mqComsumerV1.Struct.LearnDuration other = (mqComsumerV1.Struct.LearnDuration) obj; if (getProjectId() != other.getProjectId()) return false; if (getPackId() != other.getPackId()) return false; if (getCourseId() != other.getCourseId()) return false; if (getTimeFrame() != other.getTimeFrame()) return false; if (getIsReview() != other.getIsReview()) return false; if (getDuration() != other.getDuration()) return false; if (!getTag() .equals(other.getTag())) return false; if (!getCreated() .equals(other.getCreated())) return false; if (getTotalDuration() != other.getTotalDuration()) return false; if (getCategoryId() != other.getCategoryId()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectId()); hash = (37 * hash) + PACK_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPackId()); hash = (37 * hash) + COURSE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCourseId()); hash = (37 * hash) + TIME_FRAME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeFrame()); hash = (37 * hash) + IS_REVIEW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsReview()); hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDuration()); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); hash = (37 * hash) + TOTAL_DURATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalDuration()); hash = (37 * hash) + CATEGORY_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCategoryId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mqComsumerV1.Struct.LearnDuration parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnDuration parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnDuration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnDuration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnDuration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnDuration parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnDuration parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnDuration 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 mqComsumerV1.Struct.LearnDuration parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnDuration 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 mqComsumerV1.Struct.LearnDuration parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnDuration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(mqComsumerV1.Struct.LearnDuration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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 mqComsumerV1.LearnDuration} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mqComsumerV1.LearnDuration) mqComsumerV1.Struct.LearnDurationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnDuration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnDuration_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnDuration.class, mqComsumerV1.Struct.LearnDuration.Builder.class); } // Construct using mqComsumerV1.Struct.LearnDuration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); projectId_ = 0L; packId_ = 0L; courseId_ = 0L; timeFrame_ = 0L; isReview_ = false; duration_ = 0L; tag_ = ""; created_ = ""; totalDuration_ = 0L; categoryId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnDuration_descriptor; } @java.lang.Override public mqComsumerV1.Struct.LearnDuration getDefaultInstanceForType() { return mqComsumerV1.Struct.LearnDuration.getDefaultInstance(); } @java.lang.Override public mqComsumerV1.Struct.LearnDuration build() { mqComsumerV1.Struct.LearnDuration result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mqComsumerV1.Struct.LearnDuration buildPartial() { mqComsumerV1.Struct.LearnDuration result = new mqComsumerV1.Struct.LearnDuration(this); result.projectId_ = projectId_; result.packId_ = packId_; result.courseId_ = courseId_; result.timeFrame_ = timeFrame_; result.isReview_ = isReview_; result.duration_ = duration_; result.tag_ = tag_; result.created_ = created_; result.totalDuration_ = totalDuration_; result.categoryId_ = categoryId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof mqComsumerV1.Struct.LearnDuration) { return mergeFrom((mqComsumerV1.Struct.LearnDuration)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mqComsumerV1.Struct.LearnDuration other) { if (other == mqComsumerV1.Struct.LearnDuration.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (other.getPackId() != 0L) { setPackId(other.getPackId()); } if (other.getCourseId() != 0L) { setCourseId(other.getCourseId()); } if (other.getTimeFrame() != 0L) { setTimeFrame(other.getTimeFrame()); } if (other.getIsReview() != false) { setIsReview(other.getIsReview()); } if (other.getDuration() != 0L) { setDuration(other.getDuration()); } if (!other.getTag().isEmpty()) { tag_ = other.tag_; onChanged(); } if (!other.getCreated().isEmpty()) { created_ = other.created_; onChanged(); } if (other.getTotalDuration() != 0L) { setTotalDuration(other.getTotalDuration()); } if (other.getCategoryId() != 0L) { setCategoryId(other.getCategoryId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { mqComsumerV1.Struct.LearnDuration parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mqComsumerV1.Struct.LearnDuration) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long projectId_ ; /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @param value The projectId to set. * @return This builder for chaining. */ public Builder setProjectId(long value) { projectId_ = value; onChanged(); return this; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return This builder for chaining. */ public Builder clearProjectId() { projectId_ = 0L; onChanged(); return this; } private long packId_ ; /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @param value The packId to set. * @return This builder for chaining. */ public Builder setPackId(long value) { packId_ = value; onChanged(); return this; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return This builder for chaining. */ public Builder clearPackId() { packId_ = 0L; onChanged(); return this; } private long courseId_ ; /** *
       *课程id
       * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @param value The courseId to set. * @return This builder for chaining. */ public Builder setCourseId(long value) { courseId_ = value; onChanged(); return this; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @return This builder for chaining. */ public Builder clearCourseId() { courseId_ = 0L; onChanged(); return this; } private long timeFrame_ ; /** *
       *时段标记
       * 
* * int64 time_frame = 4; * @return The timeFrame. */ @java.lang.Override public long getTimeFrame() { return timeFrame_; } /** *
       *时段标记
       * 
* * int64 time_frame = 4; * @param value The timeFrame to set. * @return This builder for chaining. */ public Builder setTimeFrame(long value) { timeFrame_ = value; onChanged(); return this; } /** *
       *时段标记
       * 
* * int64 time_frame = 4; * @return This builder for chaining. */ public Builder clearTimeFrame() { timeFrame_ = 0L; onChanged(); return this; } private boolean isReview_ ; /** *
       *是否是复习时长
       * 
* * bool is_review = 5; * @return The isReview. */ @java.lang.Override public boolean getIsReview() { return isReview_; } /** *
       *是否是复习时长
       * 
* * bool is_review = 5; * @param value The isReview to set. * @return This builder for chaining. */ public Builder setIsReview(boolean value) { isReview_ = value; onChanged(); return this; } /** *
       *是否是复习时长
       * 
* * bool is_review = 5; * @return This builder for chaining. */ public Builder clearIsReview() { isReview_ = false; onChanged(); return this; } private long duration_ ; /** *
       *时长(毫秒)
       * 
* * int64 duration = 6; * @return The duration. */ @java.lang.Override public long getDuration() { return duration_; } /** *
       *时长(毫秒)
       * 
* * int64 duration = 6; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(long value) { duration_ = value; onChanged(); return this; } /** *
       *时长(毫秒)
       * 
* * int64 duration = 6; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0L; onChanged(); return this; } private java.lang.Object tag_ = ""; /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 7; * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 7; * @return The bytes for tag. */ public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 7; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 7; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 7; * @param value The bytes for tag to set. * @return This builder for chaining. */ public Builder setTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tag_ = value; onChanged(); return this; } private java.lang.Object created_ = ""; /** *
       *创建时间(当前时长记录结束的时间)
       * 
* * string created = 8; * @return The created. */ public java.lang.String getCreated() { java.lang.Object ref = created_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); created_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *创建时间(当前时长记录结束的时间)
       * 
* * string created = 8; * @return The bytes for created. */ public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *创建时间(当前时长记录结束的时间)
       * 
* * string created = 8; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated( java.lang.String value) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); return this; } /** *
       *创建时间(当前时长记录结束的时间)
       * 
* * string created = 8; * @return This builder for chaining. */ public Builder clearCreated() { created_ = getDefaultInstance().getCreated(); onChanged(); return this; } /** *
       *创建时间(当前时长记录结束的时间)
       * 
* * string created = 8; * @param value The bytes for created to set. * @return This builder for chaining. */ public Builder setCreatedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); created_ = value; onChanged(); return this; } private long totalDuration_ ; /** *
       *总时间,包含空闲部分
       * 
* * int64 total_duration = 9; * @return The totalDuration. */ @java.lang.Override public long getTotalDuration() { return totalDuration_; } /** *
       *总时间,包含空闲部分
       * 
* * int64 total_duration = 9; * @param value The totalDuration to set. * @return This builder for chaining. */ public Builder setTotalDuration(long value) { totalDuration_ = value; onChanged(); return this; } /** *
       *总时间,包含空闲部分
       * 
* * int64 total_duration = 9; * @return This builder for chaining. */ public Builder clearTotalDuration() { totalDuration_ = 0L; onChanged(); return this; } private long categoryId_ ; /** * int64 category_id = 10; * @return The categoryId. */ @java.lang.Override public long getCategoryId() { return categoryId_; } /** * int64 category_id = 10; * @param value The categoryId to set. * @return This builder for chaining. */ public Builder setCategoryId(long value) { categoryId_ = value; onChanged(); return this; } /** * int64 category_id = 10; * @return This builder for chaining. */ public Builder clearCategoryId() { categoryId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:mqComsumerV1.LearnDuration) } // @@protoc_insertion_point(class_scope:mqComsumerV1.LearnDuration) private static final mqComsumerV1.Struct.LearnDuration DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mqComsumerV1.Struct.LearnDuration(); } public static mqComsumerV1.Struct.LearnDuration getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LearnDuration parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LearnDuration(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mqComsumerV1.Struct.LearnDuration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LearnExamOrBuilder extends // @@protoc_insertion_point(interface_extends:mqComsumerV1.LearnExam) com.google.protobuf.MessageOrBuilder { /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ long getProjectId(); /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ long getPackId(); /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ long getCourseId(); /** *
     *章节id
     * 
* * int64 chapter_id = 4; * @return The chapterId. */ long getChapterId(); /** *
     *	测试试卷名称
     * 
* * string title = 5; * @return The title. */ java.lang.String getTitle(); /** *
     *	测试试卷名称
     * 
* * string title = 5; * @return The bytes for title. */ com.google.protobuf.ByteString getTitleBytes(); /** *
     *分组(1:普通测试(词汇测试,不做redis统计关联) 2:章节学前测试 3:章节学后测试 4:学前总测试 5:学后总测试 6:备忘录测试(不做redis统计关联);7:作文知识点测试;8:服务中心的课程测试)
     * 
* * int64 type = 6; * @return The type. */ long getType(); /** *
     *成绩(如果为词汇量测试则为词汇数)
     * 
* * float score = 7; * @return The score. */ float getScore(); /** *
     *题目总数
     * 
* * int64 total_num = 8; * @return The totalNum. */ long getTotalNum(); /** *
     *正确题目数
     * 
* * int64 correct_num = 9; * @return The correctNum. */ long getCorrectNum(); /** *
     *错误题目数
     * 
* * int64 error_num = 10; * @return The errorNum. */ long getErrorNum(); /** *
     *未答题目数
     * 
* * int64 unanswer_num = 11; * @return The unanswerNum. */ long getUnanswerNum(); /** *
     *测试所用时间(单位为毫秒)
     * 
* * int64 duration = 12; * @return The duration. */ long getDuration(); /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 13; * @return The tag. */ java.lang.String getTag(); /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 13; * @return The bytes for tag. */ com.google.protobuf.ByteString getTagBytes(); /** *
     *附加字段
     * 
* * string ext = 14; * @return The ext. */ java.lang.String getExt(); /** *
     *附加字段
     * 
* * string ext = 14; * @return The bytes for ext. */ com.google.protobuf.ByteString getExtBytes(); /** *
     *创建时间
     * 
* * string created = 15; * @return The created. */ java.lang.String getCreated(); /** *
     *创建时间
     * 
* * string created = 15; * @return The bytes for created. */ com.google.protobuf.ByteString getCreatedBytes(); /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ java.util.List getRecordList(); /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ mqComsumerV1.Struct.ExamRecord getRecord(int index); /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ int getRecordCount(); /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ java.util.List getRecordOrBuilderList(); /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ mqComsumerV1.Struct.ExamRecordOrBuilder getRecordOrBuilder( int index); /** *
     *作文类型,作文必传
     * 
* * int64 type_id = 17; * @return The typeId. */ long getTypeId(); /** * int64 lesson_id = 18; * @return The lessonId. */ long getLessonId(); /** *
     * bool is_ignored = 19; // redis缓存是否忽略本次成绩记录,如果是true就忽略,(废弃,不再做检测)
     * 
* * int64 change_type = 20; * @return The changeType. */ long getChangeType(); /** *
     *课程是否完成
     * 
* * bool is_finished = 21; * @return The isFinished. */ boolean getIsFinished(); /** *
     *覆盖率,词汇量测试分享使用
     * 
* * float cover_rate = 22; * @return The coverRate. */ float getCoverRate(); /** *
     *阶段,词汇量测试分享使用
     * 
* * string stage = 23; * @return The stage. */ java.lang.String getStage(); /** *
     *阶段,词汇量测试分享使用
     * 
* * string stage = 23; * @return The bytes for stage. */ com.google.protobuf.ByteString getStageBytes(); } /** *
   *用户测试
   * 
* * Protobuf type {@code mqComsumerV1.LearnExam} */ public static final class LearnExam extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mqComsumerV1.LearnExam) LearnExamOrBuilder { private static final long serialVersionUID = 0L; // Use LearnExam.newBuilder() to construct. private LearnExam(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LearnExam() { title_ = ""; tag_ = ""; ext_ = ""; created_ = ""; record_ = java.util.Collections.emptyList(); stage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LearnExam(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LearnExam( 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; case 8: { projectId_ = input.readInt64(); break; } case 16: { packId_ = input.readInt64(); break; } case 24: { courseId_ = input.readInt64(); break; } case 32: { chapterId_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); title_ = s; break; } case 48: { type_ = input.readInt64(); break; } case 61: { score_ = input.readFloat(); break; } case 64: { totalNum_ = input.readInt64(); break; } case 72: { correctNum_ = input.readInt64(); break; } case 80: { errorNum_ = input.readInt64(); break; } case 88: { unanswerNum_ = input.readInt64(); break; } case 96: { duration_ = input.readInt64(); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); tag_ = s; break; } case 114: { java.lang.String s = input.readStringRequireUtf8(); ext_ = s; break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); created_ = s; break; } case 130: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { record_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } record_.add( input.readMessage(mqComsumerV1.Struct.ExamRecord.parser(), extensionRegistry)); break; } case 136: { typeId_ = input.readInt64(); break; } case 144: { lessonId_ = input.readInt64(); break; } case 160: { changeType_ = input.readInt64(); break; } case 168: { isFinished_ = input.readBool(); break; } case 181: { coverRate_ = input.readFloat(); break; } case 186: { java.lang.String s = input.readStringRequireUtf8(); stage_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } 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) != 0)) { record_ = java.util.Collections.unmodifiableList(record_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnExam_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnExam_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnExam.class, mqComsumerV1.Struct.LearnExam.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private long projectId_; /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } public static final int PACK_ID_FIELD_NUMBER = 2; private long packId_; /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } public static final int COURSE_ID_FIELD_NUMBER = 3; private long courseId_; /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } public static final int CHAPTER_ID_FIELD_NUMBER = 4; private long chapterId_; /** *
     *章节id
     * 
* * int64 chapter_id = 4; * @return The chapterId. */ @java.lang.Override public long getChapterId() { return chapterId_; } public static final int TITLE_FIELD_NUMBER = 5; private volatile java.lang.Object title_; /** *
     *	测试试卷名称
     * 
* * string title = 5; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { java.lang.Object ref = title_; 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(); title_ = s; return s; } } /** *
     *	测试试卷名称
     * 
* * string title = 5; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 6; private long type_; /** *
     *分组(1:普通测试(词汇测试,不做redis统计关联) 2:章节学前测试 3:章节学后测试 4:学前总测试 5:学后总测试 6:备忘录测试(不做redis统计关联);7:作文知识点测试;8:服务中心的课程测试)
     * 
* * int64 type = 6; * @return The type. */ @java.lang.Override public long getType() { return type_; } public static final int SCORE_FIELD_NUMBER = 7; private float score_; /** *
     *成绩(如果为词汇量测试则为词汇数)
     * 
* * float score = 7; * @return The score. */ @java.lang.Override public float getScore() { return score_; } public static final int TOTAL_NUM_FIELD_NUMBER = 8; private long totalNum_; /** *
     *题目总数
     * 
* * int64 total_num = 8; * @return The totalNum. */ @java.lang.Override public long getTotalNum() { return totalNum_; } public static final int CORRECT_NUM_FIELD_NUMBER = 9; private long correctNum_; /** *
     *正确题目数
     * 
* * int64 correct_num = 9; * @return The correctNum. */ @java.lang.Override public long getCorrectNum() { return correctNum_; } public static final int ERROR_NUM_FIELD_NUMBER = 10; private long errorNum_; /** *
     *错误题目数
     * 
* * int64 error_num = 10; * @return The errorNum. */ @java.lang.Override public long getErrorNum() { return errorNum_; } public static final int UNANSWER_NUM_FIELD_NUMBER = 11; private long unanswerNum_; /** *
     *未答题目数
     * 
* * int64 unanswer_num = 11; * @return The unanswerNum. */ @java.lang.Override public long getUnanswerNum() { return unanswerNum_; } public static final int DURATION_FIELD_NUMBER = 12; private long duration_; /** *
     *测试所用时间(单位为毫秒)
     * 
* * int64 duration = 12; * @return The duration. */ @java.lang.Override public long getDuration() { return duration_; } public static final int TAG_FIELD_NUMBER = 13; private volatile java.lang.Object tag_; /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 13; * @return The tag. */ @java.lang.Override public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; } } /** *
     *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
     * 
* * string tag = 13; * @return The bytes for tag. */ @java.lang.Override public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXT_FIELD_NUMBER = 14; private volatile java.lang.Object ext_; /** *
     *附加字段
     * 
* * string ext = 14; * @return The ext. */ @java.lang.Override public java.lang.String getExt() { java.lang.Object ref = ext_; 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(); ext_ = s; return s; } } /** *
     *附加字段
     * 
* * string ext = 14; * @return The bytes for ext. */ @java.lang.Override public com.google.protobuf.ByteString getExtBytes() { java.lang.Object ref = ext_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ext_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATED_FIELD_NUMBER = 15; private volatile java.lang.Object created_; /** *
     *创建时间
     * 
* * string created = 15; * @return The created. */ @java.lang.Override public java.lang.String getCreated() { java.lang.Object ref = created_; 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(); created_ = s; return s; } } /** *
     *创建时间
     * 
* * string created = 15; * @return The bytes for created. */ @java.lang.Override public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORD_FIELD_NUMBER = 16; private java.util.List record_; /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ @java.lang.Override public java.util.List getRecordList() { return record_; } /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ @java.lang.Override public java.util.List getRecordOrBuilderList() { return record_; } /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ @java.lang.Override public int getRecordCount() { return record_.size(); } /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ @java.lang.Override public mqComsumerV1.Struct.ExamRecord getRecord(int index) { return record_.get(index); } /** *
     *答案记录
     * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ @java.lang.Override public mqComsumerV1.Struct.ExamRecordOrBuilder getRecordOrBuilder( int index) { return record_.get(index); } public static final int TYPE_ID_FIELD_NUMBER = 17; private long typeId_; /** *
     *作文类型,作文必传
     * 
* * int64 type_id = 17; * @return The typeId. */ @java.lang.Override public long getTypeId() { return typeId_; } public static final int LESSON_ID_FIELD_NUMBER = 18; private long lessonId_; /** * int64 lesson_id = 18; * @return The lessonId. */ @java.lang.Override public long getLessonId() { return lessonId_; } public static final int CHANGE_TYPE_FIELD_NUMBER = 20; private long changeType_; /** *
     * bool is_ignored = 19; // redis缓存是否忽略本次成绩记录,如果是true就忽略,(废弃,不再做检测)
     * 
* * int64 change_type = 20; * @return The changeType. */ @java.lang.Override public long getChangeType() { return changeType_; } public static final int IS_FINISHED_FIELD_NUMBER = 21; private boolean isFinished_; /** *
     *课程是否完成
     * 
* * bool is_finished = 21; * @return The isFinished. */ @java.lang.Override public boolean getIsFinished() { return isFinished_; } public static final int COVER_RATE_FIELD_NUMBER = 22; private float coverRate_; /** *
     *覆盖率,词汇量测试分享使用
     * 
* * float cover_rate = 22; * @return The coverRate. */ @java.lang.Override public float getCoverRate() { return coverRate_; } public static final int STAGE_FIELD_NUMBER = 23; private volatile java.lang.Object stage_; /** *
     *阶段,词汇量测试分享使用
     * 
* * string stage = 23; * @return The stage. */ @java.lang.Override public java.lang.String getStage() { java.lang.Object ref = stage_; 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(); stage_ = s; return s; } } /** *
     *阶段,词汇量测试分享使用
     * 
* * string stage = 23; * @return The bytes for stage. */ @java.lang.Override public com.google.protobuf.ByteString getStageBytes() { java.lang.Object ref = stage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (packId_ != 0L) { output.writeInt64(2, packId_); } if (courseId_ != 0L) { output.writeInt64(3, courseId_); } if (chapterId_ != 0L) { output.writeInt64(4, chapterId_); } if (!getTitleBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, title_); } if (type_ != 0L) { output.writeInt64(6, type_); } if (score_ != 0F) { output.writeFloat(7, score_); } if (totalNum_ != 0L) { output.writeInt64(8, totalNum_); } if (correctNum_ != 0L) { output.writeInt64(9, correctNum_); } if (errorNum_ != 0L) { output.writeInt64(10, errorNum_); } if (unanswerNum_ != 0L) { output.writeInt64(11, unanswerNum_); } if (duration_ != 0L) { output.writeInt64(12, duration_); } if (!getTagBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, tag_); } if (!getExtBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, ext_); } if (!getCreatedBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, created_); } for (int i = 0; i < record_.size(); i++) { output.writeMessage(16, record_.get(i)); } if (typeId_ != 0L) { output.writeInt64(17, typeId_); } if (lessonId_ != 0L) { output.writeInt64(18, lessonId_); } if (changeType_ != 0L) { output.writeInt64(20, changeType_); } if (isFinished_ != false) { output.writeBool(21, isFinished_); } if (coverRate_ != 0F) { output.writeFloat(22, coverRate_); } if (!getStageBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 23, stage_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectId_); } if (packId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, packId_); } if (courseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, courseId_); } if (chapterId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, chapterId_); } if (!getTitleBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, title_); } if (type_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, type_); } if (score_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(7, score_); } if (totalNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, totalNum_); } if (correctNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, correctNum_); } if (errorNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, errorNum_); } if (unanswerNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(11, unanswerNum_); } if (duration_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, duration_); } if (!getTagBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, tag_); } if (!getExtBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, ext_); } if (!getCreatedBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, created_); } for (int i = 0; i < record_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, record_.get(i)); } if (typeId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(17, typeId_); } if (lessonId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(18, lessonId_); } if (changeType_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(20, changeType_); } if (isFinished_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(21, isFinished_); } if (coverRate_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(22, coverRate_); } if (!getStageBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, stage_); } 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 mqComsumerV1.Struct.LearnExam)) { return super.equals(obj); } mqComsumerV1.Struct.LearnExam other = (mqComsumerV1.Struct.LearnExam) obj; if (getProjectId() != other.getProjectId()) return false; if (getPackId() != other.getPackId()) return false; if (getCourseId() != other.getCourseId()) return false; if (getChapterId() != other.getChapterId()) return false; if (!getTitle() .equals(other.getTitle())) return false; if (getType() != other.getType()) return false; if (java.lang.Float.floatToIntBits(getScore()) != java.lang.Float.floatToIntBits( other.getScore())) return false; if (getTotalNum() != other.getTotalNum()) return false; if (getCorrectNum() != other.getCorrectNum()) return false; if (getErrorNum() != other.getErrorNum()) return false; if (getUnanswerNum() != other.getUnanswerNum()) return false; if (getDuration() != other.getDuration()) return false; if (!getTag() .equals(other.getTag())) return false; if (!getExt() .equals(other.getExt())) return false; if (!getCreated() .equals(other.getCreated())) return false; if (!getRecordList() .equals(other.getRecordList())) return false; if (getTypeId() != other.getTypeId()) return false; if (getLessonId() != other.getLessonId()) return false; if (getChangeType() != other.getChangeType()) return false; if (getIsFinished() != other.getIsFinished()) return false; if (java.lang.Float.floatToIntBits(getCoverRate()) != java.lang.Float.floatToIntBits( other.getCoverRate())) return false; if (!getStage() .equals(other.getStage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectId()); hash = (37 * hash) + PACK_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPackId()); hash = (37 * hash) + COURSE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCourseId()); hash = (37 * hash) + CHAPTER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChapterId()); hash = (37 * hash) + TITLE_FIELD_NUMBER; hash = (53 * hash) + getTitle().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getType()); hash = (37 * hash) + SCORE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getScore()); hash = (37 * hash) + TOTAL_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalNum()); hash = (37 * hash) + CORRECT_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCorrectNum()); hash = (37 * hash) + ERROR_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getErrorNum()); hash = (37 * hash) + UNANSWER_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUnanswerNum()); hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDuration()); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (37 * hash) + EXT_FIELD_NUMBER; hash = (53 * hash) + getExt().hashCode(); hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); if (getRecordCount() > 0) { hash = (37 * hash) + RECORD_FIELD_NUMBER; hash = (53 * hash) + getRecordList().hashCode(); } hash = (37 * hash) + TYPE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTypeId()); hash = (37 * hash) + LESSON_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLessonId()); hash = (37 * hash) + CHANGE_TYPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChangeType()); hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsFinished()); hash = (37 * hash) + COVER_RATE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getCoverRate()); hash = (37 * hash) + STAGE_FIELD_NUMBER; hash = (53 * hash) + getStage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mqComsumerV1.Struct.LearnExam parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnExam parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnExam parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnExam parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnExam parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnExam parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnExam parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnExam 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 mqComsumerV1.Struct.LearnExam parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnExam 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 mqComsumerV1.Struct.LearnExam parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnExam parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(mqComsumerV1.Struct.LearnExam prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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 mqComsumerV1.LearnExam} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mqComsumerV1.LearnExam) mqComsumerV1.Struct.LearnExamOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnExam_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnExam_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnExam.class, mqComsumerV1.Struct.LearnExam.Builder.class); } // Construct using mqComsumerV1.Struct.LearnExam.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRecordFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); projectId_ = 0L; packId_ = 0L; courseId_ = 0L; chapterId_ = 0L; title_ = ""; type_ = 0L; score_ = 0F; totalNum_ = 0L; correctNum_ = 0L; errorNum_ = 0L; unanswerNum_ = 0L; duration_ = 0L; tag_ = ""; ext_ = ""; created_ = ""; if (recordBuilder_ == null) { record_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { recordBuilder_.clear(); } typeId_ = 0L; lessonId_ = 0L; changeType_ = 0L; isFinished_ = false; coverRate_ = 0F; stage_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnExam_descriptor; } @java.lang.Override public mqComsumerV1.Struct.LearnExam getDefaultInstanceForType() { return mqComsumerV1.Struct.LearnExam.getDefaultInstance(); } @java.lang.Override public mqComsumerV1.Struct.LearnExam build() { mqComsumerV1.Struct.LearnExam result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mqComsumerV1.Struct.LearnExam buildPartial() { mqComsumerV1.Struct.LearnExam result = new mqComsumerV1.Struct.LearnExam(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.packId_ = packId_; result.courseId_ = courseId_; result.chapterId_ = chapterId_; result.title_ = title_; result.type_ = type_; result.score_ = score_; result.totalNum_ = totalNum_; result.correctNum_ = correctNum_; result.errorNum_ = errorNum_; result.unanswerNum_ = unanswerNum_; result.duration_ = duration_; result.tag_ = tag_; result.ext_ = ext_; result.created_ = created_; if (recordBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { record_ = java.util.Collections.unmodifiableList(record_); bitField0_ = (bitField0_ & ~0x00000001); } result.record_ = record_; } else { result.record_ = recordBuilder_.build(); } result.typeId_ = typeId_; result.lessonId_ = lessonId_; result.changeType_ = changeType_; result.isFinished_ = isFinished_; result.coverRate_ = coverRate_; result.stage_ = stage_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof mqComsumerV1.Struct.LearnExam) { return mergeFrom((mqComsumerV1.Struct.LearnExam)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mqComsumerV1.Struct.LearnExam other) { if (other == mqComsumerV1.Struct.LearnExam.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (other.getPackId() != 0L) { setPackId(other.getPackId()); } if (other.getCourseId() != 0L) { setCourseId(other.getCourseId()); } if (other.getChapterId() != 0L) { setChapterId(other.getChapterId()); } if (!other.getTitle().isEmpty()) { title_ = other.title_; onChanged(); } if (other.getType() != 0L) { setType(other.getType()); } if (other.getScore() != 0F) { setScore(other.getScore()); } if (other.getTotalNum() != 0L) { setTotalNum(other.getTotalNum()); } if (other.getCorrectNum() != 0L) { setCorrectNum(other.getCorrectNum()); } if (other.getErrorNum() != 0L) { setErrorNum(other.getErrorNum()); } if (other.getUnanswerNum() != 0L) { setUnanswerNum(other.getUnanswerNum()); } if (other.getDuration() != 0L) { setDuration(other.getDuration()); } if (!other.getTag().isEmpty()) { tag_ = other.tag_; onChanged(); } if (!other.getExt().isEmpty()) { ext_ = other.ext_; onChanged(); } if (!other.getCreated().isEmpty()) { created_ = other.created_; onChanged(); } if (recordBuilder_ == null) { if (!other.record_.isEmpty()) { if (record_.isEmpty()) { record_ = other.record_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRecordIsMutable(); record_.addAll(other.record_); } onChanged(); } } else { if (!other.record_.isEmpty()) { if (recordBuilder_.isEmpty()) { recordBuilder_.dispose(); recordBuilder_ = null; record_ = other.record_; bitField0_ = (bitField0_ & ~0x00000001); recordBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRecordFieldBuilder() : null; } else { recordBuilder_.addAllMessages(other.record_); } } } if (other.getTypeId() != 0L) { setTypeId(other.getTypeId()); } if (other.getLessonId() != 0L) { setLessonId(other.getLessonId()); } if (other.getChangeType() != 0L) { setChangeType(other.getChangeType()); } if (other.getIsFinished() != false) { setIsFinished(other.getIsFinished()); } if (other.getCoverRate() != 0F) { setCoverRate(other.getCoverRate()); } if (!other.getStage().isEmpty()) { stage_ = other.stage_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { mqComsumerV1.Struct.LearnExam parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mqComsumerV1.Struct.LearnExam) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long projectId_ ; /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @param value The projectId to set. * @return This builder for chaining. */ public Builder setProjectId(long value) { projectId_ = value; onChanged(); return this; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return This builder for chaining. */ public Builder clearProjectId() { projectId_ = 0L; onChanged(); return this; } private long packId_ ; /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @param value The packId to set. * @return This builder for chaining. */ public Builder setPackId(long value) { packId_ = value; onChanged(); return this; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return This builder for chaining. */ public Builder clearPackId() { packId_ = 0L; onChanged(); return this; } private long courseId_ ; /** *
       *课程id
       * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @param value The courseId to set. * @return This builder for chaining. */ public Builder setCourseId(long value) { courseId_ = value; onChanged(); return this; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @return This builder for chaining. */ public Builder clearCourseId() { courseId_ = 0L; onChanged(); return this; } private long chapterId_ ; /** *
       *章节id
       * 
* * int64 chapter_id = 4; * @return The chapterId. */ @java.lang.Override public long getChapterId() { return chapterId_; } /** *
       *章节id
       * 
* * int64 chapter_id = 4; * @param value The chapterId to set. * @return This builder for chaining. */ public Builder setChapterId(long value) { chapterId_ = value; onChanged(); return this; } /** *
       *章节id
       * 
* * int64 chapter_id = 4; * @return This builder for chaining. */ public Builder clearChapterId() { chapterId_ = 0L; onChanged(); return this; } private java.lang.Object title_ = ""; /** *
       *	测试试卷名称
       * 
* * string title = 5; * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *	测试试卷名称
       * 
* * string title = 5; * @return The bytes for title. */ public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *	测试试卷名称
       * 
* * string title = 5; * @param value The title to set. * @return This builder for chaining. */ public Builder setTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } title_ = value; onChanged(); return this; } /** *
       *	测试试卷名称
       * 
* * string title = 5; * @return This builder for chaining. */ public Builder clearTitle() { title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** *
       *	测试试卷名称
       * 
* * string title = 5; * @param value The bytes for title to set. * @return This builder for chaining. */ public Builder setTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); title_ = value; onChanged(); return this; } private long type_ ; /** *
       *分组(1:普通测试(词汇测试,不做redis统计关联) 2:章节学前测试 3:章节学后测试 4:学前总测试 5:学后总测试 6:备忘录测试(不做redis统计关联);7:作文知识点测试;8:服务中心的课程测试)
       * 
* * int64 type = 6; * @return The type. */ @java.lang.Override public long getType() { return type_; } /** *
       *分组(1:普通测试(词汇测试,不做redis统计关联) 2:章节学前测试 3:章节学后测试 4:学前总测试 5:学后总测试 6:备忘录测试(不做redis统计关联);7:作文知识点测试;8:服务中心的课程测试)
       * 
* * int64 type = 6; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(long value) { type_ = value; onChanged(); return this; } /** *
       *分组(1:普通测试(词汇测试,不做redis统计关联) 2:章节学前测试 3:章节学后测试 4:学前总测试 5:学后总测试 6:备忘录测试(不做redis统计关联);7:作文知识点测试;8:服务中心的课程测试)
       * 
* * int64 type = 6; * @return This builder for chaining. */ public Builder clearType() { type_ = 0L; onChanged(); return this; } private float score_ ; /** *
       *成绩(如果为词汇量测试则为词汇数)
       * 
* * float score = 7; * @return The score. */ @java.lang.Override public float getScore() { return score_; } /** *
       *成绩(如果为词汇量测试则为词汇数)
       * 
* * float score = 7; * @param value The score to set. * @return This builder for chaining. */ public Builder setScore(float value) { score_ = value; onChanged(); return this; } /** *
       *成绩(如果为词汇量测试则为词汇数)
       * 
* * float score = 7; * @return This builder for chaining. */ public Builder clearScore() { score_ = 0F; onChanged(); return this; } private long totalNum_ ; /** *
       *题目总数
       * 
* * int64 total_num = 8; * @return The totalNum. */ @java.lang.Override public long getTotalNum() { return totalNum_; } /** *
       *题目总数
       * 
* * int64 total_num = 8; * @param value The totalNum to set. * @return This builder for chaining. */ public Builder setTotalNum(long value) { totalNum_ = value; onChanged(); return this; } /** *
       *题目总数
       * 
* * int64 total_num = 8; * @return This builder for chaining. */ public Builder clearTotalNum() { totalNum_ = 0L; onChanged(); return this; } private long correctNum_ ; /** *
       *正确题目数
       * 
* * int64 correct_num = 9; * @return The correctNum. */ @java.lang.Override public long getCorrectNum() { return correctNum_; } /** *
       *正确题目数
       * 
* * int64 correct_num = 9; * @param value The correctNum to set. * @return This builder for chaining. */ public Builder setCorrectNum(long value) { correctNum_ = value; onChanged(); return this; } /** *
       *正确题目数
       * 
* * int64 correct_num = 9; * @return This builder for chaining. */ public Builder clearCorrectNum() { correctNum_ = 0L; onChanged(); return this; } private long errorNum_ ; /** *
       *错误题目数
       * 
* * int64 error_num = 10; * @return The errorNum. */ @java.lang.Override public long getErrorNum() { return errorNum_; } /** *
       *错误题目数
       * 
* * int64 error_num = 10; * @param value The errorNum to set. * @return This builder for chaining. */ public Builder setErrorNum(long value) { errorNum_ = value; onChanged(); return this; } /** *
       *错误题目数
       * 
* * int64 error_num = 10; * @return This builder for chaining. */ public Builder clearErrorNum() { errorNum_ = 0L; onChanged(); return this; } private long unanswerNum_ ; /** *
       *未答题目数
       * 
* * int64 unanswer_num = 11; * @return The unanswerNum. */ @java.lang.Override public long getUnanswerNum() { return unanswerNum_; } /** *
       *未答题目数
       * 
* * int64 unanswer_num = 11; * @param value The unanswerNum to set. * @return This builder for chaining. */ public Builder setUnanswerNum(long value) { unanswerNum_ = value; onChanged(); return this; } /** *
       *未答题目数
       * 
* * int64 unanswer_num = 11; * @return This builder for chaining. */ public Builder clearUnanswerNum() { unanswerNum_ = 0L; onChanged(); return this; } private long duration_ ; /** *
       *测试所用时间(单位为毫秒)
       * 
* * int64 duration = 12; * @return The duration. */ @java.lang.Override public long getDuration() { return duration_; } /** *
       *测试所用时间(单位为毫秒)
       * 
* * int64 duration = 12; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(long value) { duration_ = value; onChanged(); return this; } /** *
       *测试所用时间(单位为毫秒)
       * 
* * int64 duration = 12; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0L; onChanged(); return this; } private java.lang.Object tag_ = ""; /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 13; * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 13; * @return The bytes for tag. */ public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 13; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 13; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** *
       *来源(client4.4 client5.0 iOS1.1.1 Android1.1.1 等,即系统+版本号)
       * 
* * string tag = 13; * @param value The bytes for tag to set. * @return This builder for chaining. */ public Builder setTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tag_ = value; onChanged(); return this; } private java.lang.Object ext_ = ""; /** *
       *附加字段
       * 
* * string ext = 14; * @return The ext. */ public java.lang.String getExt() { java.lang.Object ref = ext_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ext_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *附加字段
       * 
* * string ext = 14; * @return The bytes for ext. */ public com.google.protobuf.ByteString getExtBytes() { java.lang.Object ref = ext_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ext_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *附加字段
       * 
* * string ext = 14; * @param value The ext to set. * @return This builder for chaining. */ public Builder setExt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ext_ = value; onChanged(); return this; } /** *
       *附加字段
       * 
* * string ext = 14; * @return This builder for chaining. */ public Builder clearExt() { ext_ = getDefaultInstance().getExt(); onChanged(); return this; } /** *
       *附加字段
       * 
* * string ext = 14; * @param value The bytes for ext to set. * @return This builder for chaining. */ public Builder setExtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ext_ = value; onChanged(); return this; } private java.lang.Object created_ = ""; /** *
       *创建时间
       * 
* * string created = 15; * @return The created. */ public java.lang.String getCreated() { java.lang.Object ref = created_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); created_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *创建时间
       * 
* * string created = 15; * @return The bytes for created. */ public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *创建时间
       * 
* * string created = 15; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated( java.lang.String value) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); return this; } /** *
       *创建时间
       * 
* * string created = 15; * @return This builder for chaining. */ public Builder clearCreated() { created_ = getDefaultInstance().getCreated(); onChanged(); return this; } /** *
       *创建时间
       * 
* * string created = 15; * @param value The bytes for created to set. * @return This builder for chaining. */ public Builder setCreatedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); created_ = value; onChanged(); return this; } private java.util.List record_ = java.util.Collections.emptyList(); private void ensureRecordIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { record_ = new java.util.ArrayList(record_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.ExamRecord, mqComsumerV1.Struct.ExamRecord.Builder, mqComsumerV1.Struct.ExamRecordOrBuilder> recordBuilder_; /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public java.util.List getRecordList() { if (recordBuilder_ == null) { return java.util.Collections.unmodifiableList(record_); } else { return recordBuilder_.getMessageList(); } } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public int getRecordCount() { if (recordBuilder_ == null) { return record_.size(); } else { return recordBuilder_.getCount(); } } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public mqComsumerV1.Struct.ExamRecord getRecord(int index) { if (recordBuilder_ == null) { return record_.get(index); } else { return recordBuilder_.getMessage(index); } } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder setRecord( int index, mqComsumerV1.Struct.ExamRecord value) { if (recordBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecordIsMutable(); record_.set(index, value); onChanged(); } else { recordBuilder_.setMessage(index, value); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder setRecord( int index, mqComsumerV1.Struct.ExamRecord.Builder builderForValue) { if (recordBuilder_ == null) { ensureRecordIsMutable(); record_.set(index, builderForValue.build()); onChanged(); } else { recordBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder addRecord(mqComsumerV1.Struct.ExamRecord value) { if (recordBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecordIsMutable(); record_.add(value); onChanged(); } else { recordBuilder_.addMessage(value); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder addRecord( int index, mqComsumerV1.Struct.ExamRecord value) { if (recordBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecordIsMutable(); record_.add(index, value); onChanged(); } else { recordBuilder_.addMessage(index, value); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder addRecord( mqComsumerV1.Struct.ExamRecord.Builder builderForValue) { if (recordBuilder_ == null) { ensureRecordIsMutable(); record_.add(builderForValue.build()); onChanged(); } else { recordBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder addRecord( int index, mqComsumerV1.Struct.ExamRecord.Builder builderForValue) { if (recordBuilder_ == null) { ensureRecordIsMutable(); record_.add(index, builderForValue.build()); onChanged(); } else { recordBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder addAllRecord( java.lang.Iterable values) { if (recordBuilder_ == null) { ensureRecordIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, record_); onChanged(); } else { recordBuilder_.addAllMessages(values); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder clearRecord() { if (recordBuilder_ == null) { record_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { recordBuilder_.clear(); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public Builder removeRecord(int index) { if (recordBuilder_ == null) { ensureRecordIsMutable(); record_.remove(index); onChanged(); } else { recordBuilder_.remove(index); } return this; } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public mqComsumerV1.Struct.ExamRecord.Builder getRecordBuilder( int index) { return getRecordFieldBuilder().getBuilder(index); } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public mqComsumerV1.Struct.ExamRecordOrBuilder getRecordOrBuilder( int index) { if (recordBuilder_ == null) { return record_.get(index); } else { return recordBuilder_.getMessageOrBuilder(index); } } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public java.util.List getRecordOrBuilderList() { if (recordBuilder_ != null) { return recordBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(record_); } } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public mqComsumerV1.Struct.ExamRecord.Builder addRecordBuilder() { return getRecordFieldBuilder().addBuilder( mqComsumerV1.Struct.ExamRecord.getDefaultInstance()); } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public mqComsumerV1.Struct.ExamRecord.Builder addRecordBuilder( int index) { return getRecordFieldBuilder().addBuilder( index, mqComsumerV1.Struct.ExamRecord.getDefaultInstance()); } /** *
       *答案记录
       * 
* * repeated .mqComsumerV1.ExamRecord record = 16; */ public java.util.List getRecordBuilderList() { return getRecordFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.ExamRecord, mqComsumerV1.Struct.ExamRecord.Builder, mqComsumerV1.Struct.ExamRecordOrBuilder> getRecordFieldBuilder() { if (recordBuilder_ == null) { recordBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mqComsumerV1.Struct.ExamRecord, mqComsumerV1.Struct.ExamRecord.Builder, mqComsumerV1.Struct.ExamRecordOrBuilder>( record_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); record_ = null; } return recordBuilder_; } private long typeId_ ; /** *
       *作文类型,作文必传
       * 
* * int64 type_id = 17; * @return The typeId. */ @java.lang.Override public long getTypeId() { return typeId_; } /** *
       *作文类型,作文必传
       * 
* * int64 type_id = 17; * @param value The typeId to set. * @return This builder for chaining. */ public Builder setTypeId(long value) { typeId_ = value; onChanged(); return this; } /** *
       *作文类型,作文必传
       * 
* * int64 type_id = 17; * @return This builder for chaining. */ public Builder clearTypeId() { typeId_ = 0L; onChanged(); return this; } private long lessonId_ ; /** * int64 lesson_id = 18; * @return The lessonId. */ @java.lang.Override public long getLessonId() { return lessonId_; } /** * int64 lesson_id = 18; * @param value The lessonId to set. * @return This builder for chaining. */ public Builder setLessonId(long value) { lessonId_ = value; onChanged(); return this; } /** * int64 lesson_id = 18; * @return This builder for chaining. */ public Builder clearLessonId() { lessonId_ = 0L; onChanged(); return this; } private long changeType_ ; /** *
       * bool is_ignored = 19; // redis缓存是否忽略本次成绩记录,如果是true就忽略,(废弃,不再做检测)
       * 
* * int64 change_type = 20; * @return The changeType. */ @java.lang.Override public long getChangeType() { return changeType_; } /** *
       * bool is_ignored = 19; // redis缓存是否忽略本次成绩记录,如果是true就忽略,(废弃,不再做检测)
       * 
* * int64 change_type = 20; * @param value The changeType to set. * @return This builder for chaining. */ public Builder setChangeType(long value) { changeType_ = value; onChanged(); return this; } /** *
       * bool is_ignored = 19; // redis缓存是否忽略本次成绩记录,如果是true就忽略,(废弃,不再做检测)
       * 
* * int64 change_type = 20; * @return This builder for chaining. */ public Builder clearChangeType() { changeType_ = 0L; onChanged(); return this; } private boolean isFinished_ ; /** *
       *课程是否完成
       * 
* * bool is_finished = 21; * @return The isFinished. */ @java.lang.Override public boolean getIsFinished() { return isFinished_; } /** *
       *课程是否完成
       * 
* * bool is_finished = 21; * @param value The isFinished to set. * @return This builder for chaining. */ public Builder setIsFinished(boolean value) { isFinished_ = value; onChanged(); return this; } /** *
       *课程是否完成
       * 
* * bool is_finished = 21; * @return This builder for chaining. */ public Builder clearIsFinished() { isFinished_ = false; onChanged(); return this; } private float coverRate_ ; /** *
       *覆盖率,词汇量测试分享使用
       * 
* * float cover_rate = 22; * @return The coverRate. */ @java.lang.Override public float getCoverRate() { return coverRate_; } /** *
       *覆盖率,词汇量测试分享使用
       * 
* * float cover_rate = 22; * @param value The coverRate to set. * @return This builder for chaining. */ public Builder setCoverRate(float value) { coverRate_ = value; onChanged(); return this; } /** *
       *覆盖率,词汇量测试分享使用
       * 
* * float cover_rate = 22; * @return This builder for chaining. */ public Builder clearCoverRate() { coverRate_ = 0F; onChanged(); return this; } private java.lang.Object stage_ = ""; /** *
       *阶段,词汇量测试分享使用
       * 
* * string stage = 23; * @return The stage. */ public java.lang.String getStage() { java.lang.Object ref = stage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stage_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *阶段,词汇量测试分享使用
       * 
* * string stage = 23; * @return The bytes for stage. */ public com.google.protobuf.ByteString getStageBytes() { java.lang.Object ref = stage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *阶段,词汇量测试分享使用
       * 
* * string stage = 23; * @param value The stage to set. * @return This builder for chaining. */ public Builder setStage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stage_ = value; onChanged(); return this; } /** *
       *阶段,词汇量测试分享使用
       * 
* * string stage = 23; * @return This builder for chaining. */ public Builder clearStage() { stage_ = getDefaultInstance().getStage(); onChanged(); return this; } /** *
       *阶段,词汇量测试分享使用
       * 
* * string stage = 23; * @param value The bytes for stage to set. * @return This builder for chaining. */ public Builder setStageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stage_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:mqComsumerV1.LearnExam) } // @@protoc_insertion_point(class_scope:mqComsumerV1.LearnExam) private static final mqComsumerV1.Struct.LearnExam DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mqComsumerV1.Struct.LearnExam(); } public static mqComsumerV1.Struct.LearnExam getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LearnExam parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LearnExam(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mqComsumerV1.Struct.LearnExam getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExamRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:mqComsumerV1.ExamRecord) com.google.protobuf.MessageOrBuilder { /** *
     *	题目id,对应题库内id
     * 
* * int64 question_id = 1; * @return The questionId. */ long getQuestionId(); /** *
     *	题目类型(1:选择题 2:填空题 3:判断题)
     * 
* * int64 question_type = 5; * @return The questionType. */ long getQuestionType(); /** *
     *选项,题目相关信息直接转json
     * 
* * string question = 6; * @return The question. */ java.lang.String getQuestion(); /** *
     *选项,题目相关信息直接转json
     * 
* * string question = 6; * @return The bytes for question. */ com.google.protobuf.ByteString getQuestionBytes(); /** *
     *用户答案转json
     * 
* * string user_answer = 7; * @return The userAnswer. */ java.lang.String getUserAnswer(); /** *
     *用户答案转json
     * 
* * string user_answer = 7; * @return The bytes for userAnswer. */ com.google.protobuf.ByteString getUserAnswerBytes(); /** *
     *回答状态(1:正确 0:未答 -1:错误)
     * 
* * int64 answer_status = 8; * @return The answerStatus. */ long getAnswerStatus(); /** *
     *用时(单位为毫秒)
     * 
* * int64 duration = 9; * @return The duration. */ long getDuration(); } /** *
   *测试记录,该表分表的依据是测试试卷表learn_exam的主键,取后三位
   * 
* * Protobuf type {@code mqComsumerV1.ExamRecord} */ public static final class ExamRecord extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mqComsumerV1.ExamRecord) ExamRecordOrBuilder { private static final long serialVersionUID = 0L; // Use ExamRecord.newBuilder() to construct. private ExamRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExamRecord() { question_ = ""; userAnswer_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExamRecord(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExamRecord( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 8: { questionId_ = input.readInt64(); break; } case 40: { questionType_ = input.readInt64(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); question_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); userAnswer_ = s; break; } case 64: { answerStatus_ = input.readInt64(); break; } case 72: { duration_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } 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 mqComsumerV1.Struct.internal_static_mqComsumerV1_ExamRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_ExamRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.ExamRecord.class, mqComsumerV1.Struct.ExamRecord.Builder.class); } public static final int QUESTION_ID_FIELD_NUMBER = 1; private long questionId_; /** *
     *	题目id,对应题库内id
     * 
* * int64 question_id = 1; * @return The questionId. */ @java.lang.Override public long getQuestionId() { return questionId_; } public static final int QUESTION_TYPE_FIELD_NUMBER = 5; private long questionType_; /** *
     *	题目类型(1:选择题 2:填空题 3:判断题)
     * 
* * int64 question_type = 5; * @return The questionType. */ @java.lang.Override public long getQuestionType() { return questionType_; } public static final int QUESTION_FIELD_NUMBER = 6; private volatile java.lang.Object question_; /** *
     *选项,题目相关信息直接转json
     * 
* * string question = 6; * @return The question. */ @java.lang.Override public java.lang.String getQuestion() { java.lang.Object ref = question_; 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(); question_ = s; return s; } } /** *
     *选项,题目相关信息直接转json
     * 
* * string question = 6; * @return The bytes for question. */ @java.lang.Override public com.google.protobuf.ByteString getQuestionBytes() { java.lang.Object ref = question_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); question_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_ANSWER_FIELD_NUMBER = 7; private volatile java.lang.Object userAnswer_; /** *
     *用户答案转json
     * 
* * string user_answer = 7; * @return The userAnswer. */ @java.lang.Override public java.lang.String getUserAnswer() { java.lang.Object ref = userAnswer_; 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(); userAnswer_ = s; return s; } } /** *
     *用户答案转json
     * 
* * string user_answer = 7; * @return The bytes for userAnswer. */ @java.lang.Override public com.google.protobuf.ByteString getUserAnswerBytes() { java.lang.Object ref = userAnswer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAnswer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ANSWER_STATUS_FIELD_NUMBER = 8; private long answerStatus_; /** *
     *回答状态(1:正确 0:未答 -1:错误)
     * 
* * int64 answer_status = 8; * @return The answerStatus. */ @java.lang.Override public long getAnswerStatus() { return answerStatus_; } public static final int DURATION_FIELD_NUMBER = 9; private long duration_; /** *
     *用时(单位为毫秒)
     * 
* * int64 duration = 9; * @return The duration. */ @java.lang.Override public long getDuration() { return duration_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (questionId_ != 0L) { output.writeInt64(1, questionId_); } if (questionType_ != 0L) { output.writeInt64(5, questionType_); } if (!getQuestionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, question_); } if (!getUserAnswerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, userAnswer_); } if (answerStatus_ != 0L) { output.writeInt64(8, answerStatus_); } if (duration_ != 0L) { output.writeInt64(9, duration_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (questionId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, questionId_); } if (questionType_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, questionType_); } if (!getQuestionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, question_); } if (!getUserAnswerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, userAnswer_); } if (answerStatus_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, answerStatus_); } if (duration_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, duration_); } 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 mqComsumerV1.Struct.ExamRecord)) { return super.equals(obj); } mqComsumerV1.Struct.ExamRecord other = (mqComsumerV1.Struct.ExamRecord) obj; if (getQuestionId() != other.getQuestionId()) return false; if (getQuestionType() != other.getQuestionType()) return false; if (!getQuestion() .equals(other.getQuestion())) return false; if (!getUserAnswer() .equals(other.getUserAnswer())) return false; if (getAnswerStatus() != other.getAnswerStatus()) return false; if (getDuration() != other.getDuration()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + QUESTION_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQuestionId()); hash = (37 * hash) + QUESTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQuestionType()); hash = (37 * hash) + QUESTION_FIELD_NUMBER; hash = (53 * hash) + getQuestion().hashCode(); hash = (37 * hash) + USER_ANSWER_FIELD_NUMBER; hash = (53 * hash) + getUserAnswer().hashCode(); hash = (37 * hash) + ANSWER_STATUS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAnswerStatus()); hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDuration()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mqComsumerV1.Struct.ExamRecord parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.ExamRecord parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.ExamRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.ExamRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.ExamRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.ExamRecord parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.ExamRecord parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.ExamRecord 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 mqComsumerV1.Struct.ExamRecord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mqComsumerV1.Struct.ExamRecord 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 mqComsumerV1.Struct.ExamRecord parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.ExamRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(mqComsumerV1.Struct.ExamRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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; } /** *
     *测试记录,该表分表的依据是测试试卷表learn_exam的主键,取后三位
     * 
* * Protobuf type {@code mqComsumerV1.ExamRecord} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mqComsumerV1.ExamRecord) mqComsumerV1.Struct.ExamRecordOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_ExamRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_ExamRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.ExamRecord.class, mqComsumerV1.Struct.ExamRecord.Builder.class); } // Construct using mqComsumerV1.Struct.ExamRecord.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); questionId_ = 0L; questionType_ = 0L; question_ = ""; userAnswer_ = ""; answerStatus_ = 0L; duration_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_ExamRecord_descriptor; } @java.lang.Override public mqComsumerV1.Struct.ExamRecord getDefaultInstanceForType() { return mqComsumerV1.Struct.ExamRecord.getDefaultInstance(); } @java.lang.Override public mqComsumerV1.Struct.ExamRecord build() { mqComsumerV1.Struct.ExamRecord result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mqComsumerV1.Struct.ExamRecord buildPartial() { mqComsumerV1.Struct.ExamRecord result = new mqComsumerV1.Struct.ExamRecord(this); result.questionId_ = questionId_; result.questionType_ = questionType_; result.question_ = question_; result.userAnswer_ = userAnswer_; result.answerStatus_ = answerStatus_; result.duration_ = duration_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof mqComsumerV1.Struct.ExamRecord) { return mergeFrom((mqComsumerV1.Struct.ExamRecord)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mqComsumerV1.Struct.ExamRecord other) { if (other == mqComsumerV1.Struct.ExamRecord.getDefaultInstance()) return this; if (other.getQuestionId() != 0L) { setQuestionId(other.getQuestionId()); } if (other.getQuestionType() != 0L) { setQuestionType(other.getQuestionType()); } if (!other.getQuestion().isEmpty()) { question_ = other.question_; onChanged(); } if (!other.getUserAnswer().isEmpty()) { userAnswer_ = other.userAnswer_; onChanged(); } if (other.getAnswerStatus() != 0L) { setAnswerStatus(other.getAnswerStatus()); } if (other.getDuration() != 0L) { setDuration(other.getDuration()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { mqComsumerV1.Struct.ExamRecord parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mqComsumerV1.Struct.ExamRecord) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long questionId_ ; /** *
       *	题目id,对应题库内id
       * 
* * int64 question_id = 1; * @return The questionId. */ @java.lang.Override public long getQuestionId() { return questionId_; } /** *
       *	题目id,对应题库内id
       * 
* * int64 question_id = 1; * @param value The questionId to set. * @return This builder for chaining. */ public Builder setQuestionId(long value) { questionId_ = value; onChanged(); return this; } /** *
       *	题目id,对应题库内id
       * 
* * int64 question_id = 1; * @return This builder for chaining. */ public Builder clearQuestionId() { questionId_ = 0L; onChanged(); return this; } private long questionType_ ; /** *
       *	题目类型(1:选择题 2:填空题 3:判断题)
       * 
* * int64 question_type = 5; * @return The questionType. */ @java.lang.Override public long getQuestionType() { return questionType_; } /** *
       *	题目类型(1:选择题 2:填空题 3:判断题)
       * 
* * int64 question_type = 5; * @param value The questionType to set. * @return This builder for chaining. */ public Builder setQuestionType(long value) { questionType_ = value; onChanged(); return this; } /** *
       *	题目类型(1:选择题 2:填空题 3:判断题)
       * 
* * int64 question_type = 5; * @return This builder for chaining. */ public Builder clearQuestionType() { questionType_ = 0L; onChanged(); return this; } private java.lang.Object question_ = ""; /** *
       *选项,题目相关信息直接转json
       * 
* * string question = 6; * @return The question. */ public java.lang.String getQuestion() { java.lang.Object ref = question_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); question_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *选项,题目相关信息直接转json
       * 
* * string question = 6; * @return The bytes for question. */ public com.google.protobuf.ByteString getQuestionBytes() { java.lang.Object ref = question_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); question_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *选项,题目相关信息直接转json
       * 
* * string question = 6; * @param value The question to set. * @return This builder for chaining. */ public Builder setQuestion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } question_ = value; onChanged(); return this; } /** *
       *选项,题目相关信息直接转json
       * 
* * string question = 6; * @return This builder for chaining. */ public Builder clearQuestion() { question_ = getDefaultInstance().getQuestion(); onChanged(); return this; } /** *
       *选项,题目相关信息直接转json
       * 
* * string question = 6; * @param value The bytes for question to set. * @return This builder for chaining. */ public Builder setQuestionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); question_ = value; onChanged(); return this; } private java.lang.Object userAnswer_ = ""; /** *
       *用户答案转json
       * 
* * string user_answer = 7; * @return The userAnswer. */ public java.lang.String getUserAnswer() { java.lang.Object ref = userAnswer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAnswer_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户答案转json
       * 
* * string user_answer = 7; * @return The bytes for userAnswer. */ public com.google.protobuf.ByteString getUserAnswerBytes() { java.lang.Object ref = userAnswer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAnswer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户答案转json
       * 
* * string user_answer = 7; * @param value The userAnswer to set. * @return This builder for chaining. */ public Builder setUserAnswer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAnswer_ = value; onChanged(); return this; } /** *
       *用户答案转json
       * 
* * string user_answer = 7; * @return This builder for chaining. */ public Builder clearUserAnswer() { userAnswer_ = getDefaultInstance().getUserAnswer(); onChanged(); return this; } /** *
       *用户答案转json
       * 
* * string user_answer = 7; * @param value The bytes for userAnswer to set. * @return This builder for chaining. */ public Builder setUserAnswerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAnswer_ = value; onChanged(); return this; } private long answerStatus_ ; /** *
       *回答状态(1:正确 0:未答 -1:错误)
       * 
* * int64 answer_status = 8; * @return The answerStatus. */ @java.lang.Override public long getAnswerStatus() { return answerStatus_; } /** *
       *回答状态(1:正确 0:未答 -1:错误)
       * 
* * int64 answer_status = 8; * @param value The answerStatus to set. * @return This builder for chaining. */ public Builder setAnswerStatus(long value) { answerStatus_ = value; onChanged(); return this; } /** *
       *回答状态(1:正确 0:未答 -1:错误)
       * 
* * int64 answer_status = 8; * @return This builder for chaining. */ public Builder clearAnswerStatus() { answerStatus_ = 0L; onChanged(); return this; } private long duration_ ; /** *
       *用时(单位为毫秒)
       * 
* * int64 duration = 9; * @return The duration. */ @java.lang.Override public long getDuration() { return duration_; } /** *
       *用时(单位为毫秒)
       * 
* * int64 duration = 9; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(long value) { duration_ = value; onChanged(); return this; } /** *
       *用时(单位为毫秒)
       * 
* * int64 duration = 9; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:mqComsumerV1.ExamRecord) } // @@protoc_insertion_point(class_scope:mqComsumerV1.ExamRecord) private static final mqComsumerV1.Struct.ExamRecord DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mqComsumerV1.Struct.ExamRecord(); } public static mqComsumerV1.Struct.ExamRecord getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExamRecord parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExamRecord(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mqComsumerV1.Struct.ExamRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LearnScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:mqComsumerV1.LearnSchedule) com.google.protobuf.MessageOrBuilder { /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ long getProjectId(); /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ long getPackId(); /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ long getCourseId(); /** *
     *进度
     * 
* * float schedule = 4; * @return The schedule. */ float getSchedule(); /** *
     *项目总进度
     * 
* * float total_schedule = 5; * @return The totalSchedule. */ float getTotalSchedule(); /** *
     * 时间
     * 
* * string created = 6; * @return The created. */ java.lang.String getCreated(); /** *
     * 时间
     * 
* * string created = 6; * @return The bytes for created. */ com.google.protobuf.ByteString getCreatedBytes(); /** *
     * 课堂练习进度,仅针对作文
     * 
* * float exercise_schedule = 7; * @return The exerciseSchedule. */ float getExerciseSchedule(); /** *
     *选填,当不为零时,存储练习进度,否则不保存
     * 
* * int64 lesson_id = 8; * @return The lessonId. */ long getLessonId(); } /** *
   * 最新学习进度
   * 
* * Protobuf type {@code mqComsumerV1.LearnSchedule} */ public static final class LearnSchedule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mqComsumerV1.LearnSchedule) LearnScheduleOrBuilder { private static final long serialVersionUID = 0L; // Use LearnSchedule.newBuilder() to construct. private LearnSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LearnSchedule() { created_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LearnSchedule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LearnSchedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 8: { projectId_ = input.readInt64(); break; } case 16: { packId_ = input.readInt64(); break; } case 24: { courseId_ = input.readInt64(); break; } case 37: { schedule_ = input.readFloat(); break; } case 45: { totalSchedule_ = input.readFloat(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); created_ = s; break; } case 61: { exerciseSchedule_ = input.readFloat(); break; } case 64: { lessonId_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } 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 mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnSchedule.class, mqComsumerV1.Struct.LearnSchedule.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private long projectId_; /** *
     *项目ID
     * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } public static final int PACK_ID_FIELD_NUMBER = 2; private long packId_; /** *
     *课程包ID
     * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } public static final int COURSE_ID_FIELD_NUMBER = 3; private long courseId_; /** *
     *课程id
     * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } public static final int SCHEDULE_FIELD_NUMBER = 4; private float schedule_; /** *
     *进度
     * 
* * float schedule = 4; * @return The schedule. */ @java.lang.Override public float getSchedule() { return schedule_; } public static final int TOTAL_SCHEDULE_FIELD_NUMBER = 5; private float totalSchedule_; /** *
     *项目总进度
     * 
* * float total_schedule = 5; * @return The totalSchedule. */ @java.lang.Override public float getTotalSchedule() { return totalSchedule_; } public static final int CREATED_FIELD_NUMBER = 6; private volatile java.lang.Object created_; /** *
     * 时间
     * 
* * string created = 6; * @return The created. */ @java.lang.Override public java.lang.String getCreated() { java.lang.Object ref = created_; 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(); created_ = s; return s; } } /** *
     * 时间
     * 
* * string created = 6; * @return The bytes for created. */ @java.lang.Override public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXERCISE_SCHEDULE_FIELD_NUMBER = 7; private float exerciseSchedule_; /** *
     * 课堂练习进度,仅针对作文
     * 
* * float exercise_schedule = 7; * @return The exerciseSchedule. */ @java.lang.Override public float getExerciseSchedule() { return exerciseSchedule_; } public static final int LESSON_ID_FIELD_NUMBER = 8; private long lessonId_; /** *
     *选填,当不为零时,存储练习进度,否则不保存
     * 
* * int64 lesson_id = 8; * @return The lessonId. */ @java.lang.Override public long getLessonId() { return lessonId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (packId_ != 0L) { output.writeInt64(2, packId_); } if (courseId_ != 0L) { output.writeInt64(3, courseId_); } if (schedule_ != 0F) { output.writeFloat(4, schedule_); } if (totalSchedule_ != 0F) { output.writeFloat(5, totalSchedule_); } if (!getCreatedBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, created_); } if (exerciseSchedule_ != 0F) { output.writeFloat(7, exerciseSchedule_); } if (lessonId_ != 0L) { output.writeInt64(8, lessonId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (projectId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, projectId_); } if (packId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, packId_); } if (courseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, courseId_); } if (schedule_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, schedule_); } if (totalSchedule_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(5, totalSchedule_); } if (!getCreatedBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, created_); } if (exerciseSchedule_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(7, exerciseSchedule_); } if (lessonId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, lessonId_); } 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 mqComsumerV1.Struct.LearnSchedule)) { return super.equals(obj); } mqComsumerV1.Struct.LearnSchedule other = (mqComsumerV1.Struct.LearnSchedule) obj; if (getProjectId() != other.getProjectId()) return false; if (getPackId() != other.getPackId()) return false; if (getCourseId() != other.getCourseId()) return false; if (java.lang.Float.floatToIntBits(getSchedule()) != java.lang.Float.floatToIntBits( other.getSchedule())) return false; if (java.lang.Float.floatToIntBits(getTotalSchedule()) != java.lang.Float.floatToIntBits( other.getTotalSchedule())) return false; if (!getCreated() .equals(other.getCreated())) return false; if (java.lang.Float.floatToIntBits(getExerciseSchedule()) != java.lang.Float.floatToIntBits( other.getExerciseSchedule())) return false; if (getLessonId() != other.getLessonId()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProjectId()); hash = (37 * hash) + PACK_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPackId()); hash = (37 * hash) + COURSE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCourseId()); hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSchedule()); hash = (37 * hash) + TOTAL_SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getTotalSchedule()); hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); hash = (37 * hash) + EXERCISE_SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getExerciseSchedule()); hash = (37 * hash) + LESSON_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLessonId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mqComsumerV1.Struct.LearnSchedule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnSchedule parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnSchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnSchedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mqComsumerV1.Struct.LearnSchedule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mqComsumerV1.Struct.LearnSchedule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnSchedule 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 mqComsumerV1.Struct.LearnSchedule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnSchedule 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 mqComsumerV1.Struct.LearnSchedule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mqComsumerV1.Struct.LearnSchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(mqComsumerV1.Struct.LearnSchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override 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 mqComsumerV1.LearnSchedule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mqComsumerV1.LearnSchedule) mqComsumerV1.Struct.LearnScheduleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( mqComsumerV1.Struct.LearnSchedule.class, mqComsumerV1.Struct.LearnSchedule.Builder.class); } // Construct using mqComsumerV1.Struct.LearnSchedule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); projectId_ = 0L; packId_ = 0L; courseId_ = 0L; schedule_ = 0F; totalSchedule_ = 0F; created_ = ""; exerciseSchedule_ = 0F; lessonId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mqComsumerV1.Struct.internal_static_mqComsumerV1_LearnSchedule_descriptor; } @java.lang.Override public mqComsumerV1.Struct.LearnSchedule getDefaultInstanceForType() { return mqComsumerV1.Struct.LearnSchedule.getDefaultInstance(); } @java.lang.Override public mqComsumerV1.Struct.LearnSchedule build() { mqComsumerV1.Struct.LearnSchedule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mqComsumerV1.Struct.LearnSchedule buildPartial() { mqComsumerV1.Struct.LearnSchedule result = new mqComsumerV1.Struct.LearnSchedule(this); result.projectId_ = projectId_; result.packId_ = packId_; result.courseId_ = courseId_; result.schedule_ = schedule_; result.totalSchedule_ = totalSchedule_; result.created_ = created_; result.exerciseSchedule_ = exerciseSchedule_; result.lessonId_ = lessonId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof mqComsumerV1.Struct.LearnSchedule) { return mergeFrom((mqComsumerV1.Struct.LearnSchedule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mqComsumerV1.Struct.LearnSchedule other) { if (other == mqComsumerV1.Struct.LearnSchedule.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (other.getPackId() != 0L) { setPackId(other.getPackId()); } if (other.getCourseId() != 0L) { setCourseId(other.getCourseId()); } if (other.getSchedule() != 0F) { setSchedule(other.getSchedule()); } if (other.getTotalSchedule() != 0F) { setTotalSchedule(other.getTotalSchedule()); } if (!other.getCreated().isEmpty()) { created_ = other.created_; onChanged(); } if (other.getExerciseSchedule() != 0F) { setExerciseSchedule(other.getExerciseSchedule()); } if (other.getLessonId() != 0L) { setLessonId(other.getLessonId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { mqComsumerV1.Struct.LearnSchedule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mqComsumerV1.Struct.LearnSchedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long projectId_ ; /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return The projectId. */ @java.lang.Override public long getProjectId() { return projectId_; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @param value The projectId to set. * @return This builder for chaining. */ public Builder setProjectId(long value) { projectId_ = value; onChanged(); return this; } /** *
       *项目ID
       * 
* * int64 project_id = 1; * @return This builder for chaining. */ public Builder clearProjectId() { projectId_ = 0L; onChanged(); return this; } private long packId_ ; /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return The packId. */ @java.lang.Override public long getPackId() { return packId_; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @param value The packId to set. * @return This builder for chaining. */ public Builder setPackId(long value) { packId_ = value; onChanged(); return this; } /** *
       *课程包ID
       * 
* * int64 pack_id = 2; * @return This builder for chaining. */ public Builder clearPackId() { packId_ = 0L; onChanged(); return this; } private long courseId_ ; /** *
       *课程id
       * 
* * int64 course_id = 3; * @return The courseId. */ @java.lang.Override public long getCourseId() { return courseId_; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @param value The courseId to set. * @return This builder for chaining. */ public Builder setCourseId(long value) { courseId_ = value; onChanged(); return this; } /** *
       *课程id
       * 
* * int64 course_id = 3; * @return This builder for chaining. */ public Builder clearCourseId() { courseId_ = 0L; onChanged(); return this; } private float schedule_ ; /** *
       *进度
       * 
* * float schedule = 4; * @return The schedule. */ @java.lang.Override public float getSchedule() { return schedule_; } /** *
       *进度
       * 
* * float schedule = 4; * @param value The schedule to set. * @return This builder for chaining. */ public Builder setSchedule(float value) { schedule_ = value; onChanged(); return this; } /** *
       *进度
       * 
* * float schedule = 4; * @return This builder for chaining. */ public Builder clearSchedule() { schedule_ = 0F; onChanged(); return this; } private float totalSchedule_ ; /** *
       *项目总进度
       * 
* * float total_schedule = 5; * @return The totalSchedule. */ @java.lang.Override public float getTotalSchedule() { return totalSchedule_; } /** *
       *项目总进度
       * 
* * float total_schedule = 5; * @param value The totalSchedule to set. * @return This builder for chaining. */ public Builder setTotalSchedule(float value) { totalSchedule_ = value; onChanged(); return this; } /** *
       *项目总进度
       * 
* * float total_schedule = 5; * @return This builder for chaining. */ public Builder clearTotalSchedule() { totalSchedule_ = 0F; onChanged(); return this; } private java.lang.Object created_ = ""; /** *
       * 时间
       * 
* * string created = 6; * @return The created. */ public java.lang.String getCreated() { java.lang.Object ref = created_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); created_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * 时间
       * 
* * string created = 6; * @return The bytes for created. */ public com.google.protobuf.ByteString getCreatedBytes() { java.lang.Object ref = created_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); created_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * 时间
       * 
* * string created = 6; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated( java.lang.String value) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); return this; } /** *
       * 时间
       * 
* * string created = 6; * @return This builder for chaining. */ public Builder clearCreated() { created_ = getDefaultInstance().getCreated(); onChanged(); return this; } /** *
       * 时间
       * 
* * string created = 6; * @param value The bytes for created to set. * @return This builder for chaining. */ public Builder setCreatedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); created_ = value; onChanged(); return this; } private float exerciseSchedule_ ; /** *
       * 课堂练习进度,仅针对作文
       * 
* * float exercise_schedule = 7; * @return The exerciseSchedule. */ @java.lang.Override public float getExerciseSchedule() { return exerciseSchedule_; } /** *
       * 课堂练习进度,仅针对作文
       * 
* * float exercise_schedule = 7; * @param value The exerciseSchedule to set. * @return This builder for chaining. */ public Builder setExerciseSchedule(float value) { exerciseSchedule_ = value; onChanged(); return this; } /** *
       * 课堂练习进度,仅针对作文
       * 
* * float exercise_schedule = 7; * @return This builder for chaining. */ public Builder clearExerciseSchedule() { exerciseSchedule_ = 0F; onChanged(); return this; } private long lessonId_ ; /** *
       *选填,当不为零时,存储练习进度,否则不保存
       * 
* * int64 lesson_id = 8; * @return The lessonId. */ @java.lang.Override public long getLessonId() { return lessonId_; } /** *
       *选填,当不为零时,存储练习进度,否则不保存
       * 
* * int64 lesson_id = 8; * @param value The lessonId to set. * @return This builder for chaining. */ public Builder setLessonId(long value) { lessonId_ = value; onChanged(); return this; } /** *
       *选填,当不为零时,存储练习进度,否则不保存
       * 
* * int64 lesson_id = 8; * @return This builder for chaining. */ public Builder clearLessonId() { lessonId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:mqComsumerV1.LearnSchedule) } // @@protoc_insertion_point(class_scope:mqComsumerV1.LearnSchedule) private static final mqComsumerV1.Struct.LearnSchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mqComsumerV1.Struct.LearnSchedule(); } public static mqComsumerV1.Struct.LearnSchedule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LearnSchedule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LearnSchedule(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mqComsumerV1.Struct.LearnSchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_mqComsumerV1_Record_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mqComsumerV1_Record_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mqComsumerV1_LearnEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mqComsumerV1_LearnEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mqComsumerV1_LearnDuration_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mqComsumerV1_LearnDuration_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mqComsumerV1_LearnExam_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mqComsumerV1_LearnExam_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mqComsumerV1_ExamRecord_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mqComsumerV1_ExamRecord_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mqComsumerV1_LearnSchedule_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mqComsumerV1_LearnSchedule_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\014struct.proto\022\014mqComsumerV1\"\223\002\n\006Record\022" + ")\n\006entity\030\001 \003(\0132\031.mqComsumerV1.LearnEnti" + "ty\022-\n\010duration\030\002 \003(\0132\033.mqComsumerV1.Lear" + "nDuration\022%\n\004exam\030\003 \003(\0132\027.mqComsumerV1.L" + "earnExam\022\017\n\007user_id\030\004 \001(\003\022\021\n\tschool_id\030\005" + " \001(\003\022-\n\010schedule\030\006 \003(\0132\033.mqComsumerV1.Le" + "arnSchedule\022\017\n\007version\030\007 \001(\003\022\017\n\007corp_id\030" + "\010 \001(\003\022\023\n\013client_type\030\t \001(\003\"\344\002\n\013LearnEnti" + "ty\022\022\n\nproject_id\030\001 \001(\003\022\017\n\007pack_id\030\002 \001(\003\022" + "\021\n\tcourse_id\030\003 \001(\003\022\022\n\nchapter_id\030\004 \001(\003\022\021" + "\n\tentity_id\030\005 \001(\003\022\020\n\010is_error\030\006 \001(\010\022\022\n\nr" + "eview_num\030\007 \001(\003\022\030\n\020last_review_date\030\010 \001(" + "\t\022\013\n\003ext\030\t \001(\t\022\013\n\003tag\030\n \001(\t\022\017\n\007created\030\013" + " \001(\t\022\025\n\ris_from_track\030\014 \001(\010\022\025\n\rlast_is_e" + "rror\030\r \001(\010\022\030\n\020is_comp_exercise\030\016 \001(\010\022\021\n\t" + "lesson_id\030\017 \001(\003\022\024\n\014is_from_exam\030\020 \001(\010\022\032\n" + "\022is_only_save_point\030\021 \001(\010\"\313\001\n\rLearnDurat" + "ion\022\022\n\nproject_id\030\001 \001(\003\022\017\n\007pack_id\030\002 \001(\003" + "\022\021\n\tcourse_id\030\003 \001(\003\022\022\n\ntime_frame\030\004 \001(\003\022" + "\021\n\tis_review\030\005 \001(\010\022\020\n\010duration\030\006 \001(\003\022\013\n\003" + "tag\030\007 \001(\t\022\017\n\007created\030\010 \001(\t\022\026\n\016total_dura" + "tion\030\t \001(\003\022\023\n\013category_id\030\n \001(\003\"\254\003\n\tLear" + "nExam\022\022\n\nproject_id\030\001 \001(\003\022\017\n\007pack_id\030\002 \001" + "(\003\022\021\n\tcourse_id\030\003 \001(\003\022\022\n\nchapter_id\030\004 \001(" + "\003\022\r\n\005title\030\005 \001(\t\022\014\n\004type\030\006 \001(\003\022\r\n\005score\030" + "\007 \001(\002\022\021\n\ttotal_num\030\010 \001(\003\022\023\n\013correct_num\030" + "\t \001(\003\022\021\n\terror_num\030\n \001(\003\022\024\n\014unanswer_num" + "\030\013 \001(\003\022\020\n\010duration\030\014 \001(\003\022\013\n\003tag\030\r \001(\t\022\013\n" + "\003ext\030\016 \001(\t\022\017\n\007created\030\017 \001(\t\022(\n\006record\030\020 " + "\003(\0132\030.mqComsumerV1.ExamRecord\022\017\n\007type_id" + "\030\021 \001(\003\022\021\n\tlesson_id\030\022 \001(\003\022\023\n\013change_type" + "\030\024 \001(\003\022\023\n\013is_finished\030\025 \001(\010\022\022\n\ncover_rat" + "e\030\026 \001(\002\022\r\n\005stage\030\027 \001(\t\"\210\001\n\nExamRecord\022\023\n" + "\013question_id\030\001 \001(\003\022\025\n\rquestion_type\030\005 \001(" + "\003\022\020\n\010question\030\006 \001(\t\022\023\n\013user_answer\030\007 \001(\t" + "\022\025\n\ranswer_status\030\010 \001(\003\022\020\n\010duration\030\t \001(" + "\003\"\260\001\n\rLearnSchedule\022\022\n\nproject_id\030\001 \001(\003\022" + "\017\n\007pack_id\030\002 \001(\003\022\021\n\tcourse_id\030\003 \001(\003\022\020\n\010s" + "chedule\030\004 \001(\002\022\026\n\016total_schedule\030\005 \001(\002\022\017\n" + "\007created\030\006 \001(\t\022\031\n\021exercise_schedule\030\007 \001(" + "\002\022\021\n\tlesson_id\030\010 \001(\003B?Z=git.xuekaole.com" + "/sys_protobuf/mq_consumer_golang;mqComsu" + "merV1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_mqComsumerV1_Record_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_mqComsumerV1_Record_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mqComsumerV1_Record_descriptor, new java.lang.String[] { "Entity", "Duration", "Exam", "UserId", "SchoolId", "Schedule", "Version", "CorpId", "ClientType", }); internal_static_mqComsumerV1_LearnEntity_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_mqComsumerV1_LearnEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mqComsumerV1_LearnEntity_descriptor, new java.lang.String[] { "ProjectId", "PackId", "CourseId", "ChapterId", "EntityId", "IsError", "ReviewNum", "LastReviewDate", "Ext", "Tag", "Created", "IsFromTrack", "LastIsError", "IsCompExercise", "LessonId", "IsFromExam", "IsOnlySavePoint", }); internal_static_mqComsumerV1_LearnDuration_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_mqComsumerV1_LearnDuration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mqComsumerV1_LearnDuration_descriptor, new java.lang.String[] { "ProjectId", "PackId", "CourseId", "TimeFrame", "IsReview", "Duration", "Tag", "Created", "TotalDuration", "CategoryId", }); internal_static_mqComsumerV1_LearnExam_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_mqComsumerV1_LearnExam_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mqComsumerV1_LearnExam_descriptor, new java.lang.String[] { "ProjectId", "PackId", "CourseId", "ChapterId", "Title", "Type", "Score", "TotalNum", "CorrectNum", "ErrorNum", "UnanswerNum", "Duration", "Tag", "Ext", "Created", "Record", "TypeId", "LessonId", "ChangeType", "IsFinished", "CoverRate", "Stage", }); internal_static_mqComsumerV1_ExamRecord_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_mqComsumerV1_ExamRecord_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mqComsumerV1_ExamRecord_descriptor, new java.lang.String[] { "QuestionId", "QuestionType", "Question", "UserAnswer", "AnswerStatus", "Duration", }); internal_static_mqComsumerV1_LearnSchedule_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_mqComsumerV1_LearnSchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mqComsumerV1_LearnSchedule_descriptor, new java.lang.String[] { "ProjectId", "PackId", "CourseId", "Schedule", "TotalSchedule", "Created", "ExerciseSchedule", "LessonId", }); } // @@protoc_insertion_point(outer_class_scope) }