/*
* 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_chat_message_msg.proto
package tech.ordinaryroad.live.chat.client.douyin.protobuf;
/**
* Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg}
*/
public final class douyin_webcast_chat_message_msg extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)
douyin_webcast_chat_message_msgOrBuilder {
private static final long serialVersionUID = 0L;
// Use douyin_webcast_chat_message_msg.newBuilder() to construct.
private douyin_webcast_chat_message_msg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private douyin_webcast_chat_message_msg() {
content_ = "";
fullScreenTextColor_ = "";
chatBy_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new douyin_webcast_chat_message_msg();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_chat_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_chat_message_msg_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_chat_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_chat_message_msg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_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 USER_FIELD_NUMBER = 2;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
/**
* .User user = 2;
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return user_ != null;
}
/**
* .User user = 2;
* @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 = 2;
*/
@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 CONTENT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object content_ = "";
/**
* string content = 3;
* @return The content.
*/
@java.lang.Override
public java.lang.String getContent() {
java.lang.Object ref = content_;
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();
content_ = s;
return s;
}
}
/**
* string content = 3;
* @return The bytes for content.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VISIBLE_TO_SENDER_FIELD_NUMBER = 4;
private boolean visibleToSender_ = false;
/**
* bool visible_to_sender = 4;
* @return The visibleToSender.
*/
@java.lang.Override
public boolean getVisibleToSender() {
return visibleToSender_;
}
public static final int BACKGROUND_IMAGE_FIELD_NUMBER = 5;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
/**
* .Image background_image = 5;
* @return Whether the backgroundImage field is set.
*/
@java.lang.Override
public boolean hasBackgroundImage() {
return backgroundImage_ != null;
}
/**
* .Image background_image = 5;
* @return The backgroundImage.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
}
/**
* .Image background_image = 5;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
}
public static final int FULL_SCREEN_TEXT_COLOR_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object fullScreenTextColor_ = "";
/**
* string full_screen_text_color = 6;
* @return The fullScreenTextColor.
*/
@java.lang.Override
public java.lang.String getFullScreenTextColor() {
java.lang.Object ref = fullScreenTextColor_;
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();
fullScreenTextColor_ = s;
return s;
}
}
/**
* string full_screen_text_color = 6;
* @return The bytes for fullScreenTextColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullScreenTextColorBytes() {
java.lang.Object ref = fullScreenTextColor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullScreenTextColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BACKGROUND_IMAGE_V2_FIELD_NUMBER = 7;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
/**
* .Image background_image_v2 = 7;
* @return Whether the backgroundImageV2 field is set.
*/
@java.lang.Override
public boolean hasBackgroundImageV2() {
return backgroundImageV2_ != null;
}
/**
* .Image background_image_v2 = 7;
* @return The backgroundImageV2.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
}
/**
* .Image background_image_v2 = 7;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
}
public static final int GIFT_IMAGE_FIELD_NUMBER = 10;
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image giftImage_;
/**
*
* PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
* @return Whether the giftImage field is set.
*/
@java.lang.Override
public boolean hasGiftImage() {
return giftImage_ != null;
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
* @return The giftImage.
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage() {
return giftImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftImage_;
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftImageOrBuilder() {
return giftImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftImage_;
}
public static final int AGREE_MSG_ID_FIELD_NUMBER = 11;
private long agreeMsgId_ = 0L;
/**
* uint64 agree_msg_id = 11;
* @return The agreeMsgId.
*/
@java.lang.Override
public long getAgreeMsgId() {
return agreeMsgId_;
}
public static final int PRIORITY_LEVEL_FIELD_NUMBER = 12;
private int priorityLevel_ = 0;
/**
* uint32 priority_level = 12;
* @return The priorityLevel.
*/
@java.lang.Override
public int getPriorityLevel() {
return priorityLevel_;
}
public static final int EVENT_TIME_FIELD_NUMBER = 15;
private long eventTime_ = 0L;
/**
* * LandscapeAreaCommon landscape_area_common = 13; ** *
uint64 event_time = 15;
* @return The eventTime.
*/
@java.lang.Override
public long getEventTime() {
return eventTime_;
}
public static final int SEND_REVIEW_FIELD_NUMBER = 16;
private boolean sendReview_ = false;
/**
* bool send_review = 16;
* @return The sendReview.
*/
@java.lang.Override
public boolean getSendReview() {
return sendReview_;
}
public static final int FROM_INTERCOM_FIELD_NUMBER = 17;
private boolean fromIntercom_ = false;
/**
* bool from_intercom = 17;
* @return The fromIntercom.
*/
@java.lang.Override
public boolean getFromIntercom() {
return fromIntercom_;
}
public static final int INTERCOM_HIDE_USER_CARD_FIELD_NUMBER = 18;
private boolean intercomHideUserCard_ = false;
/**
* bool intercom_hide_user_card = 18;
* @return The intercomHideUserCard.
*/
@java.lang.Override
public boolean getIntercomHideUserCard() {
return intercomHideUserCard_;
}
public static final int CHAT_BY_FIELD_NUMBER = 20;
@SuppressWarnings("serial")
private volatile java.lang.Object chatBy_ = "";
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @return The chatBy.
*/
@java.lang.Override
public java.lang.String getChatBy() {
java.lang.Object ref = chatBy_;
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();
chatBy_ = s;
return s;
}
}
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @return The bytes for chatBy.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getChatByBytes() {
java.lang.Object ref = chatBy_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
chatBy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INDIVIDUAL_CHAT_PRIORITY_FIELD_NUMBER = 21;
private int individualChatPriority_ = 0;
/**
* * Text rtf_content = 22 ; ** *
uint32 individual_chat_priority = 21;
* @return The individualChatPriority.
*/
@java.lang.Override
public int getIndividualChatPriority() {
return individualChatPriority_;
}
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 (user_ != null) {
output.writeMessage(2, getUser());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, content_);
}
if (visibleToSender_ != false) {
output.writeBool(4, visibleToSender_);
}
if (backgroundImage_ != null) {
output.writeMessage(5, getBackgroundImage());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullScreenTextColor_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fullScreenTextColor_);
}
if (backgroundImageV2_ != null) {
output.writeMessage(7, getBackgroundImageV2());
}
if (giftImage_ != null) {
output.writeMessage(10, getGiftImage());
}
if (agreeMsgId_ != 0L) {
output.writeUInt64(11, agreeMsgId_);
}
if (priorityLevel_ != 0) {
output.writeUInt32(12, priorityLevel_);
}
if (eventTime_ != 0L) {
output.writeUInt64(15, eventTime_);
}
if (sendReview_ != false) {
output.writeBool(16, sendReview_);
}
if (fromIntercom_ != false) {
output.writeBool(17, fromIntercom_);
}
if (intercomHideUserCard_ != false) {
output.writeBool(18, intercomHideUserCard_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(chatBy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 20, chatBy_);
}
if (individualChatPriority_ != 0) {
output.writeUInt32(21, individualChatPriority_);
}
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 (user_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getUser());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, content_);
}
if (visibleToSender_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, visibleToSender_);
}
if (backgroundImage_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getBackgroundImage());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullScreenTextColor_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fullScreenTextColor_);
}
if (backgroundImageV2_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getBackgroundImageV2());
}
if (giftImage_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getGiftImage());
}
if (agreeMsgId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, agreeMsgId_);
}
if (priorityLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, priorityLevel_);
}
if (eventTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(15, eventTime_);
}
if (sendReview_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, sendReview_);
}
if (fromIntercom_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(17, fromIntercom_);
}
if (intercomHideUserCard_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(18, intercomHideUserCard_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(chatBy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, chatBy_);
}
if (individualChatPriority_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(21, individualChatPriority_);
}
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_chat_message_msg)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg) obj;
if (hasCommon() != other.hasCommon()) return false;
if (hasCommon()) {
if (!getCommon()
.equals(other.getCommon())) return false;
}
if (hasUser() != other.hasUser()) return false;
if (hasUser()) {
if (!getUser()
.equals(other.getUser())) return false;
}
if (!getContent()
.equals(other.getContent())) return false;
if (getVisibleToSender()
!= other.getVisibleToSender()) return false;
if (hasBackgroundImage() != other.hasBackgroundImage()) return false;
if (hasBackgroundImage()) {
if (!getBackgroundImage()
.equals(other.getBackgroundImage())) return false;
}
if (!getFullScreenTextColor()
.equals(other.getFullScreenTextColor())) return false;
if (hasBackgroundImageV2() != other.hasBackgroundImageV2()) return false;
if (hasBackgroundImageV2()) {
if (!getBackgroundImageV2()
.equals(other.getBackgroundImageV2())) return false;
}
if (hasGiftImage() != other.hasGiftImage()) return false;
if (hasGiftImage()) {
if (!getGiftImage()
.equals(other.getGiftImage())) return false;
}
if (getAgreeMsgId()
!= other.getAgreeMsgId()) return false;
if (getPriorityLevel()
!= other.getPriorityLevel()) return false;
if (getEventTime()
!= other.getEventTime()) return false;
if (getSendReview()
!= other.getSendReview()) return false;
if (getFromIntercom()
!= other.getFromIntercom()) return false;
if (getIntercomHideUserCard()
!= other.getIntercomHideUserCard()) return false;
if (!getChatBy()
.equals(other.getChatBy())) return false;
if (getIndividualChatPriority()
!= other.getIndividualChatPriority()) 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();
}
if (hasUser()) {
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
}
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
hash = (37 * hash) + VISIBLE_TO_SENDER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getVisibleToSender());
if (hasBackgroundImage()) {
hash = (37 * hash) + BACKGROUND_IMAGE_FIELD_NUMBER;
hash = (53 * hash) + getBackgroundImage().hashCode();
}
hash = (37 * hash) + FULL_SCREEN_TEXT_COLOR_FIELD_NUMBER;
hash = (53 * hash) + getFullScreenTextColor().hashCode();
if (hasBackgroundImageV2()) {
hash = (37 * hash) + BACKGROUND_IMAGE_V2_FIELD_NUMBER;
hash = (53 * hash) + getBackgroundImageV2().hashCode();
}
if (hasGiftImage()) {
hash = (37 * hash) + GIFT_IMAGE_FIELD_NUMBER;
hash = (53 * hash) + getGiftImage().hashCode();
}
hash = (37 * hash) + AGREE_MSG_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAgreeMsgId());
hash = (37 * hash) + PRIORITY_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getPriorityLevel();
hash = (37 * hash) + EVENT_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEventTime());
hash = (37 * hash) + SEND_REVIEW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSendReview());
hash = (37 * hash) + FROM_INTERCOM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFromIntercom());
hash = (37 * hash) + INTERCOM_HIDE_USER_CARD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIntercomHideUserCard());
hash = (37 * hash) + CHAT_BY_FIELD_NUMBER;
hash = (53 * hash) + getChatBy().hashCode();
hash = (37 * hash) + INDIVIDUAL_CHAT_PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getIndividualChatPriority();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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_chat_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 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 = 2;
* @return Whether the user field is set.
*/
public boolean hasUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .User user = 2;
* @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 = 2;
*/
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_ |= 0x00000002;
onChanged();
return this;
}
/**
* .User user = 2;
*/
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_ |= 0x00000002;
onChanged();
return this;
}
/**
* .User user = 2;
*/
public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
if (userBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 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_ |= 0x00000002;
onChanged();
return this;
}
/**
* .User user = 2;
*/
public Builder clearUser() {
bitField0_ = (bitField0_ & ~0x00000002);
user_ = null;
if (userBuilder_ != null) {
userBuilder_.dispose();
userBuilder_ = null;
}
onChanged();
return this;
}
/**
* .User user = 2;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getUserFieldBuilder().getBuilder();
}
/**
* .User user = 2;
*/
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 = 2;
*/
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 content_ = "";
/**
* string content = 3;
* @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string content = 3;
* @return The bytes for content.
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string content = 3;
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
content_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string content = 3;
* @return This builder for chaining.
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string content = 3;
* @param value The bytes for content to set.
* @return This builder for chaining.
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
content_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private boolean visibleToSender_ ;
/**
* bool visible_to_sender = 4;
* @return The visibleToSender.
*/
@java.lang.Override
public boolean getVisibleToSender() {
return visibleToSender_;
}
/**
* bool visible_to_sender = 4;
* @param value The visibleToSender to set.
* @return This builder for chaining.
*/
public Builder setVisibleToSender(boolean value) {
visibleToSender_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* bool visible_to_sender = 4;
* @return This builder for chaining.
*/
public Builder clearVisibleToSender() {
bitField0_ = (bitField0_ & ~0x00000008);
visibleToSender_ = false;
onChanged();
return this;
}
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageBuilder_;
/**
* .Image background_image = 5;
* @return Whether the backgroundImage field is set.
*/
public boolean hasBackgroundImage() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .Image background_image = 5;
* @return The backgroundImage.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
if (backgroundImageBuilder_ == null) {
return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
} else {
return backgroundImageBuilder_.getMessage();
}
}
/**
* .Image background_image = 5;
*/
public Builder setBackgroundImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
if (backgroundImageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
backgroundImage_ = value;
} else {
backgroundImageBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .Image background_image = 5;
*/
public Builder setBackgroundImage(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
if (backgroundImageBuilder_ == null) {
backgroundImage_ = builderForValue.build();
} else {
backgroundImageBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .Image background_image = 5;
*/
public Builder mergeBackgroundImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
if (backgroundImageBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
backgroundImage_ != null &&
backgroundImage_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
getBackgroundImageBuilder().mergeFrom(value);
} else {
backgroundImage_ = value;
}
} else {
backgroundImageBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .Image background_image = 5;
*/
public Builder clearBackgroundImage() {
bitField0_ = (bitField0_ & ~0x00000010);
backgroundImage_ = null;
if (backgroundImageBuilder_ != null) {
backgroundImageBuilder_.dispose();
backgroundImageBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Image background_image = 5;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getBackgroundImageFieldBuilder().getBuilder();
}
/**
* .Image background_image = 5;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
if (backgroundImageBuilder_ != null) {
return backgroundImageBuilder_.getMessageOrBuilder();
} else {
return backgroundImage_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
}
}
/**
* .Image background_image = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
getBackgroundImageFieldBuilder() {
if (backgroundImageBuilder_ == null) {
backgroundImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
getBackgroundImage(),
getParentForChildren(),
isClean());
backgroundImage_ = null;
}
return backgroundImageBuilder_;
}
private java.lang.Object fullScreenTextColor_ = "";
/**
* string full_screen_text_color = 6;
* @return The fullScreenTextColor.
*/
public java.lang.String getFullScreenTextColor() {
java.lang.Object ref = fullScreenTextColor_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullScreenTextColor_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string full_screen_text_color = 6;
* @return The bytes for fullScreenTextColor.
*/
public com.google.protobuf.ByteString
getFullScreenTextColorBytes() {
java.lang.Object ref = fullScreenTextColor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullScreenTextColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string full_screen_text_color = 6;
* @param value The fullScreenTextColor to set.
* @return This builder for chaining.
*/
public Builder setFullScreenTextColor(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fullScreenTextColor_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* string full_screen_text_color = 6;
* @return This builder for chaining.
*/
public Builder clearFullScreenTextColor() {
fullScreenTextColor_ = getDefaultInstance().getFullScreenTextColor();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* string full_screen_text_color = 6;
* @param value The bytes for fullScreenTextColor to set.
* @return This builder for chaining.
*/
public Builder setFullScreenTextColorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
fullScreenTextColor_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageV2Builder_;
/**
* .Image background_image_v2 = 7;
* @return Whether the backgroundImageV2 field is set.
*/
public boolean hasBackgroundImageV2() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* .Image background_image_v2 = 7;
* @return The backgroundImageV2.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
if (backgroundImageV2Builder_ == null) {
return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
} else {
return backgroundImageV2Builder_.getMessage();
}
}
/**
* .Image background_image_v2 = 7;
*/
public Builder setBackgroundImageV2(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
if (backgroundImageV2Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
backgroundImageV2_ = value;
} else {
backgroundImageV2Builder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .Image background_image_v2 = 7;
*/
public Builder setBackgroundImageV2(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
if (backgroundImageV2Builder_ == null) {
backgroundImageV2_ = builderForValue.build();
} else {
backgroundImageV2Builder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .Image background_image_v2 = 7;
*/
public Builder mergeBackgroundImageV2(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
if (backgroundImageV2Builder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
backgroundImageV2_ != null &&
backgroundImageV2_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
getBackgroundImageV2Builder().mergeFrom(value);
} else {
backgroundImageV2_ = value;
}
} else {
backgroundImageV2Builder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .Image background_image_v2 = 7;
*/
public Builder clearBackgroundImageV2() {
bitField0_ = (bitField0_ & ~0x00000040);
backgroundImageV2_ = null;
if (backgroundImageV2Builder_ != null) {
backgroundImageV2Builder_.dispose();
backgroundImageV2Builder_ = null;
}
onChanged();
return this;
}
/**
* .Image background_image_v2 = 7;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageV2Builder() {
bitField0_ |= 0x00000040;
onChanged();
return getBackgroundImageV2FieldBuilder().getBuilder();
}
/**
* .Image background_image_v2 = 7;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
if (backgroundImageV2Builder_ != null) {
return backgroundImageV2Builder_.getMessageOrBuilder();
} else {
return backgroundImageV2_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
}
}
/**
* .Image background_image_v2 = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
getBackgroundImageV2FieldBuilder() {
if (backgroundImageV2Builder_ == null) {
backgroundImageV2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
getBackgroundImageV2(),
getParentForChildren(),
isClean());
backgroundImageV2_ = null;
}
return backgroundImageV2Builder_;
}
private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image giftImage_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> giftImageBuilder_;
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
* @return Whether the giftImage field is set.
*/
public boolean hasGiftImage() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
* @return The giftImage.
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage() {
if (giftImageBuilder_ == null) {
return giftImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftImage_;
} else {
return giftImageBuilder_.getMessage();
}
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
public Builder setGiftImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
if (giftImageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
giftImage_ = value;
} else {
giftImageBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
public Builder setGiftImage(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
if (giftImageBuilder_ == null) {
giftImage_ = builderForValue.build();
} else {
giftImageBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
public Builder mergeGiftImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
if (giftImageBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
giftImage_ != null &&
giftImage_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
getGiftImageBuilder().mergeFrom(value);
} else {
giftImage_ = value;
}
} else {
giftImageBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
public Builder clearGiftImage() {
bitField0_ = (bitField0_ & ~0x00000080);
giftImage_ = null;
if (giftImageBuilder_ != null) {
giftImageBuilder_.dispose();
giftImageBuilder_ = null;
}
onChanged();
return this;
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder getGiftImageBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getGiftImageFieldBuilder().getBuilder();
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftImageOrBuilder() {
if (giftImageBuilder_ != null) {
return giftImageBuilder_.getMessageOrBuilder();
} else {
return giftImage_ == null ?
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftImage_;
}
}
/**
* * PublicAreaCommon public_area_common = 9; ** *
.Image gift_image = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
getGiftImageFieldBuilder() {
if (giftImageBuilder_ == null) {
giftImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
getGiftImage(),
getParentForChildren(),
isClean());
giftImage_ = null;
}
return giftImageBuilder_;
}
private long agreeMsgId_ ;
/**
* uint64 agree_msg_id = 11;
* @return The agreeMsgId.
*/
@java.lang.Override
public long getAgreeMsgId() {
return agreeMsgId_;
}
/**
* uint64 agree_msg_id = 11;
* @param value The agreeMsgId to set.
* @return This builder for chaining.
*/
public Builder setAgreeMsgId(long value) {
agreeMsgId_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* uint64 agree_msg_id = 11;
* @return This builder for chaining.
*/
public Builder clearAgreeMsgId() {
bitField0_ = (bitField0_ & ~0x00000100);
agreeMsgId_ = 0L;
onChanged();
return this;
}
private int priorityLevel_ ;
/**
* uint32 priority_level = 12;
* @return The priorityLevel.
*/
@java.lang.Override
public int getPriorityLevel() {
return priorityLevel_;
}
/**
* uint32 priority_level = 12;
* @param value The priorityLevel to set.
* @return This builder for chaining.
*/
public Builder setPriorityLevel(int value) {
priorityLevel_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* uint32 priority_level = 12;
* @return This builder for chaining.
*/
public Builder clearPriorityLevel() {
bitField0_ = (bitField0_ & ~0x00000200);
priorityLevel_ = 0;
onChanged();
return this;
}
private long eventTime_ ;
/**
* * LandscapeAreaCommon landscape_area_common = 13; ** *
uint64 event_time = 15;
* @return The eventTime.
*/
@java.lang.Override
public long getEventTime() {
return eventTime_;
}
/**
* * LandscapeAreaCommon landscape_area_common = 13; ** *
uint64 event_time = 15;
* @param value The eventTime to set.
* @return This builder for chaining.
*/
public Builder setEventTime(long value) {
eventTime_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* * LandscapeAreaCommon landscape_area_common = 13; ** *
uint64 event_time = 15;
* @return This builder for chaining.
*/
public Builder clearEventTime() {
bitField0_ = (bitField0_ & ~0x00000400);
eventTime_ = 0L;
onChanged();
return this;
}
private boolean sendReview_ ;
/**
* bool send_review = 16;
* @return The sendReview.
*/
@java.lang.Override
public boolean getSendReview() {
return sendReview_;
}
/**
* bool send_review = 16;
* @param value The sendReview to set.
* @return This builder for chaining.
*/
public Builder setSendReview(boolean value) {
sendReview_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* bool send_review = 16;
* @return This builder for chaining.
*/
public Builder clearSendReview() {
bitField0_ = (bitField0_ & ~0x00000800);
sendReview_ = false;
onChanged();
return this;
}
private boolean fromIntercom_ ;
/**
* bool from_intercom = 17;
* @return The fromIntercom.
*/
@java.lang.Override
public boolean getFromIntercom() {
return fromIntercom_;
}
/**
* bool from_intercom = 17;
* @param value The fromIntercom to set.
* @return This builder for chaining.
*/
public Builder setFromIntercom(boolean value) {
fromIntercom_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* bool from_intercom = 17;
* @return This builder for chaining.
*/
public Builder clearFromIntercom() {
bitField0_ = (bitField0_ & ~0x00001000);
fromIntercom_ = false;
onChanged();
return this;
}
private boolean intercomHideUserCard_ ;
/**
* bool intercom_hide_user_card = 18;
* @return The intercomHideUserCard.
*/
@java.lang.Override
public boolean getIntercomHideUserCard() {
return intercomHideUserCard_;
}
/**
* bool intercom_hide_user_card = 18;
* @param value The intercomHideUserCard to set.
* @return This builder for chaining.
*/
public Builder setIntercomHideUserCard(boolean value) {
intercomHideUserCard_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* bool intercom_hide_user_card = 18;
* @return This builder for chaining.
*/
public Builder clearIntercomHideUserCard() {
bitField0_ = (bitField0_ & ~0x00002000);
intercomHideUserCard_ = false;
onChanged();
return this;
}
private java.lang.Object chatBy_ = "";
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @return The chatBy.
*/
public java.lang.String getChatBy() {
java.lang.Object ref = chatBy_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
chatBy_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @return The bytes for chatBy.
*/
public com.google.protobuf.ByteString
getChatByBytes() {
java.lang.Object ref = chatBy_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
chatBy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @param value The chatBy to set.
* @return This builder for chaining.
*/
public Builder setChatBy(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
chatBy_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @return This builder for chaining.
*/
public Builder clearChatBy() {
chatBy_ = getDefaultInstance().getChatBy();
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
/**
* * repeated string chatTagsList = 19; ** *
string chat_by = 20;
* @param value The bytes for chatBy to set.
* @return This builder for chaining.
*/
public Builder setChatByBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
chatBy_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
private int individualChatPriority_ ;
/**
* * Text rtf_content = 22 ; ** *
uint32 individual_chat_priority = 21;
* @return The individualChatPriority.
*/
@java.lang.Override
public int getIndividualChatPriority() {
return individualChatPriority_;
}
/**
* * Text rtf_content = 22 ; ** *
uint32 individual_chat_priority = 21;
* @param value The individualChatPriority to set.
* @return This builder for chaining.
*/
public Builder setIndividualChatPriority(int value) {
individualChatPriority_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* * Text rtf_content = 22 ; ** *
uint32 individual_chat_priority = 21;
* @return This builder for chaining.
*/
public Builder clearIndividualChatPriority() {
bitField0_ = (bitField0_ & ~0x00008000);
individualChatPriority_ = 0;
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_chat_message_msg)
}
// @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser