public Builder mergeFrom(
                im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest other) {
            if (other == im.turms.server.common.access.client.dto.request.message.QueryMessagesRequest
                    .getDefaultInstance()) {
                return this;
            }
            if (!other.ids_.isEmpty()) {
                if (ids_.isEmpty()) {
                    ids_ = other.ids_;
                    ids_.makeImmutable();
                    bitField0_ |= 0x00000001;
                } else {
                    ensureIdsIsMutable();
                    ids_.addAll(other.ids_);
                }
                onChanged();
            }
            if (other.hasAreGroupMessages()) {
                setAreGroupMessages(other.getAreGroupMessages());
            }
            if (other.hasAreSystemMessages()) {
                setAreSystemMessages(other.getAreSystemMessages());
            }
            if (!other.fromIds_.isEmpty()) {
                if (fromIds_.isEmpty()) {
                    fromIds_ = other.fromIds_;
                    fromIds_.makeImmutable();
                    bitField0_ |= 0x00000008;
                } else {
                    ensureFromIdsIsMutable();
                    fromIds_.addAll(other.fromIds_);
                }
                onChanged();
            }
            if (other.hasDeliveryDateStart()) {
                setDeliveryDateStart(other.getDeliveryDateStart());
            }
            if (other.hasDeliveryDateEnd()) {
                setDeliveryDateEnd(other.getDeliveryDateEnd());
            }
            if (other.hasMaxCount()) {
                setMaxCount(other.getMaxCount());
            }
            if (other.getWithTotal()) {
                setWithTotal(true);
            }
            if (other.hasDescending()) {
                setDescending(other.getDescending());
            }
            if (customAttributesBuilder_ == null) {
                if (!other.customAttributes_.isEmpty()) {
                    if (customAttributes_.isEmpty()) {
                        customAttributes_ = other.customAttributes_;
                        bitField0_ &= ~0x00000200;
                    } else {
                        ensureCustomAttributesIsMutable();
                        customAttributes_.addAll(other.customAttributes_);
                    }
                    onChanged();
                }
            } else {
                if (!other.customAttributes_.isEmpty()) {
                    if (customAttributesBuilder_.isEmpty()) {
                        customAttributesBuilder_.dispose();
                        customAttributesBuilder_ = null;
                        customAttributes_ = other.customAttributes_;
                        bitField0_ &= ~0x00000200;
                        customAttributesBuilder_ =
                                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
                                        ? getCustomAttributesFieldBuilder()
                                        : null;
                    } else {
                        customAttributesBuilder_.addAllMessages(other.customAttributes_);
                    }
                }
            }
            this.mergeUnknownFields(other.getUnknownFields());
            onChanged();
            return this;
        }
Protobuf type {@code im.turms.proto.QueryMessagesRequest}
turms-server-common/src/main/java/im/turms/server/common/access/client/dto/request/message/QueryMessagesRequest.java