/*
* 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: douyin_webcast_like_message_msg.proto
package tech.ordinaryroad.live.chat.client.douyin.protobuf;
/**
* Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg}
*/
public final class douyin_webcast_like_message_msg extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
douyin_webcast_like_message_msgOrBuilder {
private static final long serialVersionUID = 0L;
// Use douyin_webcast_like_message_msg.newBuilder() to construct.
private douyin_webcast_like_message_msg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private douyin_webcast_like_message_msg() {
icon_ = "";
scene_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new douyin_webcast_like_message_msg();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.Builder.class);
}
public static final int COMMON_FIELD_NUMBER = 1;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common common_;
/**
* .Common common = 1;
* @return Whether the common field is set.
*/
@java.lang.Override
public boolean hasCommon() {
return common_ != null;
}
/**
* .Common common = 1;
* @return The common.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
}
/**
* .Common common = 1;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private long count_ = 0L;
/**
* uint64 count = 2;
* @return The count.
*/
@java.lang.Override
public long getCount() {
return count_;
}
public static final int TOTAL_FIELD_NUMBER = 3;
private long total_ = 0L;
/**
* uint64 total = 3;
* @return The total.
*/
@java.lang.Override
public long getTotal() {
return total_;
}
public static final int COLOR_FIELD_NUMBER = 4;
private long color_ = 0L;
/**
* uint64 color = 4;
* @return The color.
*/
@java.lang.Override
public long getColor() {
return color_;
}
public static final int USER_FIELD_NUMBER = 5;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
/**
* .User user = 5;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return user_ != null;
}
/**
* .User user = 5;
* @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 = 5;
*/
@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 ICON_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object icon_ = "";
/**
* string icon = 6;
* @return The icon.
*/
@java.lang.Override
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
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();
icon_ = s;
return s;
}
}
/**
* string icon = 6;
* @return The bytes for icon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOUBLELIKEDETAIL_FIELD_NUMBER = 7;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail doubleLikeDetail_;
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
* @return Whether the doubleLikeDetail field is set.
*/
@java.lang.Override
public boolean hasDoubleLikeDetail() {
return doubleLikeDetail_ != null;
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
* @return The doubleLikeDetail.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail() {
return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder() {
return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
}
public static final int LINKMICGUESTUID_FIELD_NUMBER = 9;
private long linkmicGuestUid_ = 0L;
/**
*
* DisplayControlInfo displayControlInfo = 8; ** *
uint64 linkmicGuestUid = 9;
* @return The linkmicGuestUid.
*/
@java.lang.Override
public long getLinkmicGuestUid() {
return linkmicGuestUid_;
}
public static final int SCENE_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object scene_ = "";
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @return The scene.
*/
@java.lang.Override
public java.lang.String getScene() {
java.lang.Object ref = scene_;
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();
scene_ = s;
return s;
}
}
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @return The bytes for scene.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSceneBytes() {
java.lang.Object ref = scene_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scene_ = 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 (common_ != null) {
output.writeMessage(1, getCommon());
}
if (count_ != 0L) {
output.writeUInt64(2, count_);
}
if (total_ != 0L) {
output.writeUInt64(3, total_);
}
if (color_ != 0L) {
output.writeUInt64(4, color_);
}
if (user_ != null) {
output.writeMessage(5, getUser());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(icon_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, icon_);
}
if (doubleLikeDetail_ != null) {
output.writeMessage(7, getDoubleLikeDetail());
}
if (linkmicGuestUid_ != 0L) {
output.writeUInt64(9, linkmicGuestUid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scene_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, scene_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (common_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCommon());
}
if (count_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, count_);
}
if (total_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, total_);
}
if (color_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, color_);
}
if (user_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getUser());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(icon_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, icon_);
}
if (doubleLikeDetail_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getDoubleLikeDetail());
}
if (linkmicGuestUid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, linkmicGuestUid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scene_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, scene_);
}
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.douyin_webcast_like_message_msg)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg) obj;
if (hasCommon() != other.hasCommon()) return false;
if (hasCommon()) {
if (!getCommon()
.equals(other.getCommon())) return false;
}
if (getCount()
!= other.getCount()) return false;
if (getTotal()
!= other.getTotal()) return false;
if (getColor()
!= other.getColor()) return false;
if (hasUser() != other.hasUser()) return false;
if (hasUser()) {
if (!getUser()
.equals(other.getUser())) return false;
}
if (!getIcon()
.equals(other.getIcon())) return false;
if (hasDoubleLikeDetail() != other.hasDoubleLikeDetail()) return false;
if (hasDoubleLikeDetail()) {
if (!getDoubleLikeDetail()
.equals(other.getDoubleLikeDetail())) return false;
}
if (getLinkmicGuestUid()
!= other.getLinkmicGuestUid()) return false;
if (!getScene()
.equals(other.getScene())) 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();
if (hasCommon()) {
hash = (37 * hash) + COMMON_FIELD_NUMBER;
hash = (53 * hash) + getCommon().hashCode();
}
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCount());
hash = (37 * hash) + TOTAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotal());
hash = (37 * hash) + COLOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getColor());
if (hasUser()) {
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
}
hash = (37 * hash) + ICON_FIELD_NUMBER;
hash = (53 * hash) + getIcon().hashCode();
if (hasDoubleLikeDetail()) {
hash = (37 * hash) + DOUBLELIKEDETAIL_FIELD_NUMBER;
hash = (53 * hash) + getDoubleLikeDetail().hashCode();
}
hash = (37 * hash) + LINKMICGUESTUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLinkmicGuestUid());
hash = (37 * hash) + SCENE_FIELD_NUMBER;
hash = (53 * hash) + getScene().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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.douyin_webcast_like_message_msg 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.Common common = 1;
* @return Whether the common field is set.
*/
public boolean hasCommon() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Common common = 1;
* @return The common.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
if (commonBuilder_ == null) {
return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
} else {
return commonBuilder_.getMessage();
}
}
/**
* .Common common = 1;
*/
public Builder setCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
if (commonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
common_ = value;
} else {
commonBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Common common = 1;
*/
public Builder setCommon(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder builderForValue) {
if (commonBuilder_ == null) {
common_ = builderForValue.build();
} else {
commonBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Common common = 1;
*/
public Builder mergeCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
if (commonBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
common_ != null &&
common_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
getCommonBuilder().mergeFrom(value);
} else {
common_ = value;
}
} else {
commonBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Common common = 1;
*/
public Builder clearCommon() {
bitField0_ = (bitField0_ & ~0x00000001);
common_ = null;
if (commonBuilder_ != null) {
commonBuilder_.dispose();
commonBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Common common = 1;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getCommonFieldBuilder().getBuilder();
}
/**
* .Common common = 1;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
if (commonBuilder_ != null) {
return commonBuilder_.getMessageOrBuilder();
} else {
return common_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
}
}
/**
* .Common common = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
getCommonFieldBuilder() {
if (commonBuilder_ == null) {
commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
getCommon(),
getParentForChildren(),
isClean());
common_ = null;
}
return commonBuilder_;
}
private long count_ ;
/**
* uint64 count = 2;
* @return The count.
*/
@java.lang.Override
public long getCount() {
return count_;
}
/**
* uint64 count = 2;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(long value) {
count_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint64 count = 2;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000002);
count_ = 0L;
onChanged();
return this;
}
private long total_ ;
/**
* uint64 total = 3;
* @return The total.
*/
@java.lang.Override
public long getTotal() {
return total_;
}
/**
* uint64 total = 3;
* @param value The total to set.
* @return This builder for chaining.
*/
public Builder setTotal(long value) {
total_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint64 total = 3;
* @return This builder for chaining.
*/
public Builder clearTotal() {
bitField0_ = (bitField0_ & ~0x00000004);
total_ = 0L;
onChanged();
return this;
}
private long color_ ;
/**
* uint64 color = 4;
* @return The color.
*/
@java.lang.Override
public long getColor() {
return color_;
}
/**
* uint64 color = 4;
* @param value The color to set.
* @return This builder for chaining.
*/
public Builder setColor(long value) {
color_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* uint64 color = 4;
* @return This builder for chaining.
*/
public Builder clearColor() {
bitField0_ = (bitField0_ & ~0x00000008);
color_ = 0L;
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 = 5;
* @return Whether the user field is set.
*/
public boolean hasUser() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .User user = 5;
* @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 = 5;
*/
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_ |= 0x00000010;
onChanged();
return this;
}
/**
* .User user = 5;
*/
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_ |= 0x00000010;
onChanged();
return this;
}
/**
* .User user = 5;
*/
public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
if (userBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 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_ |= 0x00000010;
onChanged();
return this;
}
/**
* .User user = 5;
*/
public Builder clearUser() {
bitField0_ = (bitField0_ & ~0x00000010);
user_ = null;
if (userBuilder_ != null) {
userBuilder_.dispose();
userBuilder_ = null;
}
onChanged();
return this;
}
/**
* .User user = 5;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getUserFieldBuilder().getBuilder();
}
/**
* .User user = 5;
*/
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 = 5;
*/
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 java.lang.Object icon_ = "";
/**
* string icon = 6;
* @return The icon.
*/
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
icon_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string icon = 6;
* @return The bytes for icon.
*/
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string icon = 6;
* @param value The icon to set.
* @return This builder for chaining.
*/
public Builder setIcon(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
icon_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* string icon = 6;
* @return This builder for chaining.
*/
public Builder clearIcon() {
icon_ = getDefaultInstance().getIcon();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* string icon = 6;
* @param value The bytes for icon to set.
* @return This builder for chaining.
*/
public Builder setIconBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
icon_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail doubleLikeDetail_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder> doubleLikeDetailBuilder_;
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
* @return Whether the doubleLikeDetail field is set.
*/
public boolean hasDoubleLikeDetail() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
* @return The doubleLikeDetail.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail() {
if (doubleLikeDetailBuilder_ == null) {
return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
} else {
return doubleLikeDetailBuilder_.getMessage();
}
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
public Builder setDoubleLikeDetail(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail value) {
if (doubleLikeDetailBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
doubleLikeDetail_ = value;
} else {
doubleLikeDetailBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
public Builder setDoubleLikeDetail(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder builderForValue) {
if (doubleLikeDetailBuilder_ == null) {
doubleLikeDetail_ = builderForValue.build();
} else {
doubleLikeDetailBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
public Builder mergeDoubleLikeDetail(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail value) {
if (doubleLikeDetailBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
doubleLikeDetail_ != null &&
doubleLikeDetail_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance()) {
getDoubleLikeDetailBuilder().mergeFrom(value);
} else {
doubleLikeDetail_ = value;
}
} else {
doubleLikeDetailBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
public Builder clearDoubleLikeDetail() {
bitField0_ = (bitField0_ & ~0x00000040);
doubleLikeDetail_ = null;
if (doubleLikeDetailBuilder_ != null) {
doubleLikeDetailBuilder_.dispose();
doubleLikeDetailBuilder_ = null;
}
onChanged();
return this;
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder getDoubleLikeDetailBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getDoubleLikeDetailFieldBuilder().getBuilder();
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder() {
if (doubleLikeDetailBuilder_ != null) {
return doubleLikeDetailBuilder_.getMessageOrBuilder();
} else {
return doubleLikeDetail_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
}
}
/**
* .DoubleLikeDetail doubleLikeDetail = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder>
getDoubleLikeDetailFieldBuilder() {
if (doubleLikeDetailBuilder_ == null) {
doubleLikeDetailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder>(
getDoubleLikeDetail(),
getParentForChildren(),
isClean());
doubleLikeDetail_ = null;
}
return doubleLikeDetailBuilder_;
}
private long linkmicGuestUid_ ;
/**
* * DisplayControlInfo displayControlInfo = 8; ** *
uint64 linkmicGuestUid = 9;
* @return The linkmicGuestUid.
*/
@java.lang.Override
public long getLinkmicGuestUid() {
return linkmicGuestUid_;
}
/**
* * DisplayControlInfo displayControlInfo = 8; ** *
uint64 linkmicGuestUid = 9;
* @param value The linkmicGuestUid to set.
* @return This builder for chaining.
*/
public Builder setLinkmicGuestUid(long value) {
linkmicGuestUid_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* * DisplayControlInfo displayControlInfo = 8; ** *
uint64 linkmicGuestUid = 9;
* @return This builder for chaining.
*/
public Builder clearLinkmicGuestUid() {
bitField0_ = (bitField0_ & ~0x00000080);
linkmicGuestUid_ = 0L;
onChanged();
return this;
}
private java.lang.Object scene_ = "";
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @return The scene.
*/
public java.lang.String getScene() {
java.lang.Object ref = scene_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
scene_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @return The bytes for scene.
*/
public com.google.protobuf.ByteString
getSceneBytes() {
java.lang.Object ref = scene_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scene_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @param value The scene to set.
* @return This builder for chaining.
*/
public Builder setScene(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
scene_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @return This builder for chaining.
*/
public Builder clearScene() {
scene_ = getDefaultInstance().getScene();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* * PicoDisplayInfo picoDisplayInfo = 11; * = 12; ** *
string scene = 10;
* @param value The bytes for scene to set.
* @return This builder for chaining.
*/
public Builder setSceneBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
scene_ = value;
bitField0_ |= 0x00000100;
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:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
}
// @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser