/*
* MIT License
*
* Copyright (c) 2023 OrdinaryRoad
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Common.proto
package tech.ordinaryroad.live.chat.client.douyin.protobuf.dto;
public final class CommonOuterClass {
private CommonOuterClass() {}
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 CommonOrBuilder extends
// @@protoc_insertion_point(interface_extends:Common)
com.google.protobuf.MessageOrBuilder {
/**
* string method = 1;
* @return The method.
*/
java.lang.String getMethod();
/**
* string method = 1;
* @return The bytes for method.
*/
com.google.protobuf.ByteString
getMethodBytes();
/**
* uint64 msgId = 2;
* @return The msgId.
*/
long getMsgId();
/**
* uint64 roomId = 3;
* @return The roomId.
*/
long getRoomId();
/**
* uint64 createTime = 4;
* @return The createTime.
*/
long getCreateTime();
/**
* uint32 monitor = 5;
* @return The monitor.
*/
int getMonitor();
/**
* bool isShowMsg = 6;
* @return The isShowMsg.
*/
boolean getIsShowMsg();
/**
* string describe = 7;
* @return The describe.
*/
java.lang.String getDescribe();
/**
* string describe = 7;
* @return The bytes for describe.
*/
com.google.protobuf.ByteString
getDescribeBytes();
/**
*
* DisplayText displayText = 8; ** *
uint64 foldType = 9;
* @return The foldType.
*/
long getFoldType();
/**
* uint64 anchorFoldType = 10;
* @return The anchorFoldType.
*/
long getAnchorFoldType();
/**
* uint64 priorityScore = 11;
* @return The priorityScore.
*/
long getPriorityScore();
/**
* string logId = 12;
* @return The logId.
*/
java.lang.String getLogId();
/**
* string logId = 12;
* @return The bytes for logId.
*/
com.google.protobuf.ByteString
getLogIdBytes();
/**
* string msgProcessFilterK = 13;
* @return The msgProcessFilterK.
*/
java.lang.String getMsgProcessFilterK();
/**
* string msgProcessFilterK = 13;
* @return The bytes for msgProcessFilterK.
*/
com.google.protobuf.ByteString
getMsgProcessFilterKBytes();
/**
* string msgProcessFilterV = 14;
* @return The msgProcessFilterV.
*/
java.lang.String getMsgProcessFilterV();
/**
* string msgProcessFilterV = 14;
* @return The bytes for msgProcessFilterV.
*/
com.google.protobuf.ByteString
getMsgProcessFilterVBytes();
/**
* .User user = 15;
* @return Whether the user field is set.
*/
boolean hasUser();
/**
* .User user = 15;
* @return The user.
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser();
/**
* .User user = 15;
*/
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
/**
* * Room room = 16; ** *
uint64 anchorFoldTypeV2 = 17;
* @return The anchorFoldTypeV2.
*/
long getAnchorFoldTypeV2();
/**
* uint64 processAtSeiTimeMs = 18;
* @return The processAtSeiTimeMs.
*/
long getProcessAtSeiTimeMs();
/**
* uint64 randomDispatchMs = 19;
* @return The randomDispatchMs.
*/
long getRandomDispatchMs();
/**
* bool isDispatch = 20;
* @return The isDispatch.
*/
boolean getIsDispatch();
/**
* uint32 channelId = 21;
* @return The channelId.
*/
int getChannelId();
/**
* uint64 diffSei2absSecond = 22;
* @return The diffSei2absSecond.
*/
long getDiffSei2AbsSecond();
/**
* uint64 anchorFoldDuration = 23;
* @return The anchorFoldDuration.
*/
long getAnchorFoldDuration();
}
/**
* Protobuf type {@code Common}
*/
public static final class Common extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Common)
CommonOrBuilder {
private static final long serialVersionUID = 0L;
// Use Common.newBuilder() to construct.
private Common(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Common() {
method_ = "";
describe_ = "";
logId_ = "";
msgProcessFilterK_ = "";
msgProcessFilterV_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Common();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder.class);
}
public static final int METHOD_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object method_ = "";
/**
* string method = 1;
* @return The method.
*/
@java.lang.Override
public java.lang.String getMethod() {
java.lang.Object ref = method_;
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();
method_ = s;
return s;
}
}
/**
* string method = 1;
* @return The bytes for method.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMethodBytes() {
java.lang.Object ref = method_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
method_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MSGID_FIELD_NUMBER = 2;
private long msgId_ = 0L;
/**
* uint64 msgId = 2;
* @return The msgId.
*/
@java.lang.Override
public long getMsgId() {
return msgId_;
}
public static final int ROOMID_FIELD_NUMBER = 3;
private long roomId_ = 0L;
/**
* uint64 roomId = 3;
* @return The roomId.
*/
@java.lang.Override
public long getRoomId() {
return roomId_;
}
public static final int CREATETIME_FIELD_NUMBER = 4;
private long createTime_ = 0L;
/**
* uint64 createTime = 4;
* @return The createTime.
*/
@java.lang.Override
public long getCreateTime() {
return createTime_;
}
public static final int MONITOR_FIELD_NUMBER = 5;
private int monitor_ = 0;
/**
* uint32 monitor = 5;
* @return The monitor.
*/
@java.lang.Override
public int getMonitor() {
return monitor_;
}
public static final int ISSHOWMSG_FIELD_NUMBER = 6;
private boolean isShowMsg_ = false;
/**
* bool isShowMsg = 6;
* @return The isShowMsg.
*/
@java.lang.Override
public boolean getIsShowMsg() {
return isShowMsg_;
}
public static final int DESCRIBE_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object describe_ = "";
/**
* string describe = 7;
* @return The describe.
*/
@java.lang.Override
public java.lang.String getDescribe() {
java.lang.Object ref = describe_;
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();
describe_ = s;
return s;
}
}
/**
* string describe = 7;
* @return The bytes for describe.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescribeBytes() {
java.lang.Object ref = describe_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
describe_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FOLDTYPE_FIELD_NUMBER = 9;
private long foldType_ = 0L;
/**
* * DisplayText displayText = 8; ** *
uint64 foldType = 9;
* @return The foldType.
*/
@java.lang.Override
public long getFoldType() {
return foldType_;
}
public static final int ANCHORFOLDTYPE_FIELD_NUMBER = 10;
private long anchorFoldType_ = 0L;
/**
* uint64 anchorFoldType = 10;
* @return The anchorFoldType.
*/
@java.lang.Override
public long getAnchorFoldType() {
return anchorFoldType_;
}
public static final int PRIORITYSCORE_FIELD_NUMBER = 11;
private long priorityScore_ = 0L;
/**
* uint64 priorityScore = 11;
* @return The priorityScore.
*/
@java.lang.Override
public long getPriorityScore() {
return priorityScore_;
}
public static final int LOGID_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object logId_ = "";
/**
* string logId = 12;
* @return The logId.
*/
@java.lang.Override
public java.lang.String getLogId() {
java.lang.Object ref = logId_;
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();
logId_ = s;
return s;
}
}
/**
* string logId = 12;
* @return The bytes for logId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogIdBytes() {
java.lang.Object ref = logId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MSGPROCESSFILTERK_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object msgProcessFilterK_ = "";
/**
* string msgProcessFilterK = 13;
* @return The msgProcessFilterK.
*/
@java.lang.Override
public java.lang.String getMsgProcessFilterK() {
java.lang.Object ref = msgProcessFilterK_;
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();
msgProcessFilterK_ = s;
return s;
}
}
/**
* string msgProcessFilterK = 13;
* @return The bytes for msgProcessFilterK.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsgProcessFilterKBytes() {
java.lang.Object ref = msgProcessFilterK_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msgProcessFilterK_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MSGPROCESSFILTERV_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object msgProcessFilterV_ = "";
/**
* string msgProcessFilterV = 14;
* @return The msgProcessFilterV.
*/
@java.lang.Override
public java.lang.String getMsgProcessFilterV() {
java.lang.Object ref = msgProcessFilterV_;
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();
msgProcessFilterV_ = s;
return s;
}
}
/**
* string msgProcessFilterV = 14;
* @return The bytes for msgProcessFilterV.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsgProcessFilterVBytes() {
java.lang.Object ref = msgProcessFilterV_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msgProcessFilterV_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 15;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
/**
* .User user = 15;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return user_ != null;
}
/**
* .User user = 15;
* @return The user.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
}
/**
* .User user = 15;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
}
public static final int ANCHORFOLDTYPEV2_FIELD_NUMBER = 17;
private long anchorFoldTypeV2_ = 0L;
/**
* * Room room = 16; ** *
uint64 anchorFoldTypeV2 = 17;
* @return The anchorFoldTypeV2.
*/
@java.lang.Override
public long getAnchorFoldTypeV2() {
return anchorFoldTypeV2_;
}
public static final int PROCESSATSEITIMEMS_FIELD_NUMBER = 18;
private long processAtSeiTimeMs_ = 0L;
/**
* uint64 processAtSeiTimeMs = 18;
* @return The processAtSeiTimeMs.
*/
@java.lang.Override
public long getProcessAtSeiTimeMs() {
return processAtSeiTimeMs_;
}
public static final int RANDOMDISPATCHMS_FIELD_NUMBER = 19;
private long randomDispatchMs_ = 0L;
/**
* uint64 randomDispatchMs = 19;
* @return The randomDispatchMs.
*/
@java.lang.Override
public long getRandomDispatchMs() {
return randomDispatchMs_;
}
public static final int ISDISPATCH_FIELD_NUMBER = 20;
private boolean isDispatch_ = false;
/**
* bool isDispatch = 20;
* @return The isDispatch.
*/
@java.lang.Override
public boolean getIsDispatch() {
return isDispatch_;
}
public static final int CHANNELID_FIELD_NUMBER = 21;
private int channelId_ = 0;
/**
* uint32 channelId = 21;
* @return The channelId.
*/
@java.lang.Override
public int getChannelId() {
return channelId_;
}
public static final int DIFFSEI2ABSSECOND_FIELD_NUMBER = 22;
private long diffSei2AbsSecond_ = 0L;
/**
* uint64 diffSei2absSecond = 22;
* @return The diffSei2absSecond.
*/
@java.lang.Override
public long getDiffSei2AbsSecond() {
return diffSei2AbsSecond_;
}
public static final int ANCHORFOLDDURATION_FIELD_NUMBER = 23;
private long anchorFoldDuration_ = 0L;
/**
* uint64 anchorFoldDuration = 23;
* @return The anchorFoldDuration.
*/
@java.lang.Override
public long getAnchorFoldDuration() {
return anchorFoldDuration_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, method_);
}
if (msgId_ != 0L) {
output.writeUInt64(2, msgId_);
}
if (roomId_ != 0L) {
output.writeUInt64(3, roomId_);
}
if (createTime_ != 0L) {
output.writeUInt64(4, createTime_);
}
if (monitor_ != 0) {
output.writeUInt32(5, monitor_);
}
if (isShowMsg_ != false) {
output.writeBool(6, isShowMsg_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(describe_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, describe_);
}
if (foldType_ != 0L) {
output.writeUInt64(9, foldType_);
}
if (anchorFoldType_ != 0L) {
output.writeUInt64(10, anchorFoldType_);
}
if (priorityScore_ != 0L) {
output.writeUInt64(11, priorityScore_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, logId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterK_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, msgProcessFilterK_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterV_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, msgProcessFilterV_);
}
if (user_ != null) {
output.writeMessage(15, getUser());
}
if (anchorFoldTypeV2_ != 0L) {
output.writeUInt64(17, anchorFoldTypeV2_);
}
if (processAtSeiTimeMs_ != 0L) {
output.writeUInt64(18, processAtSeiTimeMs_);
}
if (randomDispatchMs_ != 0L) {
output.writeUInt64(19, randomDispatchMs_);
}
if (isDispatch_ != false) {
output.writeBool(20, isDispatch_);
}
if (channelId_ != 0) {
output.writeUInt32(21, channelId_);
}
if (diffSei2AbsSecond_ != 0L) {
output.writeUInt64(22, diffSei2AbsSecond_);
}
if (anchorFoldDuration_ != 0L) {
output.writeUInt64(23, anchorFoldDuration_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, method_);
}
if (msgId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, msgId_);
}
if (roomId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, roomId_);
}
if (createTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, createTime_);
}
if (monitor_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, monitor_);
}
if (isShowMsg_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isShowMsg_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(describe_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, describe_);
}
if (foldType_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, foldType_);
}
if (anchorFoldType_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(10, anchorFoldType_);
}
if (priorityScore_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, priorityScore_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, logId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterK_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, msgProcessFilterK_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterV_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, msgProcessFilterV_);
}
if (user_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getUser());
}
if (anchorFoldTypeV2_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(17, anchorFoldTypeV2_);
}
if (processAtSeiTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(18, processAtSeiTimeMs_);
}
if (randomDispatchMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(19, randomDispatchMs_);
}
if (isDispatch_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(20, isDispatch_);
}
if (channelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(21, channelId_);
}
if (diffSei2AbsSecond_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(22, diffSei2AbsSecond_);
}
if (anchorFoldDuration_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(23, anchorFoldDuration_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common) obj;
if (!getMethod()
.equals(other.getMethod())) return false;
if (getMsgId()
!= other.getMsgId()) return false;
if (getRoomId()
!= other.getRoomId()) return false;
if (getCreateTime()
!= other.getCreateTime()) return false;
if (getMonitor()
!= other.getMonitor()) return false;
if (getIsShowMsg()
!= other.getIsShowMsg()) return false;
if (!getDescribe()
.equals(other.getDescribe())) return false;
if (getFoldType()
!= other.getFoldType()) return false;
if (getAnchorFoldType()
!= other.getAnchorFoldType()) return false;
if (getPriorityScore()
!= other.getPriorityScore()) return false;
if (!getLogId()
.equals(other.getLogId())) return false;
if (!getMsgProcessFilterK()
.equals(other.getMsgProcessFilterK())) return false;
if (!getMsgProcessFilterV()
.equals(other.getMsgProcessFilterV())) return false;
if (hasUser() != other.hasUser()) return false;
if (hasUser()) {
if (!getUser()
.equals(other.getUser())) return false;
}
if (getAnchorFoldTypeV2()
!= other.getAnchorFoldTypeV2()) return false;
if (getProcessAtSeiTimeMs()
!= other.getProcessAtSeiTimeMs()) return false;
if (getRandomDispatchMs()
!= other.getRandomDispatchMs()) return false;
if (getIsDispatch()
!= other.getIsDispatch()) return false;
if (getChannelId()
!= other.getChannelId()) return false;
if (getDiffSei2AbsSecond()
!= other.getDiffSei2AbsSecond()) return false;
if (getAnchorFoldDuration()
!= other.getAnchorFoldDuration()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + METHOD_FIELD_NUMBER;
hash = (53 * hash) + getMethod().hashCode();
hash = (37 * hash) + MSGID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMsgId());
hash = (37 * hash) + ROOMID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRoomId());
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreateTime());
hash = (37 * hash) + MONITOR_FIELD_NUMBER;
hash = (53 * hash) + getMonitor();
hash = (37 * hash) + ISSHOWMSG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsShowMsg());
hash = (37 * hash) + DESCRIBE_FIELD_NUMBER;
hash = (53 * hash) + getDescribe().hashCode();
hash = (37 * hash) + FOLDTYPE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFoldType());
hash = (37 * hash) + ANCHORFOLDTYPE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAnchorFoldType());
hash = (37 * hash) + PRIORITYSCORE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPriorityScore());
hash = (37 * hash) + LOGID_FIELD_NUMBER;
hash = (53 * hash) + getLogId().hashCode();
hash = (37 * hash) + MSGPROCESSFILTERK_FIELD_NUMBER;
hash = (53 * hash) + getMsgProcessFilterK().hashCode();
hash = (37 * hash) + MSGPROCESSFILTERV_FIELD_NUMBER;
hash = (53 * hash) + getMsgProcessFilterV().hashCode();
if (hasUser()) {
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
}
hash = (37 * hash) + ANCHORFOLDTYPEV2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAnchorFoldTypeV2());
hash = (37 * hash) + PROCESSATSEITIMEMS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProcessAtSeiTimeMs());
hash = (37 * hash) + RANDOMDISPATCHMS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRandomDispatchMs());
hash = (37 * hash) + ISDISPATCH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsDispatch());
hash = (37 * hash) + CHANNELID_FIELD_NUMBER;
hash = (53 * hash) + getChannelId();
hash = (37 * hash) + DIFFSEI2ABSSECOND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDiffSei2AbsSecond());
hash = (37 * hash) + ANCHORFOLDDURATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAnchorFoldDuration());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common 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(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common 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 Common}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderstring method = 1;
* @return The method.
*/
public java.lang.String getMethod() {
java.lang.Object ref = method_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
method_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string method = 1;
* @return The bytes for method.
*/
public com.google.protobuf.ByteString
getMethodBytes() {
java.lang.Object ref = method_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
method_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string method = 1;
* @param value The method to set.
* @return This builder for chaining.
*/
public Builder setMethod(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
method_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string method = 1;
* @return This builder for chaining.
*/
public Builder clearMethod() {
method_ = getDefaultInstance().getMethod();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string method = 1;
* @param value The bytes for method to set.
* @return This builder for chaining.
*/
public Builder setMethodBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
method_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long msgId_ ;
/**
* uint64 msgId = 2;
* @return The msgId.
*/
@java.lang.Override
public long getMsgId() {
return msgId_;
}
/**
* uint64 msgId = 2;
* @param value The msgId to set.
* @return This builder for chaining.
*/
public Builder setMsgId(long value) {
msgId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint64 msgId = 2;
* @return This builder for chaining.
*/
public Builder clearMsgId() {
bitField0_ = (bitField0_ & ~0x00000002);
msgId_ = 0L;
onChanged();
return this;
}
private long roomId_ ;
/**
* uint64 roomId = 3;
* @return The roomId.
*/
@java.lang.Override
public long getRoomId() {
return roomId_;
}
/**
* uint64 roomId = 3;
* @param value The roomId to set.
* @return This builder for chaining.
*/
public Builder setRoomId(long value) {
roomId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint64 roomId = 3;
* @return This builder for chaining.
*/
public Builder clearRoomId() {
bitField0_ = (bitField0_ & ~0x00000004);
roomId_ = 0L;
onChanged();
return this;
}
private long createTime_ ;
/**
* uint64 createTime = 4;
* @return The createTime.
*/
@java.lang.Override
public long getCreateTime() {
return createTime_;
}
/**
* uint64 createTime = 4;
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(long value) {
createTime_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* uint64 createTime = 4;
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
bitField0_ = (bitField0_ & ~0x00000008);
createTime_ = 0L;
onChanged();
return this;
}
private int monitor_ ;
/**
* uint32 monitor = 5;
* @return The monitor.
*/
@java.lang.Override
public int getMonitor() {
return monitor_;
}
/**
* uint32 monitor = 5;
* @param value The monitor to set.
* @return This builder for chaining.
*/
public Builder setMonitor(int value) {
monitor_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* uint32 monitor = 5;
* @return This builder for chaining.
*/
public Builder clearMonitor() {
bitField0_ = (bitField0_ & ~0x00000010);
monitor_ = 0;
onChanged();
return this;
}
private boolean isShowMsg_ ;
/**
* bool isShowMsg = 6;
* @return The isShowMsg.
*/
@java.lang.Override
public boolean getIsShowMsg() {
return isShowMsg_;
}
/**
* bool isShowMsg = 6;
* @param value The isShowMsg to set.
* @return This builder for chaining.
*/
public Builder setIsShowMsg(boolean value) {
isShowMsg_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* bool isShowMsg = 6;
* @return This builder for chaining.
*/
public Builder clearIsShowMsg() {
bitField0_ = (bitField0_ & ~0x00000020);
isShowMsg_ = false;
onChanged();
return this;
}
private java.lang.Object describe_ = "";
/**
* string describe = 7;
* @return The describe.
*/
public java.lang.String getDescribe() {
java.lang.Object ref = describe_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
describe_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string describe = 7;
* @return The bytes for describe.
*/
public com.google.protobuf.ByteString
getDescribeBytes() {
java.lang.Object ref = describe_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
describe_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string describe = 7;
* @param value The describe to set.
* @return This builder for chaining.
*/
public Builder setDescribe(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
describe_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* string describe = 7;
* @return This builder for chaining.
*/
public Builder clearDescribe() {
describe_ = getDefaultInstance().getDescribe();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* string describe = 7;
* @param value The bytes for describe to set.
* @return This builder for chaining.
*/
public Builder setDescribeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
describe_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private long foldType_ ;
/**
* * DisplayText displayText = 8; ** *
uint64 foldType = 9;
* @return The foldType.
*/
@java.lang.Override
public long getFoldType() {
return foldType_;
}
/**
* * DisplayText displayText = 8; ** *
uint64 foldType = 9;
* @param value The foldType to set.
* @return This builder for chaining.
*/
public Builder setFoldType(long value) {
foldType_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* * DisplayText displayText = 8; ** *
uint64 foldType = 9;
* @return This builder for chaining.
*/
public Builder clearFoldType() {
bitField0_ = (bitField0_ & ~0x00000080);
foldType_ = 0L;
onChanged();
return this;
}
private long anchorFoldType_ ;
/**
* uint64 anchorFoldType = 10;
* @return The anchorFoldType.
*/
@java.lang.Override
public long getAnchorFoldType() {
return anchorFoldType_;
}
/**
* uint64 anchorFoldType = 10;
* @param value The anchorFoldType to set.
* @return This builder for chaining.
*/
public Builder setAnchorFoldType(long value) {
anchorFoldType_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* uint64 anchorFoldType = 10;
* @return This builder for chaining.
*/
public Builder clearAnchorFoldType() {
bitField0_ = (bitField0_ & ~0x00000100);
anchorFoldType_ = 0L;
onChanged();
return this;
}
private long priorityScore_ ;
/**
* uint64 priorityScore = 11;
* @return The priorityScore.
*/
@java.lang.Override
public long getPriorityScore() {
return priorityScore_;
}
/**
* uint64 priorityScore = 11;
* @param value The priorityScore to set.
* @return This builder for chaining.
*/
public Builder setPriorityScore(long value) {
priorityScore_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* uint64 priorityScore = 11;
* @return This builder for chaining.
*/
public Builder clearPriorityScore() {
bitField0_ = (bitField0_ & ~0x00000200);
priorityScore_ = 0L;
onChanged();
return this;
}
private java.lang.Object logId_ = "";
/**
* string logId = 12;
* @return The logId.
*/
public java.lang.String getLogId() {
java.lang.Object ref = logId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string logId = 12;
* @return The bytes for logId.
*/
public com.google.protobuf.ByteString
getLogIdBytes() {
java.lang.Object ref = logId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string logId = 12;
* @param value The logId to set.
* @return This builder for chaining.
*/
public Builder setLogId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
logId_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* string logId = 12;
* @return This builder for chaining.
*/
public Builder clearLogId() {
logId_ = getDefaultInstance().getLogId();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* string logId = 12;
* @param value The bytes for logId to set.
* @return This builder for chaining.
*/
public Builder setLogIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
logId_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object msgProcessFilterK_ = "";
/**
* string msgProcessFilterK = 13;
* @return The msgProcessFilterK.
*/
public java.lang.String getMsgProcessFilterK() {
java.lang.Object ref = msgProcessFilterK_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
msgProcessFilterK_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string msgProcessFilterK = 13;
* @return The bytes for msgProcessFilterK.
*/
public com.google.protobuf.ByteString
getMsgProcessFilterKBytes() {
java.lang.Object ref = msgProcessFilterK_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msgProcessFilterK_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string msgProcessFilterK = 13;
* @param value The msgProcessFilterK to set.
* @return This builder for chaining.
*/
public Builder setMsgProcessFilterK(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
msgProcessFilterK_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* string msgProcessFilterK = 13;
* @return This builder for chaining.
*/
public Builder clearMsgProcessFilterK() {
msgProcessFilterK_ = getDefaultInstance().getMsgProcessFilterK();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* string msgProcessFilterK = 13;
* @param value The bytes for msgProcessFilterK to set.
* @return This builder for chaining.
*/
public Builder setMsgProcessFilterKBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
msgProcessFilterK_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object msgProcessFilterV_ = "";
/**
* string msgProcessFilterV = 14;
* @return The msgProcessFilterV.
*/
public java.lang.String getMsgProcessFilterV() {
java.lang.Object ref = msgProcessFilterV_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
msgProcessFilterV_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string msgProcessFilterV = 14;
* @return The bytes for msgProcessFilterV.
*/
public com.google.protobuf.ByteString
getMsgProcessFilterVBytes() {
java.lang.Object ref = msgProcessFilterV_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msgProcessFilterV_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string msgProcessFilterV = 14;
* @param value The msgProcessFilterV to set.
* @return This builder for chaining.
*/
public Builder setMsgProcessFilterV(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
msgProcessFilterV_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* string msgProcessFilterV = 14;
* @return This builder for chaining.
*/
public Builder clearMsgProcessFilterV() {
msgProcessFilterV_ = getDefaultInstance().getMsgProcessFilterV();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* string msgProcessFilterV = 14;
* @param value The bytes for msgProcessFilterV to set.
* @return This builder for chaining.
*/
public Builder setMsgProcessFilterVBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
msgProcessFilterV_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
/**
* .User user = 15;
* @return Whether the user field is set.
*/
public boolean hasUser() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* .User user = 15;
* @return The user.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
if (userBuilder_ == null) {
return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
} else {
return userBuilder_.getMessage();
}
}
/**
* .User user = 15;
*/
public Builder setUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
if (userBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
user_ = value;
} else {
userBuilder_.setMessage(value);
}
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* .User user = 15;
*/
public Builder setUser(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
if (userBuilder_ == null) {
user_ = builderForValue.build();
} else {
userBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* .User user = 15;
*/
public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
if (userBuilder_ == null) {
if (((bitField0_ & 0x00002000) != 0) &&
user_ != null &&
user_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
getUserBuilder().mergeFrom(value);
} else {
user_ = value;
}
} else {
userBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* .User user = 15;
*/
public Builder clearUser() {
bitField0_ = (bitField0_ & ~0x00002000);
user_ = null;
if (userBuilder_ != null) {
userBuilder_.dispose();
userBuilder_ = null;
}
onChanged();
return this;
}
/**
* .User user = 15;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
bitField0_ |= 0x00002000;
onChanged();
return getUserFieldBuilder().getBuilder();
}
/**
* .User user = 15;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
if (userBuilder_ != null) {
return userBuilder_.getMessageOrBuilder();
} else {
return user_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
}
}
/**
* .User user = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
getUserFieldBuilder() {
if (userBuilder_ == null) {
userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
getUser(),
getParentForChildren(),
isClean());
user_ = null;
}
return userBuilder_;
}
private long anchorFoldTypeV2_ ;
/**
* * Room room = 16; ** *
uint64 anchorFoldTypeV2 = 17;
* @return The anchorFoldTypeV2.
*/
@java.lang.Override
public long getAnchorFoldTypeV2() {
return anchorFoldTypeV2_;
}
/**
* * Room room = 16; ** *
uint64 anchorFoldTypeV2 = 17;
* @param value The anchorFoldTypeV2 to set.
* @return This builder for chaining.
*/
public Builder setAnchorFoldTypeV2(long value) {
anchorFoldTypeV2_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* * Room room = 16; ** *
uint64 anchorFoldTypeV2 = 17;
* @return This builder for chaining.
*/
public Builder clearAnchorFoldTypeV2() {
bitField0_ = (bitField0_ & ~0x00004000);
anchorFoldTypeV2_ = 0L;
onChanged();
return this;
}
private long processAtSeiTimeMs_ ;
/**
* uint64 processAtSeiTimeMs = 18;
* @return The processAtSeiTimeMs.
*/
@java.lang.Override
public long getProcessAtSeiTimeMs() {
return processAtSeiTimeMs_;
}
/**
* uint64 processAtSeiTimeMs = 18;
* @param value The processAtSeiTimeMs to set.
* @return This builder for chaining.
*/
public Builder setProcessAtSeiTimeMs(long value) {
processAtSeiTimeMs_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* uint64 processAtSeiTimeMs = 18;
* @return This builder for chaining.
*/
public Builder clearProcessAtSeiTimeMs() {
bitField0_ = (bitField0_ & ~0x00008000);
processAtSeiTimeMs_ = 0L;
onChanged();
return this;
}
private long randomDispatchMs_ ;
/**
* uint64 randomDispatchMs = 19;
* @return The randomDispatchMs.
*/
@java.lang.Override
public long getRandomDispatchMs() {
return randomDispatchMs_;
}
/**
* uint64 randomDispatchMs = 19;
* @param value The randomDispatchMs to set.
* @return This builder for chaining.
*/
public Builder setRandomDispatchMs(long value) {
randomDispatchMs_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* uint64 randomDispatchMs = 19;
* @return This builder for chaining.
*/
public Builder clearRandomDispatchMs() {
bitField0_ = (bitField0_ & ~0x00010000);
randomDispatchMs_ = 0L;
onChanged();
return this;
}
private boolean isDispatch_ ;
/**
* bool isDispatch = 20;
* @return The isDispatch.
*/
@java.lang.Override
public boolean getIsDispatch() {
return isDispatch_;
}
/**
* bool isDispatch = 20;
* @param value The isDispatch to set.
* @return This builder for chaining.
*/
public Builder setIsDispatch(boolean value) {
isDispatch_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* bool isDispatch = 20;
* @return This builder for chaining.
*/
public Builder clearIsDispatch() {
bitField0_ = (bitField0_ & ~0x00020000);
isDispatch_ = false;
onChanged();
return this;
}
private int channelId_ ;
/**
* uint32 channelId = 21;
* @return The channelId.
*/
@java.lang.Override
public int getChannelId() {
return channelId_;
}
/**
* uint32 channelId = 21;
* @param value The channelId to set.
* @return This builder for chaining.
*/
public Builder setChannelId(int value) {
channelId_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
* uint32 channelId = 21;
* @return This builder for chaining.
*/
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00040000);
channelId_ = 0;
onChanged();
return this;
}
private long diffSei2AbsSecond_ ;
/**
* uint64 diffSei2absSecond = 22;
* @return The diffSei2absSecond.
*/
@java.lang.Override
public long getDiffSei2AbsSecond() {
return diffSei2AbsSecond_;
}
/**
* uint64 diffSei2absSecond = 22;
* @param value The diffSei2absSecond to set.
* @return This builder for chaining.
*/
public Builder setDiffSei2AbsSecond(long value) {
diffSei2AbsSecond_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
* uint64 diffSei2absSecond = 22;
* @return This builder for chaining.
*/
public Builder clearDiffSei2AbsSecond() {
bitField0_ = (bitField0_ & ~0x00080000);
diffSei2AbsSecond_ = 0L;
onChanged();
return this;
}
private long anchorFoldDuration_ ;
/**
* uint64 anchorFoldDuration = 23;
* @return The anchorFoldDuration.
*/
@java.lang.Override
public long getAnchorFoldDuration() {
return anchorFoldDuration_;
}
/**
* uint64 anchorFoldDuration = 23;
* @param value The anchorFoldDuration to set.
* @return This builder for chaining.
*/
public Builder setAnchorFoldDuration(long value) {
anchorFoldDuration_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
/**
* uint64 anchorFoldDuration = 23;
* @return This builder for chaining.
*/
public Builder clearAnchorFoldDuration() {
bitField0_ = (bitField0_ & ~0x00100000);
anchorFoldDuration_ = 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:Common)
}
// @@protoc_insertion_point(class_scope:Common)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser