getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinCmdMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinCmdMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\022DouyinCmdMsg.proto\0222tech.ordinaryroad." +
+ "live.chat.client.douyin.protobuf\"\246\001\n\014Dou" +
+ "yinCmdMsg\022\016\n\006method\030\001 \001(\t\022\017\n\007payload\030\002 \001" +
+ "(\014\022\016\n\006msg_id\030\003 \001(\003\022\020\n\010msg_type\030\004 \001(\005\022\016\n\006" +
+ "offset\030\005 \001(\003\022\027\n\017need_wrds_store\030\006 \001(\010\022\024\n" +
+ "\014wrds_version\030\007 \001(\003\022\024\n\014wrds_sub_key\030\010 \001(" +
+ "\tB:\n8tech.ordinaryroad.live.chat.client." +
+ "codec.douyin.protobufb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinCmdMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinCmdMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinCmdMsg_descriptor,
+ new java.lang.String[] { "Method", "Payload", "MsgId", "MsgType", "Offset", "NeedWrdsStore", "WrdsVersion", "WrdsSubKey", });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastChatMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastChatMessageMsgOuterClass.java
new file mode 100644
index 0000000..113cd4d
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastChatMessageMsgOuterClass.java
@@ -0,0 +1,2667 @@
+/*
+ * 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: DouyinWebcastChatMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastChatMessageMsgOuterClass {
+ private DouyinWebcastChatMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastChatMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastChatMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * .User user = 2;
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+ /**
+ * .User user = 2;
+ * @return The user.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser();
+ /**
+ * .User user = 2;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
+
+ /**
+ * string content = 3;
+ * @return The content.
+ */
+ java.lang.String getContent();
+ /**
+ * string content = 3;
+ * @return The bytes for content.
+ */
+ com.google.protobuf.ByteString
+ getContentBytes();
+
+ /**
+ * bool visible_to_sender = 4;
+ * @return The visibleToSender.
+ */
+ boolean getVisibleToSender();
+
+ /**
+ * .Image background_image = 5;
+ * @return Whether the backgroundImage field is set.
+ */
+ boolean hasBackgroundImage();
+ /**
+ * .Image background_image = 5;
+ * @return The backgroundImage.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage();
+ /**
+ * .Image background_image = 5;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder();
+
+ /**
+ * string full_screen_text_color = 6;
+ * @return The fullScreenTextColor.
+ */
+ java.lang.String getFullScreenTextColor();
+ /**
+ * string full_screen_text_color = 6;
+ * @return The bytes for fullScreenTextColor.
+ */
+ com.google.protobuf.ByteString
+ getFullScreenTextColorBytes();
+
+ /**
+ * .Image background_image_v2 = 7;
+ * @return Whether the backgroundImageV2 field is set.
+ */
+ boolean hasBackgroundImageV2();
+ /**
+ * .Image background_image_v2 = 7;
+ * @return The backgroundImageV2.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2();
+ /**
+ * .Image background_image_v2 = 7;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder();
+
+ /**
+ *
+ * PublicAreaCommon public_area_common = 9;
+ *
+ *
+ * .Image gift_image = 10;
+ * @return Whether the giftImage field is set.
+ */
+ boolean hasGiftImage();
+ /**
+ *
+ * PublicAreaCommon public_area_common = 9;
+ *
+ *
+ * .Image gift_image = 10;
+ * @return The giftImage.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage();
+ /**
+ *
+ * PublicAreaCommon public_area_common = 9;
+ *
+ *
+ * .Image gift_image = 10;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftImageOrBuilder();
+
+ /**
+ * uint64 agree_msg_id = 11;
+ * @return The agreeMsgId.
+ */
+ long getAgreeMsgId();
+
+ /**
+ * uint32 priority_level = 12;
+ * @return The priorityLevel.
+ */
+ int getPriorityLevel();
+
+ /**
+ *
+ * LandscapeAreaCommon landscape_area_common = 13;
+ *
+ *
+ * uint64 event_time = 15;
+ * @return The eventTime.
+ */
+ long getEventTime();
+
+ /**
+ * bool send_review = 16;
+ * @return The sendReview.
+ */
+ boolean getSendReview();
+
+ /**
+ * bool from_intercom = 17;
+ * @return The fromIntercom.
+ */
+ boolean getFromIntercom();
+
+ /**
+ * bool intercom_hide_user_card = 18;
+ * @return The intercomHideUserCard.
+ */
+ boolean getIntercomHideUserCard();
+
+ /**
+ *
+ * repeated string chatTagsList = 19;
+ *
+ *
+ * string chat_by = 20;
+ * @return The chatBy.
+ */
+ java.lang.String getChatBy();
+ /**
+ *
+ * repeated string chatTagsList = 19;
+ *
+ *
+ * string chat_by = 20;
+ * @return The bytes for chatBy.
+ */
+ com.google.protobuf.ByteString
+ getChatByBytes();
+
+ /**
+ *
+ * Text rtf_content = 22 ;
+ *
+ *
+ * uint32 individual_chat_priority = 21;
+ * @return The individualChatPriority.
+ */
+ int getIndividualChatPriority();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastChatMessageMsg}
+ */
+ public static final class DouyinWebcastChatMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastChatMessageMsg)
+ DouyinWebcastChatMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastChatMessageMsg.newBuilder() to construct.
+ private DouyinWebcastChatMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastChatMessageMsg() {
+ content_ = "";
+ fullScreenTextColor_ = "";
+ chatBy_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastChatMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+
+ public static final int USER_FIELD_NUMBER = 2;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ /**
+ * .User user = 2;
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * .User user = 2;
+ * @return The user.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ /**
+ * .User user = 2;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
+ /**
+ * .Image background_image = 5;
+ * @return Whether the backgroundImage field is set.
+ */
+ @java.lang.Override
+ public boolean hasBackgroundImage() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * .Image background_image = 5;
+ * @return The backgroundImage.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
+ return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ }
+ /**
+ * .Image background_image = 5;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
+ return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.codec.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.codec.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 ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * .Image background_image_v2 = 7;
+ * @return The backgroundImageV2.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
+ return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ }
+ /**
+ * .Image background_image_v2 = 7;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
+ return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ }
+
+ public static final int GIFT_IMAGE_FIELD_NUMBER = 10;
+ private tech.ordinaryroad.live.chat.client.codec.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 ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ *
+ * PublicAreaCommon public_area_common = 9;
+ *
+ *
+ * .Image gift_image = 10;
+ * @return The giftImage.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage() {
+ return giftImage_ == null ? tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftImageOrBuilder() {
+ return giftImage_ == null ? tech.ordinaryroad.live.chat.client.codec.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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getCommon());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ 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 (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(5, getBackgroundImage());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullScreenTextColor_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fullScreenTextColor_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ output.writeMessage(7, getBackgroundImageV2());
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCommon());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ 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 (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, getBackgroundImage());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullScreenTextColor_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fullScreenTextColor_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, getBackgroundImageV2());
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg) 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg 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.DouyinWebcastChatMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastChatMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ getUserFieldBuilder();
+ getBackgroundImageFieldBuilder();
+ getBackgroundImageV2FieldBuilder();
+ getGiftImageFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ content_ = "";
+ visibleToSender_ = false;
+ backgroundImage_ = null;
+ if (backgroundImageBuilder_ != null) {
+ backgroundImageBuilder_.dispose();
+ backgroundImageBuilder_ = null;
+ }
+ fullScreenTextColor_ = "";
+ backgroundImageV2_ = null;
+ if (backgroundImageV2Builder_ != null) {
+ backgroundImageV2Builder_.dispose();
+ backgroundImageV2Builder_ = null;
+ }
+ giftImage_ = null;
+ if (giftImageBuilder_ != null) {
+ giftImageBuilder_.dispose();
+ giftImageBuilder_ = null;
+ }
+ agreeMsgId_ = 0L;
+ priorityLevel_ = 0;
+ eventTime_ = 0L;
+ sendReview_ = false;
+ fromIntercom_ = false;
+ intercomHideUserCard_ = false;
+ chatBy_ = "";
+ individualChatPriority_ = 0;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.user_ = userBuilder_ == null
+ ? user_
+ : userBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.content_ = content_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.visibleToSender_ = visibleToSender_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.backgroundImage_ = backgroundImageBuilder_ == null
+ ? backgroundImage_
+ : backgroundImageBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.fullScreenTextColor_ = fullScreenTextColor_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.backgroundImageV2_ = backgroundImageV2Builder_ == null
+ ? backgroundImageV2_
+ : backgroundImageV2Builder_.build();
+ to_bitField0_ |= 0x00000008;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.giftImage_ = giftImageBuilder_ == null
+ ? giftImage_
+ : giftImageBuilder_.build();
+ to_bitField0_ |= 0x00000010;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.agreeMsgId_ = agreeMsgId_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.priorityLevel_ = priorityLevel_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.eventTime_ = eventTime_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.sendReview_ = sendReview_;
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.fromIntercom_ = fromIntercom_;
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.intercomHideUserCard_ = intercomHideUserCard_;
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.chatBy_ = chatBy_;
+ }
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.individualChatPriority_ = individualChatPriority_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (other.hasUser()) {
+ mergeUser(other.getUser());
+ }
+ if (!other.getContent().isEmpty()) {
+ content_ = other.content_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ if (other.getVisibleToSender() != false) {
+ setVisibleToSender(other.getVisibleToSender());
+ }
+ if (other.hasBackgroundImage()) {
+ mergeBackgroundImage(other.getBackgroundImage());
+ }
+ if (!other.getFullScreenTextColor().isEmpty()) {
+ fullScreenTextColor_ = other.fullScreenTextColor_;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ if (other.hasBackgroundImageV2()) {
+ mergeBackgroundImageV2(other.getBackgroundImageV2());
+ }
+ if (other.hasGiftImage()) {
+ mergeGiftImage(other.getGiftImage());
+ }
+ if (other.getAgreeMsgId() != 0L) {
+ setAgreeMsgId(other.getAgreeMsgId());
+ }
+ if (other.getPriorityLevel() != 0) {
+ setPriorityLevel(other.getPriorityLevel());
+ }
+ if (other.getEventTime() != 0L) {
+ setEventTime(other.getEventTime());
+ }
+ if (other.getSendReview() != false) {
+ setSendReview(other.getSendReview());
+ }
+ if (other.getFromIntercom() != false) {
+ setFromIntercom(other.getFromIntercom());
+ }
+ if (other.getIntercomHideUserCard() != false) {
+ setIntercomHideUserCard(other.getIntercomHideUserCard());
+ }
+ if (!other.getChatBy().isEmpty()) {
+ chatBy_ = other.chatBy_;
+ bitField0_ |= 0x00004000;
+ onChanged();
+ }
+ if (other.getIndividualChatPriority() != 0) {
+ setIndividualChatPriority(other.getIndividualChatPriority());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ input.readMessage(
+ getUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26: {
+ content_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 32: {
+ visibleToSender_ = input.readBool();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 42: {
+ input.readMessage(
+ getBackgroundImageFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 50: {
+ fullScreenTextColor_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
+ case 58: {
+ input.readMessage(
+ getBackgroundImageV2FieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ case 82: {
+ input.readMessage(
+ getGiftImageFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 82
+ case 88: {
+ agreeMsgId_ = input.readUInt64();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 88
+ case 96: {
+ priorityLevel_ = input.readUInt32();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 96
+ case 120: {
+ eventTime_ = input.readUInt64();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 120
+ case 128: {
+ sendReview_ = input.readBool();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 128
+ case 136: {
+ fromIntercom_ = input.readBool();
+ bitField0_ |= 0x00001000;
+ break;
+ } // case 136
+ case 144: {
+ intercomHideUserCard_ = input.readBool();
+ bitField0_ |= 0x00002000;
+ break;
+ } // case 144
+ case 162: {
+ chatBy_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 162
+ case 168: {
+ individualChatPriority_ = input.readUInt32();
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 168
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
+ getCommon(),
+ getParentForChildren(),
+ isClean());
+ common_ = null;
+ }
+ return commonBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ if (userBuilder_ == null) {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ } else {
+ return userBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User user = 2;
+ */
+ public Builder setUser(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) &&
+ user_ != null &&
+ user_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getUserBuilder().mergeFrom(value);
+ } else {
+ user_ = value;
+ }
+ } else {
+ userBuilder_.mergeFrom(value);
+ }
+ if (user_ != null) {
+ 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.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User user = 2;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ if (userBuilder_ != null) {
+ return userBuilder_.getMessageOrBuilder();
+ } else {
+ return user_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ }
+ /**
+ * .User user = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getUserFieldBuilder() {
+ if (userBuilder_ == null) {
+ userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
+ if (backgroundImageBuilder_ == null) {
+ return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ } else {
+ return backgroundImageBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Image background_image = 5;
+ */
+ public Builder setBackgroundImage(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (backgroundImageBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0) &&
+ backgroundImage_ != null &&
+ backgroundImage_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
+ getBackgroundImageBuilder().mergeFrom(value);
+ } else {
+ backgroundImage_ = value;
+ }
+ } else {
+ backgroundImageBuilder_.mergeFrom(value);
+ }
+ if (backgroundImage_ != null) {
+ 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.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return getBackgroundImageFieldBuilder().getBuilder();
+ }
+ /**
+ * .Image background_image = 5;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
+ if (backgroundImageBuilder_ != null) {
+ return backgroundImageBuilder_.getMessageOrBuilder();
+ } else {
+ return backgroundImage_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ }
+ }
+ /**
+ * .Image background_image = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
+ getBackgroundImageFieldBuilder() {
+ if (backgroundImageBuilder_ == null) {
+ backgroundImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
+ if (backgroundImageV2Builder_ == null) {
+ return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ } else {
+ return backgroundImageV2Builder_.getMessage();
+ }
+ }
+ /**
+ * .Image background_image_v2 = 7;
+ */
+ public Builder setBackgroundImageV2(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (backgroundImageV2Builder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0) &&
+ backgroundImageV2_ != null &&
+ backgroundImageV2_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
+ getBackgroundImageV2Builder().mergeFrom(value);
+ } else {
+ backgroundImageV2_ = value;
+ }
+ } else {
+ backgroundImageV2Builder_.mergeFrom(value);
+ }
+ if (backgroundImageV2_ != null) {
+ 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.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageV2Builder() {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return getBackgroundImageV2FieldBuilder().getBuilder();
+ }
+ /**
+ * .Image background_image_v2 = 7;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
+ if (backgroundImageV2Builder_ != null) {
+ return backgroundImageV2Builder_.getMessageOrBuilder();
+ } else {
+ return backgroundImageV2_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ }
+ }
+ /**
+ * .Image background_image_v2 = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
+ getBackgroundImageV2FieldBuilder() {
+ if (backgroundImageV2Builder_ == null) {
+ backgroundImageV2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
+ getBackgroundImageV2(),
+ getParentForChildren(),
+ isClean());
+ backgroundImageV2_ = null;
+ }
+ return backgroundImageV2Builder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image giftImage_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage() {
+ if (giftImageBuilder_ == null) {
+ return giftImage_ == null ? tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (giftImageBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) != 0) &&
+ giftImage_ != null &&
+ giftImage_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
+ getGiftImageBuilder().mergeFrom(value);
+ } else {
+ giftImage_ = value;
+ }
+ } else {
+ giftImageBuilder_.mergeFrom(value);
+ }
+ if (giftImage_ != null) {
+ 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.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftImageOrBuilder() {
+ if (giftImageBuilder_ != null) {
+ return giftImageBuilder_.getMessageOrBuilder();
+ } else {
+ return giftImage_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
+ getGiftImageFieldBuilder() {
+ if (giftImageBuilder_ == null) {
+ giftImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.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.DouyinWebcastChatMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastChatMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastChatMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastChatMessageMsgOuterClass.DouyinWebcastChatMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n!DouyinWebcastChatMessageMsg.proto\0222tec" +
+ "h.ordinaryroad.live.chat.client.douyin.p" +
+ "rotobuf\032\014Common.proto\032\nUser.proto\032\013Image" +
+ ".proto\"\274\003\n\033DouyinWebcastChatMessageMsg\022\027" +
+ "\n\006common\030\001 \001(\0132\007.Common\022\023\n\004user\030\002 \001(\0132\005." +
+ "User\022\017\n\007content\030\003 \001(\t\022\031\n\021visible_to_send" +
+ "er\030\004 \001(\010\022 \n\020background_image\030\005 \001(\0132\006.Ima" +
+ "ge\022\036\n\026full_screen_text_color\030\006 \001(\t\022#\n\023ba" +
+ "ckground_image_v2\030\007 \001(\0132\006.Image\022\032\n\ngift_" +
+ "image\030\n \001(\0132\006.Image\022\024\n\014agree_msg_id\030\013 \001(" +
+ "\004\022\026\n\016priority_level\030\014 \001(\r\022\022\n\nevent_time\030" +
+ "\017 \001(\004\022\023\n\013send_review\030\020 \001(\010\022\025\n\rfrom_inter" +
+ "com\030\021 \001(\010\022\037\n\027intercom_hide_user_card\030\022 \001" +
+ "(\010\022\017\n\007chat_by\030\024 \001(\t\022 \n\030individual_chat_p" +
+ "riority\030\025 \001(\rB:\n8tech.ordinaryroad.live." +
+ "chat.client.codec.douyin.protobufb\006proto" +
+ "3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastChatMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "User", "Content", "VisibleToSender", "BackgroundImage", "FullScreenTextColor", "BackgroundImageV2", "GiftImage", "AgreeMsgId", "PriorityLevel", "EventTime", "SendReview", "FromIntercom", "IntercomHideUserCard", "ChatBy", "IndividualChatPriority", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastControlMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastControlMessageMsgOuterClass.java
new file mode 100644
index 0000000..6983ffd
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastControlMessageMsgOuterClass.java
@@ -0,0 +1,763 @@
+/*
+ * 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: DouyinWebcastControlMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastControlMessageMsgOuterClass {
+ private DouyinWebcastControlMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastControlMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastControlMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * int32 status = 2;
+ * @return The status.
+ */
+ int getStatus();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastControlMessageMsg}
+ */
+ public static final class DouyinWebcastControlMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastControlMessageMsg)
+ DouyinWebcastControlMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastControlMessageMsg.newBuilder() to construct.
+ private DouyinWebcastControlMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastControlMessageMsg() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastControlMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+
+ public static final int STATUS_FIELD_NUMBER = 2;
+ private int status_ = 0;
+ /**
+ * int32 status = 2;
+ * @return The status.
+ */
+ @java.lang.Override
+ public int getStatus() {
+ return status_;
+ }
+
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getCommon());
+ }
+ if (status_ != 0) {
+ output.writeInt32(2, status_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCommon());
+ }
+ if (status_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, status_);
+ }
+ 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg) obj;
+
+ if (hasCommon() != other.hasCommon()) return false;
+ if (hasCommon()) {
+ if (!getCommon()
+ .equals(other.getCommon())) return false;
+ }
+ if (getStatus()
+ != other.getStatus()) 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) + STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getStatus();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg 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.DouyinWebcastControlMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastControlMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ status_ = 0;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.status_ = status_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (other.getStatus() != 0) {
+ setStatus(other.getStatus());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16: {
+ status_ = input.readInt32();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
+ getCommon(),
+ getParentForChildren(),
+ isClean());
+ common_ = null;
+ }
+ return commonBuilder_;
+ }
+
+ private int status_ ;
+ /**
+ * int32 status = 2;
+ * @return The status.
+ */
+ @java.lang.Override
+ public int getStatus() {
+ return status_;
+ }
+ /**
+ * int32 status = 2;
+ * @param value The status to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStatus(int value) {
+
+ status_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 status = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearStatus() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ status_ = 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.DouyinWebcastControlMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastControlMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastControlMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastControlMessageMsgOuterClass.DouyinWebcastControlMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n$DouyinWebcastControlMessageMsg.proto\0222" +
+ "tech.ordinaryroad.live.chat.client.douyi" +
+ "n.protobuf\032\014Common.proto\"I\n\036DouyinWebcas" +
+ "tControlMessageMsg\022\027\n\006common\030\001 \001(\0132\007.Com" +
+ "mon\022\016\n\006status\030\002 \001(\005B:\n8tech.ordinaryroad" +
+ ".live.chat.client.codec.douyin.protobufb" +
+ "\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastControlMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "Status", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastGiftMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastGiftMessageMsgOuterClass.java
new file mode 100644
index 0000000..b702d38
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastGiftMessageMsgOuterClass.java
@@ -0,0 +1,4415 @@
+/*
+ * 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: DouyinWebcastGiftMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastGiftMessageMsgOuterClass {
+ private DouyinWebcastGiftMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastGiftMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastGiftMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * uint64 long_gift_id = 2;
+ * @return The longGiftId.
+ */
+ long getLongGiftId();
+
+ /**
+ * uint64 fan_ticket_count = 3;
+ * @return The fanTicketCount.
+ */
+ long getFanTicketCount();
+
+ /**
+ * uint64 group_count = 4;
+ * @return The groupCount.
+ */
+ long getGroupCount();
+
+ /**
+ * uint64 repeat_count = 5;
+ * @return The repeatCount.
+ */
+ long getRepeatCount();
+
+ /**
+ * uint64 combo_count = 6;
+ * @return The comboCount.
+ */
+ long getComboCount();
+
+ /**
+ * .User user = 7;
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+ /**
+ * .User user = 7;
+ * @return The user.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser();
+ /**
+ * .User user = 7;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
+
+ /**
+ * .User to_user = 8;
+ * @return Whether the toUser field is set.
+ */
+ boolean hasToUser();
+ /**
+ * .User to_user = 8;
+ * @return The toUser.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getToUser();
+ /**
+ * .User to_user = 8;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getToUserOrBuilder();
+
+ /**
+ * uint32 repeat_end = 9;
+ * @return The repeatEnd.
+ */
+ int getRepeatEnd();
+
+ /**
+ * .TextEffect text_effect = 10;
+ * @return Whether the textEffect field is set.
+ */
+ boolean hasTextEffect();
+ /**
+ * .TextEffect text_effect = 10;
+ * @return The textEffect.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect getTextEffect();
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder getTextEffectOrBuilder();
+
+ /**
+ * uint64 group_id = 11;
+ * @return The groupId.
+ */
+ long getGroupId();
+
+ /**
+ * uint64 income_taskgifts = 12;
+ * @return The incomeTaskgifts.
+ */
+ long getIncomeTaskgifts();
+
+ /**
+ * uint64 room_fan_ticket_count = 13;
+ * @return The roomFanTicketCount.
+ */
+ long getRoomFanTicketCount();
+
+ /**
+ * .GiftIMPriority priority = 14;
+ * @return Whether the priority field is set.
+ */
+ boolean hasPriority();
+ /**
+ * .GiftIMPriority priority = 14;
+ * @return The priority.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getPriority();
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder getPriorityOrBuilder();
+
+ /**
+ * .GiftStruct gift = 15;
+ * @return Whether the gift field is set.
+ */
+ boolean hasGift();
+ /**
+ * .GiftStruct gift = 15;
+ * @return The gift.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct getGift();
+ /**
+ * .GiftStruct gift = 15;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder getGiftOrBuilder();
+
+ /**
+ * string log_id = 16;
+ * @return The logId.
+ */
+ java.lang.String getLogId();
+ /**
+ * string log_id = 16;
+ * @return The bytes for logId.
+ */
+ com.google.protobuf.ByteString
+ getLogIdBytes();
+
+ /**
+ * uint64 send_type = 17;
+ * @return The sendType.
+ */
+ long getSendType();
+
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ * @return Whether the publicAreaCommon field is set.
+ */
+ boolean hasPublicAreaCommon();
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ * @return The publicAreaCommon.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon();
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder();
+
+ /**
+ * .Text tray_display_text = 19;
+ * @return Whether the trayDisplayText field is set.
+ */
+ boolean hasTrayDisplayText();
+ /**
+ * .Text tray_display_text = 19;
+ * @return The trayDisplayText.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text getTrayDisplayText();
+ /**
+ * .Text tray_display_text = 19;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getTrayDisplayTextOrBuilder();
+
+ /**
+ * uint64 banned_display_effects = 20;
+ * @return The bannedDisplayEffects.
+ */
+ long getBannedDisplayEffects();
+
+ /**
+ *
+ * GiftTrayInfo trayInfo = 21;
+ * AssetEffectMixInfo assetEffectMixInfo = 22;
+ *
+ *
+ * bool display_for_self = 25;
+ * @return The displayForSelf.
+ */
+ boolean getDisplayForSelf();
+
+ /**
+ * string interact_gift_info = 26;
+ * @return The interactGiftInfo.
+ */
+ java.lang.String getInteractGiftInfo();
+ /**
+ * string interact_gift_info = 26;
+ * @return The bytes for interactGiftInfo.
+ */
+ com.google.protobuf.ByteString
+ getInteractGiftInfoBytes();
+
+ /**
+ * string diy_item_info = 27;
+ * @return The diyItemInfo.
+ */
+ java.lang.String getDiyItemInfo();
+ /**
+ * string diy_item_info = 27;
+ * @return The bytes for diyItemInfo.
+ */
+ com.google.protobuf.ByteString
+ getDiyItemInfoBytes();
+
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return A list containing the minAssetSetList.
+ */
+ java.util.List getMinAssetSetListList();
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return The count of minAssetSetList.
+ */
+ int getMinAssetSetListCount();
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @param index The index of the element to return.
+ * @return The minAssetSetList at the given index.
+ */
+ long getMinAssetSetList(int index);
+
+ /**
+ * uint64 total_count = 29;
+ * @return The totalCount.
+ */
+ long getTotalCount();
+
+ /**
+ * uint32 client_gift_source = 30;
+ * @return The clientGiftSource.
+ */
+ int getClientGiftSource();
+
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return A list containing the toUserIdsList.
+ */
+ java.util.List getToUserIdsListList();
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return The count of toUserIdsList.
+ */
+ int getToUserIdsListCount();
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @param index The index of the element to return.
+ * @return The toUserIdsList at the given index.
+ */
+ long getToUserIdsList(int index);
+
+ /**
+ * uint64 send_timet = 33;
+ * @return The sendTimet.
+ */
+ long getSendTimet();
+
+ /**
+ * uint64 force_display_effectst = 34;
+ * @return The forceDisplayEffectst.
+ */
+ long getForceDisplayEffectst();
+
+ /**
+ * string trace_id = 35;
+ * @return The traceId.
+ */
+ java.lang.String getTraceId();
+ /**
+ * string trace_id = 35;
+ * @return The bytes for traceId.
+ */
+ com.google.protobuf.ByteString
+ getTraceIdBytes();
+
+ /**
+ * uint64 effect_display_ts = 36;
+ * @return The effectDisplayTs.
+ */
+ long getEffectDisplayTs();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastGiftMessageMsg}
+ */
+ public static final class DouyinWebcastGiftMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastGiftMessageMsg)
+ DouyinWebcastGiftMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastGiftMessageMsg.newBuilder() to construct.
+ private DouyinWebcastGiftMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastGiftMessageMsg() {
+ logId_ = "";
+ interactGiftInfo_ = "";
+ diyItemInfo_ = "";
+ minAssetSetList_ = emptyLongList();
+ toUserIdsList_ = emptyLongList();
+ traceId_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastGiftMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+
+ public static final int LONG_GIFT_ID_FIELD_NUMBER = 2;
+ private long longGiftId_ = 0L;
+ /**
+ * uint64 long_gift_id = 2;
+ * @return The longGiftId.
+ */
+ @java.lang.Override
+ public long getLongGiftId() {
+ return longGiftId_;
+ }
+
+ public static final int FAN_TICKET_COUNT_FIELD_NUMBER = 3;
+ private long fanTicketCount_ = 0L;
+ /**
+ * uint64 fan_ticket_count = 3;
+ * @return The fanTicketCount.
+ */
+ @java.lang.Override
+ public long getFanTicketCount() {
+ return fanTicketCount_;
+ }
+
+ public static final int GROUP_COUNT_FIELD_NUMBER = 4;
+ private long groupCount_ = 0L;
+ /**
+ * uint64 group_count = 4;
+ * @return The groupCount.
+ */
+ @java.lang.Override
+ public long getGroupCount() {
+ return groupCount_;
+ }
+
+ public static final int REPEAT_COUNT_FIELD_NUMBER = 5;
+ private long repeatCount_ = 0L;
+ /**
+ * uint64 repeat_count = 5;
+ * @return The repeatCount.
+ */
+ @java.lang.Override
+ public long getRepeatCount() {
+ return repeatCount_;
+ }
+
+ public static final int COMBO_COUNT_FIELD_NUMBER = 6;
+ private long comboCount_ = 0L;
+ /**
+ * uint64 combo_count = 6;
+ * @return The comboCount.
+ */
+ @java.lang.Override
+ public long getComboCount() {
+ return comboCount_;
+ }
+
+ public static final int USER_FIELD_NUMBER = 7;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ /**
+ * .User user = 7;
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * .User user = 7;
+ * @return The user.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ /**
+ * .User user = 7;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+
+ public static final int TO_USER_FIELD_NUMBER = 8;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User toUser_;
+ /**
+ * .User to_user = 8;
+ * @return Whether the toUser field is set.
+ */
+ @java.lang.Override
+ public boolean hasToUser() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * .User to_user = 8;
+ * @return The toUser.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getToUser() {
+ return toUser_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
+ }
+ /**
+ * .User to_user = 8;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getToUserOrBuilder() {
+ return toUser_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
+ }
+
+ public static final int REPEAT_END_FIELD_NUMBER = 9;
+ private int repeatEnd_ = 0;
+ /**
+ * uint32 repeat_end = 9;
+ * @return The repeatEnd.
+ */
+ @java.lang.Override
+ public int getRepeatEnd() {
+ return repeatEnd_;
+ }
+
+ public static final int TEXT_EFFECT_FIELD_NUMBER = 10;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect textEffect_;
+ /**
+ * .TextEffect text_effect = 10;
+ * @return Whether the textEffect field is set.
+ */
+ @java.lang.Override
+ public boolean hasTextEffect() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ * @return The textEffect.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect getTextEffect() {
+ return textEffect_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder getTextEffectOrBuilder() {
+ return textEffect_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
+ }
+
+ public static final int GROUP_ID_FIELD_NUMBER = 11;
+ private long groupId_ = 0L;
+ /**
+ * uint64 group_id = 11;
+ * @return The groupId.
+ */
+ @java.lang.Override
+ public long getGroupId() {
+ return groupId_;
+ }
+
+ public static final int INCOME_TASKGIFTS_FIELD_NUMBER = 12;
+ private long incomeTaskgifts_ = 0L;
+ /**
+ * uint64 income_taskgifts = 12;
+ * @return The incomeTaskgifts.
+ */
+ @java.lang.Override
+ public long getIncomeTaskgifts() {
+ return incomeTaskgifts_;
+ }
+
+ public static final int ROOM_FAN_TICKET_COUNT_FIELD_NUMBER = 13;
+ private long roomFanTicketCount_ = 0L;
+ /**
+ * uint64 room_fan_ticket_count = 13;
+ * @return The roomFanTicketCount.
+ */
+ @java.lang.Override
+ public long getRoomFanTicketCount() {
+ return roomFanTicketCount_;
+ }
+
+ public static final int PRIORITY_FIELD_NUMBER = 14;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority priority_;
+ /**
+ * .GiftIMPriority priority = 14;
+ * @return Whether the priority field is set.
+ */
+ @java.lang.Override
+ public boolean hasPriority() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ * @return The priority.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getPriority() {
+ return priority_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder getPriorityOrBuilder() {
+ return priority_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
+ }
+
+ public static final int GIFT_FIELD_NUMBER = 15;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct gift_;
+ /**
+ * .GiftStruct gift = 15;
+ * @return Whether the gift field is set.
+ */
+ @java.lang.Override
+ public boolean hasGift() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * .GiftStruct gift = 15;
+ * @return The gift.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct getGift() {
+ return gift_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder getGiftOrBuilder() {
+ return gift_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
+ }
+
+ public static final int LOG_ID_FIELD_NUMBER = 16;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object logId_ = "";
+ /**
+ * string log_id = 16;
+ * @return The logId.
+ */
+ @java.lang.Override
+ public java.lang.String getLogId() {
+ java.lang.Object ref = logId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ logId_ = s;
+ return s;
+ }
+ }
+ /**
+ * string log_id = 16;
+ * @return The bytes for logId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getLogIdBytes() {
+ java.lang.Object ref = logId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ logId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SEND_TYPE_FIELD_NUMBER = 17;
+ private long sendType_ = 0L;
+ /**
+ * uint64 send_type = 17;
+ * @return The sendType.
+ */
+ @java.lang.Override
+ public long getSendType() {
+ return sendType_;
+ }
+
+ public static final int PUBLIC_AREA_COMMON_FIELD_NUMBER = 18;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon publicAreaCommon_;
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ * @return Whether the publicAreaCommon field is set.
+ */
+ @java.lang.Override
+ public boolean hasPublicAreaCommon() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ * @return The publicAreaCommon.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon() {
+ return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder() {
+ return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ }
+
+ public static final int TRAY_DISPLAY_TEXT_FIELD_NUMBER = 19;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text trayDisplayText_;
+ /**
+ * .Text tray_display_text = 19;
+ * @return Whether the trayDisplayText field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrayDisplayText() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+ /**
+ * .Text tray_display_text = 19;
+ * @return The trayDisplayText.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text getTrayDisplayText() {
+ return trayDisplayText_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getTrayDisplayTextOrBuilder() {
+ return trayDisplayText_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
+ }
+
+ public static final int BANNED_DISPLAY_EFFECTS_FIELD_NUMBER = 20;
+ private long bannedDisplayEffects_ = 0L;
+ /**
+ * uint64 banned_display_effects = 20;
+ * @return The bannedDisplayEffects.
+ */
+ @java.lang.Override
+ public long getBannedDisplayEffects() {
+ return bannedDisplayEffects_;
+ }
+
+ public static final int DISPLAY_FOR_SELF_FIELD_NUMBER = 25;
+ private boolean displayForSelf_ = false;
+ /**
+ *
+ * GiftTrayInfo trayInfo = 21;
+ * AssetEffectMixInfo assetEffectMixInfo = 22;
+ *
+ *
+ * bool display_for_self = 25;
+ * @return The displayForSelf.
+ */
+ @java.lang.Override
+ public boolean getDisplayForSelf() {
+ return displayForSelf_;
+ }
+
+ public static final int INTERACT_GIFT_INFO_FIELD_NUMBER = 26;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object interactGiftInfo_ = "";
+ /**
+ * string interact_gift_info = 26;
+ * @return The interactGiftInfo.
+ */
+ @java.lang.Override
+ public java.lang.String getInteractGiftInfo() {
+ java.lang.Object ref = interactGiftInfo_;
+ 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();
+ interactGiftInfo_ = s;
+ return s;
+ }
+ }
+ /**
+ * string interact_gift_info = 26;
+ * @return The bytes for interactGiftInfo.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getInteractGiftInfoBytes() {
+ java.lang.Object ref = interactGiftInfo_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ interactGiftInfo_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DIY_ITEM_INFO_FIELD_NUMBER = 27;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object diyItemInfo_ = "";
+ /**
+ * string diy_item_info = 27;
+ * @return The diyItemInfo.
+ */
+ @java.lang.Override
+ public java.lang.String getDiyItemInfo() {
+ java.lang.Object ref = diyItemInfo_;
+ 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();
+ diyItemInfo_ = s;
+ return s;
+ }
+ }
+ /**
+ * string diy_item_info = 27;
+ * @return The bytes for diyItemInfo.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDiyItemInfoBytes() {
+ java.lang.Object ref = diyItemInfo_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ diyItemInfo_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MIN_ASSET_SET_LIST_FIELD_NUMBER = 28;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.LongList minAssetSetList_ =
+ emptyLongList();
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return A list containing the minAssetSetList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getMinAssetSetListList() {
+ return minAssetSetList_;
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return The count of minAssetSetList.
+ */
+ public int getMinAssetSetListCount() {
+ return minAssetSetList_.size();
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @param index The index of the element to return.
+ * @return The minAssetSetList at the given index.
+ */
+ public long getMinAssetSetList(int index) {
+ return minAssetSetList_.getLong(index);
+ }
+ private int minAssetSetListMemoizedSerializedSize = -1;
+
+ public static final int TOTAL_COUNT_FIELD_NUMBER = 29;
+ private long totalCount_ = 0L;
+ /**
+ * uint64 total_count = 29;
+ * @return The totalCount.
+ */
+ @java.lang.Override
+ public long getTotalCount() {
+ return totalCount_;
+ }
+
+ public static final int CLIENT_GIFT_SOURCE_FIELD_NUMBER = 30;
+ private int clientGiftSource_ = 0;
+ /**
+ * uint32 client_gift_source = 30;
+ * @return The clientGiftSource.
+ */
+ @java.lang.Override
+ public int getClientGiftSource() {
+ return clientGiftSource_;
+ }
+
+ public static final int TO_USER_IDS_LIST_FIELD_NUMBER = 32;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.LongList toUserIdsList_ =
+ emptyLongList();
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return A list containing the toUserIdsList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getToUserIdsListList() {
+ return toUserIdsList_;
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return The count of toUserIdsList.
+ */
+ public int getToUserIdsListCount() {
+ return toUserIdsList_.size();
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @param index The index of the element to return.
+ * @return The toUserIdsList at the given index.
+ */
+ public long getToUserIdsList(int index) {
+ return toUserIdsList_.getLong(index);
+ }
+ private int toUserIdsListMemoizedSerializedSize = -1;
+
+ public static final int SEND_TIMET_FIELD_NUMBER = 33;
+ private long sendTimet_ = 0L;
+ /**
+ * uint64 send_timet = 33;
+ * @return The sendTimet.
+ */
+ @java.lang.Override
+ public long getSendTimet() {
+ return sendTimet_;
+ }
+
+ public static final int FORCE_DISPLAY_EFFECTST_FIELD_NUMBER = 34;
+ private long forceDisplayEffectst_ = 0L;
+ /**
+ * uint64 force_display_effectst = 34;
+ * @return The forceDisplayEffectst.
+ */
+ @java.lang.Override
+ public long getForceDisplayEffectst() {
+ return forceDisplayEffectst_;
+ }
+
+ public static final int TRACE_ID_FIELD_NUMBER = 35;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object traceId_ = "";
+ /**
+ * string trace_id = 35;
+ * @return The traceId.
+ */
+ @java.lang.Override
+ public java.lang.String getTraceId() {
+ java.lang.Object ref = traceId_;
+ 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();
+ traceId_ = s;
+ return s;
+ }
+ }
+ /**
+ * string trace_id = 35;
+ * @return The bytes for traceId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getTraceIdBytes() {
+ java.lang.Object ref = traceId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ traceId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int EFFECT_DISPLAY_TS_FIELD_NUMBER = 36;
+ private long effectDisplayTs_ = 0L;
+ /**
+ * uint64 effect_display_ts = 36;
+ * @return The effectDisplayTs.
+ */
+ @java.lang.Override
+ public long getEffectDisplayTs() {
+ return effectDisplayTs_;
+ }
+
+ 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 {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getCommon());
+ }
+ if (longGiftId_ != 0L) {
+ output.writeUInt64(2, longGiftId_);
+ }
+ if (fanTicketCount_ != 0L) {
+ output.writeUInt64(3, fanTicketCount_);
+ }
+ if (groupCount_ != 0L) {
+ output.writeUInt64(4, groupCount_);
+ }
+ if (repeatCount_ != 0L) {
+ output.writeUInt64(5, repeatCount_);
+ }
+ if (comboCount_ != 0L) {
+ output.writeUInt64(6, comboCount_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(7, getUser());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(8, getToUser());
+ }
+ if (repeatEnd_ != 0) {
+ output.writeUInt32(9, repeatEnd_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ output.writeMessage(10, getTextEffect());
+ }
+ if (groupId_ != 0L) {
+ output.writeUInt64(11, groupId_);
+ }
+ if (incomeTaskgifts_ != 0L) {
+ output.writeUInt64(12, incomeTaskgifts_);
+ }
+ if (roomFanTicketCount_ != 0L) {
+ output.writeUInt64(13, roomFanTicketCount_);
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ output.writeMessage(14, getPriority());
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ output.writeMessage(15, getGift());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 16, logId_);
+ }
+ if (sendType_ != 0L) {
+ output.writeUInt64(17, sendType_);
+ }
+ if (((bitField0_ & 0x00000040) != 0)) {
+ output.writeMessage(18, getPublicAreaCommon());
+ }
+ if (((bitField0_ & 0x00000080) != 0)) {
+ output.writeMessage(19, getTrayDisplayText());
+ }
+ if (bannedDisplayEffects_ != 0L) {
+ output.writeUInt64(20, bannedDisplayEffects_);
+ }
+ if (displayForSelf_ != false) {
+ output.writeBool(25, displayForSelf_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interactGiftInfo_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 26, interactGiftInfo_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diyItemInfo_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 27, diyItemInfo_);
+ }
+ if (getMinAssetSetListList().size() > 0) {
+ output.writeUInt32NoTag(226);
+ output.writeUInt32NoTag(minAssetSetListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < minAssetSetList_.size(); i++) {
+ output.writeUInt64NoTag(minAssetSetList_.getLong(i));
+ }
+ if (totalCount_ != 0L) {
+ output.writeUInt64(29, totalCount_);
+ }
+ if (clientGiftSource_ != 0) {
+ output.writeUInt32(30, clientGiftSource_);
+ }
+ if (getToUserIdsListList().size() > 0) {
+ output.writeUInt32NoTag(258);
+ output.writeUInt32NoTag(toUserIdsListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < toUserIdsList_.size(); i++) {
+ output.writeUInt64NoTag(toUserIdsList_.getLong(i));
+ }
+ if (sendTimet_ != 0L) {
+ output.writeUInt64(33, sendTimet_);
+ }
+ if (forceDisplayEffectst_ != 0L) {
+ output.writeUInt64(34, forceDisplayEffectst_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 35, traceId_);
+ }
+ if (effectDisplayTs_ != 0L) {
+ output.writeUInt64(36, effectDisplayTs_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCommon());
+ }
+ if (longGiftId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, longGiftId_);
+ }
+ if (fanTicketCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, fanTicketCount_);
+ }
+ if (groupCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, groupCount_);
+ }
+ if (repeatCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(5, repeatCount_);
+ }
+ if (comboCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(6, comboCount_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, getUser());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, getToUser());
+ }
+ if (repeatEnd_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(9, repeatEnd_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(10, getTextEffect());
+ }
+ if (groupId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(11, groupId_);
+ }
+ if (incomeTaskgifts_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(12, incomeTaskgifts_);
+ }
+ if (roomFanTicketCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(13, roomFanTicketCount_);
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(14, getPriority());
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(15, getGift());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, logId_);
+ }
+ if (sendType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(17, sendType_);
+ }
+ if (((bitField0_ & 0x00000040) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(18, getPublicAreaCommon());
+ }
+ if (((bitField0_ & 0x00000080) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(19, getTrayDisplayText());
+ }
+ if (bannedDisplayEffects_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(20, bannedDisplayEffects_);
+ }
+ if (displayForSelf_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(25, displayForSelf_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interactGiftInfo_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, interactGiftInfo_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diyItemInfo_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, diyItemInfo_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < minAssetSetList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt64SizeNoTag(minAssetSetList_.getLong(i));
+ }
+ size += dataSize;
+ if (!getMinAssetSetListList().isEmpty()) {
+ size += 2;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ minAssetSetListMemoizedSerializedSize = dataSize;
+ }
+ if (totalCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(29, totalCount_);
+ }
+ if (clientGiftSource_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(30, clientGiftSource_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < toUserIdsList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt64SizeNoTag(toUserIdsList_.getLong(i));
+ }
+ size += dataSize;
+ if (!getToUserIdsListList().isEmpty()) {
+ size += 2;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ toUserIdsListMemoizedSerializedSize = dataSize;
+ }
+ if (sendTimet_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(33, sendTimet_);
+ }
+ if (forceDisplayEffectst_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(34, forceDisplayEffectst_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, traceId_);
+ }
+ if (effectDisplayTs_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(36, effectDisplayTs_);
+ }
+ 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg) obj;
+
+ if (hasCommon() != other.hasCommon()) return false;
+ if (hasCommon()) {
+ if (!getCommon()
+ .equals(other.getCommon())) return false;
+ }
+ if (getLongGiftId()
+ != other.getLongGiftId()) return false;
+ if (getFanTicketCount()
+ != other.getFanTicketCount()) return false;
+ if (getGroupCount()
+ != other.getGroupCount()) return false;
+ if (getRepeatCount()
+ != other.getRepeatCount()) return false;
+ if (getComboCount()
+ != other.getComboCount()) return false;
+ if (hasUser() != other.hasUser()) return false;
+ if (hasUser()) {
+ if (!getUser()
+ .equals(other.getUser())) return false;
+ }
+ if (hasToUser() != other.hasToUser()) return false;
+ if (hasToUser()) {
+ if (!getToUser()
+ .equals(other.getToUser())) return false;
+ }
+ if (getRepeatEnd()
+ != other.getRepeatEnd()) return false;
+ if (hasTextEffect() != other.hasTextEffect()) return false;
+ if (hasTextEffect()) {
+ if (!getTextEffect()
+ .equals(other.getTextEffect())) return false;
+ }
+ if (getGroupId()
+ != other.getGroupId()) return false;
+ if (getIncomeTaskgifts()
+ != other.getIncomeTaskgifts()) return false;
+ if (getRoomFanTicketCount()
+ != other.getRoomFanTicketCount()) return false;
+ if (hasPriority() != other.hasPriority()) return false;
+ if (hasPriority()) {
+ if (!getPriority()
+ .equals(other.getPriority())) return false;
+ }
+ if (hasGift() != other.hasGift()) return false;
+ if (hasGift()) {
+ if (!getGift()
+ .equals(other.getGift())) return false;
+ }
+ if (!getLogId()
+ .equals(other.getLogId())) return false;
+ if (getSendType()
+ != other.getSendType()) return false;
+ if (hasPublicAreaCommon() != other.hasPublicAreaCommon()) return false;
+ if (hasPublicAreaCommon()) {
+ if (!getPublicAreaCommon()
+ .equals(other.getPublicAreaCommon())) return false;
+ }
+ if (hasTrayDisplayText() != other.hasTrayDisplayText()) return false;
+ if (hasTrayDisplayText()) {
+ if (!getTrayDisplayText()
+ .equals(other.getTrayDisplayText())) return false;
+ }
+ if (getBannedDisplayEffects()
+ != other.getBannedDisplayEffects()) return false;
+ if (getDisplayForSelf()
+ != other.getDisplayForSelf()) return false;
+ if (!getInteractGiftInfo()
+ .equals(other.getInteractGiftInfo())) return false;
+ if (!getDiyItemInfo()
+ .equals(other.getDiyItemInfo())) return false;
+ if (!getMinAssetSetListList()
+ .equals(other.getMinAssetSetListList())) return false;
+ if (getTotalCount()
+ != other.getTotalCount()) return false;
+ if (getClientGiftSource()
+ != other.getClientGiftSource()) return false;
+ if (!getToUserIdsListList()
+ .equals(other.getToUserIdsListList())) return false;
+ if (getSendTimet()
+ != other.getSendTimet()) return false;
+ if (getForceDisplayEffectst()
+ != other.getForceDisplayEffectst()) return false;
+ if (!getTraceId()
+ .equals(other.getTraceId())) return false;
+ if (getEffectDisplayTs()
+ != other.getEffectDisplayTs()) 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) + LONG_GIFT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getLongGiftId());
+ hash = (37 * hash) + FAN_TICKET_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getFanTicketCount());
+ hash = (37 * hash) + GROUP_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getGroupCount());
+ hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getRepeatCount());
+ hash = (37 * hash) + COMBO_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getComboCount());
+ if (hasUser()) {
+ hash = (37 * hash) + USER_FIELD_NUMBER;
+ hash = (53 * hash) + getUser().hashCode();
+ }
+ if (hasToUser()) {
+ hash = (37 * hash) + TO_USER_FIELD_NUMBER;
+ hash = (53 * hash) + getToUser().hashCode();
+ }
+ hash = (37 * hash) + REPEAT_END_FIELD_NUMBER;
+ hash = (53 * hash) + getRepeatEnd();
+ if (hasTextEffect()) {
+ hash = (37 * hash) + TEXT_EFFECT_FIELD_NUMBER;
+ hash = (53 * hash) + getTextEffect().hashCode();
+ }
+ hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getGroupId());
+ hash = (37 * hash) + INCOME_TASKGIFTS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getIncomeTaskgifts());
+ hash = (37 * hash) + ROOM_FAN_TICKET_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getRoomFanTicketCount());
+ if (hasPriority()) {
+ hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
+ hash = (53 * hash) + getPriority().hashCode();
+ }
+ if (hasGift()) {
+ hash = (37 * hash) + GIFT_FIELD_NUMBER;
+ hash = (53 * hash) + getGift().hashCode();
+ }
+ hash = (37 * hash) + LOG_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getLogId().hashCode();
+ hash = (37 * hash) + SEND_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSendType());
+ if (hasPublicAreaCommon()) {
+ hash = (37 * hash) + PUBLIC_AREA_COMMON_FIELD_NUMBER;
+ hash = (53 * hash) + getPublicAreaCommon().hashCode();
+ }
+ if (hasTrayDisplayText()) {
+ hash = (37 * hash) + TRAY_DISPLAY_TEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getTrayDisplayText().hashCode();
+ }
+ hash = (37 * hash) + BANNED_DISPLAY_EFFECTS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getBannedDisplayEffects());
+ hash = (37 * hash) + DISPLAY_FOR_SELF_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getDisplayForSelf());
+ hash = (37 * hash) + INTERACT_GIFT_INFO_FIELD_NUMBER;
+ hash = (53 * hash) + getInteractGiftInfo().hashCode();
+ hash = (37 * hash) + DIY_ITEM_INFO_FIELD_NUMBER;
+ hash = (53 * hash) + getDiyItemInfo().hashCode();
+ if (getMinAssetSetListCount() > 0) {
+ hash = (37 * hash) + MIN_ASSET_SET_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getMinAssetSetListList().hashCode();
+ }
+ hash = (37 * hash) + TOTAL_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTotalCount());
+ hash = (37 * hash) + CLIENT_GIFT_SOURCE_FIELD_NUMBER;
+ hash = (53 * hash) + getClientGiftSource();
+ if (getToUserIdsListCount() > 0) {
+ hash = (37 * hash) + TO_USER_IDS_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getToUserIdsListList().hashCode();
+ }
+ hash = (37 * hash) + SEND_TIMET_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSendTimet());
+ hash = (37 * hash) + FORCE_DISPLAY_EFFECTST_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getForceDisplayEffectst());
+ hash = (37 * hash) + TRACE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTraceId().hashCode();
+ hash = (37 * hash) + EFFECT_DISPLAY_TS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEffectDisplayTs());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg 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.DouyinWebcastGiftMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastGiftMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ getUserFieldBuilder();
+ getToUserFieldBuilder();
+ getTextEffectFieldBuilder();
+ getPriorityFieldBuilder();
+ getGiftFieldBuilder();
+ getPublicAreaCommonFieldBuilder();
+ getTrayDisplayTextFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ longGiftId_ = 0L;
+ fanTicketCount_ = 0L;
+ groupCount_ = 0L;
+ repeatCount_ = 0L;
+ comboCount_ = 0L;
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ toUser_ = null;
+ if (toUserBuilder_ != null) {
+ toUserBuilder_.dispose();
+ toUserBuilder_ = null;
+ }
+ repeatEnd_ = 0;
+ textEffect_ = null;
+ if (textEffectBuilder_ != null) {
+ textEffectBuilder_.dispose();
+ textEffectBuilder_ = null;
+ }
+ groupId_ = 0L;
+ incomeTaskgifts_ = 0L;
+ roomFanTicketCount_ = 0L;
+ priority_ = null;
+ if (priorityBuilder_ != null) {
+ priorityBuilder_.dispose();
+ priorityBuilder_ = null;
+ }
+ gift_ = null;
+ if (giftBuilder_ != null) {
+ giftBuilder_.dispose();
+ giftBuilder_ = null;
+ }
+ logId_ = "";
+ sendType_ = 0L;
+ publicAreaCommon_ = null;
+ if (publicAreaCommonBuilder_ != null) {
+ publicAreaCommonBuilder_.dispose();
+ publicAreaCommonBuilder_ = null;
+ }
+ trayDisplayText_ = null;
+ if (trayDisplayTextBuilder_ != null) {
+ trayDisplayTextBuilder_.dispose();
+ trayDisplayTextBuilder_ = null;
+ }
+ bannedDisplayEffects_ = 0L;
+ displayForSelf_ = false;
+ interactGiftInfo_ = "";
+ diyItemInfo_ = "";
+ minAssetSetList_ = emptyLongList();
+ totalCount_ = 0L;
+ clientGiftSource_ = 0;
+ toUserIdsList_ = emptyLongList();
+ sendTimet_ = 0L;
+ forceDisplayEffectst_ = 0L;
+ traceId_ = "";
+ effectDisplayTs_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.longGiftId_ = longGiftId_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.fanTicketCount_ = fanTicketCount_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.groupCount_ = groupCount_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.repeatCount_ = repeatCount_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.comboCount_ = comboCount_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.user_ = userBuilder_ == null
+ ? user_
+ : userBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.toUser_ = toUserBuilder_ == null
+ ? toUser_
+ : toUserBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.repeatEnd_ = repeatEnd_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.textEffect_ = textEffectBuilder_ == null
+ ? textEffect_
+ : textEffectBuilder_.build();
+ to_bitField0_ |= 0x00000008;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.groupId_ = groupId_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.incomeTaskgifts_ = incomeTaskgifts_;
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.roomFanTicketCount_ = roomFanTicketCount_;
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.priority_ = priorityBuilder_ == null
+ ? priority_
+ : priorityBuilder_.build();
+ to_bitField0_ |= 0x00000010;
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.gift_ = giftBuilder_ == null
+ ? gift_
+ : giftBuilder_.build();
+ to_bitField0_ |= 0x00000020;
+ }
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.logId_ = logId_;
+ }
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.sendType_ = sendType_;
+ }
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.publicAreaCommon_ = publicAreaCommonBuilder_ == null
+ ? publicAreaCommon_
+ : publicAreaCommonBuilder_.build();
+ to_bitField0_ |= 0x00000040;
+ }
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.trayDisplayText_ = trayDisplayTextBuilder_ == null
+ ? trayDisplayText_
+ : trayDisplayTextBuilder_.build();
+ to_bitField0_ |= 0x00000080;
+ }
+ if (((from_bitField0_ & 0x00080000) != 0)) {
+ result.bannedDisplayEffects_ = bannedDisplayEffects_;
+ }
+ if (((from_bitField0_ & 0x00100000) != 0)) {
+ result.displayForSelf_ = displayForSelf_;
+ }
+ if (((from_bitField0_ & 0x00200000) != 0)) {
+ result.interactGiftInfo_ = interactGiftInfo_;
+ }
+ if (((from_bitField0_ & 0x00400000) != 0)) {
+ result.diyItemInfo_ = diyItemInfo_;
+ }
+ if (((from_bitField0_ & 0x00800000) != 0)) {
+ minAssetSetList_.makeImmutable();
+ result.minAssetSetList_ = minAssetSetList_;
+ }
+ if (((from_bitField0_ & 0x01000000) != 0)) {
+ result.totalCount_ = totalCount_;
+ }
+ if (((from_bitField0_ & 0x02000000) != 0)) {
+ result.clientGiftSource_ = clientGiftSource_;
+ }
+ if (((from_bitField0_ & 0x04000000) != 0)) {
+ toUserIdsList_.makeImmutable();
+ result.toUserIdsList_ = toUserIdsList_;
+ }
+ if (((from_bitField0_ & 0x08000000) != 0)) {
+ result.sendTimet_ = sendTimet_;
+ }
+ if (((from_bitField0_ & 0x10000000) != 0)) {
+ result.forceDisplayEffectst_ = forceDisplayEffectst_;
+ }
+ if (((from_bitField0_ & 0x20000000) != 0)) {
+ result.traceId_ = traceId_;
+ }
+ if (((from_bitField0_ & 0x40000000) != 0)) {
+ result.effectDisplayTs_ = effectDisplayTs_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (other.getLongGiftId() != 0L) {
+ setLongGiftId(other.getLongGiftId());
+ }
+ if (other.getFanTicketCount() != 0L) {
+ setFanTicketCount(other.getFanTicketCount());
+ }
+ if (other.getGroupCount() != 0L) {
+ setGroupCount(other.getGroupCount());
+ }
+ if (other.getRepeatCount() != 0L) {
+ setRepeatCount(other.getRepeatCount());
+ }
+ if (other.getComboCount() != 0L) {
+ setComboCount(other.getComboCount());
+ }
+ if (other.hasUser()) {
+ mergeUser(other.getUser());
+ }
+ if (other.hasToUser()) {
+ mergeToUser(other.getToUser());
+ }
+ if (other.getRepeatEnd() != 0) {
+ setRepeatEnd(other.getRepeatEnd());
+ }
+ if (other.hasTextEffect()) {
+ mergeTextEffect(other.getTextEffect());
+ }
+ if (other.getGroupId() != 0L) {
+ setGroupId(other.getGroupId());
+ }
+ if (other.getIncomeTaskgifts() != 0L) {
+ setIncomeTaskgifts(other.getIncomeTaskgifts());
+ }
+ if (other.getRoomFanTicketCount() != 0L) {
+ setRoomFanTicketCount(other.getRoomFanTicketCount());
+ }
+ if (other.hasPriority()) {
+ mergePriority(other.getPriority());
+ }
+ if (other.hasGift()) {
+ mergeGift(other.getGift());
+ }
+ if (!other.getLogId().isEmpty()) {
+ logId_ = other.logId_;
+ bitField0_ |= 0x00008000;
+ onChanged();
+ }
+ if (other.getSendType() != 0L) {
+ setSendType(other.getSendType());
+ }
+ if (other.hasPublicAreaCommon()) {
+ mergePublicAreaCommon(other.getPublicAreaCommon());
+ }
+ if (other.hasTrayDisplayText()) {
+ mergeTrayDisplayText(other.getTrayDisplayText());
+ }
+ if (other.getBannedDisplayEffects() != 0L) {
+ setBannedDisplayEffects(other.getBannedDisplayEffects());
+ }
+ if (other.getDisplayForSelf() != false) {
+ setDisplayForSelf(other.getDisplayForSelf());
+ }
+ if (!other.getInteractGiftInfo().isEmpty()) {
+ interactGiftInfo_ = other.interactGiftInfo_;
+ bitField0_ |= 0x00200000;
+ onChanged();
+ }
+ if (!other.getDiyItemInfo().isEmpty()) {
+ diyItemInfo_ = other.diyItemInfo_;
+ bitField0_ |= 0x00400000;
+ onChanged();
+ }
+ if (!other.minAssetSetList_.isEmpty()) {
+ if (minAssetSetList_.isEmpty()) {
+ minAssetSetList_ = other.minAssetSetList_;
+ minAssetSetList_.makeImmutable();
+ bitField0_ |= 0x00800000;
+ } else {
+ ensureMinAssetSetListIsMutable();
+ minAssetSetList_.addAll(other.minAssetSetList_);
+ }
+ onChanged();
+ }
+ if (other.getTotalCount() != 0L) {
+ setTotalCount(other.getTotalCount());
+ }
+ if (other.getClientGiftSource() != 0) {
+ setClientGiftSource(other.getClientGiftSource());
+ }
+ if (!other.toUserIdsList_.isEmpty()) {
+ if (toUserIdsList_.isEmpty()) {
+ toUserIdsList_ = other.toUserIdsList_;
+ toUserIdsList_.makeImmutable();
+ bitField0_ |= 0x04000000;
+ } else {
+ ensureToUserIdsListIsMutable();
+ toUserIdsList_.addAll(other.toUserIdsList_);
+ }
+ onChanged();
+ }
+ if (other.getSendTimet() != 0L) {
+ setSendTimet(other.getSendTimet());
+ }
+ if (other.getForceDisplayEffectst() != 0L) {
+ setForceDisplayEffectst(other.getForceDisplayEffectst());
+ }
+ if (!other.getTraceId().isEmpty()) {
+ traceId_ = other.traceId_;
+ bitField0_ |= 0x20000000;
+ onChanged();
+ }
+ if (other.getEffectDisplayTs() != 0L) {
+ setEffectDisplayTs(other.getEffectDisplayTs());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16: {
+ longGiftId_ = input.readUInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ fanTicketCount_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ groupCount_ = input.readUInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 40: {
+ repeatCount_ = input.readUInt64();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 48: {
+ comboCount_ = input.readUInt64();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 58: {
+ input.readMessage(
+ getUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ case 66: {
+ input.readMessage(
+ getToUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 66
+ case 72: {
+ repeatEnd_ = input.readUInt32();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 72
+ case 82: {
+ input.readMessage(
+ getTextEffectFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 82
+ case 88: {
+ groupId_ = input.readUInt64();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 88
+ case 96: {
+ incomeTaskgifts_ = input.readUInt64();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 96
+ case 104: {
+ roomFanTicketCount_ = input.readUInt64();
+ bitField0_ |= 0x00001000;
+ break;
+ } // case 104
+ case 114: {
+ input.readMessage(
+ getPriorityFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00002000;
+ break;
+ } // case 114
+ case 122: {
+ input.readMessage(
+ getGiftFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 122
+ case 130: {
+ logId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 130
+ case 136: {
+ sendType_ = input.readUInt64();
+ bitField0_ |= 0x00010000;
+ break;
+ } // case 136
+ case 146: {
+ input.readMessage(
+ getPublicAreaCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00020000;
+ break;
+ } // case 146
+ case 154: {
+ input.readMessage(
+ getTrayDisplayTextFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00040000;
+ break;
+ } // case 154
+ case 160: {
+ bannedDisplayEffects_ = input.readUInt64();
+ bitField0_ |= 0x00080000;
+ break;
+ } // case 160
+ case 200: {
+ displayForSelf_ = input.readBool();
+ bitField0_ |= 0x00100000;
+ break;
+ } // case 200
+ case 210: {
+ interactGiftInfo_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00200000;
+ break;
+ } // case 210
+ case 218: {
+ diyItemInfo_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00400000;
+ break;
+ } // case 218
+ case 224: {
+ long v = input.readUInt64();
+ ensureMinAssetSetListIsMutable();
+ minAssetSetList_.addLong(v);
+ break;
+ } // case 224
+ case 226: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureMinAssetSetListIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ minAssetSetList_.addLong(input.readUInt64());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 226
+ case 232: {
+ totalCount_ = input.readUInt64();
+ bitField0_ |= 0x01000000;
+ break;
+ } // case 232
+ case 240: {
+ clientGiftSource_ = input.readUInt32();
+ bitField0_ |= 0x02000000;
+ break;
+ } // case 240
+ case 256: {
+ long v = input.readUInt64();
+ ensureToUserIdsListIsMutable();
+ toUserIdsList_.addLong(v);
+ break;
+ } // case 256
+ case 258: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureToUserIdsListIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ toUserIdsList_.addLong(input.readUInt64());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 258
+ case 264: {
+ sendTimet_ = input.readUInt64();
+ bitField0_ |= 0x08000000;
+ break;
+ } // case 264
+ case 272: {
+ forceDisplayEffectst_ = input.readUInt64();
+ bitField0_ |= 0x10000000;
+ break;
+ } // case 272
+ case 282: {
+ traceId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x20000000;
+ break;
+ } // case 282
+ case 288: {
+ effectDisplayTs_ = input.readUInt64();
+ bitField0_ |= 0x40000000;
+ break;
+ } // case 288
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
+ getCommon(),
+ getParentForChildren(),
+ isClean());
+ common_ = null;
+ }
+ return commonBuilder_;
+ }
+
+ private long longGiftId_ ;
+ /**
+ * uint64 long_gift_id = 2;
+ * @return The longGiftId.
+ */
+ @java.lang.Override
+ public long getLongGiftId() {
+ return longGiftId_;
+ }
+ /**
+ * uint64 long_gift_id = 2;
+ * @param value The longGiftId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLongGiftId(long value) {
+
+ longGiftId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 long_gift_id = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearLongGiftId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ longGiftId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long fanTicketCount_ ;
+ /**
+ * uint64 fan_ticket_count = 3;
+ * @return The fanTicketCount.
+ */
+ @java.lang.Override
+ public long getFanTicketCount() {
+ return fanTicketCount_;
+ }
+ /**
+ * uint64 fan_ticket_count = 3;
+ * @param value The fanTicketCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFanTicketCount(long value) {
+
+ fanTicketCount_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 fan_ticket_count = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearFanTicketCount() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ fanTicketCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long groupCount_ ;
+ /**
+ * uint64 group_count = 4;
+ * @return The groupCount.
+ */
+ @java.lang.Override
+ public long getGroupCount() {
+ return groupCount_;
+ }
+ /**
+ * uint64 group_count = 4;
+ * @param value The groupCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroupCount(long value) {
+
+ groupCount_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 group_count = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearGroupCount() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ groupCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long repeatCount_ ;
+ /**
+ * uint64 repeat_count = 5;
+ * @return The repeatCount.
+ */
+ @java.lang.Override
+ public long getRepeatCount() {
+ return repeatCount_;
+ }
+ /**
+ * uint64 repeat_count = 5;
+ * @param value The repeatCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRepeatCount(long value) {
+
+ repeatCount_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 repeat_count = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearRepeatCount() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ repeatCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long comboCount_ ;
+ /**
+ * uint64 combo_count = 6;
+ * @return The comboCount.
+ */
+ @java.lang.Override
+ public long getComboCount() {
+ return comboCount_;
+ }
+ /**
+ * uint64 combo_count = 6;
+ * @param value The comboCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setComboCount(long value) {
+
+ comboCount_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 combo_count = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearComboCount() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ comboCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
+ /**
+ * .User user = 7;
+ * @return Whether the user field is set.
+ */
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+ /**
+ * .User user = 7;
+ * @return The user.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ if (userBuilder_ == null) {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ } else {
+ return userBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User user = 7;
+ */
+ public Builder setUser(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ user_ = value;
+ } else {
+ userBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User user = 7;
+ */
+ public Builder setUser(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
+ if (userBuilder_ == null) {
+ user_ = builderForValue.build();
+ } else {
+ userBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User user = 7;
+ */
+ public Builder mergeUser(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0) &&
+ user_ != null &&
+ user_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getUserBuilder().mergeFrom(value);
+ } else {
+ user_ = value;
+ }
+ } else {
+ userBuilder_.mergeFrom(value);
+ }
+ if (user_ != null) {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .User user = 7;
+ */
+ public Builder clearUser() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .User user = 7;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return getUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User user = 7;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ if (userBuilder_ != null) {
+ return userBuilder_.getMessageOrBuilder();
+ } else {
+ return user_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ }
+ /**
+ * .User user = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getUserFieldBuilder() {
+ if (userBuilder_ == null) {
+ userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
+ getUser(),
+ getParentForChildren(),
+ isClean());
+ user_ = null;
+ }
+ return userBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User toUser_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> toUserBuilder_;
+ /**
+ * .User to_user = 8;
+ * @return Whether the toUser field is set.
+ */
+ public boolean hasToUser() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+ /**
+ * .User to_user = 8;
+ * @return The toUser.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getToUser() {
+ if (toUserBuilder_ == null) {
+ return toUser_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
+ } else {
+ return toUserBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User to_user = 8;
+ */
+ public Builder setToUser(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (toUserBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ toUser_ = value;
+ } else {
+ toUserBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User to_user = 8;
+ */
+ public Builder setToUser(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
+ if (toUserBuilder_ == null) {
+ toUser_ = builderForValue.build();
+ } else {
+ toUserBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User to_user = 8;
+ */
+ public Builder mergeToUser(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (toUserBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) != 0) &&
+ toUser_ != null &&
+ toUser_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getToUserBuilder().mergeFrom(value);
+ } else {
+ toUser_ = value;
+ }
+ } else {
+ toUserBuilder_.mergeFrom(value);
+ }
+ if (toUser_ != null) {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .User to_user = 8;
+ */
+ public Builder clearToUser() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ toUser_ = null;
+ if (toUserBuilder_ != null) {
+ toUserBuilder_.dispose();
+ toUserBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .User to_user = 8;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getToUserBuilder() {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return getToUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User to_user = 8;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getToUserOrBuilder() {
+ if (toUserBuilder_ != null) {
+ return toUserBuilder_.getMessageOrBuilder();
+ } else {
+ return toUser_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
+ }
+ }
+ /**
+ * .User to_user = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getToUserFieldBuilder() {
+ if (toUserBuilder_ == null) {
+ toUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
+ getToUser(),
+ getParentForChildren(),
+ isClean());
+ toUser_ = null;
+ }
+ return toUserBuilder_;
+ }
+
+ private int repeatEnd_ ;
+ /**
+ * uint32 repeat_end = 9;
+ * @return The repeatEnd.
+ */
+ @java.lang.Override
+ public int getRepeatEnd() {
+ return repeatEnd_;
+ }
+ /**
+ * uint32 repeat_end = 9;
+ * @param value The repeatEnd to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRepeatEnd(int value) {
+
+ repeatEnd_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 repeat_end = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearRepeatEnd() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ repeatEnd_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect textEffect_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder> textEffectBuilder_;
+ /**
+ * .TextEffect text_effect = 10;
+ * @return Whether the textEffect field is set.
+ */
+ public boolean hasTextEffect() {
+ return ((bitField0_ & 0x00000200) != 0);
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ * @return The textEffect.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect getTextEffect() {
+ if (textEffectBuilder_ == null) {
+ return textEffect_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
+ } else {
+ return textEffectBuilder_.getMessage();
+ }
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ public Builder setTextEffect(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect value) {
+ if (textEffectBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ textEffect_ = value;
+ } else {
+ textEffectBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ public Builder setTextEffect(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder builderForValue) {
+ if (textEffectBuilder_ == null) {
+ textEffect_ = builderForValue.build();
+ } else {
+ textEffectBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ public Builder mergeTextEffect(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect value) {
+ if (textEffectBuilder_ == null) {
+ if (((bitField0_ & 0x00000200) != 0) &&
+ textEffect_ != null &&
+ textEffect_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance()) {
+ getTextEffectBuilder().mergeFrom(value);
+ } else {
+ textEffect_ = value;
+ }
+ } else {
+ textEffectBuilder_.mergeFrom(value);
+ }
+ if (textEffect_ != null) {
+ bitField0_ |= 0x00000200;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ public Builder clearTextEffect() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ textEffect_ = null;
+ if (textEffectBuilder_ != null) {
+ textEffectBuilder_.dispose();
+ textEffectBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder getTextEffectBuilder() {
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return getTextEffectFieldBuilder().getBuilder();
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder getTextEffectOrBuilder() {
+ if (textEffectBuilder_ != null) {
+ return textEffectBuilder_.getMessageOrBuilder();
+ } else {
+ return textEffect_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
+ }
+ }
+ /**
+ * .TextEffect text_effect = 10;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder>
+ getTextEffectFieldBuilder() {
+ if (textEffectBuilder_ == null) {
+ textEffectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder>(
+ getTextEffect(),
+ getParentForChildren(),
+ isClean());
+ textEffect_ = null;
+ }
+ return textEffectBuilder_;
+ }
+
+ private long groupId_ ;
+ /**
+ * uint64 group_id = 11;
+ * @return The groupId.
+ */
+ @java.lang.Override
+ public long getGroupId() {
+ return groupId_;
+ }
+ /**
+ * uint64 group_id = 11;
+ * @param value The groupId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGroupId(long value) {
+
+ groupId_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 group_id = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearGroupId() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ groupId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long incomeTaskgifts_ ;
+ /**
+ * uint64 income_taskgifts = 12;
+ * @return The incomeTaskgifts.
+ */
+ @java.lang.Override
+ public long getIncomeTaskgifts() {
+ return incomeTaskgifts_;
+ }
+ /**
+ * uint64 income_taskgifts = 12;
+ * @param value The incomeTaskgifts to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIncomeTaskgifts(long value) {
+
+ incomeTaskgifts_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 income_taskgifts = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearIncomeTaskgifts() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ incomeTaskgifts_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long roomFanTicketCount_ ;
+ /**
+ * uint64 room_fan_ticket_count = 13;
+ * @return The roomFanTicketCount.
+ */
+ @java.lang.Override
+ public long getRoomFanTicketCount() {
+ return roomFanTicketCount_;
+ }
+ /**
+ * uint64 room_fan_ticket_count = 13;
+ * @param value The roomFanTicketCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRoomFanTicketCount(long value) {
+
+ roomFanTicketCount_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 room_fan_ticket_count = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearRoomFanTicketCount() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ roomFanTicketCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority priority_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder> priorityBuilder_;
+ /**
+ * .GiftIMPriority priority = 14;
+ * @return Whether the priority field is set.
+ */
+ public boolean hasPriority() {
+ return ((bitField0_ & 0x00002000) != 0);
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ * @return The priority.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getPriority() {
+ if (priorityBuilder_ == null) {
+ return priority_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
+ } else {
+ return priorityBuilder_.getMessage();
+ }
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ public Builder setPriority(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority value) {
+ if (priorityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ priority_ = value;
+ } else {
+ priorityBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ public Builder setPriority(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder builderForValue) {
+ if (priorityBuilder_ == null) {
+ priority_ = builderForValue.build();
+ } else {
+ priorityBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ public Builder mergePriority(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority value) {
+ if (priorityBuilder_ == null) {
+ if (((bitField0_ & 0x00002000) != 0) &&
+ priority_ != null &&
+ priority_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance()) {
+ getPriorityBuilder().mergeFrom(value);
+ } else {
+ priority_ = value;
+ }
+ } else {
+ priorityBuilder_.mergeFrom(value);
+ }
+ if (priority_ != null) {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ public Builder clearPriority() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ priority_ = null;
+ if (priorityBuilder_ != null) {
+ priorityBuilder_.dispose();
+ priorityBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder getPriorityBuilder() {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return getPriorityFieldBuilder().getBuilder();
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder getPriorityOrBuilder() {
+ if (priorityBuilder_ != null) {
+ return priorityBuilder_.getMessageOrBuilder();
+ } else {
+ return priority_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
+ }
+ }
+ /**
+ * .GiftIMPriority priority = 14;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder>
+ getPriorityFieldBuilder() {
+ if (priorityBuilder_ == null) {
+ priorityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder>(
+ getPriority(),
+ getParentForChildren(),
+ isClean());
+ priority_ = null;
+ }
+ return priorityBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct gift_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder> giftBuilder_;
+ /**
+ * .GiftStruct gift = 15;
+ * @return Whether the gift field is set.
+ */
+ public boolean hasGift() {
+ return ((bitField0_ & 0x00004000) != 0);
+ }
+ /**
+ * .GiftStruct gift = 15;
+ * @return The gift.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct getGift() {
+ if (giftBuilder_ == null) {
+ return gift_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
+ } else {
+ return giftBuilder_.getMessage();
+ }
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ public Builder setGift(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct value) {
+ if (giftBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ gift_ = value;
+ } else {
+ giftBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ public Builder setGift(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder builderForValue) {
+ if (giftBuilder_ == null) {
+ gift_ = builderForValue.build();
+ } else {
+ giftBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ public Builder mergeGift(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct value) {
+ if (giftBuilder_ == null) {
+ if (((bitField0_ & 0x00004000) != 0) &&
+ gift_ != null &&
+ gift_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance()) {
+ getGiftBuilder().mergeFrom(value);
+ } else {
+ gift_ = value;
+ }
+ } else {
+ giftBuilder_.mergeFrom(value);
+ }
+ if (gift_ != null) {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ public Builder clearGift() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ gift_ = null;
+ if (giftBuilder_ != null) {
+ giftBuilder_.dispose();
+ giftBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder getGiftBuilder() {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return getGiftFieldBuilder().getBuilder();
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder getGiftOrBuilder() {
+ if (giftBuilder_ != null) {
+ return giftBuilder_.getMessageOrBuilder();
+ } else {
+ return gift_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
+ }
+ }
+ /**
+ * .GiftStruct gift = 15;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder>
+ getGiftFieldBuilder() {
+ if (giftBuilder_ == null) {
+ giftBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder>(
+ getGift(),
+ getParentForChildren(),
+ isClean());
+ gift_ = null;
+ }
+ return giftBuilder_;
+ }
+
+ private java.lang.Object logId_ = "";
+ /**
+ * string log_id = 16;
+ * @return The logId.
+ */
+ public java.lang.String getLogId() {
+ java.lang.Object ref = logId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ logId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string log_id = 16;
+ * @return The bytes for logId.
+ */
+ public com.google.protobuf.ByteString
+ getLogIdBytes() {
+ java.lang.Object ref = logId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ logId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string log_id = 16;
+ * @param value The logId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLogId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ logId_ = value;
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ * string log_id = 16;
+ * @return This builder for chaining.
+ */
+ public Builder clearLogId() {
+ logId_ = getDefaultInstance().getLogId();
+ bitField0_ = (bitField0_ & ~0x00008000);
+ onChanged();
+ return this;
+ }
+ /**
+ * string log_id = 16;
+ * @param value The bytes for logId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLogIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ logId_ = value;
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+
+ private long sendType_ ;
+ /**
+ * uint64 send_type = 17;
+ * @return The sendType.
+ */
+ @java.lang.Override
+ public long getSendType() {
+ return sendType_;
+ }
+ /**
+ * uint64 send_type = 17;
+ * @param value The sendType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSendType(long value) {
+
+ sendType_ = value;
+ bitField0_ |= 0x00010000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 send_type = 17;
+ * @return This builder for chaining.
+ */
+ public Builder clearSendType() {
+ bitField0_ = (bitField0_ & ~0x00010000);
+ sendType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon publicAreaCommon_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder> publicAreaCommonBuilder_;
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ * @return Whether the publicAreaCommon field is set.
+ */
+ public boolean hasPublicAreaCommon() {
+ return ((bitField0_ & 0x00020000) != 0);
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ * @return The publicAreaCommon.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon() {
+ if (publicAreaCommonBuilder_ == null) {
+ return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ } else {
+ return publicAreaCommonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ public Builder setPublicAreaCommon(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon value) {
+ if (publicAreaCommonBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ publicAreaCommon_ = value;
+ } else {
+ publicAreaCommonBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ public Builder setPublicAreaCommon(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder builderForValue) {
+ if (publicAreaCommonBuilder_ == null) {
+ publicAreaCommon_ = builderForValue.build();
+ } else {
+ publicAreaCommonBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ public Builder mergePublicAreaCommon(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon value) {
+ if (publicAreaCommonBuilder_ == null) {
+ if (((bitField0_ & 0x00020000) != 0) &&
+ publicAreaCommon_ != null &&
+ publicAreaCommon_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance()) {
+ getPublicAreaCommonBuilder().mergeFrom(value);
+ } else {
+ publicAreaCommon_ = value;
+ }
+ } else {
+ publicAreaCommonBuilder_.mergeFrom(value);
+ }
+ if (publicAreaCommon_ != null) {
+ bitField0_ |= 0x00020000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ public Builder clearPublicAreaCommon() {
+ bitField0_ = (bitField0_ & ~0x00020000);
+ publicAreaCommon_ = null;
+ if (publicAreaCommonBuilder_ != null) {
+ publicAreaCommonBuilder_.dispose();
+ publicAreaCommonBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder getPublicAreaCommonBuilder() {
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return getPublicAreaCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder() {
+ if (publicAreaCommonBuilder_ != null) {
+ return publicAreaCommonBuilder_.getMessageOrBuilder();
+ } else {
+ return publicAreaCommon_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ }
+ }
+ /**
+ * .PublicAreaCommon public_area_common = 18;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder>
+ getPublicAreaCommonFieldBuilder() {
+ if (publicAreaCommonBuilder_ == null) {
+ publicAreaCommonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder>(
+ getPublicAreaCommon(),
+ getParentForChildren(),
+ isClean());
+ publicAreaCommon_ = null;
+ }
+ return publicAreaCommonBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text trayDisplayText_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder> trayDisplayTextBuilder_;
+ /**
+ * .Text tray_display_text = 19;
+ * @return Whether the trayDisplayText field is set.
+ */
+ public boolean hasTrayDisplayText() {
+ return ((bitField0_ & 0x00040000) != 0);
+ }
+ /**
+ * .Text tray_display_text = 19;
+ * @return The trayDisplayText.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text getTrayDisplayText() {
+ if (trayDisplayTextBuilder_ == null) {
+ return trayDisplayText_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
+ } else {
+ return trayDisplayTextBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ public Builder setTrayDisplayText(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text value) {
+ if (trayDisplayTextBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ trayDisplayText_ = value;
+ } else {
+ trayDisplayTextBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ public Builder setTrayDisplayText(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder builderForValue) {
+ if (trayDisplayTextBuilder_ == null) {
+ trayDisplayText_ = builderForValue.build();
+ } else {
+ trayDisplayTextBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ public Builder mergeTrayDisplayText(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text value) {
+ if (trayDisplayTextBuilder_ == null) {
+ if (((bitField0_ & 0x00040000) != 0) &&
+ trayDisplayText_ != null &&
+ trayDisplayText_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance()) {
+ getTrayDisplayTextBuilder().mergeFrom(value);
+ } else {
+ trayDisplayText_ = value;
+ }
+ } else {
+ trayDisplayTextBuilder_.mergeFrom(value);
+ }
+ if (trayDisplayText_ != null) {
+ bitField0_ |= 0x00040000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ public Builder clearTrayDisplayText() {
+ bitField0_ = (bitField0_ & ~0x00040000);
+ trayDisplayText_ = null;
+ if (trayDisplayTextBuilder_ != null) {
+ trayDisplayTextBuilder_.dispose();
+ trayDisplayTextBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder getTrayDisplayTextBuilder() {
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return getTrayDisplayTextFieldBuilder().getBuilder();
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getTrayDisplayTextOrBuilder() {
+ if (trayDisplayTextBuilder_ != null) {
+ return trayDisplayTextBuilder_.getMessageOrBuilder();
+ } else {
+ return trayDisplayText_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
+ }
+ }
+ /**
+ * .Text tray_display_text = 19;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder>
+ getTrayDisplayTextFieldBuilder() {
+ if (trayDisplayTextBuilder_ == null) {
+ trayDisplayTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder>(
+ getTrayDisplayText(),
+ getParentForChildren(),
+ isClean());
+ trayDisplayText_ = null;
+ }
+ return trayDisplayTextBuilder_;
+ }
+
+ private long bannedDisplayEffects_ ;
+ /**
+ * uint64 banned_display_effects = 20;
+ * @return The bannedDisplayEffects.
+ */
+ @java.lang.Override
+ public long getBannedDisplayEffects() {
+ return bannedDisplayEffects_;
+ }
+ /**
+ * uint64 banned_display_effects = 20;
+ * @param value The bannedDisplayEffects to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBannedDisplayEffects(long value) {
+
+ bannedDisplayEffects_ = value;
+ bitField0_ |= 0x00080000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 banned_display_effects = 20;
+ * @return This builder for chaining.
+ */
+ public Builder clearBannedDisplayEffects() {
+ bitField0_ = (bitField0_ & ~0x00080000);
+ bannedDisplayEffects_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private boolean displayForSelf_ ;
+ /**
+ *
+ * GiftTrayInfo trayInfo = 21;
+ * AssetEffectMixInfo assetEffectMixInfo = 22;
+ *
+ *
+ * bool display_for_self = 25;
+ * @return The displayForSelf.
+ */
+ @java.lang.Override
+ public boolean getDisplayForSelf() {
+ return displayForSelf_;
+ }
+ /**
+ *
+ * GiftTrayInfo trayInfo = 21;
+ * AssetEffectMixInfo assetEffectMixInfo = 22;
+ *
+ *
+ * bool display_for_self = 25;
+ * @param value The displayForSelf to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayForSelf(boolean value) {
+
+ displayForSelf_ = value;
+ bitField0_ |= 0x00100000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * GiftTrayInfo trayInfo = 21;
+ * AssetEffectMixInfo assetEffectMixInfo = 22;
+ *
+ *
+ * bool display_for_self = 25;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayForSelf() {
+ bitField0_ = (bitField0_ & ~0x00100000);
+ displayForSelf_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object interactGiftInfo_ = "";
+ /**
+ * string interact_gift_info = 26;
+ * @return The interactGiftInfo.
+ */
+ public java.lang.String getInteractGiftInfo() {
+ java.lang.Object ref = interactGiftInfo_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ interactGiftInfo_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string interact_gift_info = 26;
+ * @return The bytes for interactGiftInfo.
+ */
+ public com.google.protobuf.ByteString
+ getInteractGiftInfoBytes() {
+ java.lang.Object ref = interactGiftInfo_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ interactGiftInfo_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string interact_gift_info = 26;
+ * @param value The interactGiftInfo to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInteractGiftInfo(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ interactGiftInfo_ = value;
+ bitField0_ |= 0x00200000;
+ onChanged();
+ return this;
+ }
+ /**
+ * string interact_gift_info = 26;
+ * @return This builder for chaining.
+ */
+ public Builder clearInteractGiftInfo() {
+ interactGiftInfo_ = getDefaultInstance().getInteractGiftInfo();
+ bitField0_ = (bitField0_ & ~0x00200000);
+ onChanged();
+ return this;
+ }
+ /**
+ * string interact_gift_info = 26;
+ * @param value The bytes for interactGiftInfo to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInteractGiftInfoBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ interactGiftInfo_ = value;
+ bitField0_ |= 0x00200000;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object diyItemInfo_ = "";
+ /**
+ * string diy_item_info = 27;
+ * @return The diyItemInfo.
+ */
+ public java.lang.String getDiyItemInfo() {
+ java.lang.Object ref = diyItemInfo_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ diyItemInfo_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string diy_item_info = 27;
+ * @return The bytes for diyItemInfo.
+ */
+ public com.google.protobuf.ByteString
+ getDiyItemInfoBytes() {
+ java.lang.Object ref = diyItemInfo_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ diyItemInfo_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string diy_item_info = 27;
+ * @param value The diyItemInfo to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDiyItemInfo(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ diyItemInfo_ = value;
+ bitField0_ |= 0x00400000;
+ onChanged();
+ return this;
+ }
+ /**
+ * string diy_item_info = 27;
+ * @return This builder for chaining.
+ */
+ public Builder clearDiyItemInfo() {
+ diyItemInfo_ = getDefaultInstance().getDiyItemInfo();
+ bitField0_ = (bitField0_ & ~0x00400000);
+ onChanged();
+ return this;
+ }
+ /**
+ * string diy_item_info = 27;
+ * @param value The bytes for diyItemInfo to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDiyItemInfoBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ diyItemInfo_ = value;
+ bitField0_ |= 0x00400000;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.LongList minAssetSetList_ = emptyLongList();
+ private void ensureMinAssetSetListIsMutable() {
+ if (!minAssetSetList_.isModifiable()) {
+ minAssetSetList_ = makeMutableCopy(minAssetSetList_);
+ }
+ bitField0_ |= 0x00800000;
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return A list containing the minAssetSetList.
+ */
+ public java.util.List
+ getMinAssetSetListList() {
+ minAssetSetList_.makeImmutable();
+ return minAssetSetList_;
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return The count of minAssetSetList.
+ */
+ public int getMinAssetSetListCount() {
+ return minAssetSetList_.size();
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @param index The index of the element to return.
+ * @return The minAssetSetList at the given index.
+ */
+ public long getMinAssetSetList(int index) {
+ return minAssetSetList_.getLong(index);
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @param index The index to set the value at.
+ * @param value The minAssetSetList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMinAssetSetList(
+ int index, long value) {
+
+ ensureMinAssetSetListIsMutable();
+ minAssetSetList_.setLong(index, value);
+ bitField0_ |= 0x00800000;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @param value The minAssetSetList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addMinAssetSetList(long value) {
+
+ ensureMinAssetSetListIsMutable();
+ minAssetSetList_.addLong(value);
+ bitField0_ |= 0x00800000;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @param values The minAssetSetList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllMinAssetSetList(
+ java.lang.Iterable extends java.lang.Long> values) {
+ ensureMinAssetSetListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, minAssetSetList_);
+ bitField0_ |= 0x00800000;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 min_asset_set_list = 28;
+ * @return This builder for chaining.
+ */
+ public Builder clearMinAssetSetList() {
+ minAssetSetList_ = emptyLongList();
+ bitField0_ = (bitField0_ & ~0x00800000);
+ onChanged();
+ return this;
+ }
+
+ private long totalCount_ ;
+ /**
+ * uint64 total_count = 29;
+ * @return The totalCount.
+ */
+ @java.lang.Override
+ public long getTotalCount() {
+ return totalCount_;
+ }
+ /**
+ * uint64 total_count = 29;
+ * @param value The totalCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotalCount(long value) {
+
+ totalCount_ = value;
+ bitField0_ |= 0x01000000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 total_count = 29;
+ * @return This builder for chaining.
+ */
+ public Builder clearTotalCount() {
+ bitField0_ = (bitField0_ & ~0x01000000);
+ totalCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int clientGiftSource_ ;
+ /**
+ * uint32 client_gift_source = 30;
+ * @return The clientGiftSource.
+ */
+ @java.lang.Override
+ public int getClientGiftSource() {
+ return clientGiftSource_;
+ }
+ /**
+ * uint32 client_gift_source = 30;
+ * @param value The clientGiftSource to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClientGiftSource(int value) {
+
+ clientGiftSource_ = value;
+ bitField0_ |= 0x02000000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 client_gift_source = 30;
+ * @return This builder for chaining.
+ */
+ public Builder clearClientGiftSource() {
+ bitField0_ = (bitField0_ & ~0x02000000);
+ clientGiftSource_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.LongList toUserIdsList_ = emptyLongList();
+ private void ensureToUserIdsListIsMutable() {
+ if (!toUserIdsList_.isModifiable()) {
+ toUserIdsList_ = makeMutableCopy(toUserIdsList_);
+ }
+ bitField0_ |= 0x04000000;
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return A list containing the toUserIdsList.
+ */
+ public java.util.List
+ getToUserIdsListList() {
+ toUserIdsList_.makeImmutable();
+ return toUserIdsList_;
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return The count of toUserIdsList.
+ */
+ public int getToUserIdsListCount() {
+ return toUserIdsList_.size();
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @param index The index of the element to return.
+ * @return The toUserIdsList at the given index.
+ */
+ public long getToUserIdsList(int index) {
+ return toUserIdsList_.getLong(index);
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @param index The index to set the value at.
+ * @param value The toUserIdsList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToUserIdsList(
+ int index, long value) {
+
+ ensureToUserIdsListIsMutable();
+ toUserIdsList_.setLong(index, value);
+ bitField0_ |= 0x04000000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @param value The toUserIdsList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addToUserIdsList(long value) {
+
+ ensureToUserIdsListIsMutable();
+ toUserIdsList_.addLong(value);
+ bitField0_ |= 0x04000000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @param values The toUserIdsList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllToUserIdsList(
+ java.lang.Iterable extends java.lang.Long> values) {
+ ensureToUserIdsListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, toUserIdsList_);
+ bitField0_ |= 0x04000000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * AnchorGiftData anchorGift = 31;
+ *
+ *
+ * repeated uint64 to_user_ids_list = 32;
+ * @return This builder for chaining.
+ */
+ public Builder clearToUserIdsList() {
+ toUserIdsList_ = emptyLongList();
+ bitField0_ = (bitField0_ & ~0x04000000);
+ onChanged();
+ return this;
+ }
+
+ private long sendTimet_ ;
+ /**
+ * uint64 send_timet = 33;
+ * @return The sendTimet.
+ */
+ @java.lang.Override
+ public long getSendTimet() {
+ return sendTimet_;
+ }
+ /**
+ * uint64 send_timet = 33;
+ * @param value The sendTimet to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSendTimet(long value) {
+
+ sendTimet_ = value;
+ bitField0_ |= 0x08000000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 send_timet = 33;
+ * @return This builder for chaining.
+ */
+ public Builder clearSendTimet() {
+ bitField0_ = (bitField0_ & ~0x08000000);
+ sendTimet_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long forceDisplayEffectst_ ;
+ /**
+ * uint64 force_display_effectst = 34;
+ * @return The forceDisplayEffectst.
+ */
+ @java.lang.Override
+ public long getForceDisplayEffectst() {
+ return forceDisplayEffectst_;
+ }
+ /**
+ * uint64 force_display_effectst = 34;
+ * @param value The forceDisplayEffectst to set.
+ * @return This builder for chaining.
+ */
+ public Builder setForceDisplayEffectst(long value) {
+
+ forceDisplayEffectst_ = value;
+ bitField0_ |= 0x10000000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 force_display_effectst = 34;
+ * @return This builder for chaining.
+ */
+ public Builder clearForceDisplayEffectst() {
+ bitField0_ = (bitField0_ & ~0x10000000);
+ forceDisplayEffectst_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object traceId_ = "";
+ /**
+ * string trace_id = 35;
+ * @return The traceId.
+ */
+ public java.lang.String getTraceId() {
+ java.lang.Object ref = traceId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ traceId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string trace_id = 35;
+ * @return The bytes for traceId.
+ */
+ public com.google.protobuf.ByteString
+ getTraceIdBytes() {
+ java.lang.Object ref = traceId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ traceId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string trace_id = 35;
+ * @param value The traceId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTraceId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ traceId_ = value;
+ bitField0_ |= 0x20000000;
+ onChanged();
+ return this;
+ }
+ /**
+ * string trace_id = 35;
+ * @return This builder for chaining.
+ */
+ public Builder clearTraceId() {
+ traceId_ = getDefaultInstance().getTraceId();
+ bitField0_ = (bitField0_ & ~0x20000000);
+ onChanged();
+ return this;
+ }
+ /**
+ * string trace_id = 35;
+ * @param value The bytes for traceId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTraceIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ traceId_ = value;
+ bitField0_ |= 0x20000000;
+ onChanged();
+ return this;
+ }
+
+ private long effectDisplayTs_ ;
+ /**
+ * uint64 effect_display_ts = 36;
+ * @return The effectDisplayTs.
+ */
+ @java.lang.Override
+ public long getEffectDisplayTs() {
+ return effectDisplayTs_;
+ }
+ /**
+ * uint64 effect_display_ts = 36;
+ * @param value The effectDisplayTs to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEffectDisplayTs(long value) {
+
+ effectDisplayTs_ = value;
+ bitField0_ |= 0x40000000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 effect_display_ts = 36;
+ * @return This builder for chaining.
+ */
+ public Builder clearEffectDisplayTs() {
+ bitField0_ = (bitField0_ & ~0x40000000);
+ effectDisplayTs_ = 0L;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastGiftMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastGiftMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastGiftMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastGiftMessageMsgOuterClass.DouyinWebcastGiftMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n!DouyinWebcastGiftMessageMsg.proto\0222tec" +
+ "h.ordinaryroad.live.chat.client.douyin.p" +
+ "rotobuf\032\014Common.proto\032\nUser.proto\032\020TextE" +
+ "ffect.proto\032\nText.proto\032\024GiftIMPriority." +
+ "proto\032\020GiftStruct.proto\032\026PublicAreaCommo" +
+ "n.proto\"\273\006\n\033DouyinWebcastGiftMessageMsg\022" +
+ "\027\n\006common\030\001 \001(\0132\007.Common\022\024\n\014long_gift_id" +
+ "\030\002 \001(\004\022\030\n\020fan_ticket_count\030\003 \001(\004\022\023\n\013grou" +
+ "p_count\030\004 \001(\004\022\024\n\014repeat_count\030\005 \001(\004\022\023\n\013c" +
+ "ombo_count\030\006 \001(\004\022\023\n\004user\030\007 \001(\0132\005.User\022\026\n" +
+ "\007to_user\030\010 \001(\0132\005.User\022\022\n\nrepeat_end\030\t \001(" +
+ "\r\022 \n\013text_effect\030\n \001(\0132\013.TextEffect\022\020\n\010g" +
+ "roup_id\030\013 \001(\004\022\030\n\020income_taskgifts\030\014 \001(\004\022" +
+ "\035\n\025room_fan_ticket_count\030\r \001(\004\022!\n\010priori" +
+ "ty\030\016 \001(\0132\017.GiftIMPriority\022\031\n\004gift\030\017 \001(\0132" +
+ "\013.GiftStruct\022\016\n\006log_id\030\020 \001(\t\022\021\n\tsend_typ" +
+ "e\030\021 \001(\004\022-\n\022public_area_common\030\022 \001(\0132\021.Pu" +
+ "blicAreaCommon\022 \n\021tray_display_text\030\023 \001(" +
+ "\0132\005.Text\022\036\n\026banned_display_effects\030\024 \001(\004" +
+ "\022\030\n\020display_for_self\030\031 \001(\010\022\032\n\022interact_g" +
+ "ift_info\030\032 \001(\t\022\025\n\rdiy_item_info\030\033 \001(\t\022\032\n" +
+ "\022min_asset_set_list\030\034 \003(\004\022\023\n\013total_count" +
+ "\030\035 \001(\004\022\032\n\022client_gift_source\030\036 \001(\r\022\030\n\020to" +
+ "_user_ids_list\030 \003(\004\022\022\n\nsend_timet\030! \001(\004" +
+ "\022\036\n\026force_display_effectst\030\" \001(\004\022\020\n\010trac" +
+ "e_id\030# \001(\t\022\031\n\021effect_display_ts\030$ \001(\004B:\n" +
+ "8tech.ordinaryroad.live.chat.client.code" +
+ "c.douyin.protobufb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastGiftMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "LongGiftId", "FanTicketCount", "GroupCount", "RepeatCount", "ComboCount", "User", "ToUser", "RepeatEnd", "TextEffect", "GroupId", "IncomeTaskgifts", "RoomFanTicketCount", "Priority", "Gift", "LogId", "SendType", "PublicAreaCommon", "TrayDisplayText", "BannedDisplayEffects", "DisplayForSelf", "InteractGiftInfo", "DiyItemInfo", "MinAssetSetList", "TotalCount", "ClientGiftSource", "ToUserIdsList", "SendTimet", "ForceDisplayEffectst", "TraceId", "EffectDisplayTs", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextEffectOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastLikeMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastLikeMessageMsgOuterClass.java
new file mode 100644
index 0000000..ebf9b1f
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastLikeMessageMsgOuterClass.java
@@ -0,0 +1,1752 @@
+/*
+ * 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: DouyinWebcastLikeMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastLikeMessageMsgOuterClass {
+ private DouyinWebcastLikeMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastLikeMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastLikeMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * uint64 count = 2;
+ * @return The count.
+ */
+ long getCount();
+
+ /**
+ * uint64 total = 3;
+ * @return The total.
+ */
+ long getTotal();
+
+ /**
+ * uint64 color = 4;
+ * @return The color.
+ */
+ long getColor();
+
+ /**
+ * .User user = 5;
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+ /**
+ * .User user = 5;
+ * @return The user.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser();
+ /**
+ * .User user = 5;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
+
+ /**
+ * string icon = 6;
+ * @return The icon.
+ */
+ java.lang.String getIcon();
+ /**
+ * string icon = 6;
+ * @return The bytes for icon.
+ */
+ com.google.protobuf.ByteString
+ getIconBytes();
+
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ * @return Whether the doubleLikeDetail field is set.
+ */
+ boolean hasDoubleLikeDetail();
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ * @return The doubleLikeDetail.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail();
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder();
+
+ /**
+ *
+ * DisplayControlInfo displayControlInfo = 8;
+ *
+ *
+ * uint64 linkmicGuestUid = 9;
+ * @return The linkmicGuestUid.
+ */
+ long getLinkmicGuestUid();
+
+ /**
+ *
+ * PicoDisplayInfo picoDisplayInfo = 11;
+ * = 12;
+ *
+ *
+ * string scene = 10;
+ * @return The scene.
+ */
+ java.lang.String getScene();
+ /**
+ *
+ * PicoDisplayInfo picoDisplayInfo = 11;
+ * = 12;
+ *
+ *
+ * string scene = 10;
+ * @return The bytes for scene.
+ */
+ com.google.protobuf.ByteString
+ getSceneBytes();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastLikeMessageMsg}
+ */
+ public static final class DouyinWebcastLikeMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastLikeMessageMsg)
+ DouyinWebcastLikeMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastLikeMessageMsg.newBuilder() to construct.
+ private DouyinWebcastLikeMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastLikeMessageMsg() {
+ icon_ = "";
+ scene_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastLikeMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ /**
+ * .User user = 5;
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * .User user = 5;
+ * @return The user.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ /**
+ * .User user = 5;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail doubleLikeDetail_;
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ * @return Whether the doubleLikeDetail field is set.
+ */
+ @java.lang.Override
+ public boolean hasDoubleLikeDetail() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ * @return The doubleLikeDetail.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail() {
+ return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
+ }
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder() {
+ return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.codec.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 (((bitField0_ & 0x00000001) != 0)) {
+ 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 (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(5, getUser());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(icon_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, icon_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ 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 (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, getUser());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(icon_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, icon_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg) 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg 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.DouyinWebcastLikeMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastLikeMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ getUserFieldBuilder();
+ getDoubleLikeDetailFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ count_ = 0L;
+ total_ = 0L;
+ color_ = 0L;
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ icon_ = "";
+ doubleLikeDetail_ = null;
+ if (doubleLikeDetailBuilder_ != null) {
+ doubleLikeDetailBuilder_.dispose();
+ doubleLikeDetailBuilder_ = null;
+ }
+ linkmicGuestUid_ = 0L;
+ scene_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.count_ = count_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.total_ = total_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.color_ = color_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.user_ = userBuilder_ == null
+ ? user_
+ : userBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.icon_ = icon_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.doubleLikeDetail_ = doubleLikeDetailBuilder_ == null
+ ? doubleLikeDetail_
+ : doubleLikeDetailBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.linkmicGuestUid_ = linkmicGuestUid_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.scene_ = scene_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (other.getCount() != 0L) {
+ setCount(other.getCount());
+ }
+ if (other.getTotal() != 0L) {
+ setTotal(other.getTotal());
+ }
+ if (other.getColor() != 0L) {
+ setColor(other.getColor());
+ }
+ if (other.hasUser()) {
+ mergeUser(other.getUser());
+ }
+ if (!other.getIcon().isEmpty()) {
+ icon_ = other.icon_;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ if (other.hasDoubleLikeDetail()) {
+ mergeDoubleLikeDetail(other.getDoubleLikeDetail());
+ }
+ if (other.getLinkmicGuestUid() != 0L) {
+ setLinkmicGuestUid(other.getLinkmicGuestUid());
+ }
+ if (!other.getScene().isEmpty()) {
+ scene_ = other.scene_;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16: {
+ count_ = input.readUInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ total_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ color_ = input.readUInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 42: {
+ input.readMessage(
+ getUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 50: {
+ icon_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
+ case 58: {
+ input.readMessage(
+ getDoubleLikeDetailFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ case 72: {
+ linkmicGuestUid_ = input.readUInt64();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 72
+ case 82: {
+ scene_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 82
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ if (userBuilder_ == null) {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ } else {
+ return userBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User user = 5;
+ */
+ public Builder setUser(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) != 0) &&
+ user_ != null &&
+ user_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getUserBuilder().mergeFrom(value);
+ } else {
+ user_ = value;
+ }
+ } else {
+ userBuilder_.mergeFrom(value);
+ }
+ if (user_ != null) {
+ 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.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return getUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User user = 5;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ if (userBuilder_ != null) {
+ return userBuilder_.getMessageOrBuilder();
+ } else {
+ return user_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ }
+ /**
+ * .User user = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getUserFieldBuilder() {
+ if (userBuilder_ == null) {
+ userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail doubleLikeDetail_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail() {
+ if (doubleLikeDetailBuilder_ == null) {
+ return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
+ } else {
+ return doubleLikeDetailBuilder_.getMessage();
+ }
+ }
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ */
+ public Builder setDoubleLikeDetail(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail value) {
+ if (doubleLikeDetailBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0) &&
+ doubleLikeDetail_ != null &&
+ doubleLikeDetail_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance()) {
+ getDoubleLikeDetailBuilder().mergeFrom(value);
+ } else {
+ doubleLikeDetail_ = value;
+ }
+ } else {
+ doubleLikeDetailBuilder_.mergeFrom(value);
+ }
+ if (doubleLikeDetail_ != null) {
+ 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder getDoubleLikeDetailBuilder() {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return getDoubleLikeDetailFieldBuilder().getBuilder();
+ }
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder() {
+ if (doubleLikeDetailBuilder_ != null) {
+ return doubleLikeDetailBuilder_.getMessageOrBuilder();
+ } else {
+ return doubleLikeDetail_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
+ }
+ }
+ /**
+ * .DoubleLikeDetail doubleLikeDetail = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder>
+ getDoubleLikeDetailFieldBuilder() {
+ if (doubleLikeDetailBuilder_ == null) {
+ doubleLikeDetailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.codec.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.DouyinWebcastLikeMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastLikeMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastLikeMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastLikeMessageMsgOuterClass.DouyinWebcastLikeMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n!DouyinWebcastLikeMessageMsg.proto\0222tec" +
+ "h.ordinaryroad.live.chat.client.douyin.p" +
+ "rotobuf\032\014Common.proto\032\nUser.proto\032\026Doubl" +
+ "eLikeDetail.proto\"\333\001\n\033DouyinWebcastLikeM" +
+ "essageMsg\022\027\n\006common\030\001 \001(\0132\007.Common\022\r\n\005co" +
+ "unt\030\002 \001(\004\022\r\n\005total\030\003 \001(\004\022\r\n\005color\030\004 \001(\004\022" +
+ "\023\n\004user\030\005 \001(\0132\005.User\022\014\n\004icon\030\006 \001(\t\022+\n\020do" +
+ "ubleLikeDetail\030\007 \001(\0132\021.DoubleLikeDetail\022" +
+ "\027\n\017linkmicGuestUid\030\t \001(\004\022\r\n\005scene\030\n \001(\tB" +
+ ":\n8tech.ordinaryroad.live.chat.client.co" +
+ "dec.douyin.protobufb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastLikeMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "Count", "Total", "Color", "User", "Icon", "DoubleLikeDetail", "LinkmicGuestUid", "Scene", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastMemberMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastMemberMessageMsgOuterClass.java
new file mode 100644
index 0000000..a259fd3
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastMemberMessageMsgOuterClass.java
@@ -0,0 +1,3178 @@
+/*
+ * 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: DouyinWebcastMemberMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastMemberMessageMsgOuterClass {
+ private DouyinWebcastMemberMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastMemberMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastMemberMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * .User user = 2;
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+ /**
+ * .User user = 2;
+ * @return The user.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser();
+ /**
+ * .User user = 2;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
+
+ /**
+ * uint64 memberCount = 3;
+ * @return The memberCount.
+ */
+ long getMemberCount();
+
+ /**
+ * .User operator = 4;
+ * @return Whether the operator field is set.
+ */
+ boolean hasOperator();
+ /**
+ * .User operator = 4;
+ * @return The operator.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getOperator();
+ /**
+ * .User operator = 4;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getOperatorOrBuilder();
+
+ /**
+ * bool isSetToAdmin = 5;
+ * @return The isSetToAdmin.
+ */
+ boolean getIsSetToAdmin();
+
+ /**
+ * bool isTopUser = 6;
+ * @return The isTopUser.
+ */
+ boolean getIsTopUser();
+
+ /**
+ * int64 rankScore = 7;
+ * @return The rankScore.
+ */
+ long getRankScore();
+
+ /**
+ * int64 topUserNo = 8;
+ * @return The topUserNo.
+ */
+ long getTopUserNo();
+
+ /**
+ * int64 enterType = 9;
+ * @return The enterType.
+ */
+ long getEnterType();
+
+ /**
+ * int64 action = 10;
+ * @return The action.
+ */
+ long getAction();
+
+ /**
+ * string actionDescription = 11;
+ * @return The actionDescription.
+ */
+ java.lang.String getActionDescription();
+ /**
+ * string actionDescription = 11;
+ * @return The bytes for actionDescription.
+ */
+ com.google.protobuf.ByteString
+ getActionDescriptionBytes();
+
+ /**
+ * int64 userId = 12;
+ * @return The userId.
+ */
+ long getUserId();
+
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return The popStr.
+ */
+ java.lang.String getPopStr();
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return The bytes for popStr.
+ */
+ com.google.protobuf.ByteString
+ getPopStrBytes();
+
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ * @return Whether the backgroundImage field is set.
+ */
+ boolean hasBackgroundImage();
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ * @return The backgroundImage.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage();
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder();
+
+ /**
+ * .Image backgroundImageV2 = 17;
+ * @return Whether the backgroundImageV2 field is set.
+ */
+ boolean hasBackgroundImageV2();
+ /**
+ * .Image backgroundImageV2 = 17;
+ * @return The backgroundImageV2.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2();
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder();
+
+ /**
+ * .Text anchorDisplayText = 18;
+ * @return Whether the anchorDisplayText field is set.
+ */
+ boolean hasAnchorDisplayText();
+ /**
+ * .Text anchorDisplayText = 18;
+ * @return The anchorDisplayText.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text getAnchorDisplayText();
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getAnchorDisplayTextOrBuilder();
+
+ /**
+ *
+ * PublicAreaCommon publicAreaCommon = 19;
+ *
+ *
+ * int64 userEnterTipType = 20;
+ * @return The userEnterTipType.
+ */
+ long getUserEnterTipType();
+
+ /**
+ * int64 anchorEnterTipType = 21;
+ * @return The anchorEnterTipType.
+ */
+ long getAnchorEnterTipType();
+
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ int getBuriedPointMapCount();
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ boolean containsBuriedPointMap(
+ java.lang.String key);
+ /**
+ * Use {@link #getBuriedPointMapMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getBuriedPointMap();
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ java.util.Map
+ getBuriedPointMapMap();
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ /* nullable */
+java.lang.String getBuriedPointMapOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue);
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ java.lang.String getBuriedPointMapOrThrow(
+ java.lang.String key);
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastMemberMessageMsg}
+ */
+ public static final class DouyinWebcastMemberMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastMemberMessageMsg)
+ DouyinWebcastMemberMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastMemberMessageMsg.newBuilder() to construct.
+ private DouyinWebcastMemberMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastMemberMessageMsg() {
+ actionDescription_ = "";
+ popStr_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastMemberMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 22:
+ return internalGetBuriedPointMap();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+
+ public static final int USER_FIELD_NUMBER = 2;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ /**
+ * .User user = 2;
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * .User user = 2;
+ * @return The user.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ /**
+ * .User user = 2;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+
+ public static final int MEMBERCOUNT_FIELD_NUMBER = 3;
+ private long memberCount_ = 0L;
+ /**
+ * uint64 memberCount = 3;
+ * @return The memberCount.
+ */
+ @java.lang.Override
+ public long getMemberCount() {
+ return memberCount_;
+ }
+
+ public static final int OPERATOR_FIELD_NUMBER = 4;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User operator_;
+ /**
+ * .User operator = 4;
+ * @return Whether the operator field is set.
+ */
+ @java.lang.Override
+ public boolean hasOperator() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * .User operator = 4;
+ * @return The operator.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getOperator() {
+ return operator_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
+ }
+ /**
+ * .User operator = 4;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getOperatorOrBuilder() {
+ return operator_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
+ }
+
+ public static final int ISSETTOADMIN_FIELD_NUMBER = 5;
+ private boolean isSetToAdmin_ = false;
+ /**
+ * bool isSetToAdmin = 5;
+ * @return The isSetToAdmin.
+ */
+ @java.lang.Override
+ public boolean getIsSetToAdmin() {
+ return isSetToAdmin_;
+ }
+
+ public static final int ISTOPUSER_FIELD_NUMBER = 6;
+ private boolean isTopUser_ = false;
+ /**
+ * bool isTopUser = 6;
+ * @return The isTopUser.
+ */
+ @java.lang.Override
+ public boolean getIsTopUser() {
+ return isTopUser_;
+ }
+
+ public static final int RANKSCORE_FIELD_NUMBER = 7;
+ private long rankScore_ = 0L;
+ /**
+ * int64 rankScore = 7;
+ * @return The rankScore.
+ */
+ @java.lang.Override
+ public long getRankScore() {
+ return rankScore_;
+ }
+
+ public static final int TOPUSERNO_FIELD_NUMBER = 8;
+ private long topUserNo_ = 0L;
+ /**
+ * int64 topUserNo = 8;
+ * @return The topUserNo.
+ */
+ @java.lang.Override
+ public long getTopUserNo() {
+ return topUserNo_;
+ }
+
+ public static final int ENTERTYPE_FIELD_NUMBER = 9;
+ private long enterType_ = 0L;
+ /**
+ * int64 enterType = 9;
+ * @return The enterType.
+ */
+ @java.lang.Override
+ public long getEnterType() {
+ return enterType_;
+ }
+
+ public static final int ACTION_FIELD_NUMBER = 10;
+ private long action_ = 0L;
+ /**
+ * int64 action = 10;
+ * @return The action.
+ */
+ @java.lang.Override
+ public long getAction() {
+ return action_;
+ }
+
+ public static final int ACTIONDESCRIPTION_FIELD_NUMBER = 11;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object actionDescription_ = "";
+ /**
+ * string actionDescription = 11;
+ * @return The actionDescription.
+ */
+ @java.lang.Override
+ public java.lang.String getActionDescription() {
+ java.lang.Object ref = actionDescription_;
+ 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();
+ actionDescription_ = s;
+ return s;
+ }
+ }
+ /**
+ * string actionDescription = 11;
+ * @return The bytes for actionDescription.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getActionDescriptionBytes() {
+ java.lang.Object ref = actionDescription_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ actionDescription_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int USERID_FIELD_NUMBER = 12;
+ private long userId_ = 0L;
+ /**
+ * int64 userId = 12;
+ * @return The userId.
+ */
+ @java.lang.Override
+ public long getUserId() {
+ return userId_;
+ }
+
+ public static final int POPSTR_FIELD_NUMBER = 14;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object popStr_ = "";
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return The popStr.
+ */
+ @java.lang.Override
+ public java.lang.String getPopStr() {
+ java.lang.Object ref = popStr_;
+ 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();
+ popStr_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return The bytes for popStr.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPopStrBytes() {
+ java.lang.Object ref = popStr_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ popStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int BACKGROUNDIMAGE_FIELD_NUMBER = 16;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ * @return Whether the backgroundImage field is set.
+ */
+ @java.lang.Override
+ public boolean hasBackgroundImage() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ * @return The backgroundImage.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
+ return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
+ return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ }
+
+ public static final int BACKGROUNDIMAGEV2_FIELD_NUMBER = 17;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
+ /**
+ * .Image backgroundImageV2 = 17;
+ * @return Whether the backgroundImageV2 field is set.
+ */
+ @java.lang.Override
+ public boolean hasBackgroundImageV2() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ * @return The backgroundImageV2.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
+ return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
+ return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ }
+
+ public static final int ANCHORDISPLAYTEXT_FIELD_NUMBER = 18;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text anchorDisplayText_;
+ /**
+ * .Text anchorDisplayText = 18;
+ * @return Whether the anchorDisplayText field is set.
+ */
+ @java.lang.Override
+ public boolean hasAnchorDisplayText() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ * @return The anchorDisplayText.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text getAnchorDisplayText() {
+ return anchorDisplayText_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getAnchorDisplayTextOrBuilder() {
+ return anchorDisplayText_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
+ }
+
+ public static final int USERENTERTIPTYPE_FIELD_NUMBER = 20;
+ private long userEnterTipType_ = 0L;
+ /**
+ *
+ * PublicAreaCommon publicAreaCommon = 19;
+ *
+ *
+ * int64 userEnterTipType = 20;
+ * @return The userEnterTipType.
+ */
+ @java.lang.Override
+ public long getUserEnterTipType() {
+ return userEnterTipType_;
+ }
+
+ public static final int ANCHORENTERTIPTYPE_FIELD_NUMBER = 21;
+ private long anchorEnterTipType_ = 0L;
+ /**
+ * int64 anchorEnterTipType = 21;
+ * @return The anchorEnterTipType.
+ */
+ @java.lang.Override
+ public long getAnchorEnterTipType() {
+ return anchorEnterTipType_;
+ }
+
+ public static final int BURIEDPOINTMAP_FIELD_NUMBER = 22;
+ private static final class BuriedPointMapDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_BuriedPointMapEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> buriedPointMap_;
+ private com.google.protobuf.MapField
+ internalGetBuriedPointMap() {
+ if (buriedPointMap_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ BuriedPointMapDefaultEntryHolder.defaultEntry);
+ }
+ return buriedPointMap_;
+ }
+ public int getBuriedPointMapCount() {
+ return internalGetBuriedPointMap().getMap().size();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public boolean containsBuriedPointMap(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetBuriedPointMap().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getBuriedPointMapMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getBuriedPointMap() {
+ return getBuriedPointMapMap();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public java.util.Map getBuriedPointMapMap() {
+ return internalGetBuriedPointMap().getMap();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getBuriedPointMapOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetBuriedPointMap().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public java.lang.String getBuriedPointMapOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetBuriedPointMap().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getCommon());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getUser());
+ }
+ if (memberCount_ != 0L) {
+ output.writeUInt64(3, memberCount_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(4, getOperator());
+ }
+ if (isSetToAdmin_ != false) {
+ output.writeBool(5, isSetToAdmin_);
+ }
+ if (isTopUser_ != false) {
+ output.writeBool(6, isTopUser_);
+ }
+ if (rankScore_ != 0L) {
+ output.writeInt64(7, rankScore_);
+ }
+ if (topUserNo_ != 0L) {
+ output.writeInt64(8, topUserNo_);
+ }
+ if (enterType_ != 0L) {
+ output.writeInt64(9, enterType_);
+ }
+ if (action_ != 0L) {
+ output.writeInt64(10, action_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actionDescription_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, actionDescription_);
+ }
+ if (userId_ != 0L) {
+ output.writeInt64(12, userId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(popStr_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 14, popStr_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ output.writeMessage(16, getBackgroundImage());
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ output.writeMessage(17, getBackgroundImageV2());
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ output.writeMessage(18, getAnchorDisplayText());
+ }
+ if (userEnterTipType_ != 0L) {
+ output.writeInt64(20, userEnterTipType_);
+ }
+ if (anchorEnterTipType_ != 0L) {
+ output.writeInt64(21, anchorEnterTipType_);
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetBuriedPointMap(),
+ BuriedPointMapDefaultEntryHolder.defaultEntry,
+ 22);
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCommon());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getUser());
+ }
+ if (memberCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, memberCount_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getOperator());
+ }
+ if (isSetToAdmin_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(5, isSetToAdmin_);
+ }
+ if (isTopUser_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, isTopUser_);
+ }
+ if (rankScore_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(7, rankScore_);
+ }
+ if (topUserNo_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(8, topUserNo_);
+ }
+ if (enterType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(9, enterType_);
+ }
+ if (action_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(10, action_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actionDescription_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, actionDescription_);
+ }
+ if (userId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(12, userId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(popStr_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, popStr_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(16, getBackgroundImage());
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(17, getBackgroundImageV2());
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(18, getAnchorDisplayText());
+ }
+ if (userEnterTipType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(20, userEnterTipType_);
+ }
+ if (anchorEnterTipType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(21, anchorEnterTipType_);
+ }
+ for (java.util.Map.Entry entry
+ : internalGetBuriedPointMap().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ buriedPointMap__ = BuriedPointMapDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(22, buriedPointMap__);
+ }
+ 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg) 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 (getMemberCount()
+ != other.getMemberCount()) return false;
+ if (hasOperator() != other.hasOperator()) return false;
+ if (hasOperator()) {
+ if (!getOperator()
+ .equals(other.getOperator())) return false;
+ }
+ if (getIsSetToAdmin()
+ != other.getIsSetToAdmin()) return false;
+ if (getIsTopUser()
+ != other.getIsTopUser()) return false;
+ if (getRankScore()
+ != other.getRankScore()) return false;
+ if (getTopUserNo()
+ != other.getTopUserNo()) return false;
+ if (getEnterType()
+ != other.getEnterType()) return false;
+ if (getAction()
+ != other.getAction()) return false;
+ if (!getActionDescription()
+ .equals(other.getActionDescription())) return false;
+ if (getUserId()
+ != other.getUserId()) return false;
+ if (!getPopStr()
+ .equals(other.getPopStr())) return false;
+ if (hasBackgroundImage() != other.hasBackgroundImage()) return false;
+ if (hasBackgroundImage()) {
+ if (!getBackgroundImage()
+ .equals(other.getBackgroundImage())) return false;
+ }
+ if (hasBackgroundImageV2() != other.hasBackgroundImageV2()) return false;
+ if (hasBackgroundImageV2()) {
+ if (!getBackgroundImageV2()
+ .equals(other.getBackgroundImageV2())) return false;
+ }
+ if (hasAnchorDisplayText() != other.hasAnchorDisplayText()) return false;
+ if (hasAnchorDisplayText()) {
+ if (!getAnchorDisplayText()
+ .equals(other.getAnchorDisplayText())) return false;
+ }
+ if (getUserEnterTipType()
+ != other.getUserEnterTipType()) return false;
+ if (getAnchorEnterTipType()
+ != other.getAnchorEnterTipType()) return false;
+ if (!internalGetBuriedPointMap().equals(
+ other.internalGetBuriedPointMap())) 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) + MEMBERCOUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getMemberCount());
+ if (hasOperator()) {
+ hash = (37 * hash) + OPERATOR_FIELD_NUMBER;
+ hash = (53 * hash) + getOperator().hashCode();
+ }
+ hash = (37 * hash) + ISSETTOADMIN_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsSetToAdmin());
+ hash = (37 * hash) + ISTOPUSER_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsTopUser());
+ hash = (37 * hash) + RANKSCORE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getRankScore());
+ hash = (37 * hash) + TOPUSERNO_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTopUserNo());
+ hash = (37 * hash) + ENTERTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEnterType());
+ hash = (37 * hash) + ACTION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getAction());
+ hash = (37 * hash) + ACTIONDESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getActionDescription().hashCode();
+ hash = (37 * hash) + USERID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getUserId());
+ hash = (37 * hash) + POPSTR_FIELD_NUMBER;
+ hash = (53 * hash) + getPopStr().hashCode();
+ if (hasBackgroundImage()) {
+ hash = (37 * hash) + BACKGROUNDIMAGE_FIELD_NUMBER;
+ hash = (53 * hash) + getBackgroundImage().hashCode();
+ }
+ if (hasBackgroundImageV2()) {
+ hash = (37 * hash) + BACKGROUNDIMAGEV2_FIELD_NUMBER;
+ hash = (53 * hash) + getBackgroundImageV2().hashCode();
+ }
+ if (hasAnchorDisplayText()) {
+ hash = (37 * hash) + ANCHORDISPLAYTEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getAnchorDisplayText().hashCode();
+ }
+ hash = (37 * hash) + USERENTERTIPTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getUserEnterTipType());
+ hash = (37 * hash) + ANCHORENTERTIPTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getAnchorEnterTipType());
+ if (!internalGetBuriedPointMap().getMap().isEmpty()) {
+ hash = (37 * hash) + BURIEDPOINTMAP_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetBuriedPointMap().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg 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.DouyinWebcastMemberMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastMemberMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 22:
+ return internalGetBuriedPointMap();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 22:
+ return internalGetMutableBuriedPointMap();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ getUserFieldBuilder();
+ getOperatorFieldBuilder();
+ getBackgroundImageFieldBuilder();
+ getBackgroundImageV2FieldBuilder();
+ getAnchorDisplayTextFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ memberCount_ = 0L;
+ operator_ = null;
+ if (operatorBuilder_ != null) {
+ operatorBuilder_.dispose();
+ operatorBuilder_ = null;
+ }
+ isSetToAdmin_ = false;
+ isTopUser_ = false;
+ rankScore_ = 0L;
+ topUserNo_ = 0L;
+ enterType_ = 0L;
+ action_ = 0L;
+ actionDescription_ = "";
+ userId_ = 0L;
+ popStr_ = "";
+ backgroundImage_ = null;
+ if (backgroundImageBuilder_ != null) {
+ backgroundImageBuilder_.dispose();
+ backgroundImageBuilder_ = null;
+ }
+ backgroundImageV2_ = null;
+ if (backgroundImageV2Builder_ != null) {
+ backgroundImageV2Builder_.dispose();
+ backgroundImageV2Builder_ = null;
+ }
+ anchorDisplayText_ = null;
+ if (anchorDisplayTextBuilder_ != null) {
+ anchorDisplayTextBuilder_.dispose();
+ anchorDisplayTextBuilder_ = null;
+ }
+ userEnterTipType_ = 0L;
+ anchorEnterTipType_ = 0L;
+ internalGetMutableBuriedPointMap().clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.user_ = userBuilder_ == null
+ ? user_
+ : userBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.memberCount_ = memberCount_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.operator_ = operatorBuilder_ == null
+ ? operator_
+ : operatorBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.isSetToAdmin_ = isSetToAdmin_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.isTopUser_ = isTopUser_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.rankScore_ = rankScore_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.topUserNo_ = topUserNo_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.enterType_ = enterType_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.action_ = action_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.actionDescription_ = actionDescription_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.userId_ = userId_;
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.popStr_ = popStr_;
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.backgroundImage_ = backgroundImageBuilder_ == null
+ ? backgroundImage_
+ : backgroundImageBuilder_.build();
+ to_bitField0_ |= 0x00000008;
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.backgroundImageV2_ = backgroundImageV2Builder_ == null
+ ? backgroundImageV2_
+ : backgroundImageV2Builder_.build();
+ to_bitField0_ |= 0x00000010;
+ }
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.anchorDisplayText_ = anchorDisplayTextBuilder_ == null
+ ? anchorDisplayText_
+ : anchorDisplayTextBuilder_.build();
+ to_bitField0_ |= 0x00000020;
+ }
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.userEnterTipType_ = userEnterTipType_;
+ }
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.anchorEnterTipType_ = anchorEnterTipType_;
+ }
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.buriedPointMap_ = internalGetBuriedPointMap();
+ result.buriedPointMap_.makeImmutable();
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (other.hasUser()) {
+ mergeUser(other.getUser());
+ }
+ if (other.getMemberCount() != 0L) {
+ setMemberCount(other.getMemberCount());
+ }
+ if (other.hasOperator()) {
+ mergeOperator(other.getOperator());
+ }
+ if (other.getIsSetToAdmin() != false) {
+ setIsSetToAdmin(other.getIsSetToAdmin());
+ }
+ if (other.getIsTopUser() != false) {
+ setIsTopUser(other.getIsTopUser());
+ }
+ if (other.getRankScore() != 0L) {
+ setRankScore(other.getRankScore());
+ }
+ if (other.getTopUserNo() != 0L) {
+ setTopUserNo(other.getTopUserNo());
+ }
+ if (other.getEnterType() != 0L) {
+ setEnterType(other.getEnterType());
+ }
+ if (other.getAction() != 0L) {
+ setAction(other.getAction());
+ }
+ if (!other.getActionDescription().isEmpty()) {
+ actionDescription_ = other.actionDescription_;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ }
+ if (other.getUserId() != 0L) {
+ setUserId(other.getUserId());
+ }
+ if (!other.getPopStr().isEmpty()) {
+ popStr_ = other.popStr_;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ }
+ if (other.hasBackgroundImage()) {
+ mergeBackgroundImage(other.getBackgroundImage());
+ }
+ if (other.hasBackgroundImageV2()) {
+ mergeBackgroundImageV2(other.getBackgroundImageV2());
+ }
+ if (other.hasAnchorDisplayText()) {
+ mergeAnchorDisplayText(other.getAnchorDisplayText());
+ }
+ if (other.getUserEnterTipType() != 0L) {
+ setUserEnterTipType(other.getUserEnterTipType());
+ }
+ if (other.getAnchorEnterTipType() != 0L) {
+ setAnchorEnterTipType(other.getAnchorEnterTipType());
+ }
+ internalGetMutableBuriedPointMap().mergeFrom(
+ other.internalGetBuriedPointMap());
+ bitField0_ |= 0x00040000;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ input.readMessage(
+ getUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 24: {
+ memberCount_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 34: {
+ input.readMessage(
+ getOperatorFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ case 40: {
+ isSetToAdmin_ = input.readBool();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 48: {
+ isTopUser_ = input.readBool();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 56: {
+ rankScore_ = input.readInt64();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 56
+ case 64: {
+ topUserNo_ = input.readInt64();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 64
+ case 72: {
+ enterType_ = input.readInt64();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 72
+ case 80: {
+ action_ = input.readInt64();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 80
+ case 90: {
+ actionDescription_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 90
+ case 96: {
+ userId_ = input.readInt64();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 96
+ case 114: {
+ popStr_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00001000;
+ break;
+ } // case 114
+ case 130: {
+ input.readMessage(
+ getBackgroundImageFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00002000;
+ break;
+ } // case 130
+ case 138: {
+ input.readMessage(
+ getBackgroundImageV2FieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 138
+ case 146: {
+ input.readMessage(
+ getAnchorDisplayTextFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 146
+ case 160: {
+ userEnterTipType_ = input.readInt64();
+ bitField0_ |= 0x00010000;
+ break;
+ } // case 160
+ case 168: {
+ anchorEnterTipType_ = input.readInt64();
+ bitField0_ |= 0x00020000;
+ break;
+ } // case 168
+ case 178: {
+ com.google.protobuf.MapEntry
+ buriedPointMap__ = input.readMessage(
+ BuriedPointMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableBuriedPointMap().getMutableMap().put(
+ buriedPointMap__.getKey(), buriedPointMap__.getValue());
+ bitField0_ |= 0x00040000;
+ break;
+ } // case 178
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
+ getCommon(),
+ getParentForChildren(),
+ isClean());
+ common_ = null;
+ }
+ return commonBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ if (userBuilder_ == null) {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ } else {
+ return userBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User user = 2;
+ */
+ public Builder setUser(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) &&
+ user_ != null &&
+ user_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getUserBuilder().mergeFrom(value);
+ } else {
+ user_ = value;
+ }
+ } else {
+ userBuilder_.mergeFrom(value);
+ }
+ if (user_ != null) {
+ 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.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User user = 2;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ if (userBuilder_ != null) {
+ return userBuilder_.getMessageOrBuilder();
+ } else {
+ return user_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ }
+ /**
+ * .User user = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getUserFieldBuilder() {
+ if (userBuilder_ == null) {
+ userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
+ getUser(),
+ getParentForChildren(),
+ isClean());
+ user_ = null;
+ }
+ return userBuilder_;
+ }
+
+ private long memberCount_ ;
+ /**
+ * uint64 memberCount = 3;
+ * @return The memberCount.
+ */
+ @java.lang.Override
+ public long getMemberCount() {
+ return memberCount_;
+ }
+ /**
+ * uint64 memberCount = 3;
+ * @param value The memberCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMemberCount(long value) {
+
+ memberCount_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 memberCount = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearMemberCount() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ memberCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User operator_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> operatorBuilder_;
+ /**
+ * .User operator = 4;
+ * @return Whether the operator field is set.
+ */
+ public boolean hasOperator() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ * .User operator = 4;
+ * @return The operator.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getOperator() {
+ if (operatorBuilder_ == null) {
+ return operator_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
+ } else {
+ return operatorBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User operator = 4;
+ */
+ public Builder setOperator(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (operatorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ operator_ = value;
+ } else {
+ operatorBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User operator = 4;
+ */
+ public Builder setOperator(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
+ if (operatorBuilder_ == null) {
+ operator_ = builderForValue.build();
+ } else {
+ operatorBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User operator = 4;
+ */
+ public Builder mergeOperator(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (operatorBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0) &&
+ operator_ != null &&
+ operator_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getOperatorBuilder().mergeFrom(value);
+ } else {
+ operator_ = value;
+ }
+ } else {
+ operatorBuilder_.mergeFrom(value);
+ }
+ if (operator_ != null) {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .User operator = 4;
+ */
+ public Builder clearOperator() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ operator_ = null;
+ if (operatorBuilder_ != null) {
+ operatorBuilder_.dispose();
+ operatorBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .User operator = 4;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getOperatorBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getOperatorFieldBuilder().getBuilder();
+ }
+ /**
+ * .User operator = 4;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getOperatorOrBuilder() {
+ if (operatorBuilder_ != null) {
+ return operatorBuilder_.getMessageOrBuilder();
+ } else {
+ return operator_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
+ }
+ }
+ /**
+ * .User operator = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getOperatorFieldBuilder() {
+ if (operatorBuilder_ == null) {
+ operatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
+ getOperator(),
+ getParentForChildren(),
+ isClean());
+ operator_ = null;
+ }
+ return operatorBuilder_;
+ }
+
+ private boolean isSetToAdmin_ ;
+ /**
+ * bool isSetToAdmin = 5;
+ * @return The isSetToAdmin.
+ */
+ @java.lang.Override
+ public boolean getIsSetToAdmin() {
+ return isSetToAdmin_;
+ }
+ /**
+ * bool isSetToAdmin = 5;
+ * @param value The isSetToAdmin to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsSetToAdmin(boolean value) {
+
+ isSetToAdmin_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool isSetToAdmin = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsSetToAdmin() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ isSetToAdmin_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean isTopUser_ ;
+ /**
+ * bool isTopUser = 6;
+ * @return The isTopUser.
+ */
+ @java.lang.Override
+ public boolean getIsTopUser() {
+ return isTopUser_;
+ }
+ /**
+ * bool isTopUser = 6;
+ * @param value The isTopUser to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsTopUser(boolean value) {
+
+ isTopUser_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool isTopUser = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsTopUser() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ isTopUser_ = false;
+ onChanged();
+ return this;
+ }
+
+ private long rankScore_ ;
+ /**
+ * int64 rankScore = 7;
+ * @return The rankScore.
+ */
+ @java.lang.Override
+ public long getRankScore() {
+ return rankScore_;
+ }
+ /**
+ * int64 rankScore = 7;
+ * @param value The rankScore to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRankScore(long value) {
+
+ rankScore_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 rankScore = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearRankScore() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ rankScore_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long topUserNo_ ;
+ /**
+ * int64 topUserNo = 8;
+ * @return The topUserNo.
+ */
+ @java.lang.Override
+ public long getTopUserNo() {
+ return topUserNo_;
+ }
+ /**
+ * int64 topUserNo = 8;
+ * @param value The topUserNo to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTopUserNo(long value) {
+
+ topUserNo_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 topUserNo = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearTopUserNo() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ topUserNo_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long enterType_ ;
+ /**
+ * int64 enterType = 9;
+ * @return The enterType.
+ */
+ @java.lang.Override
+ public long getEnterType() {
+ return enterType_;
+ }
+ /**
+ * int64 enterType = 9;
+ * @param value The enterType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnterType(long value) {
+
+ enterType_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 enterType = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearEnterType() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ enterType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long action_ ;
+ /**
+ * int64 action = 10;
+ * @return The action.
+ */
+ @java.lang.Override
+ public long getAction() {
+ return action_;
+ }
+ /**
+ * int64 action = 10;
+ * @param value The action to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAction(long value) {
+
+ action_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 action = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearAction() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ action_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object actionDescription_ = "";
+ /**
+ * string actionDescription = 11;
+ * @return The actionDescription.
+ */
+ public java.lang.String getActionDescription() {
+ java.lang.Object ref = actionDescription_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ actionDescription_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string actionDescription = 11;
+ * @return The bytes for actionDescription.
+ */
+ public com.google.protobuf.ByteString
+ getActionDescriptionBytes() {
+ java.lang.Object ref = actionDescription_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ actionDescription_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string actionDescription = 11;
+ * @param value The actionDescription to set.
+ * @return This builder for chaining.
+ */
+ public Builder setActionDescription(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ actionDescription_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * string actionDescription = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearActionDescription() {
+ actionDescription_ = getDefaultInstance().getActionDescription();
+ bitField0_ = (bitField0_ & ~0x00000400);
+ onChanged();
+ return this;
+ }
+ /**
+ * string actionDescription = 11;
+ * @param value The bytes for actionDescription to set.
+ * @return This builder for chaining.
+ */
+ public Builder setActionDescriptionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ actionDescription_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ private long userId_ ;
+ /**
+ * int64 userId = 12;
+ * @return The userId.
+ */
+ @java.lang.Override
+ public long getUserId() {
+ return userId_;
+ }
+ /**
+ * int64 userId = 12;
+ * @param value The userId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserId(long value) {
+
+ userId_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 userId = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearUserId() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ userId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object popStr_ = "";
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return The popStr.
+ */
+ public java.lang.String getPopStr() {
+ java.lang.Object ref = popStr_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ popStr_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return The bytes for popStr.
+ */
+ public com.google.protobuf.ByteString
+ getPopStrBytes() {
+ java.lang.Object ref = popStr_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ popStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @param value The popStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPopStr(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ popStr_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearPopStr() {
+ popStr_ = getDefaultInstance().getPopStr();
+ bitField0_ = (bitField0_ & ~0x00001000);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * EffectConfig effectConfig = 13;
+ *
+ *
+ * string popStr = 14;
+ * @param value The bytes for popStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPopStrBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ popStr_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageBuilder_;
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ * @return Whether the backgroundImage field is set.
+ */
+ public boolean hasBackgroundImage() {
+ return ((bitField0_ & 0x00002000) != 0);
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ * @return The backgroundImage.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
+ if (backgroundImageBuilder_ == null) {
+ return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ } else {
+ return backgroundImageBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ public Builder setBackgroundImage(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (backgroundImageBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ backgroundImage_ = value;
+ } else {
+ backgroundImageBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ public Builder setBackgroundImage(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
+ if (backgroundImageBuilder_ == null) {
+ backgroundImage_ = builderForValue.build();
+ } else {
+ backgroundImageBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ public Builder mergeBackgroundImage(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (backgroundImageBuilder_ == null) {
+ if (((bitField0_ & 0x00002000) != 0) &&
+ backgroundImage_ != null &&
+ backgroundImage_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
+ getBackgroundImageBuilder().mergeFrom(value);
+ } else {
+ backgroundImage_ = value;
+ }
+ } else {
+ backgroundImageBuilder_.mergeFrom(value);
+ }
+ if (backgroundImage_ != null) {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ public Builder clearBackgroundImage() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ backgroundImage_ = null;
+ if (backgroundImageBuilder_ != null) {
+ backgroundImageBuilder_.dispose();
+ backgroundImageBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageBuilder() {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return getBackgroundImageFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
+ if (backgroundImageBuilder_ != null) {
+ return backgroundImageBuilder_.getMessageOrBuilder();
+ } else {
+ return backgroundImage_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
+ }
+ }
+ /**
+ *
+ * EffectConfig enterEffectConfig = 15;
+ *
+ *
+ * .Image backgroundImage = 16;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
+ getBackgroundImageFieldBuilder() {
+ if (backgroundImageBuilder_ == null) {
+ backgroundImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
+ getBackgroundImage(),
+ getParentForChildren(),
+ isClean());
+ backgroundImage_ = null;
+ }
+ return backgroundImageBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageV2Builder_;
+ /**
+ * .Image backgroundImageV2 = 17;
+ * @return Whether the backgroundImageV2 field is set.
+ */
+ public boolean hasBackgroundImageV2() {
+ return ((bitField0_ & 0x00004000) != 0);
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ * @return The backgroundImageV2.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
+ if (backgroundImageV2Builder_ == null) {
+ return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ } else {
+ return backgroundImageV2Builder_.getMessage();
+ }
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ public Builder setBackgroundImageV2(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (backgroundImageV2Builder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ backgroundImageV2_ = value;
+ } else {
+ backgroundImageV2Builder_.setMessage(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ public Builder setBackgroundImageV2(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
+ if (backgroundImageV2Builder_ == null) {
+ backgroundImageV2_ = builderForValue.build();
+ } else {
+ backgroundImageV2Builder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ public Builder mergeBackgroundImageV2(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image value) {
+ if (backgroundImageV2Builder_ == null) {
+ if (((bitField0_ & 0x00004000) != 0) &&
+ backgroundImageV2_ != null &&
+ backgroundImageV2_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
+ getBackgroundImageV2Builder().mergeFrom(value);
+ } else {
+ backgroundImageV2_ = value;
+ }
+ } else {
+ backgroundImageV2Builder_.mergeFrom(value);
+ }
+ if (backgroundImageV2_ != null) {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ public Builder clearBackgroundImageV2() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ backgroundImageV2_ = null;
+ if (backgroundImageV2Builder_ != null) {
+ backgroundImageV2Builder_.dispose();
+ backgroundImageV2Builder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageV2Builder() {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return getBackgroundImageV2FieldBuilder().getBuilder();
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
+ if (backgroundImageV2Builder_ != null) {
+ return backgroundImageV2Builder_.getMessageOrBuilder();
+ } else {
+ return backgroundImageV2_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
+ }
+ }
+ /**
+ * .Image backgroundImageV2 = 17;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
+ getBackgroundImageV2FieldBuilder() {
+ if (backgroundImageV2Builder_ == null) {
+ backgroundImageV2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
+ getBackgroundImageV2(),
+ getParentForChildren(),
+ isClean());
+ backgroundImageV2_ = null;
+ }
+ return backgroundImageV2Builder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text anchorDisplayText_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder> anchorDisplayTextBuilder_;
+ /**
+ * .Text anchorDisplayText = 18;
+ * @return Whether the anchorDisplayText field is set.
+ */
+ public boolean hasAnchorDisplayText() {
+ return ((bitField0_ & 0x00008000) != 0);
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ * @return The anchorDisplayText.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text getAnchorDisplayText() {
+ if (anchorDisplayTextBuilder_ == null) {
+ return anchorDisplayText_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
+ } else {
+ return anchorDisplayTextBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ public Builder setAnchorDisplayText(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text value) {
+ if (anchorDisplayTextBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ anchorDisplayText_ = value;
+ } else {
+ anchorDisplayTextBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ public Builder setAnchorDisplayText(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder builderForValue) {
+ if (anchorDisplayTextBuilder_ == null) {
+ anchorDisplayText_ = builderForValue.build();
+ } else {
+ anchorDisplayTextBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ public Builder mergeAnchorDisplayText(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text value) {
+ if (anchorDisplayTextBuilder_ == null) {
+ if (((bitField0_ & 0x00008000) != 0) &&
+ anchorDisplayText_ != null &&
+ anchorDisplayText_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance()) {
+ getAnchorDisplayTextBuilder().mergeFrom(value);
+ } else {
+ anchorDisplayText_ = value;
+ }
+ } else {
+ anchorDisplayTextBuilder_.mergeFrom(value);
+ }
+ if (anchorDisplayText_ != null) {
+ bitField0_ |= 0x00008000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ public Builder clearAnchorDisplayText() {
+ bitField0_ = (bitField0_ & ~0x00008000);
+ anchorDisplayText_ = null;
+ if (anchorDisplayTextBuilder_ != null) {
+ anchorDisplayTextBuilder_.dispose();
+ anchorDisplayTextBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder getAnchorDisplayTextBuilder() {
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return getAnchorDisplayTextFieldBuilder().getBuilder();
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getAnchorDisplayTextOrBuilder() {
+ if (anchorDisplayTextBuilder_ != null) {
+ return anchorDisplayTextBuilder_.getMessageOrBuilder();
+ } else {
+ return anchorDisplayText_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
+ }
+ }
+ /**
+ * .Text anchorDisplayText = 18;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder>
+ getAnchorDisplayTextFieldBuilder() {
+ if (anchorDisplayTextBuilder_ == null) {
+ anchorDisplayTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.TextOrBuilder>(
+ getAnchorDisplayText(),
+ getParentForChildren(),
+ isClean());
+ anchorDisplayText_ = null;
+ }
+ return anchorDisplayTextBuilder_;
+ }
+
+ private long userEnterTipType_ ;
+ /**
+ *
+ * PublicAreaCommon publicAreaCommon = 19;
+ *
+ *
+ * int64 userEnterTipType = 20;
+ * @return The userEnterTipType.
+ */
+ @java.lang.Override
+ public long getUserEnterTipType() {
+ return userEnterTipType_;
+ }
+ /**
+ *
+ * PublicAreaCommon publicAreaCommon = 19;
+ *
+ *
+ * int64 userEnterTipType = 20;
+ * @param value The userEnterTipType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserEnterTipType(long value) {
+
+ userEnterTipType_ = value;
+ bitField0_ |= 0x00010000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * PublicAreaCommon publicAreaCommon = 19;
+ *
+ *
+ * int64 userEnterTipType = 20;
+ * @return This builder for chaining.
+ */
+ public Builder clearUserEnterTipType() {
+ bitField0_ = (bitField0_ & ~0x00010000);
+ userEnterTipType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long anchorEnterTipType_ ;
+ /**
+ * int64 anchorEnterTipType = 21;
+ * @return The anchorEnterTipType.
+ */
+ @java.lang.Override
+ public long getAnchorEnterTipType() {
+ return anchorEnterTipType_;
+ }
+ /**
+ * int64 anchorEnterTipType = 21;
+ * @param value The anchorEnterTipType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnchorEnterTipType(long value) {
+
+ anchorEnterTipType_ = value;
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 anchorEnterTipType = 21;
+ * @return This builder for chaining.
+ */
+ public Builder clearAnchorEnterTipType() {
+ bitField0_ = (bitField0_ & ~0x00020000);
+ anchorEnterTipType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> buriedPointMap_;
+ private com.google.protobuf.MapField
+ internalGetBuriedPointMap() {
+ if (buriedPointMap_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ BuriedPointMapDefaultEntryHolder.defaultEntry);
+ }
+ return buriedPointMap_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableBuriedPointMap() {
+ if (buriedPointMap_ == null) {
+ buriedPointMap_ = com.google.protobuf.MapField.newMapField(
+ BuriedPointMapDefaultEntryHolder.defaultEntry);
+ }
+ if (!buriedPointMap_.isMutable()) {
+ buriedPointMap_ = buriedPointMap_.copy();
+ }
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return buriedPointMap_;
+ }
+ public int getBuriedPointMapCount() {
+ return internalGetBuriedPointMap().getMap().size();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public boolean containsBuriedPointMap(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetBuriedPointMap().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getBuriedPointMapMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getBuriedPointMap() {
+ return getBuriedPointMapMap();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public java.util.Map getBuriedPointMapMap() {
+ return internalGetBuriedPointMap().getMap();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getBuriedPointMapOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetBuriedPointMap().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ @java.lang.Override
+ public java.lang.String getBuriedPointMapOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetBuriedPointMap().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearBuriedPointMap() {
+ bitField0_ = (bitField0_ & ~0x00040000);
+ internalGetMutableBuriedPointMap().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ public Builder removeBuriedPointMap(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ internalGetMutableBuriedPointMap().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableBuriedPointMap() {
+ bitField0_ |= 0x00040000;
+ return internalGetMutableBuriedPointMap().getMutableMap();
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ public Builder putBuriedPointMap(
+ java.lang.String key,
+ java.lang.String value) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ if (value == null) { throw new NullPointerException("map value"); }
+ internalGetMutableBuriedPointMap().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00040000;
+ return this;
+ }
+ /**
+ * map<string, string> buriedPointMap = 22;
+ */
+ public Builder putAllBuriedPointMap(
+ java.util.Map values) {
+ internalGetMutableBuriedPointMap().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00040000;
+ 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.DouyinWebcastMemberMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastMemberMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastMemberMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastMemberMessageMsgOuterClass.DouyinWebcastMemberMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_fieldAccessorTable;
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_BuriedPointMapEntry_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_BuriedPointMapEntry_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n#DouyinWebcastMemberMessageMsg.proto\0222t" +
+ "ech.ordinaryroad.live.chat.client.douyin" +
+ ".protobuf\032\014Common.proto\032\nUser.proto\032\013Ima" +
+ "ge.proto\032\nText.proto\"\372\004\n\035DouyinWebcastMe" +
+ "mberMessageMsg\022\027\n\006common\030\001 \001(\0132\007.Common\022" +
+ "\023\n\004user\030\002 \001(\0132\005.User\022\023\n\013memberCount\030\003 \001(" +
+ "\004\022\027\n\010operator\030\004 \001(\0132\005.User\022\024\n\014isSetToAdm" +
+ "in\030\005 \001(\010\022\021\n\tisTopUser\030\006 \001(\010\022\021\n\trankScore" +
+ "\030\007 \001(\003\022\021\n\ttopUserNo\030\010 \001(\003\022\021\n\tenterType\030\t" +
+ " \001(\003\022\016\n\006action\030\n \001(\003\022\031\n\021actionDescriptio" +
+ "n\030\013 \001(\t\022\016\n\006userId\030\014 \001(\003\022\016\n\006popStr\030\016 \001(\t\022" +
+ "\037\n\017backgroundImage\030\020 \001(\0132\006.Image\022!\n\021back" +
+ "groundImageV2\030\021 \001(\0132\006.Image\022 \n\021anchorDis" +
+ "playText\030\022 \001(\0132\005.Text\022\030\n\020userEnterTipTyp" +
+ "e\030\024 \001(\003\022\032\n\022anchorEnterTipType\030\025 \001(\003\022}\n\016b" +
+ "uriedPointMap\030\026 \003(\0132e.tech.ordinaryroad." +
+ "live.chat.client.douyin.protobuf.DouyinW" +
+ "ebcastMemberMessageMsg.BuriedPointMapEnt" +
+ "ry\0325\n\023BuriedPointMapEntry\022\013\n\003key\030\001 \001(\t\022\r" +
+ "\n\005value\030\002 \001(\t:\0028\001B:\n8tech.ordinaryroad.l" +
+ "ive.chat.client.codec.douyin.protobufb\006p" +
+ "roto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "User", "MemberCount", "Operator", "IsSetToAdmin", "IsTopUser", "RankScore", "TopUserNo", "EnterType", "Action", "ActionDescription", "UserId", "PopStr", "BackgroundImage", "BackgroundImageV2", "AnchorDisplayText", "UserEnterTipType", "AnchorEnterTipType", "BuriedPointMap", });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_BuriedPointMapEntry_descriptor =
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_descriptor.getNestedTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_BuriedPointMapEntry_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastMemberMessageMsg_BuriedPointMapEntry_descriptor,
+ new java.lang.String[] { "Key", "Value", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastRoomStatsMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastRoomStatsMessageMsgOuterClass.java
new file mode 100644
index 0000000..51d5f64
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastRoomStatsMessageMsgOuterClass.java
@@ -0,0 +1,1577 @@
+/*
+ * 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: DouyinWebcastRoomStatsMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastRoomStatsMessageMsgOuterClass {
+ private DouyinWebcastRoomStatsMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastRoomStatsMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastRoomStatsMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * string displayShort = 2;
+ * @return The displayShort.
+ */
+ java.lang.String getDisplayShort();
+ /**
+ * string displayShort = 2;
+ * @return The bytes for displayShort.
+ */
+ com.google.protobuf.ByteString
+ getDisplayShortBytes();
+
+ /**
+ * string displayMiddle = 3;
+ * @return The displayMiddle.
+ */
+ java.lang.String getDisplayMiddle();
+ /**
+ * string displayMiddle = 3;
+ * @return The bytes for displayMiddle.
+ */
+ com.google.protobuf.ByteString
+ getDisplayMiddleBytes();
+
+ /**
+ * string displayLong = 4;
+ * @return The displayLong.
+ */
+ java.lang.String getDisplayLong();
+ /**
+ * string displayLong = 4;
+ * @return The bytes for displayLong.
+ */
+ com.google.protobuf.ByteString
+ getDisplayLongBytes();
+
+ /**
+ * int64 displayValue = 5;
+ * @return The displayValue.
+ */
+ long getDisplayValue();
+
+ /**
+ * int64 displayVersion = 6;
+ * @return The displayVersion.
+ */
+ long getDisplayVersion();
+
+ /**
+ * bool incremental = 7;
+ * @return The incremental.
+ */
+ boolean getIncremental();
+
+ /**
+ * bool isHidden = 8;
+ * @return The isHidden.
+ */
+ boolean getIsHidden();
+
+ /**
+ * int64 total = 9;
+ * @return The total.
+ */
+ long getTotal();
+
+ /**
+ * int64 displayType = 10;
+ * @return The displayType.
+ */
+ long getDisplayType();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastRoomStatsMessageMsg}
+ */
+ public static final class DouyinWebcastRoomStatsMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastRoomStatsMessageMsg)
+ DouyinWebcastRoomStatsMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastRoomStatsMessageMsg.newBuilder() to construct.
+ private DouyinWebcastRoomStatsMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastRoomStatsMessageMsg() {
+ displayShort_ = "";
+ displayMiddle_ = "";
+ displayLong_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastRoomStatsMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+
+ public static final int DISPLAYSHORT_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayShort_ = "";
+ /**
+ * string displayShort = 2;
+ * @return The displayShort.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayShort() {
+ java.lang.Object ref = displayShort_;
+ 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();
+ displayShort_ = s;
+ return s;
+ }
+ }
+ /**
+ * string displayShort = 2;
+ * @return The bytes for displayShort.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDisplayShortBytes() {
+ java.lang.Object ref = displayShort_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ displayShort_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DISPLAYMIDDLE_FIELD_NUMBER = 3;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayMiddle_ = "";
+ /**
+ * string displayMiddle = 3;
+ * @return The displayMiddle.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayMiddle() {
+ java.lang.Object ref = displayMiddle_;
+ 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();
+ displayMiddle_ = s;
+ return s;
+ }
+ }
+ /**
+ * string displayMiddle = 3;
+ * @return The bytes for displayMiddle.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDisplayMiddleBytes() {
+ java.lang.Object ref = displayMiddle_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ displayMiddle_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DISPLAYLONG_FIELD_NUMBER = 4;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayLong_ = "";
+ /**
+ * string displayLong = 4;
+ * @return The displayLong.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayLong() {
+ java.lang.Object ref = displayLong_;
+ 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();
+ displayLong_ = s;
+ return s;
+ }
+ }
+ /**
+ * string displayLong = 4;
+ * @return The bytes for displayLong.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDisplayLongBytes() {
+ java.lang.Object ref = displayLong_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ displayLong_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DISPLAYVALUE_FIELD_NUMBER = 5;
+ private long displayValue_ = 0L;
+ /**
+ * int64 displayValue = 5;
+ * @return The displayValue.
+ */
+ @java.lang.Override
+ public long getDisplayValue() {
+ return displayValue_;
+ }
+
+ public static final int DISPLAYVERSION_FIELD_NUMBER = 6;
+ private long displayVersion_ = 0L;
+ /**
+ * int64 displayVersion = 6;
+ * @return The displayVersion.
+ */
+ @java.lang.Override
+ public long getDisplayVersion() {
+ return displayVersion_;
+ }
+
+ public static final int INCREMENTAL_FIELD_NUMBER = 7;
+ private boolean incremental_ = false;
+ /**
+ * bool incremental = 7;
+ * @return The incremental.
+ */
+ @java.lang.Override
+ public boolean getIncremental() {
+ return incremental_;
+ }
+
+ public static final int ISHIDDEN_FIELD_NUMBER = 8;
+ private boolean isHidden_ = false;
+ /**
+ * bool isHidden = 8;
+ * @return The isHidden.
+ */
+ @java.lang.Override
+ public boolean getIsHidden() {
+ return isHidden_;
+ }
+
+ public static final int TOTAL_FIELD_NUMBER = 9;
+ private long total_ = 0L;
+ /**
+ * int64 total = 9;
+ * @return The total.
+ */
+ @java.lang.Override
+ public long getTotal() {
+ return total_;
+ }
+
+ public static final int DISPLAYTYPE_FIELD_NUMBER = 10;
+ private long displayType_ = 0L;
+ /**
+ * int64 displayType = 10;
+ * @return The displayType.
+ */
+ @java.lang.Override
+ public long getDisplayType() {
+ return displayType_;
+ }
+
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getCommon());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayShort_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayShort_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayMiddle_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayMiddle_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayLong_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayLong_);
+ }
+ if (displayValue_ != 0L) {
+ output.writeInt64(5, displayValue_);
+ }
+ if (displayVersion_ != 0L) {
+ output.writeInt64(6, displayVersion_);
+ }
+ if (incremental_ != false) {
+ output.writeBool(7, incremental_);
+ }
+ if (isHidden_ != false) {
+ output.writeBool(8, isHidden_);
+ }
+ if (total_ != 0L) {
+ output.writeInt64(9, total_);
+ }
+ if (displayType_ != 0L) {
+ output.writeInt64(10, displayType_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCommon());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayShort_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayShort_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayMiddle_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayMiddle_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayLong_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayLong_);
+ }
+ if (displayValue_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(5, displayValue_);
+ }
+ if (displayVersion_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(6, displayVersion_);
+ }
+ if (incremental_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(7, incremental_);
+ }
+ if (isHidden_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(8, isHidden_);
+ }
+ if (total_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(9, total_);
+ }
+ if (displayType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(10, displayType_);
+ }
+ 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg) obj;
+
+ if (hasCommon() != other.hasCommon()) return false;
+ if (hasCommon()) {
+ if (!getCommon()
+ .equals(other.getCommon())) return false;
+ }
+ if (!getDisplayShort()
+ .equals(other.getDisplayShort())) return false;
+ if (!getDisplayMiddle()
+ .equals(other.getDisplayMiddle())) return false;
+ if (!getDisplayLong()
+ .equals(other.getDisplayLong())) return false;
+ if (getDisplayValue()
+ != other.getDisplayValue()) return false;
+ if (getDisplayVersion()
+ != other.getDisplayVersion()) return false;
+ if (getIncremental()
+ != other.getIncremental()) return false;
+ if (getIsHidden()
+ != other.getIsHidden()) return false;
+ if (getTotal()
+ != other.getTotal()) return false;
+ if (getDisplayType()
+ != other.getDisplayType()) 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) + DISPLAYSHORT_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayShort().hashCode();
+ hash = (37 * hash) + DISPLAYMIDDLE_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayMiddle().hashCode();
+ hash = (37 * hash) + DISPLAYLONG_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayLong().hashCode();
+ hash = (37 * hash) + DISPLAYVALUE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getDisplayValue());
+ hash = (37 * hash) + DISPLAYVERSION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getDisplayVersion());
+ hash = (37 * hash) + INCREMENTAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncremental());
+ hash = (37 * hash) + ISHIDDEN_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsHidden());
+ hash = (37 * hash) + TOTAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTotal());
+ hash = (37 * hash) + DISPLAYTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getDisplayType());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg 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.DouyinWebcastRoomStatsMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastRoomStatsMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ displayShort_ = "";
+ displayMiddle_ = "";
+ displayLong_ = "";
+ displayValue_ = 0L;
+ displayVersion_ = 0L;
+ incremental_ = false;
+ isHidden_ = false;
+ total_ = 0L;
+ displayType_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.displayShort_ = displayShort_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.displayMiddle_ = displayMiddle_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.displayLong_ = displayLong_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.displayValue_ = displayValue_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.displayVersion_ = displayVersion_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.incremental_ = incremental_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.isHidden_ = isHidden_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.total_ = total_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.displayType_ = displayType_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (!other.getDisplayShort().isEmpty()) {
+ displayShort_ = other.displayShort_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (!other.getDisplayMiddle().isEmpty()) {
+ displayMiddle_ = other.displayMiddle_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ if (!other.getDisplayLong().isEmpty()) {
+ displayLong_ = other.displayLong_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ if (other.getDisplayValue() != 0L) {
+ setDisplayValue(other.getDisplayValue());
+ }
+ if (other.getDisplayVersion() != 0L) {
+ setDisplayVersion(other.getDisplayVersion());
+ }
+ if (other.getIncremental() != false) {
+ setIncremental(other.getIncremental());
+ }
+ if (other.getIsHidden() != false) {
+ setIsHidden(other.getIsHidden());
+ }
+ if (other.getTotal() != 0L) {
+ setTotal(other.getTotal());
+ }
+ if (other.getDisplayType() != 0L) {
+ setDisplayType(other.getDisplayType());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ displayShort_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26: {
+ displayMiddle_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 34: {
+ displayLong_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ case 40: {
+ displayValue_ = input.readInt64();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 48: {
+ displayVersion_ = input.readInt64();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 56: {
+ incremental_ = input.readBool();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 56
+ case 64: {
+ isHidden_ = input.readBool();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 64
+ case 72: {
+ total_ = input.readInt64();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 72
+ case 80: {
+ displayType_ = input.readInt64();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 80
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
+ getCommon(),
+ getParentForChildren(),
+ isClean());
+ common_ = null;
+ }
+ return commonBuilder_;
+ }
+
+ private java.lang.Object displayShort_ = "";
+ /**
+ * string displayShort = 2;
+ * @return The displayShort.
+ */
+ public java.lang.String getDisplayShort() {
+ java.lang.Object ref = displayShort_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayShort_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string displayShort = 2;
+ * @return The bytes for displayShort.
+ */
+ public com.google.protobuf.ByteString
+ getDisplayShortBytes() {
+ java.lang.Object ref = displayShort_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ displayShort_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string displayShort = 2;
+ * @param value The displayShort to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayShort(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ displayShort_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * string displayShort = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayShort() {
+ displayShort_ = getDefaultInstance().getDisplayShort();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * string displayShort = 2;
+ * @param value The bytes for displayShort to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayShortBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ displayShort_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object displayMiddle_ = "";
+ /**
+ * string displayMiddle = 3;
+ * @return The displayMiddle.
+ */
+ public java.lang.String getDisplayMiddle() {
+ java.lang.Object ref = displayMiddle_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayMiddle_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string displayMiddle = 3;
+ * @return The bytes for displayMiddle.
+ */
+ public com.google.protobuf.ByteString
+ getDisplayMiddleBytes() {
+ java.lang.Object ref = displayMiddle_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ displayMiddle_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string displayMiddle = 3;
+ * @param value The displayMiddle to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayMiddle(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ displayMiddle_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * string displayMiddle = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayMiddle() {
+ displayMiddle_ = getDefaultInstance().getDisplayMiddle();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ * string displayMiddle = 3;
+ * @param value The bytes for displayMiddle to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayMiddleBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ displayMiddle_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object displayLong_ = "";
+ /**
+ * string displayLong = 4;
+ * @return The displayLong.
+ */
+ public java.lang.String getDisplayLong() {
+ java.lang.Object ref = displayLong_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayLong_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string displayLong = 4;
+ * @return The bytes for displayLong.
+ */
+ public com.google.protobuf.ByteString
+ getDisplayLongBytes() {
+ java.lang.Object ref = displayLong_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ displayLong_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string displayLong = 4;
+ * @param value The displayLong to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayLong(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ displayLong_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * string displayLong = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayLong() {
+ displayLong_ = getDefaultInstance().getDisplayLong();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+ /**
+ * string displayLong = 4;
+ * @param value The bytes for displayLong to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayLongBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ displayLong_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ private long displayValue_ ;
+ /**
+ * int64 displayValue = 5;
+ * @return The displayValue.
+ */
+ @java.lang.Override
+ public long getDisplayValue() {
+ return displayValue_;
+ }
+ /**
+ * int64 displayValue = 5;
+ * @param value The displayValue to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayValue(long value) {
+
+ displayValue_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 displayValue = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayValue() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ displayValue_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long displayVersion_ ;
+ /**
+ * int64 displayVersion = 6;
+ * @return The displayVersion.
+ */
+ @java.lang.Override
+ public long getDisplayVersion() {
+ return displayVersion_;
+ }
+ /**
+ * int64 displayVersion = 6;
+ * @param value The displayVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayVersion(long value) {
+
+ displayVersion_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 displayVersion = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayVersion() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ displayVersion_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private boolean incremental_ ;
+ /**
+ * bool incremental = 7;
+ * @return The incremental.
+ */
+ @java.lang.Override
+ public boolean getIncremental() {
+ return incremental_;
+ }
+ /**
+ * bool incremental = 7;
+ * @param value The incremental to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIncremental(boolean value) {
+
+ incremental_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool incremental = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearIncremental() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ incremental_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean isHidden_ ;
+ /**
+ * bool isHidden = 8;
+ * @return The isHidden.
+ */
+ @java.lang.Override
+ public boolean getIsHidden() {
+ return isHidden_;
+ }
+ /**
+ * bool isHidden = 8;
+ * @param value The isHidden to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsHidden(boolean value) {
+
+ isHidden_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool isHidden = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsHidden() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ isHidden_ = false;
+ onChanged();
+ return this;
+ }
+
+ private long total_ ;
+ /**
+ * int64 total = 9;
+ * @return The total.
+ */
+ @java.lang.Override
+ public long getTotal() {
+ return total_;
+ }
+ /**
+ * int64 total = 9;
+ * @param value The total to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotal(long value) {
+
+ total_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 total = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearTotal() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ total_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long displayType_ ;
+ /**
+ * int64 displayType = 10;
+ * @return The displayType.
+ */
+ @java.lang.Override
+ public long getDisplayType() {
+ return displayType_;
+ }
+ /**
+ * int64 displayType = 10;
+ * @param value The displayType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayType(long value) {
+
+ displayType_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 displayType = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayType() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ displayType_ = 0L;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastRoomStatsMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastRoomStatsMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastRoomStatsMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastRoomStatsMessageMsgOuterClass.DouyinWebcastRoomStatsMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n&DouyinWebcastRoomStatsMessageMsg.proto" +
+ "\0222tech.ordinaryroad.live.chat.client.dou" +
+ "yin.protobuf\032\014Common.proto\"\366\001\n DouyinWeb" +
+ "castRoomStatsMessageMsg\022\027\n\006common\030\001 \001(\0132" +
+ "\007.Common\022\024\n\014displayShort\030\002 \001(\t\022\025\n\rdispla" +
+ "yMiddle\030\003 \001(\t\022\023\n\013displayLong\030\004 \001(\t\022\024\n\014di" +
+ "splayValue\030\005 \001(\003\022\026\n\016displayVersion\030\006 \001(\003" +
+ "\022\023\n\013incremental\030\007 \001(\010\022\020\n\010isHidden\030\010 \001(\010\022" +
+ "\r\n\005total\030\t \001(\003\022\023\n\013displayType\030\n \001(\003B:\n8t" +
+ "ech.ordinaryroad.live.chat.client.codec." +
+ "douyin.protobufb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastRoomStatsMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "DisplayShort", "DisplayMiddle", "DisplayLong", "DisplayValue", "DisplayVersion", "Incremental", "IsHidden", "Total", "DisplayType", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastSocialMessageMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastSocialMessageMsgOuterClass.java
new file mode 100644
index 0000000..8eedb59
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebcastSocialMessageMsgOuterClass.java
@@ -0,0 +1,1466 @@
+/*
+ * 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: DouyinWebcastSocialMessageMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebcastSocialMessageMsgOuterClass {
+ private DouyinWebcastSocialMessageMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebcastSocialMessageMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastSocialMessageMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ boolean hasCommon();
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
+ /**
+ * .Common common = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder();
+
+ /**
+ * .User user = 2;
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+ /**
+ * .User user = 2;
+ * @return The user.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser();
+ /**
+ * .User user = 2;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
+
+ /**
+ * int64 shareType = 3;
+ * @return The shareType.
+ */
+ long getShareType();
+
+ /**
+ * int64 action = 4;
+ * @return The action.
+ */
+ long getAction();
+
+ /**
+ * string shareTarget = 5;
+ * @return The shareTarget.
+ */
+ java.lang.String getShareTarget();
+ /**
+ * string shareTarget = 5;
+ * @return The bytes for shareTarget.
+ */
+ com.google.protobuf.ByteString
+ getShareTargetBytes();
+
+ /**
+ * int64 followCount = 6;
+ * @return The followCount.
+ */
+ long getFollowCount();
+
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ * @return Whether the publicAreaCommon field is set.
+ */
+ boolean hasPublicAreaCommon();
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ * @return The publicAreaCommon.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon();
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastSocialMessageMsg}
+ */
+ public static final class DouyinWebcastSocialMessageMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastSocialMessageMsg)
+ DouyinWebcastSocialMessageMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebcastSocialMessageMsg.newBuilder() to construct.
+ private DouyinWebcastSocialMessageMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebcastSocialMessageMsg() {
+ shareTarget_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebcastSocialMessageMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int COMMON_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ /**
+ * .Common common = 1;
+ * @return Whether the common field is set.
+ */
+ @java.lang.Override
+ public boolean hasCommon() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Common common = 1;
+ * @return The common.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ /**
+ * .Common common = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+
+ public static final int USER_FIELD_NUMBER = 2;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ /**
+ * .User user = 2;
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * .User user = 2;
+ * @return The user.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ /**
+ * .User user = 2;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+
+ public static final int SHARETYPE_FIELD_NUMBER = 3;
+ private long shareType_ = 0L;
+ /**
+ * int64 shareType = 3;
+ * @return The shareType.
+ */
+ @java.lang.Override
+ public long getShareType() {
+ return shareType_;
+ }
+
+ public static final int ACTION_FIELD_NUMBER = 4;
+ private long action_ = 0L;
+ /**
+ * int64 action = 4;
+ * @return The action.
+ */
+ @java.lang.Override
+ public long getAction() {
+ return action_;
+ }
+
+ public static final int SHARETARGET_FIELD_NUMBER = 5;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object shareTarget_ = "";
+ /**
+ * string shareTarget = 5;
+ * @return The shareTarget.
+ */
+ @java.lang.Override
+ public java.lang.String getShareTarget() {
+ java.lang.Object ref = shareTarget_;
+ 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();
+ shareTarget_ = s;
+ return s;
+ }
+ }
+ /**
+ * string shareTarget = 5;
+ * @return The bytes for shareTarget.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getShareTargetBytes() {
+ java.lang.Object ref = shareTarget_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ shareTarget_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FOLLOWCOUNT_FIELD_NUMBER = 6;
+ private long followCount_ = 0L;
+ /**
+ * int64 followCount = 6;
+ * @return The followCount.
+ */
+ @java.lang.Override
+ public long getFollowCount() {
+ return followCount_;
+ }
+
+ public static final int PUBLICAREACOMMON_FIELD_NUMBER = 7;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon publicAreaCommon_;
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ * @return Whether the publicAreaCommon field is set.
+ */
+ @java.lang.Override
+ public boolean hasPublicAreaCommon() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ * @return The publicAreaCommon.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon() {
+ return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder() {
+ return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ }
+
+ 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 (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getCommon());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getUser());
+ }
+ if (shareType_ != 0L) {
+ output.writeInt64(3, shareType_);
+ }
+ if (action_ != 0L) {
+ output.writeInt64(4, action_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shareTarget_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, shareTarget_);
+ }
+ if (followCount_ != 0L) {
+ output.writeInt64(6, followCount_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeMessage(7, getPublicAreaCommon());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCommon());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getUser());
+ }
+ if (shareType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(3, shareType_);
+ }
+ if (action_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, action_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shareTarget_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, shareTarget_);
+ }
+ if (followCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(6, followCount_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, getPublicAreaCommon());
+ }
+ 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg) 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 (getShareType()
+ != other.getShareType()) return false;
+ if (getAction()
+ != other.getAction()) return false;
+ if (!getShareTarget()
+ .equals(other.getShareTarget())) return false;
+ if (getFollowCount()
+ != other.getFollowCount()) return false;
+ if (hasPublicAreaCommon() != other.hasPublicAreaCommon()) return false;
+ if (hasPublicAreaCommon()) {
+ if (!getPublicAreaCommon()
+ .equals(other.getPublicAreaCommon())) 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) + SHARETYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getShareType());
+ hash = (37 * hash) + ACTION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getAction());
+ hash = (37 * hash) + SHARETARGET_FIELD_NUMBER;
+ hash = (53 * hash) + getShareTarget().hashCode();
+ hash = (37 * hash) + FOLLOWCOUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getFollowCount());
+ if (hasPublicAreaCommon()) {
+ hash = (37 * hash) + PUBLICAREACOMMON_FIELD_NUMBER;
+ hash = (53 * hash) + getPublicAreaCommon().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg 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.DouyinWebcastSocialMessageMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastSocialMessageMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getCommonFieldBuilder();
+ getUserFieldBuilder();
+ getPublicAreaCommonFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ common_ = null;
+ if (commonBuilder_ != null) {
+ commonBuilder_.dispose();
+ commonBuilder_ = null;
+ }
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ shareType_ = 0L;
+ action_ = 0L;
+ shareTarget_ = "";
+ followCount_ = 0L;
+ publicAreaCommon_ = null;
+ if (publicAreaCommonBuilder_ != null) {
+ publicAreaCommonBuilder_.dispose();
+ publicAreaCommonBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.common_ = commonBuilder_ == null
+ ? common_
+ : commonBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.user_ = userBuilder_ == null
+ ? user_
+ : userBuilder_.build();
+ to_bitField0_ |= 0x00000002;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.shareType_ = shareType_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.action_ = action_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.shareTarget_ = shareTarget_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.followCount_ = followCount_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.publicAreaCommon_ = publicAreaCommonBuilder_ == null
+ ? publicAreaCommon_
+ : publicAreaCommonBuilder_.build();
+ to_bitField0_ |= 0x00000004;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg.getDefaultInstance()) return this;
+ if (other.hasCommon()) {
+ mergeCommon(other.getCommon());
+ }
+ if (other.hasUser()) {
+ mergeUser(other.getUser());
+ }
+ if (other.getShareType() != 0L) {
+ setShareType(other.getShareType());
+ }
+ if (other.getAction() != 0L) {
+ setAction(other.getAction());
+ }
+ if (!other.getShareTarget().isEmpty()) {
+ shareTarget_ = other.shareTarget_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ if (other.getFollowCount() != 0L) {
+ setFollowCount(other.getFollowCount());
+ }
+ if (other.hasPublicAreaCommon()) {
+ mergePublicAreaCommon(other.getPublicAreaCommon());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ input.readMessage(
+ getCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18: {
+ input.readMessage(
+ getUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 24: {
+ shareType_ = input.readInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ action_ = input.readInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 42: {
+ shareTarget_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 48: {
+ followCount_ = input.readInt64();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 58: {
+ input.readMessage(
+ getPublicAreaCommonFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common common_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> commonBuilder_;
+ /**
+ * .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.codec.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
+ if (commonBuilder_ == null) {
+ return common_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ } else {
+ return commonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ public Builder setCommon(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.CommonOuterClass.Common value) {
+ if (commonBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) &&
+ common_ != null &&
+ common_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
+ getCommonBuilder().mergeFrom(value);
+ } else {
+ common_ = value;
+ }
+ } else {
+ commonBuilder_.mergeFrom(value);
+ }
+ if (common_ != null) {
+ 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.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .Common common = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
+ if (commonBuilder_ != null) {
+ return commonBuilder_.getMessageOrBuilder();
+ } else {
+ return common_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
+ }
+ }
+ /**
+ * .Common common = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
+ getCommonFieldBuilder() {
+ if (commonBuilder_ == null) {
+ commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
+ getCommon(),
+ getParentForChildren(),
+ isClean());
+ common_ = null;
+ }
+ return commonBuilder_;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ if (userBuilder_ == null) {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ } else {
+ return userBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User user = 2;
+ */
+ public Builder setUser(tech.ordinaryroad.live.chat.client.codec.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.codec.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.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) &&
+ user_ != null &&
+ user_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getUserBuilder().mergeFrom(value);
+ } else {
+ user_ = value;
+ }
+ } else {
+ userBuilder_.mergeFrom(value);
+ }
+ if (user_ != null) {
+ 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.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User user = 2;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ if (userBuilder_ != null) {
+ return userBuilder_.getMessageOrBuilder();
+ } else {
+ return user_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ }
+ /**
+ * .User user = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getUserFieldBuilder() {
+ if (userBuilder_ == null) {
+ userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
+ getUser(),
+ getParentForChildren(),
+ isClean());
+ user_ = null;
+ }
+ return userBuilder_;
+ }
+
+ private long shareType_ ;
+ /**
+ * int64 shareType = 3;
+ * @return The shareType.
+ */
+ @java.lang.Override
+ public long getShareType() {
+ return shareType_;
+ }
+ /**
+ * int64 shareType = 3;
+ * @param value The shareType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShareType(long value) {
+
+ shareType_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 shareType = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearShareType() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ shareType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long action_ ;
+ /**
+ * int64 action = 4;
+ * @return The action.
+ */
+ @java.lang.Override
+ public long getAction() {
+ return action_;
+ }
+ /**
+ * int64 action = 4;
+ * @param value The action to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAction(long value) {
+
+ action_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 action = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearAction() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ action_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object shareTarget_ = "";
+ /**
+ * string shareTarget = 5;
+ * @return The shareTarget.
+ */
+ public java.lang.String getShareTarget() {
+ java.lang.Object ref = shareTarget_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ shareTarget_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string shareTarget = 5;
+ * @return The bytes for shareTarget.
+ */
+ public com.google.protobuf.ByteString
+ getShareTargetBytes() {
+ java.lang.Object ref = shareTarget_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ shareTarget_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string shareTarget = 5;
+ * @param value The shareTarget to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShareTarget(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ shareTarget_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * string shareTarget = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearShareTarget() {
+ shareTarget_ = getDefaultInstance().getShareTarget();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+ /**
+ * string shareTarget = 5;
+ * @param value The bytes for shareTarget to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShareTargetBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ shareTarget_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ private long followCount_ ;
+ /**
+ * int64 followCount = 6;
+ * @return The followCount.
+ */
+ @java.lang.Override
+ public long getFollowCount() {
+ return followCount_;
+ }
+ /**
+ * int64 followCount = 6;
+ * @param value The followCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFollowCount(long value) {
+
+ followCount_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * int64 followCount = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearFollowCount() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ followCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon publicAreaCommon_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder> publicAreaCommonBuilder_;
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ * @return Whether the publicAreaCommon field is set.
+ */
+ public boolean hasPublicAreaCommon() {
+ return ((bitField0_ & 0x00000040) != 0);
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ * @return The publicAreaCommon.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon() {
+ if (publicAreaCommonBuilder_ == null) {
+ return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ } else {
+ return publicAreaCommonBuilder_.getMessage();
+ }
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ public Builder setPublicAreaCommon(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon value) {
+ if (publicAreaCommonBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ publicAreaCommon_ = value;
+ } else {
+ publicAreaCommonBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ public Builder setPublicAreaCommon(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder builderForValue) {
+ if (publicAreaCommonBuilder_ == null) {
+ publicAreaCommon_ = builderForValue.build();
+ } else {
+ publicAreaCommonBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ public Builder mergePublicAreaCommon(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon value) {
+ if (publicAreaCommonBuilder_ == null) {
+ if (((bitField0_ & 0x00000040) != 0) &&
+ publicAreaCommon_ != null &&
+ publicAreaCommon_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance()) {
+ getPublicAreaCommonBuilder().mergeFrom(value);
+ } else {
+ publicAreaCommon_ = value;
+ }
+ } else {
+ publicAreaCommonBuilder_.mergeFrom(value);
+ }
+ if (publicAreaCommon_ != null) {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ public Builder clearPublicAreaCommon() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ publicAreaCommon_ = null;
+ if (publicAreaCommonBuilder_ != null) {
+ publicAreaCommonBuilder_.dispose();
+ publicAreaCommonBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder getPublicAreaCommonBuilder() {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return getPublicAreaCommonFieldBuilder().getBuilder();
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder() {
+ if (publicAreaCommonBuilder_ != null) {
+ return publicAreaCommonBuilder_.getMessageOrBuilder();
+ } else {
+ return publicAreaCommon_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
+ }
+ }
+ /**
+ * .PublicAreaCommon publicAreaCommon = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder>
+ getPublicAreaCommonFieldBuilder() {
+ if (publicAreaCommonBuilder_ == null) {
+ publicAreaCommonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder>(
+ getPublicAreaCommon(),
+ getParentForChildren(),
+ isClean());
+ publicAreaCommon_ = null;
+ }
+ return publicAreaCommonBuilder_;
+ }
+ @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.DouyinWebcastSocialMessageMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebcastSocialMessageMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebcastSocialMessageMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebcastSocialMessageMsgOuterClass.DouyinWebcastSocialMessageMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n#DouyinWebcastSocialMessageMsg.proto\0222t" +
+ "ech.ordinaryroad.live.chat.client.douyin" +
+ ".protobuf\032\014Common.proto\032\nUser.proto\032\026Pub" +
+ "licAreaCommon.proto\"\307\001\n\035DouyinWebcastSoc" +
+ "ialMessageMsg\022\027\n\006common\030\001 \001(\0132\007.Common\022\023" +
+ "\n\004user\030\002 \001(\0132\005.User\022\021\n\tshareType\030\003 \001(\003\022\016" +
+ "\n\006action\030\004 \001(\003\022\023\n\013shareTarget\030\005 \001(\t\022\023\n\013f" +
+ "ollowCount\030\006 \001(\003\022+\n\020publicAreaCommon\030\007 \001" +
+ "(\0132\021.PublicAreaCommonB:\n8tech.ordinaryro" +
+ "ad.live.chat.client.codec.douyin.protobu" +
+ "fb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor(),
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebcastSocialMessageMsg_descriptor,
+ new java.lang.String[] { "Common", "User", "ShareType", "Action", "ShareTarget", "FollowCount", "PublicAreaCommon", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.getDescriptor();
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.PublicAreaCommonOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebsocketFrameMsgOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebsocketFrameMsgOuterClass.java
new file mode 100644
index 0000000..6fbf69a
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebsocketFrameMsgOuterClass.java
@@ -0,0 +1,2224 @@
+/*
+ * 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: DouyinWebsocketFrameMsg.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebsocketFrameMsgOuterClass {
+ private DouyinWebsocketFrameMsgOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebsocketFrameMsgOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrameMsg)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ java.util.List
+ getMessagesListList();
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg getMessagesList(int index);
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ int getMessagesListCount();
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ java.util.List extends tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder>
+ getMessagesListOrBuilderList();
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder getMessagesListOrBuilder(
+ int index);
+
+ /**
+ * string cursor = 2;
+ * @return The cursor.
+ */
+ java.lang.String getCursor();
+ /**
+ * string cursor = 2;
+ * @return The bytes for cursor.
+ */
+ com.google.protobuf.ByteString
+ getCursorBytes();
+
+ /**
+ * uint64 fetch_interval = 3;
+ * @return The fetchInterval.
+ */
+ long getFetchInterval();
+
+ /**
+ * uint64 now = 4;
+ * @return The now.
+ */
+ long getNow();
+
+ /**
+ * string internal_ext = 5;
+ * @return The internalExt.
+ */
+ java.lang.String getInternalExt();
+ /**
+ * string internal_ext = 5;
+ * @return The bytes for internalExt.
+ */
+ com.google.protobuf.ByteString
+ getInternalExtBytes();
+
+ /**
+ * uint32 fetch_type = 6;
+ * @return The fetchType.
+ */
+ int getFetchType();
+
+ /**
+ * map<string, string> route_params = 7;
+ */
+ int getRouteParamsCount();
+ /**
+ * map<string, string> route_params = 7;
+ */
+ boolean containsRouteParams(
+ java.lang.String key);
+ /**
+ * Use {@link #getRouteParamsMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getRouteParams();
+ /**
+ * map<string, string> route_params = 7;
+ */
+ java.util.Map
+ getRouteParamsMap();
+ /**
+ * map<string, string> route_params = 7;
+ */
+ /* nullable */
+java.lang.String getRouteParamsOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue);
+ /**
+ * map<string, string> route_params = 7;
+ */
+ java.lang.String getRouteParamsOrThrow(
+ java.lang.String key);
+
+ /**
+ * uint64 heartbeat_duration = 8;
+ * @return The heartbeatDuration.
+ */
+ long getHeartbeatDuration();
+
+ /**
+ * bool need_ack = 9;
+ * @return The needAck.
+ */
+ boolean getNeedAck();
+
+ /**
+ * string push_server = 10;
+ * @return The pushServer.
+ */
+ java.lang.String getPushServer();
+ /**
+ * string push_server = 10;
+ * @return The bytes for pushServer.
+ */
+ com.google.protobuf.ByteString
+ getPushServerBytes();
+
+ /**
+ * string live_cursor = 11;
+ * @return The liveCursor.
+ */
+ java.lang.String getLiveCursor();
+ /**
+ * string live_cursor = 11;
+ * @return The bytes for liveCursor.
+ */
+ com.google.protobuf.ByteString
+ getLiveCursorBytes();
+
+ /**
+ * bool history_no_more = 12;
+ * @return The historyNoMore.
+ */
+ boolean getHistoryNoMore();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrameMsg}
+ */
+ public static final class DouyinWebsocketFrameMsg extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrameMsg)
+ DouyinWebsocketFrameMsgOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebsocketFrameMsg.newBuilder() to construct.
+ private DouyinWebsocketFrameMsg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebsocketFrameMsg() {
+ messagesList_ = java.util.Collections.emptyList();
+ cursor_ = "";
+ internalExt_ = "";
+ pushServer_ = "";
+ liveCursor_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebsocketFrameMsg();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 7:
+ return internalGetRouteParams();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.Builder.class);
+ }
+
+ public static final int MESSAGES_LIST_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private java.util.List messagesList_;
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ @java.lang.Override
+ public java.util.List getMessagesListList() {
+ return messagesList_;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder>
+ getMessagesListOrBuilderList() {
+ return messagesList_;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ @java.lang.Override
+ public int getMessagesListCount() {
+ return messagesList_.size();
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg getMessagesList(int index) {
+ return messagesList_.get(index);
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder getMessagesListOrBuilder(
+ int index) {
+ return messagesList_.get(index);
+ }
+
+ public static final int CURSOR_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object cursor_ = "";
+ /**
+ * string cursor = 2;
+ * @return The cursor.
+ */
+ @java.lang.Override
+ public java.lang.String getCursor() {
+ java.lang.Object ref = cursor_;
+ 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();
+ cursor_ = s;
+ return s;
+ }
+ }
+ /**
+ * string cursor = 2;
+ * @return The bytes for cursor.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getCursorBytes() {
+ java.lang.Object ref = cursor_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cursor_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FETCH_INTERVAL_FIELD_NUMBER = 3;
+ private long fetchInterval_ = 0L;
+ /**
+ * uint64 fetch_interval = 3;
+ * @return The fetchInterval.
+ */
+ @java.lang.Override
+ public long getFetchInterval() {
+ return fetchInterval_;
+ }
+
+ public static final int NOW_FIELD_NUMBER = 4;
+ private long now_ = 0L;
+ /**
+ * uint64 now = 4;
+ * @return The now.
+ */
+ @java.lang.Override
+ public long getNow() {
+ return now_;
+ }
+
+ public static final int INTERNAL_EXT_FIELD_NUMBER = 5;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object internalExt_ = "";
+ /**
+ * string internal_ext = 5;
+ * @return The internalExt.
+ */
+ @java.lang.Override
+ public java.lang.String getInternalExt() {
+ java.lang.Object ref = internalExt_;
+ 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();
+ internalExt_ = s;
+ return s;
+ }
+ }
+ /**
+ * string internal_ext = 5;
+ * @return The bytes for internalExt.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getInternalExtBytes() {
+ java.lang.Object ref = internalExt_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ internalExt_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FETCH_TYPE_FIELD_NUMBER = 6;
+ private int fetchType_ = 0;
+ /**
+ * uint32 fetch_type = 6;
+ * @return The fetchType.
+ */
+ @java.lang.Override
+ public int getFetchType() {
+ return fetchType_;
+ }
+
+ public static final int ROUTE_PARAMS_FIELD_NUMBER = 7;
+ private static final class RouteParamsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_RouteParamsEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> routeParams_;
+ private com.google.protobuf.MapField
+ internalGetRouteParams() {
+ if (routeParams_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ RouteParamsDefaultEntryHolder.defaultEntry);
+ }
+ return routeParams_;
+ }
+ public int getRouteParamsCount() {
+ return internalGetRouteParams().getMap().size();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public boolean containsRouteParams(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetRouteParams().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getRouteParamsMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getRouteParams() {
+ return getRouteParamsMap();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public java.util.Map getRouteParamsMap() {
+ return internalGetRouteParams().getMap();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getRouteParamsOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetRouteParams().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public java.lang.String getRouteParamsOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetRouteParams().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public static final int HEARTBEAT_DURATION_FIELD_NUMBER = 8;
+ private long heartbeatDuration_ = 0L;
+ /**
+ * uint64 heartbeat_duration = 8;
+ * @return The heartbeatDuration.
+ */
+ @java.lang.Override
+ public long getHeartbeatDuration() {
+ return heartbeatDuration_;
+ }
+
+ public static final int NEED_ACK_FIELD_NUMBER = 9;
+ private boolean needAck_ = false;
+ /**
+ * bool need_ack = 9;
+ * @return The needAck.
+ */
+ @java.lang.Override
+ public boolean getNeedAck() {
+ return needAck_;
+ }
+
+ public static final int PUSH_SERVER_FIELD_NUMBER = 10;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object pushServer_ = "";
+ /**
+ * string push_server = 10;
+ * @return The pushServer.
+ */
+ @java.lang.Override
+ public java.lang.String getPushServer() {
+ java.lang.Object ref = pushServer_;
+ 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();
+ pushServer_ = s;
+ return s;
+ }
+ }
+ /**
+ * string push_server = 10;
+ * @return The bytes for pushServer.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPushServerBytes() {
+ java.lang.Object ref = pushServer_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ pushServer_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int LIVE_CURSOR_FIELD_NUMBER = 11;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object liveCursor_ = "";
+ /**
+ * string live_cursor = 11;
+ * @return The liveCursor.
+ */
+ @java.lang.Override
+ public java.lang.String getLiveCursor() {
+ java.lang.Object ref = liveCursor_;
+ 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();
+ liveCursor_ = s;
+ return s;
+ }
+ }
+ /**
+ * string live_cursor = 11;
+ * @return The bytes for liveCursor.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getLiveCursorBytes() {
+ java.lang.Object ref = liveCursor_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ liveCursor_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int HISTORY_NO_MORE_FIELD_NUMBER = 12;
+ private boolean historyNoMore_ = false;
+ /**
+ * bool history_no_more = 12;
+ * @return The historyNoMore.
+ */
+ @java.lang.Override
+ public boolean getHistoryNoMore() {
+ return historyNoMore_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < messagesList_.size(); i++) {
+ output.writeMessage(1, messagesList_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cursor_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cursor_);
+ }
+ if (fetchInterval_ != 0L) {
+ output.writeUInt64(3, fetchInterval_);
+ }
+ if (now_ != 0L) {
+ output.writeUInt64(4, now_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(internalExt_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, internalExt_);
+ }
+ if (fetchType_ != 0) {
+ output.writeUInt32(6, fetchType_);
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetRouteParams(),
+ RouteParamsDefaultEntryHolder.defaultEntry,
+ 7);
+ if (heartbeatDuration_ != 0L) {
+ output.writeUInt64(8, heartbeatDuration_);
+ }
+ if (needAck_ != false) {
+ output.writeBool(9, needAck_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pushServer_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, pushServer_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(liveCursor_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, liveCursor_);
+ }
+ if (historyNoMore_ != false) {
+ output.writeBool(12, historyNoMore_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < messagesList_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, messagesList_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cursor_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cursor_);
+ }
+ if (fetchInterval_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, fetchInterval_);
+ }
+ if (now_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, now_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(internalExt_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, internalExt_);
+ }
+ if (fetchType_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(6, fetchType_);
+ }
+ for (java.util.Map.Entry entry
+ : internalGetRouteParams().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ routeParams__ = RouteParamsDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, routeParams__);
+ }
+ if (heartbeatDuration_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(8, heartbeatDuration_);
+ }
+ if (needAck_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(9, needAck_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pushServer_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, pushServer_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(liveCursor_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, liveCursor_);
+ }
+ if (historyNoMore_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(12, historyNoMore_);
+ }
+ 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg) obj;
+
+ if (!getMessagesListList()
+ .equals(other.getMessagesListList())) return false;
+ if (!getCursor()
+ .equals(other.getCursor())) return false;
+ if (getFetchInterval()
+ != other.getFetchInterval()) return false;
+ if (getNow()
+ != other.getNow()) return false;
+ if (!getInternalExt()
+ .equals(other.getInternalExt())) return false;
+ if (getFetchType()
+ != other.getFetchType()) return false;
+ if (!internalGetRouteParams().equals(
+ other.internalGetRouteParams())) return false;
+ if (getHeartbeatDuration()
+ != other.getHeartbeatDuration()) return false;
+ if (getNeedAck()
+ != other.getNeedAck()) return false;
+ if (!getPushServer()
+ .equals(other.getPushServer())) return false;
+ if (!getLiveCursor()
+ .equals(other.getLiveCursor())) return false;
+ if (getHistoryNoMore()
+ != other.getHistoryNoMore()) 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 (getMessagesListCount() > 0) {
+ hash = (37 * hash) + MESSAGES_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getMessagesListList().hashCode();
+ }
+ hash = (37 * hash) + CURSOR_FIELD_NUMBER;
+ hash = (53 * hash) + getCursor().hashCode();
+ hash = (37 * hash) + FETCH_INTERVAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getFetchInterval());
+ hash = (37 * hash) + NOW_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getNow());
+ hash = (37 * hash) + INTERNAL_EXT_FIELD_NUMBER;
+ hash = (53 * hash) + getInternalExt().hashCode();
+ hash = (37 * hash) + FETCH_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getFetchType();
+ if (!internalGetRouteParams().getMap().isEmpty()) {
+ hash = (37 * hash) + ROUTE_PARAMS_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetRouteParams().hashCode();
+ }
+ hash = (37 * hash) + HEARTBEAT_DURATION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getHeartbeatDuration());
+ hash = (37 * hash) + NEED_ACK_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getNeedAck());
+ hash = (37 * hash) + PUSH_SERVER_FIELD_NUMBER;
+ hash = (53 * hash) + getPushServer().hashCode();
+ hash = (37 * hash) + LIVE_CURSOR_FIELD_NUMBER;
+ hash = (53 * hash) + getLiveCursor().hashCode();
+ hash = (37 * hash) + HISTORY_NO_MORE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getHistoryNoMore());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg 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.DouyinWebsocketFrameMsg}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrameMsg)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsgOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 7:
+ return internalGetRouteParams();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 7:
+ return internalGetMutableRouteParams();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (messagesListBuilder_ == null) {
+ messagesList_ = java.util.Collections.emptyList();
+ } else {
+ messagesList_ = null;
+ messagesListBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ cursor_ = "";
+ fetchInterval_ = 0L;
+ now_ = 0L;
+ internalExt_ = "";
+ fetchType_ = 0;
+ internalGetMutableRouteParams().clear();
+ heartbeatDuration_ = 0L;
+ needAck_ = false;
+ pushServer_ = "";
+ liveCursor_ = "";
+ historyNoMore_ = false;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg result) {
+ if (messagesListBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ messagesList_ = java.util.Collections.unmodifiableList(messagesList_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.messagesList_ = messagesList_;
+ } else {
+ result.messagesList_ = messagesListBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.cursor_ = cursor_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.fetchInterval_ = fetchInterval_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.now_ = now_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.internalExt_ = internalExt_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.fetchType_ = fetchType_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.routeParams_ = internalGetRouteParams();
+ result.routeParams_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.heartbeatDuration_ = heartbeatDuration_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.needAck_ = needAck_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.pushServer_ = pushServer_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.liveCursor_ = liveCursor_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.historyNoMore_ = historyNoMore_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg.getDefaultInstance()) return this;
+ if (messagesListBuilder_ == null) {
+ if (!other.messagesList_.isEmpty()) {
+ if (messagesList_.isEmpty()) {
+ messagesList_ = other.messagesList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureMessagesListIsMutable();
+ messagesList_.addAll(other.messagesList_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.messagesList_.isEmpty()) {
+ if (messagesListBuilder_.isEmpty()) {
+ messagesListBuilder_.dispose();
+ messagesListBuilder_ = null;
+ messagesList_ = other.messagesList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ messagesListBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getMessagesListFieldBuilder() : null;
+ } else {
+ messagesListBuilder_.addAllMessages(other.messagesList_);
+ }
+ }
+ }
+ if (!other.getCursor().isEmpty()) {
+ cursor_ = other.cursor_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (other.getFetchInterval() != 0L) {
+ setFetchInterval(other.getFetchInterval());
+ }
+ if (other.getNow() != 0L) {
+ setNow(other.getNow());
+ }
+ if (!other.getInternalExt().isEmpty()) {
+ internalExt_ = other.internalExt_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ if (other.getFetchType() != 0) {
+ setFetchType(other.getFetchType());
+ }
+ internalGetMutableRouteParams().mergeFrom(
+ other.internalGetRouteParams());
+ bitField0_ |= 0x00000040;
+ if (other.getHeartbeatDuration() != 0L) {
+ setHeartbeatDuration(other.getHeartbeatDuration());
+ }
+ if (other.getNeedAck() != false) {
+ setNeedAck(other.getNeedAck());
+ }
+ if (!other.getPushServer().isEmpty()) {
+ pushServer_ = other.pushServer_;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ }
+ if (!other.getLiveCursor().isEmpty()) {
+ liveCursor_ = other.liveCursor_;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ }
+ if (other.getHistoryNoMore() != false) {
+ setHistoryNoMore(other.getHistoryNoMore());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg m =
+ input.readMessage(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.parser(),
+ extensionRegistry);
+ if (messagesListBuilder_ == null) {
+ ensureMessagesListIsMutable();
+ messagesList_.add(m);
+ } else {
+ messagesListBuilder_.addMessage(m);
+ }
+ break;
+ } // case 10
+ case 18: {
+ cursor_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 24: {
+ fetchInterval_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ now_ = input.readUInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 42: {
+ internalExt_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 48: {
+ fetchType_ = input.readUInt32();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 58: {
+ com.google.protobuf.MapEntry
+ routeParams__ = input.readMessage(
+ RouteParamsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableRouteParams().getMutableMap().put(
+ routeParams__.getKey(), routeParams__.getValue());
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ case 64: {
+ heartbeatDuration_ = input.readUInt64();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 64
+ case 72: {
+ needAck_ = input.readBool();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 72
+ case 82: {
+ pushServer_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 82
+ case 90: {
+ liveCursor_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 90
+ case 96: {
+ historyNoMore_ = input.readBool();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 96
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.util.List messagesList_ =
+ java.util.Collections.emptyList();
+ private void ensureMessagesListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ messagesList_ = new java.util.ArrayList(messagesList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder> messagesListBuilder_;
+
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public java.util.List getMessagesListList() {
+ if (messagesListBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(messagesList_);
+ } else {
+ return messagesListBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public int getMessagesListCount() {
+ if (messagesListBuilder_ == null) {
+ return messagesList_.size();
+ } else {
+ return messagesListBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg getMessagesList(int index) {
+ if (messagesListBuilder_ == null) {
+ return messagesList_.get(index);
+ } else {
+ return messagesListBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder setMessagesList(
+ int index, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg value) {
+ if (messagesListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMessagesListIsMutable();
+ messagesList_.set(index, value);
+ onChanged();
+ } else {
+ messagesListBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder setMessagesList(
+ int index, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder builderForValue) {
+ if (messagesListBuilder_ == null) {
+ ensureMessagesListIsMutable();
+ messagesList_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ messagesListBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder addMessagesList(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg value) {
+ if (messagesListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMessagesListIsMutable();
+ messagesList_.add(value);
+ onChanged();
+ } else {
+ messagesListBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder addMessagesList(
+ int index, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg value) {
+ if (messagesListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMessagesListIsMutable();
+ messagesList_.add(index, value);
+ onChanged();
+ } else {
+ messagesListBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder addMessagesList(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder builderForValue) {
+ if (messagesListBuilder_ == null) {
+ ensureMessagesListIsMutable();
+ messagesList_.add(builderForValue.build());
+ onChanged();
+ } else {
+ messagesListBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder addMessagesList(
+ int index, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder builderForValue) {
+ if (messagesListBuilder_ == null) {
+ ensureMessagesListIsMutable();
+ messagesList_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ messagesListBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder addAllMessagesList(
+ java.lang.Iterable extends tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg> values) {
+ if (messagesListBuilder_ == null) {
+ ensureMessagesListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, messagesList_);
+ onChanged();
+ } else {
+ messagesListBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder clearMessagesList() {
+ if (messagesListBuilder_ == null) {
+ messagesList_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ messagesListBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public Builder removeMessagesList(int index) {
+ if (messagesListBuilder_ == null) {
+ ensureMessagesListIsMutable();
+ messagesList_.remove(index);
+ onChanged();
+ } else {
+ messagesListBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder getMessagesListBuilder(
+ int index) {
+ return getMessagesListFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder getMessagesListOrBuilder(
+ int index) {
+ if (messagesListBuilder_ == null) {
+ return messagesList_.get(index); } else {
+ return messagesListBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public java.util.List extends tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder>
+ getMessagesListOrBuilderList() {
+ if (messagesListBuilder_ != null) {
+ return messagesListBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(messagesList_);
+ }
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder addMessagesListBuilder() {
+ return getMessagesListFieldBuilder().addBuilder(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.getDefaultInstance());
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder addMessagesListBuilder(
+ int index) {
+ return getMessagesListFieldBuilder().addBuilder(
+ index, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.getDefaultInstance());
+ }
+ /**
+ * repeated .tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinCmdMsg messages_list = 1;
+ */
+ public java.util.List
+ getMessagesListBuilderList() {
+ return getMessagesListFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder>
+ getMessagesListFieldBuilder() {
+ if (messagesListBuilder_ == null) {
+ messagesListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsg.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.DouyinCmdMsgOrBuilder>(
+ messagesList_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ messagesList_ = null;
+ }
+ return messagesListBuilder_;
+ }
+
+ private java.lang.Object cursor_ = "";
+ /**
+ * string cursor = 2;
+ * @return The cursor.
+ */
+ public java.lang.String getCursor() {
+ java.lang.Object ref = cursor_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ cursor_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string cursor = 2;
+ * @return The bytes for cursor.
+ */
+ public com.google.protobuf.ByteString
+ getCursorBytes() {
+ java.lang.Object ref = cursor_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ cursor_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string cursor = 2;
+ * @param value The cursor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCursor(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ cursor_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * string cursor = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearCursor() {
+ cursor_ = getDefaultInstance().getCursor();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * string cursor = 2;
+ * @param value The bytes for cursor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCursorBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ cursor_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private long fetchInterval_ ;
+ /**
+ * uint64 fetch_interval = 3;
+ * @return The fetchInterval.
+ */
+ @java.lang.Override
+ public long getFetchInterval() {
+ return fetchInterval_;
+ }
+ /**
+ * uint64 fetch_interval = 3;
+ * @param value The fetchInterval to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFetchInterval(long value) {
+
+ fetchInterval_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 fetch_interval = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearFetchInterval() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ fetchInterval_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long now_ ;
+ /**
+ * uint64 now = 4;
+ * @return The now.
+ */
+ @java.lang.Override
+ public long getNow() {
+ return now_;
+ }
+ /**
+ * uint64 now = 4;
+ * @param value The now to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNow(long value) {
+
+ now_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 now = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearNow() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ now_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object internalExt_ = "";
+ /**
+ * string internal_ext = 5;
+ * @return The internalExt.
+ */
+ public java.lang.String getInternalExt() {
+ java.lang.Object ref = internalExt_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ internalExt_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string internal_ext = 5;
+ * @return The bytes for internalExt.
+ */
+ public com.google.protobuf.ByteString
+ getInternalExtBytes() {
+ java.lang.Object ref = internalExt_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ internalExt_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string internal_ext = 5;
+ * @param value The internalExt to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInternalExt(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ internalExt_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * string internal_ext = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearInternalExt() {
+ internalExt_ = getDefaultInstance().getInternalExt();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+ /**
+ * string internal_ext = 5;
+ * @param value The bytes for internalExt to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInternalExtBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ internalExt_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ private int fetchType_ ;
+ /**
+ * uint32 fetch_type = 6;
+ * @return The fetchType.
+ */
+ @java.lang.Override
+ public int getFetchType() {
+ return fetchType_;
+ }
+ /**
+ * uint32 fetch_type = 6;
+ * @param value The fetchType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFetchType(int value) {
+
+ fetchType_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 fetch_type = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearFetchType() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ fetchType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> routeParams_;
+ private com.google.protobuf.MapField
+ internalGetRouteParams() {
+ if (routeParams_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ RouteParamsDefaultEntryHolder.defaultEntry);
+ }
+ return routeParams_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableRouteParams() {
+ if (routeParams_ == null) {
+ routeParams_ = com.google.protobuf.MapField.newMapField(
+ RouteParamsDefaultEntryHolder.defaultEntry);
+ }
+ if (!routeParams_.isMutable()) {
+ routeParams_ = routeParams_.copy();
+ }
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return routeParams_;
+ }
+ public int getRouteParamsCount() {
+ return internalGetRouteParams().getMap().size();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public boolean containsRouteParams(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetRouteParams().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getRouteParamsMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getRouteParams() {
+ return getRouteParamsMap();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public java.util.Map getRouteParamsMap() {
+ return internalGetRouteParams().getMap();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getRouteParamsOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetRouteParams().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ @java.lang.Override
+ public java.lang.String getRouteParamsOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetRouteParams().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearRouteParams() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ internalGetMutableRouteParams().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ public Builder removeRouteParams(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ internalGetMutableRouteParams().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableRouteParams() {
+ bitField0_ |= 0x00000040;
+ return internalGetMutableRouteParams().getMutableMap();
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ public Builder putRouteParams(
+ java.lang.String key,
+ java.lang.String value) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ if (value == null) { throw new NullPointerException("map value"); }
+ internalGetMutableRouteParams().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000040;
+ return this;
+ }
+ /**
+ * map<string, string> route_params = 7;
+ */
+ public Builder putAllRouteParams(
+ java.util.Map values) {
+ internalGetMutableRouteParams().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000040;
+ return this;
+ }
+
+ private long heartbeatDuration_ ;
+ /**
+ * uint64 heartbeat_duration = 8;
+ * @return The heartbeatDuration.
+ */
+ @java.lang.Override
+ public long getHeartbeatDuration() {
+ return heartbeatDuration_;
+ }
+ /**
+ * uint64 heartbeat_duration = 8;
+ * @param value The heartbeatDuration to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHeartbeatDuration(long value) {
+
+ heartbeatDuration_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 heartbeat_duration = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearHeartbeatDuration() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ heartbeatDuration_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private boolean needAck_ ;
+ /**
+ * bool need_ack = 9;
+ * @return The needAck.
+ */
+ @java.lang.Override
+ public boolean getNeedAck() {
+ return needAck_;
+ }
+ /**
+ * bool need_ack = 9;
+ * @param value The needAck to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNeedAck(boolean value) {
+
+ needAck_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool need_ack = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearNeedAck() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ needAck_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pushServer_ = "";
+ /**
+ * string push_server = 10;
+ * @return The pushServer.
+ */
+ public java.lang.String getPushServer() {
+ java.lang.Object ref = pushServer_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pushServer_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string push_server = 10;
+ * @return The bytes for pushServer.
+ */
+ public com.google.protobuf.ByteString
+ getPushServerBytes() {
+ java.lang.Object ref = pushServer_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ pushServer_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string push_server = 10;
+ * @param value The pushServer to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPushServer(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ pushServer_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * string push_server = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearPushServer() {
+ pushServer_ = getDefaultInstance().getPushServer();
+ bitField0_ = (bitField0_ & ~0x00000200);
+ onChanged();
+ return this;
+ }
+ /**
+ * string push_server = 10;
+ * @param value The bytes for pushServer to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPushServerBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ pushServer_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object liveCursor_ = "";
+ /**
+ * string live_cursor = 11;
+ * @return The liveCursor.
+ */
+ public java.lang.String getLiveCursor() {
+ java.lang.Object ref = liveCursor_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ liveCursor_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string live_cursor = 11;
+ * @return The bytes for liveCursor.
+ */
+ public com.google.protobuf.ByteString
+ getLiveCursorBytes() {
+ java.lang.Object ref = liveCursor_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ liveCursor_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string live_cursor = 11;
+ * @param value The liveCursor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLiveCursor(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ liveCursor_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * string live_cursor = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearLiveCursor() {
+ liveCursor_ = getDefaultInstance().getLiveCursor();
+ bitField0_ = (bitField0_ & ~0x00000400);
+ onChanged();
+ return this;
+ }
+ /**
+ * string live_cursor = 11;
+ * @param value The bytes for liveCursor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLiveCursorBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ liveCursor_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ private boolean historyNoMore_ ;
+ /**
+ * bool history_no_more = 12;
+ * @return The historyNoMore.
+ */
+ @java.lang.Override
+ public boolean getHistoryNoMore() {
+ return historyNoMore_;
+ }
+ /**
+ * bool history_no_more = 12;
+ * @param value The historyNoMore to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHistoryNoMore(boolean value) {
+
+ historyNoMore_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool history_no_more = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearHistoryNoMore() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ historyNoMore_ = false;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrameMsg)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrameMsg)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebsocketFrameMsg parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameMsgOuterClass.DouyinWebsocketFrameMsg getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_fieldAccessorTable;
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_RouteParamsEntry_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_RouteParamsEntry_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\035DouyinWebsocketFrameMsg.proto\0222tech.or" +
+ "dinaryroad.live.chat.client.douyin.proto" +
+ "buf\032\022DouyinCmdMsg.proto\"\352\003\n\027DouyinWebsoc" +
+ "ketFrameMsg\022W\n\rmessages_list\030\001 \003(\0132@.tec" +
+ "h.ordinaryroad.live.chat.client.douyin.p" +
+ "rotobuf.DouyinCmdMsg\022\016\n\006cursor\030\002 \001(\t\022\026\n\016" +
+ "fetch_interval\030\003 \001(\004\022\013\n\003now\030\004 \001(\004\022\024\n\014int" +
+ "ernal_ext\030\005 \001(\t\022\022\n\nfetch_type\030\006 \001(\r\022r\n\014r" +
+ "oute_params\030\007 \003(\0132\\.tech.ordinaryroad.li" +
+ "ve.chat.client.douyin.protobuf.DouyinWeb" +
+ "socketFrameMsg.RouteParamsEntry\022\032\n\022heart" +
+ "beat_duration\030\010 \001(\004\022\020\n\010need_ack\030\t \001(\010\022\023\n" +
+ "\013push_server\030\n \001(\t\022\023\n\013live_cursor\030\013 \001(\t\022" +
+ "\027\n\017history_no_more\030\014 \001(\010\0322\n\020RouteParamsE" +
+ "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B:\n8" +
+ "tech.ordinaryroad.live.chat.client.codec" +
+ ".douyin.protobufb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.getDescriptor(),
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor,
+ new java.lang.String[] { "MessagesList", "Cursor", "FetchInterval", "Now", "InternalExt", "FetchType", "RouteParams", "HeartbeatDuration", "NeedAck", "PushServer", "LiveCursor", "HistoryNoMore", });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_RouteParamsEntry_descriptor =
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_descriptor.getNestedTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_RouteParamsEntry_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrameMsg_RouteParamsEntry_descriptor,
+ new java.lang.String[] { "Key", "Value", });
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinCmdMsgOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebsocketFrameOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebsocketFrameOuterClass.java
new file mode 100644
index 0000000..055ef05
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/DouyinWebsocketFrameOuterClass.java
@@ -0,0 +1,1471 @@
+/*
+ * 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: DouyinWebsocketFrame.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;
+
+public final class DouyinWebsocketFrameOuterClass {
+ private DouyinWebsocketFrameOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface DouyinWebsocketFrameOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrame)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * uint64 seq_id = 1;
+ * @return The seqId.
+ */
+ long getSeqId();
+
+ /**
+ * uint64 log_id = 2;
+ * @return The logId.
+ */
+ long getLogId();
+
+ /**
+ * uint64 service = 3;
+ * @return The service.
+ */
+ long getService();
+
+ /**
+ * uint64 method = 4;
+ * @return The method.
+ */
+ long getMethod();
+
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ int getHeadersListCount();
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ boolean containsHeadersList(
+ java.lang.String key);
+ /**
+ * Use {@link #getHeadersListMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getHeadersList();
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ java.util.Map
+ getHeadersListMap();
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ /* nullable */
+java.lang.String getHeadersListOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue);
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ java.lang.String getHeadersListOrThrow(
+ java.lang.String key);
+
+ /**
+ * string payload_encoding = 6;
+ * @return The payloadEncoding.
+ */
+ java.lang.String getPayloadEncoding();
+ /**
+ * string payload_encoding = 6;
+ * @return The bytes for payloadEncoding.
+ */
+ com.google.protobuf.ByteString
+ getPayloadEncodingBytes();
+
+ /**
+ * string payload_type = 7;
+ * @return The payloadType.
+ */
+ java.lang.String getPayloadType();
+ /**
+ * string payload_type = 7;
+ * @return The bytes for payloadType.
+ */
+ com.google.protobuf.ByteString
+ getPayloadTypeBytes();
+
+ /**
+ * bytes payload = 8;
+ * @return The payload.
+ */
+ com.google.protobuf.ByteString getPayload();
+ }
+ /**
+ * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrame}
+ */
+ public static final class DouyinWebsocketFrame extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrame)
+ DouyinWebsocketFrameOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DouyinWebsocketFrame.newBuilder() to construct.
+ private DouyinWebsocketFrame(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DouyinWebsocketFrame() {
+ payloadEncoding_ = "";
+ payloadType_ = "";
+ payload_ = com.google.protobuf.ByteString.EMPTY;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DouyinWebsocketFrame();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetHeadersList();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.Builder.class);
+ }
+
+ public static final int SEQ_ID_FIELD_NUMBER = 1;
+ private long seqId_ = 0L;
+ /**
+ * uint64 seq_id = 1;
+ * @return The seqId.
+ */
+ @java.lang.Override
+ public long getSeqId() {
+ return seqId_;
+ }
+
+ public static final int LOG_ID_FIELD_NUMBER = 2;
+ private long logId_ = 0L;
+ /**
+ * uint64 log_id = 2;
+ * @return The logId.
+ */
+ @java.lang.Override
+ public long getLogId() {
+ return logId_;
+ }
+
+ public static final int SERVICE_FIELD_NUMBER = 3;
+ private long service_ = 0L;
+ /**
+ * uint64 service = 3;
+ * @return The service.
+ */
+ @java.lang.Override
+ public long getService() {
+ return service_;
+ }
+
+ public static final int METHOD_FIELD_NUMBER = 4;
+ private long method_ = 0L;
+ /**
+ * uint64 method = 4;
+ * @return The method.
+ */
+ @java.lang.Override
+ public long getMethod() {
+ return method_;
+ }
+
+ public static final int HEADERS_LIST_FIELD_NUMBER = 5;
+ private static final class HeadersListDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.String> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_HeadersListEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> headersList_;
+ private com.google.protobuf.MapField
+ internalGetHeadersList() {
+ if (headersList_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ HeadersListDefaultEntryHolder.defaultEntry);
+ }
+ return headersList_;
+ }
+ public int getHeadersListCount() {
+ return internalGetHeadersList().getMap().size();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public boolean containsHeadersList(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetHeadersList().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getHeadersListMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getHeadersList() {
+ return getHeadersListMap();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public java.util.Map getHeadersListMap() {
+ return internalGetHeadersList().getMap();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getHeadersListOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetHeadersList().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public java.lang.String getHeadersListOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetHeadersList().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public static final int PAYLOAD_ENCODING_FIELD_NUMBER = 6;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object payloadEncoding_ = "";
+ /**
+ * string payload_encoding = 6;
+ * @return The payloadEncoding.
+ */
+ @java.lang.Override
+ public java.lang.String getPayloadEncoding() {
+ java.lang.Object ref = payloadEncoding_;
+ 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();
+ payloadEncoding_ = s;
+ return s;
+ }
+ }
+ /**
+ * string payload_encoding = 6;
+ * @return The bytes for payloadEncoding.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPayloadEncodingBytes() {
+ java.lang.Object ref = payloadEncoding_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ payloadEncoding_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAYLOAD_TYPE_FIELD_NUMBER = 7;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object payloadType_ = "";
+ /**
+ * string payload_type = 7;
+ * @return The payloadType.
+ */
+ @java.lang.Override
+ public java.lang.String getPayloadType() {
+ java.lang.Object ref = payloadType_;
+ 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();
+ payloadType_ = s;
+ return s;
+ }
+ }
+ /**
+ * string payload_type = 7;
+ * @return The bytes for payloadType.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPayloadTypeBytes() {
+ java.lang.Object ref = payloadType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ payloadType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAYLOAD_FIELD_NUMBER = 8;
+ private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * bytes payload = 8;
+ * @return The payload.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPayload() {
+ return payload_;
+ }
+
+ 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 (seqId_ != 0L) {
+ output.writeUInt64(1, seqId_);
+ }
+ if (logId_ != 0L) {
+ output.writeUInt64(2, logId_);
+ }
+ if (service_ != 0L) {
+ output.writeUInt64(3, service_);
+ }
+ if (method_ != 0L) {
+ output.writeUInt64(4, method_);
+ }
+ com.google.protobuf.GeneratedMessageV3
+ .serializeStringMapTo(
+ output,
+ internalGetHeadersList(),
+ HeadersListDefaultEntryHolder.defaultEntry,
+ 5);
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payloadEncoding_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, payloadEncoding_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payloadType_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, payloadType_);
+ }
+ if (!payload_.isEmpty()) {
+ output.writeBytes(8, payload_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (seqId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(1, seqId_);
+ }
+ if (logId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, logId_);
+ }
+ if (service_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, service_);
+ }
+ if (method_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, method_);
+ }
+ for (java.util.Map.Entry entry
+ : internalGetHeadersList().getMap().entrySet()) {
+ com.google.protobuf.MapEntry
+ headersList__ = HeadersListDefaultEntryHolder.defaultEntry.newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, headersList__);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payloadEncoding_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, payloadEncoding_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payloadType_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, payloadType_);
+ }
+ if (!payload_.isEmpty()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(8, payload_);
+ }
+ 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame) obj;
+
+ if (getSeqId()
+ != other.getSeqId()) return false;
+ if (getLogId()
+ != other.getLogId()) return false;
+ if (getService()
+ != other.getService()) return false;
+ if (getMethod()
+ != other.getMethod()) return false;
+ if (!internalGetHeadersList().equals(
+ other.internalGetHeadersList())) return false;
+ if (!getPayloadEncoding()
+ .equals(other.getPayloadEncoding())) return false;
+ if (!getPayloadType()
+ .equals(other.getPayloadType())) return false;
+ if (!getPayload()
+ .equals(other.getPayload())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SEQ_ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSeqId());
+ hash = (37 * hash) + LOG_ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getLogId());
+ hash = (37 * hash) + SERVICE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getService());
+ hash = (37 * hash) + METHOD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getMethod());
+ if (!internalGetHeadersList().getMap().isEmpty()) {
+ hash = (37 * hash) + HEADERS_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetHeadersList().hashCode();
+ }
+ hash = (37 * hash) + PAYLOAD_ENCODING_FIELD_NUMBER;
+ hash = (53 * hash) + getPayloadEncoding().hashCode();
+ hash = (37 * hash) + PAYLOAD_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getPayloadType().hashCode();
+ hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
+ hash = (53 * hash) + getPayload().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame 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.DouyinWebsocketFrame}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrame)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrameOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetHeadersList();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 5:
+ return internalGetMutableHeadersList();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ seqId_ = 0L;
+ logId_ = 0L;
+ service_ = 0L;
+ method_ = 0L;
+ internalGetMutableHeadersList().clear();
+ payloadEncoding_ = "";
+ payloadType_ = "";
+ payload_ = com.google.protobuf.ByteString.EMPTY;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.seqId_ = seqId_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.logId_ = logId_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.service_ = service_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.method_ = method_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.headersList_ = internalGetHeadersList();
+ result.headersList_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.payloadEncoding_ = payloadEncoding_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.payloadType_ = payloadType_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.payload_ = payload_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame.getDefaultInstance()) return this;
+ if (other.getSeqId() != 0L) {
+ setSeqId(other.getSeqId());
+ }
+ if (other.getLogId() != 0L) {
+ setLogId(other.getLogId());
+ }
+ if (other.getService() != 0L) {
+ setService(other.getService());
+ }
+ if (other.getMethod() != 0L) {
+ setMethod(other.getMethod());
+ }
+ internalGetMutableHeadersList().mergeFrom(
+ other.internalGetHeadersList());
+ bitField0_ |= 0x00000010;
+ if (!other.getPayloadEncoding().isEmpty()) {
+ payloadEncoding_ = other.payloadEncoding_;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ if (!other.getPayloadType().isEmpty()) {
+ payloadType_ = other.payloadType_;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
+ setPayload(other.getPayload());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ seqId_ = input.readUInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16: {
+ logId_ = input.readUInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ service_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ method_ = input.readUInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 42: {
+ com.google.protobuf.MapEntry
+ headersList__ = input.readMessage(
+ HeadersListDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ internalGetMutableHeadersList().getMutableMap().put(
+ headersList__.getKey(), headersList__.getValue());
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 50: {
+ payloadEncoding_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
+ case 58: {
+ payloadType_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ case 66: {
+ payload_ = input.readBytes();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 66
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private long seqId_ ;
+ /**
+ * uint64 seq_id = 1;
+ * @return The seqId.
+ */
+ @java.lang.Override
+ public long getSeqId() {
+ return seqId_;
+ }
+ /**
+ * uint64 seq_id = 1;
+ * @param value The seqId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSeqId(long value) {
+
+ seqId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 seq_id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearSeqId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ seqId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long logId_ ;
+ /**
+ * uint64 log_id = 2;
+ * @return The logId.
+ */
+ @java.lang.Override
+ public long getLogId() {
+ return logId_;
+ }
+ /**
+ * uint64 log_id = 2;
+ * @param value The logId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLogId(long value) {
+
+ logId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 log_id = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearLogId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ logId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long service_ ;
+ /**
+ * uint64 service = 3;
+ * @return The service.
+ */
+ @java.lang.Override
+ public long getService() {
+ return service_;
+ }
+ /**
+ * uint64 service = 3;
+ * @param value The service to set.
+ * @return This builder for chaining.
+ */
+ public Builder setService(long value) {
+
+ service_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 service = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearService() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ service_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long method_ ;
+ /**
+ * uint64 method = 4;
+ * @return The method.
+ */
+ @java.lang.Override
+ public long getMethod() {
+ return method_;
+ }
+ /**
+ * uint64 method = 4;
+ * @param value The method to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMethod(long value) {
+
+ method_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 method = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearMethod() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ method_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.String> headersList_;
+ private com.google.protobuf.MapField
+ internalGetHeadersList() {
+ if (headersList_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ HeadersListDefaultEntryHolder.defaultEntry);
+ }
+ return headersList_;
+ }
+ private com.google.protobuf.MapField
+ internalGetMutableHeadersList() {
+ if (headersList_ == null) {
+ headersList_ = com.google.protobuf.MapField.newMapField(
+ HeadersListDefaultEntryHolder.defaultEntry);
+ }
+ if (!headersList_.isMutable()) {
+ headersList_ = headersList_.copy();
+ }
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return headersList_;
+ }
+ public int getHeadersListCount() {
+ return internalGetHeadersList().getMap().size();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public boolean containsHeadersList(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ return internalGetHeadersList().getMap().containsKey(key);
+ }
+ /**
+ * Use {@link #getHeadersListMap()} instead.
+ */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map getHeadersList() {
+ return getHeadersListMap();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public java.util.Map getHeadersListMap() {
+ return internalGetHeadersList().getMap();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public /* nullable */
+java.lang.String getHeadersListOrDefault(
+ java.lang.String key,
+ /* nullable */
+java.lang.String defaultValue) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetHeadersList().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ @java.lang.Override
+ public java.lang.String getHeadersListOrThrow(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ java.util.Map map =
+ internalGetHeadersList().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+ public Builder clearHeadersList() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ internalGetMutableHeadersList().getMutableMap()
+ .clear();
+ return this;
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ public Builder removeHeadersList(
+ java.lang.String key) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ internalGetMutableHeadersList().getMutableMap()
+ .remove(key);
+ return this;
+ }
+ /**
+ * Use alternate mutation accessors instead.
+ */
+ @java.lang.Deprecated
+ public java.util.Map
+ getMutableHeadersList() {
+ bitField0_ |= 0x00000010;
+ return internalGetMutableHeadersList().getMutableMap();
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ public Builder putHeadersList(
+ java.lang.String key,
+ java.lang.String value) {
+ if (key == null) { throw new NullPointerException("map key"); }
+ if (value == null) { throw new NullPointerException("map value"); }
+ internalGetMutableHeadersList().getMutableMap()
+ .put(key, value);
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * map<string, string> headers_list = 5;
+ */
+ public Builder putAllHeadersList(
+ java.util.Map values) {
+ internalGetMutableHeadersList().getMutableMap()
+ .putAll(values);
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+
+ private java.lang.Object payloadEncoding_ = "";
+ /**
+ * string payload_encoding = 6;
+ * @return The payloadEncoding.
+ */
+ public java.lang.String getPayloadEncoding() {
+ java.lang.Object ref = payloadEncoding_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ payloadEncoding_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string payload_encoding = 6;
+ * @return The bytes for payloadEncoding.
+ */
+ public com.google.protobuf.ByteString
+ getPayloadEncodingBytes() {
+ java.lang.Object ref = payloadEncoding_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ payloadEncoding_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string payload_encoding = 6;
+ * @param value The payloadEncoding to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPayloadEncoding(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ payloadEncoding_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * string payload_encoding = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearPayloadEncoding() {
+ payloadEncoding_ = getDefaultInstance().getPayloadEncoding();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ return this;
+ }
+ /**
+ * string payload_encoding = 6;
+ * @param value The bytes for payloadEncoding to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPayloadEncodingBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ payloadEncoding_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object payloadType_ = "";
+ /**
+ * string payload_type = 7;
+ * @return The payloadType.
+ */
+ public java.lang.String getPayloadType() {
+ java.lang.Object ref = payloadType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ payloadType_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string payload_type = 7;
+ * @return The bytes for payloadType.
+ */
+ public com.google.protobuf.ByteString
+ getPayloadTypeBytes() {
+ java.lang.Object ref = payloadType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ payloadType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string payload_type = 7;
+ * @param value The payloadType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPayloadType(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ payloadType_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * string payload_type = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearPayloadType() {
+ payloadType_ = getDefaultInstance().getPayloadType();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+ /**
+ * string payload_type = 7;
+ * @param value The bytes for payloadType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPayloadTypeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ payloadType_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * bytes payload = 8;
+ * @return The payload.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPayload() {
+ return payload_;
+ }
+ /**
+ * bytes payload = 8;
+ * @param value The payload to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPayload(com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ payload_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * bytes payload = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearPayload() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ payload_ = getDefaultInstance().getPayload();
+ 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.DouyinWebsocketFrame)
+ }
+
+ // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.DouyinWebsocketFrame)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DouyinWebsocketFrame parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.DouyinWebsocketFrameOuterClass.DouyinWebsocketFrame getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_fieldAccessorTable;
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_HeadersListEntry_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_HeadersListEntry_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\032DouyinWebsocketFrame.proto\0222tech.ordin" +
+ "aryroad.live.chat.client.douyin.protobuf" +
+ "\"\275\002\n\024DouyinWebsocketFrame\022\016\n\006seq_id\030\001 \001(" +
+ "\004\022\016\n\006log_id\030\002 \001(\004\022\017\n\007service\030\003 \001(\004\022\016\n\006me" +
+ "thod\030\004 \001(\004\022o\n\014headers_list\030\005 \003(\0132Y.tech." +
+ "ordinaryroad.live.chat.client.douyin.pro" +
+ "tobuf.DouyinWebsocketFrame.HeadersListEn" +
+ "try\022\030\n\020payload_encoding\030\006 \001(\t\022\024\n\014payload" +
+ "_type\030\007 \001(\t\022\017\n\007payload\030\010 \001(\014\0322\n\020HeadersL" +
+ "istEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" +
+ "B:\n8tech.ordinaryroad.live.chat.client.c" +
+ "odec.douyin.protobufb\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor,
+ new java.lang.String[] { "SeqId", "LogId", "Service", "Method", "HeadersList", "PayloadEncoding", "PayloadType", "Payload", });
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_HeadersListEntry_descriptor =
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_descriptor.getNestedTypes().get(0);
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_HeadersListEntry_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_DouyinWebsocketFrame_HeadersListEntry_descriptor,
+ new java.lang.String[] { "Key", "Value", });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/dto/CommonOuterClass.java b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/dto/CommonOuterClass.java
new file mode 100644
index 0000000..f8fdfe1
--- /dev/null
+++ b/live-chat-client-codec/live-chat-client-codec-douyin/src/main/java/tech/ordinaryroad/live/chat/client/codec/douyin/protobuf/dto/CommonOuterClass.java
@@ -0,0 +1,2571 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2023 OrdinaryRoad
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: Common.proto
+
+// Protobuf Java Version: 3.25.3
+package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto;
+
+public final class CommonOuterClass {
+ private CommonOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ public interface CommonOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:Common)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * string method = 1;
+ * @return The method.
+ */
+ java.lang.String getMethod();
+ /**
+ * string method = 1;
+ * @return The bytes for method.
+ */
+ com.google.protobuf.ByteString
+ getMethodBytes();
+
+ /**
+ * uint64 msgId = 2;
+ * @return The msgId.
+ */
+ long getMsgId();
+
+ /**
+ * uint64 roomId = 3;
+ * @return The roomId.
+ */
+ long getRoomId();
+
+ /**
+ * uint64 createTime = 4;
+ * @return The createTime.
+ */
+ long getCreateTime();
+
+ /**
+ * uint32 monitor = 5;
+ * @return The monitor.
+ */
+ int getMonitor();
+
+ /**
+ * bool isShowMsg = 6;
+ * @return The isShowMsg.
+ */
+ boolean getIsShowMsg();
+
+ /**
+ * string describe = 7;
+ * @return The describe.
+ */
+ java.lang.String getDescribe();
+ /**
+ * string describe = 7;
+ * @return The bytes for describe.
+ */
+ com.google.protobuf.ByteString
+ getDescribeBytes();
+
+ /**
+ *
+ * DisplayText displayText = 8;
+ *
+ *
+ * uint64 foldType = 9;
+ * @return The foldType.
+ */
+ long getFoldType();
+
+ /**
+ * uint64 anchorFoldType = 10;
+ * @return The anchorFoldType.
+ */
+ long getAnchorFoldType();
+
+ /**
+ * uint64 priorityScore = 11;
+ * @return The priorityScore.
+ */
+ long getPriorityScore();
+
+ /**
+ * string logId = 12;
+ * @return The logId.
+ */
+ java.lang.String getLogId();
+ /**
+ * string logId = 12;
+ * @return The bytes for logId.
+ */
+ com.google.protobuf.ByteString
+ getLogIdBytes();
+
+ /**
+ * string msgProcessFilterK = 13;
+ * @return The msgProcessFilterK.
+ */
+ java.lang.String getMsgProcessFilterK();
+ /**
+ * string msgProcessFilterK = 13;
+ * @return The bytes for msgProcessFilterK.
+ */
+ com.google.protobuf.ByteString
+ getMsgProcessFilterKBytes();
+
+ /**
+ * string msgProcessFilterV = 14;
+ * @return The msgProcessFilterV.
+ */
+ java.lang.String getMsgProcessFilterV();
+ /**
+ * string msgProcessFilterV = 14;
+ * @return The bytes for msgProcessFilterV.
+ */
+ com.google.protobuf.ByteString
+ getMsgProcessFilterVBytes();
+
+ /**
+ * .User user = 15;
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+ /**
+ * .User user = 15;
+ * @return The user.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser();
+ /**
+ * .User user = 15;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder();
+
+ /**
+ *
+ * Room room = 16;
+ *
+ *
+ * uint64 anchorFoldTypeV2 = 17;
+ * @return The anchorFoldTypeV2.
+ */
+ long getAnchorFoldTypeV2();
+
+ /**
+ * uint64 processAtSeiTimeMs = 18;
+ * @return The processAtSeiTimeMs.
+ */
+ long getProcessAtSeiTimeMs();
+
+ /**
+ * uint64 randomDispatchMs = 19;
+ * @return The randomDispatchMs.
+ */
+ long getRandomDispatchMs();
+
+ /**
+ * bool isDispatch = 20;
+ * @return The isDispatch.
+ */
+ boolean getIsDispatch();
+
+ /**
+ * uint32 channelId = 21;
+ * @return The channelId.
+ */
+ int getChannelId();
+
+ /**
+ * uint64 diffSei2absSecond = 22;
+ * @return The diffSei2absSecond.
+ */
+ long getDiffSei2AbsSecond();
+
+ /**
+ * uint64 anchorFoldDuration = 23;
+ * @return The anchorFoldDuration.
+ */
+ long getAnchorFoldDuration();
+ }
+ /**
+ * Protobuf type {@code Common}
+ */
+ public static final class Common extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:Common)
+ CommonOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Common.newBuilder() to construct.
+ private Common(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private Common() {
+ method_ = "";
+ describe_ = "";
+ logId_ = "";
+ msgProcessFilterK_ = "";
+ msgProcessFilterV_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Common();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int METHOD_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object method_ = "";
+ /**
+ * string method = 1;
+ * @return The method.
+ */
+ @java.lang.Override
+ public java.lang.String getMethod() {
+ java.lang.Object ref = method_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ method_ = s;
+ return s;
+ }
+ }
+ /**
+ * string method = 1;
+ * @return The bytes for method.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMethodBytes() {
+ java.lang.Object ref = method_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ method_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MSGID_FIELD_NUMBER = 2;
+ private long msgId_ = 0L;
+ /**
+ * uint64 msgId = 2;
+ * @return The msgId.
+ */
+ @java.lang.Override
+ public long getMsgId() {
+ return msgId_;
+ }
+
+ public static final int ROOMID_FIELD_NUMBER = 3;
+ private long roomId_ = 0L;
+ /**
+ * uint64 roomId = 3;
+ * @return The roomId.
+ */
+ @java.lang.Override
+ public long getRoomId() {
+ return roomId_;
+ }
+
+ public static final int CREATETIME_FIELD_NUMBER = 4;
+ private long createTime_ = 0L;
+ /**
+ * uint64 createTime = 4;
+ * @return The createTime.
+ */
+ @java.lang.Override
+ public long getCreateTime() {
+ return createTime_;
+ }
+
+ public static final int MONITOR_FIELD_NUMBER = 5;
+ private int monitor_ = 0;
+ /**
+ * uint32 monitor = 5;
+ * @return The monitor.
+ */
+ @java.lang.Override
+ public int getMonitor() {
+ return monitor_;
+ }
+
+ public static final int ISSHOWMSG_FIELD_NUMBER = 6;
+ private boolean isShowMsg_ = false;
+ /**
+ * bool isShowMsg = 6;
+ * @return The isShowMsg.
+ */
+ @java.lang.Override
+ public boolean getIsShowMsg() {
+ return isShowMsg_;
+ }
+
+ public static final int DESCRIBE_FIELD_NUMBER = 7;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object describe_ = "";
+ /**
+ * string describe = 7;
+ * @return The describe.
+ */
+ @java.lang.Override
+ public java.lang.String getDescribe() {
+ java.lang.Object ref = describe_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ describe_ = s;
+ return s;
+ }
+ }
+ /**
+ * string describe = 7;
+ * @return The bytes for describe.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDescribeBytes() {
+ java.lang.Object ref = describe_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ describe_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FOLDTYPE_FIELD_NUMBER = 9;
+ private long foldType_ = 0L;
+ /**
+ *
+ * DisplayText displayText = 8;
+ *
+ *
+ * uint64 foldType = 9;
+ * @return The foldType.
+ */
+ @java.lang.Override
+ public long getFoldType() {
+ return foldType_;
+ }
+
+ public static final int ANCHORFOLDTYPE_FIELD_NUMBER = 10;
+ private long anchorFoldType_ = 0L;
+ /**
+ * uint64 anchorFoldType = 10;
+ * @return The anchorFoldType.
+ */
+ @java.lang.Override
+ public long getAnchorFoldType() {
+ return anchorFoldType_;
+ }
+
+ public static final int PRIORITYSCORE_FIELD_NUMBER = 11;
+ private long priorityScore_ = 0L;
+ /**
+ * uint64 priorityScore = 11;
+ * @return The priorityScore.
+ */
+ @java.lang.Override
+ public long getPriorityScore() {
+ return priorityScore_;
+ }
+
+ public static final int LOGID_FIELD_NUMBER = 12;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object logId_ = "";
+ /**
+ * string logId = 12;
+ * @return The logId.
+ */
+ @java.lang.Override
+ public java.lang.String getLogId() {
+ java.lang.Object ref = logId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ logId_ = s;
+ return s;
+ }
+ }
+ /**
+ * string logId = 12;
+ * @return The bytes for logId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getLogIdBytes() {
+ java.lang.Object ref = logId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ logId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MSGPROCESSFILTERK_FIELD_NUMBER = 13;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object msgProcessFilterK_ = "";
+ /**
+ * string msgProcessFilterK = 13;
+ * @return The msgProcessFilterK.
+ */
+ @java.lang.Override
+ public java.lang.String getMsgProcessFilterK() {
+ java.lang.Object ref = msgProcessFilterK_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ msgProcessFilterK_ = s;
+ return s;
+ }
+ }
+ /**
+ * string msgProcessFilterK = 13;
+ * @return The bytes for msgProcessFilterK.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMsgProcessFilterKBytes() {
+ java.lang.Object ref = msgProcessFilterK_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ msgProcessFilterK_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MSGPROCESSFILTERV_FIELD_NUMBER = 14;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object msgProcessFilterV_ = "";
+ /**
+ * string msgProcessFilterV = 14;
+ * @return The msgProcessFilterV.
+ */
+ @java.lang.Override
+ public java.lang.String getMsgProcessFilterV() {
+ java.lang.Object ref = msgProcessFilterV_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ msgProcessFilterV_ = s;
+ return s;
+ }
+ }
+ /**
+ * string msgProcessFilterV = 14;
+ * @return The bytes for msgProcessFilterV.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMsgProcessFilterVBytes() {
+ java.lang.Object ref = msgProcessFilterV_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ msgProcessFilterV_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int USER_FIELD_NUMBER = 15;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ /**
+ * .User user = 15;
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .User user = 15;
+ * @return The user.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ /**
+ * .User user = 15;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+
+ public static final int ANCHORFOLDTYPEV2_FIELD_NUMBER = 17;
+ private long anchorFoldTypeV2_ = 0L;
+ /**
+ *
+ * Room room = 16;
+ *
+ *
+ * uint64 anchorFoldTypeV2 = 17;
+ * @return The anchorFoldTypeV2.
+ */
+ @java.lang.Override
+ public long getAnchorFoldTypeV2() {
+ return anchorFoldTypeV2_;
+ }
+
+ public static final int PROCESSATSEITIMEMS_FIELD_NUMBER = 18;
+ private long processAtSeiTimeMs_ = 0L;
+ /**
+ * uint64 processAtSeiTimeMs = 18;
+ * @return The processAtSeiTimeMs.
+ */
+ @java.lang.Override
+ public long getProcessAtSeiTimeMs() {
+ return processAtSeiTimeMs_;
+ }
+
+ public static final int RANDOMDISPATCHMS_FIELD_NUMBER = 19;
+ private long randomDispatchMs_ = 0L;
+ /**
+ * uint64 randomDispatchMs = 19;
+ * @return The randomDispatchMs.
+ */
+ @java.lang.Override
+ public long getRandomDispatchMs() {
+ return randomDispatchMs_;
+ }
+
+ public static final int ISDISPATCH_FIELD_NUMBER = 20;
+ private boolean isDispatch_ = false;
+ /**
+ * bool isDispatch = 20;
+ * @return The isDispatch.
+ */
+ @java.lang.Override
+ public boolean getIsDispatch() {
+ return isDispatch_;
+ }
+
+ public static final int CHANNELID_FIELD_NUMBER = 21;
+ private int channelId_ = 0;
+ /**
+ * uint32 channelId = 21;
+ * @return The channelId.
+ */
+ @java.lang.Override
+ public int getChannelId() {
+ return channelId_;
+ }
+
+ public static final int DIFFSEI2ABSSECOND_FIELD_NUMBER = 22;
+ private long diffSei2AbsSecond_ = 0L;
+ /**
+ * uint64 diffSei2absSecond = 22;
+ * @return The diffSei2absSecond.
+ */
+ @java.lang.Override
+ public long getDiffSei2AbsSecond() {
+ return diffSei2AbsSecond_;
+ }
+
+ public static final int ANCHORFOLDDURATION_FIELD_NUMBER = 23;
+ private long anchorFoldDuration_ = 0L;
+ /**
+ * uint64 anchorFoldDuration = 23;
+ * @return The anchorFoldDuration.
+ */
+ @java.lang.Override
+ public long getAnchorFoldDuration() {
+ return anchorFoldDuration_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, method_);
+ }
+ if (msgId_ != 0L) {
+ output.writeUInt64(2, msgId_);
+ }
+ if (roomId_ != 0L) {
+ output.writeUInt64(3, roomId_);
+ }
+ if (createTime_ != 0L) {
+ output.writeUInt64(4, createTime_);
+ }
+ if (monitor_ != 0) {
+ output.writeUInt32(5, monitor_);
+ }
+ if (isShowMsg_ != false) {
+ output.writeBool(6, isShowMsg_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(describe_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, describe_);
+ }
+ if (foldType_ != 0L) {
+ output.writeUInt64(9, foldType_);
+ }
+ if (anchorFoldType_ != 0L) {
+ output.writeUInt64(10, anchorFoldType_);
+ }
+ if (priorityScore_ != 0L) {
+ output.writeUInt64(11, priorityScore_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, logId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterK_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, msgProcessFilterK_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterV_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 14, msgProcessFilterV_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(15, getUser());
+ }
+ if (anchorFoldTypeV2_ != 0L) {
+ output.writeUInt64(17, anchorFoldTypeV2_);
+ }
+ if (processAtSeiTimeMs_ != 0L) {
+ output.writeUInt64(18, processAtSeiTimeMs_);
+ }
+ if (randomDispatchMs_ != 0L) {
+ output.writeUInt64(19, randomDispatchMs_);
+ }
+ if (isDispatch_ != false) {
+ output.writeBool(20, isDispatch_);
+ }
+ if (channelId_ != 0) {
+ output.writeUInt32(21, channelId_);
+ }
+ if (diffSei2AbsSecond_ != 0L) {
+ output.writeUInt64(22, diffSei2AbsSecond_);
+ }
+ if (anchorFoldDuration_ != 0L) {
+ output.writeUInt64(23, anchorFoldDuration_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, method_);
+ }
+ if (msgId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, msgId_);
+ }
+ if (roomId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, roomId_);
+ }
+ if (createTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, createTime_);
+ }
+ if (monitor_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, monitor_);
+ }
+ if (isShowMsg_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, isShowMsg_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(describe_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, describe_);
+ }
+ if (foldType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(9, foldType_);
+ }
+ if (anchorFoldType_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(10, anchorFoldType_);
+ }
+ if (priorityScore_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(11, priorityScore_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, logId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterK_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, msgProcessFilterK_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgProcessFilterV_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, msgProcessFilterV_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(15, getUser());
+ }
+ if (anchorFoldTypeV2_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(17, anchorFoldTypeV2_);
+ }
+ if (processAtSeiTimeMs_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(18, processAtSeiTimeMs_);
+ }
+ if (randomDispatchMs_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(19, randomDispatchMs_);
+ }
+ if (isDispatch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(20, isDispatch_);
+ }
+ if (channelId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(21, channelId_);
+ }
+ if (diffSei2AbsSecond_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(22, diffSei2AbsSecond_);
+ }
+ if (anchorFoldDuration_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(23, anchorFoldDuration_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common) obj;
+
+ if (!getMethod()
+ .equals(other.getMethod())) return false;
+ if (getMsgId()
+ != other.getMsgId()) return false;
+ if (getRoomId()
+ != other.getRoomId()) return false;
+ if (getCreateTime()
+ != other.getCreateTime()) return false;
+ if (getMonitor()
+ != other.getMonitor()) return false;
+ if (getIsShowMsg()
+ != other.getIsShowMsg()) return false;
+ if (!getDescribe()
+ .equals(other.getDescribe())) return false;
+ if (getFoldType()
+ != other.getFoldType()) return false;
+ if (getAnchorFoldType()
+ != other.getAnchorFoldType()) return false;
+ if (getPriorityScore()
+ != other.getPriorityScore()) return false;
+ if (!getLogId()
+ .equals(other.getLogId())) return false;
+ if (!getMsgProcessFilterK()
+ .equals(other.getMsgProcessFilterK())) return false;
+ if (!getMsgProcessFilterV()
+ .equals(other.getMsgProcessFilterV())) return false;
+ if (hasUser() != other.hasUser()) return false;
+ if (hasUser()) {
+ if (!getUser()
+ .equals(other.getUser())) return false;
+ }
+ if (getAnchorFoldTypeV2()
+ != other.getAnchorFoldTypeV2()) return false;
+ if (getProcessAtSeiTimeMs()
+ != other.getProcessAtSeiTimeMs()) return false;
+ if (getRandomDispatchMs()
+ != other.getRandomDispatchMs()) return false;
+ if (getIsDispatch()
+ != other.getIsDispatch()) return false;
+ if (getChannelId()
+ != other.getChannelId()) return false;
+ if (getDiffSei2AbsSecond()
+ != other.getDiffSei2AbsSecond()) return false;
+ if (getAnchorFoldDuration()
+ != other.getAnchorFoldDuration()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + METHOD_FIELD_NUMBER;
+ hash = (53 * hash) + getMethod().hashCode();
+ hash = (37 * hash) + MSGID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getMsgId());
+ hash = (37 * hash) + ROOMID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getRoomId());
+ hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getCreateTime());
+ hash = (37 * hash) + MONITOR_FIELD_NUMBER;
+ hash = (53 * hash) + getMonitor();
+ hash = (37 * hash) + ISSHOWMSG_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsShowMsg());
+ hash = (37 * hash) + DESCRIBE_FIELD_NUMBER;
+ hash = (53 * hash) + getDescribe().hashCode();
+ hash = (37 * hash) + FOLDTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getFoldType());
+ hash = (37 * hash) + ANCHORFOLDTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getAnchorFoldType());
+ hash = (37 * hash) + PRIORITYSCORE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPriorityScore());
+ hash = (37 * hash) + LOGID_FIELD_NUMBER;
+ hash = (53 * hash) + getLogId().hashCode();
+ hash = (37 * hash) + MSGPROCESSFILTERK_FIELD_NUMBER;
+ hash = (53 * hash) + getMsgProcessFilterK().hashCode();
+ hash = (37 * hash) + MSGPROCESSFILTERV_FIELD_NUMBER;
+ hash = (53 * hash) + getMsgProcessFilterV().hashCode();
+ if (hasUser()) {
+ hash = (37 * hash) + USER_FIELD_NUMBER;
+ hash = (53 * hash) + getUser().hashCode();
+ }
+ hash = (37 * hash) + ANCHORFOLDTYPEV2_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getAnchorFoldTypeV2());
+ hash = (37 * hash) + PROCESSATSEITIMEMS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getProcessAtSeiTimeMs());
+ hash = (37 * hash) + RANDOMDISPATCHMS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getRandomDispatchMs());
+ hash = (37 * hash) + ISDISPATCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsDispatch());
+ hash = (37 * hash) + CHANNELID_FIELD_NUMBER;
+ hash = (53 * hash) + getChannelId();
+ hash = (37 * hash) + DIFFSEI2ABSSECOND_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getDiffSei2AbsSecond());
+ hash = (37 * hash) + ANCHORFOLDDURATION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getAnchorFoldDuration());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code Common}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:Common)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getUserFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ method_ = "";
+ msgId_ = 0L;
+ roomId_ = 0L;
+ createTime_ = 0L;
+ monitor_ = 0;
+ isShowMsg_ = false;
+ describe_ = "";
+ foldType_ = 0L;
+ anchorFoldType_ = 0L;
+ priorityScore_ = 0L;
+ logId_ = "";
+ msgProcessFilterK_ = "";
+ msgProcessFilterV_ = "";
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ anchorFoldTypeV2_ = 0L;
+ processAtSeiTimeMs_ = 0L;
+ randomDispatchMs_ = 0L;
+ isDispatch_ = false;
+ channelId_ = 0;
+ diffSei2AbsSecond_ = 0L;
+ anchorFoldDuration_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.internal_static_Common_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.method_ = method_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.msgId_ = msgId_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.roomId_ = roomId_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.createTime_ = createTime_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.monitor_ = monitor_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.isShowMsg_ = isShowMsg_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.describe_ = describe_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.foldType_ = foldType_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.anchorFoldType_ = anchorFoldType_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.priorityScore_ = priorityScore_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.logId_ = logId_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.msgProcessFilterK_ = msgProcessFilterK_;
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.msgProcessFilterV_ = msgProcessFilterV_;
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.user_ = userBuilder_ == null
+ ? user_
+ : userBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.anchorFoldTypeV2_ = anchorFoldTypeV2_;
+ }
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.processAtSeiTimeMs_ = processAtSeiTimeMs_;
+ }
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.randomDispatchMs_ = randomDispatchMs_;
+ }
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.isDispatch_ = isDispatch_;
+ }
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.channelId_ = channelId_;
+ }
+ if (((from_bitField0_ & 0x00080000) != 0)) {
+ result.diffSei2AbsSecond_ = diffSei2AbsSecond_;
+ }
+ if (((from_bitField0_ & 0x00100000) != 0)) {
+ result.anchorFoldDuration_ = anchorFoldDuration_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) return this;
+ if (!other.getMethod().isEmpty()) {
+ method_ = other.method_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.getMsgId() != 0L) {
+ setMsgId(other.getMsgId());
+ }
+ if (other.getRoomId() != 0L) {
+ setRoomId(other.getRoomId());
+ }
+ if (other.getCreateTime() != 0L) {
+ setCreateTime(other.getCreateTime());
+ }
+ if (other.getMonitor() != 0) {
+ setMonitor(other.getMonitor());
+ }
+ if (other.getIsShowMsg() != false) {
+ setIsShowMsg(other.getIsShowMsg());
+ }
+ if (!other.getDescribe().isEmpty()) {
+ describe_ = other.describe_;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
+ if (other.getFoldType() != 0L) {
+ setFoldType(other.getFoldType());
+ }
+ if (other.getAnchorFoldType() != 0L) {
+ setAnchorFoldType(other.getAnchorFoldType());
+ }
+ if (other.getPriorityScore() != 0L) {
+ setPriorityScore(other.getPriorityScore());
+ }
+ if (!other.getLogId().isEmpty()) {
+ logId_ = other.logId_;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ }
+ if (!other.getMsgProcessFilterK().isEmpty()) {
+ msgProcessFilterK_ = other.msgProcessFilterK_;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ }
+ if (!other.getMsgProcessFilterV().isEmpty()) {
+ msgProcessFilterV_ = other.msgProcessFilterV_;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ }
+ if (other.hasUser()) {
+ mergeUser(other.getUser());
+ }
+ if (other.getAnchorFoldTypeV2() != 0L) {
+ setAnchorFoldTypeV2(other.getAnchorFoldTypeV2());
+ }
+ if (other.getProcessAtSeiTimeMs() != 0L) {
+ setProcessAtSeiTimeMs(other.getProcessAtSeiTimeMs());
+ }
+ if (other.getRandomDispatchMs() != 0L) {
+ setRandomDispatchMs(other.getRandomDispatchMs());
+ }
+ if (other.getIsDispatch() != false) {
+ setIsDispatch(other.getIsDispatch());
+ }
+ if (other.getChannelId() != 0) {
+ setChannelId(other.getChannelId());
+ }
+ if (other.getDiffSei2AbsSecond() != 0L) {
+ setDiffSei2AbsSecond(other.getDiffSei2AbsSecond());
+ }
+ if (other.getAnchorFoldDuration() != 0L) {
+ setAnchorFoldDuration(other.getAnchorFoldDuration());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ method_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16: {
+ msgId_ = input.readUInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ roomId_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ createTime_ = input.readUInt64();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ case 40: {
+ monitor_ = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 48: {
+ isShowMsg_ = input.readBool();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 58: {
+ describe_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
+ case 72: {
+ foldType_ = input.readUInt64();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 72
+ case 80: {
+ anchorFoldType_ = input.readUInt64();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 80
+ case 88: {
+ priorityScore_ = input.readUInt64();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 88
+ case 98: {
+ logId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 98
+ case 106: {
+ msgProcessFilterK_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 106
+ case 114: {
+ msgProcessFilterV_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00001000;
+ break;
+ } // case 114
+ case 122: {
+ input.readMessage(
+ getUserFieldBuilder().getBuilder(),
+ extensionRegistry);
+ bitField0_ |= 0x00002000;
+ break;
+ } // case 122
+ case 136: {
+ anchorFoldTypeV2_ = input.readUInt64();
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 136
+ case 144: {
+ processAtSeiTimeMs_ = input.readUInt64();
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 144
+ case 152: {
+ randomDispatchMs_ = input.readUInt64();
+ bitField0_ |= 0x00010000;
+ break;
+ } // case 152
+ case 160: {
+ isDispatch_ = input.readBool();
+ bitField0_ |= 0x00020000;
+ break;
+ } // case 160
+ case 168: {
+ channelId_ = input.readUInt32();
+ bitField0_ |= 0x00040000;
+ break;
+ } // case 168
+ case 176: {
+ diffSei2AbsSecond_ = input.readUInt64();
+ bitField0_ |= 0x00080000;
+ break;
+ } // case 176
+ case 184: {
+ anchorFoldDuration_ = input.readUInt64();
+ bitField0_ |= 0x00100000;
+ break;
+ } // case 184
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private java.lang.Object method_ = "";
+ /**
+ * string method = 1;
+ * @return The method.
+ */
+ public java.lang.String getMethod() {
+ java.lang.Object ref = method_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ method_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string method = 1;
+ * @return The bytes for method.
+ */
+ public com.google.protobuf.ByteString
+ getMethodBytes() {
+ java.lang.Object ref = method_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ method_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string method = 1;
+ * @param value The method to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMethod(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ method_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * string method = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearMethod() {
+ method_ = getDefaultInstance().getMethod();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * string method = 1;
+ * @param value The bytes for method to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMethodBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ method_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private long msgId_ ;
+ /**
+ * uint64 msgId = 2;
+ * @return The msgId.
+ */
+ @java.lang.Override
+ public long getMsgId() {
+ return msgId_;
+ }
+ /**
+ * uint64 msgId = 2;
+ * @param value The msgId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMsgId(long value) {
+
+ msgId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 msgId = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearMsgId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ msgId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long roomId_ ;
+ /**
+ * uint64 roomId = 3;
+ * @return The roomId.
+ */
+ @java.lang.Override
+ public long getRoomId() {
+ return roomId_;
+ }
+ /**
+ * uint64 roomId = 3;
+ * @param value The roomId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRoomId(long value) {
+
+ roomId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 roomId = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearRoomId() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ roomId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long createTime_ ;
+ /**
+ * uint64 createTime = 4;
+ * @return The createTime.
+ */
+ @java.lang.Override
+ public long getCreateTime() {
+ return createTime_;
+ }
+ /**
+ * uint64 createTime = 4;
+ * @param value The createTime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCreateTime(long value) {
+
+ createTime_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 createTime = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearCreateTime() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ createTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int monitor_ ;
+ /**
+ * uint32 monitor = 5;
+ * @return The monitor.
+ */
+ @java.lang.Override
+ public int getMonitor() {
+ return monitor_;
+ }
+ /**
+ * uint32 monitor = 5;
+ * @param value The monitor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMonitor(int value) {
+
+ monitor_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 monitor = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearMonitor() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ monitor_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean isShowMsg_ ;
+ /**
+ * bool isShowMsg = 6;
+ * @return The isShowMsg.
+ */
+ @java.lang.Override
+ public boolean getIsShowMsg() {
+ return isShowMsg_;
+ }
+ /**
+ * bool isShowMsg = 6;
+ * @param value The isShowMsg to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsShowMsg(boolean value) {
+
+ isShowMsg_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool isShowMsg = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsShowMsg() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ isShowMsg_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object describe_ = "";
+ /**
+ * string describe = 7;
+ * @return The describe.
+ */
+ public java.lang.String getDescribe() {
+ java.lang.Object ref = describe_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ describe_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string describe = 7;
+ * @return The bytes for describe.
+ */
+ public com.google.protobuf.ByteString
+ getDescribeBytes() {
+ java.lang.Object ref = describe_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ describe_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string describe = 7;
+ * @param value The describe to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescribe(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ describe_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * string describe = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearDescribe() {
+ describe_ = getDefaultInstance().getDescribe();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+ /**
+ * string describe = 7;
+ * @param value The bytes for describe to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescribeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ describe_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ private long foldType_ ;
+ /**
+ *
+ * DisplayText displayText = 8;
+ *
+ *
+ * uint64 foldType = 9;
+ * @return The foldType.
+ */
+ @java.lang.Override
+ public long getFoldType() {
+ return foldType_;
+ }
+ /**
+ *
+ * DisplayText displayText = 8;
+ *
+ *
+ * uint64 foldType = 9;
+ * @param value The foldType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFoldType(long value) {
+
+ foldType_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * DisplayText displayText = 8;
+ *
+ *
+ * uint64 foldType = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearFoldType() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ foldType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long anchorFoldType_ ;
+ /**
+ * uint64 anchorFoldType = 10;
+ * @return The anchorFoldType.
+ */
+ @java.lang.Override
+ public long getAnchorFoldType() {
+ return anchorFoldType_;
+ }
+ /**
+ * uint64 anchorFoldType = 10;
+ * @param value The anchorFoldType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnchorFoldType(long value) {
+
+ anchorFoldType_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 anchorFoldType = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearAnchorFoldType() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ anchorFoldType_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long priorityScore_ ;
+ /**
+ * uint64 priorityScore = 11;
+ * @return The priorityScore.
+ */
+ @java.lang.Override
+ public long getPriorityScore() {
+ return priorityScore_;
+ }
+ /**
+ * uint64 priorityScore = 11;
+ * @param value The priorityScore to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPriorityScore(long value) {
+
+ priorityScore_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 priorityScore = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearPriorityScore() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ priorityScore_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object logId_ = "";
+ /**
+ * string logId = 12;
+ * @return The logId.
+ */
+ public java.lang.String getLogId() {
+ java.lang.Object ref = logId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ logId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string logId = 12;
+ * @return The bytes for logId.
+ */
+ public com.google.protobuf.ByteString
+ getLogIdBytes() {
+ java.lang.Object ref = logId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ logId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string logId = 12;
+ * @param value The logId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLogId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ logId_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * string logId = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearLogId() {
+ logId_ = getDefaultInstance().getLogId();
+ bitField0_ = (bitField0_ & ~0x00000400);
+ onChanged();
+ return this;
+ }
+ /**
+ * string logId = 12;
+ * @param value The bytes for logId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLogIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ logId_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object msgProcessFilterK_ = "";
+ /**
+ * string msgProcessFilterK = 13;
+ * @return The msgProcessFilterK.
+ */
+ public java.lang.String getMsgProcessFilterK() {
+ java.lang.Object ref = msgProcessFilterK_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ msgProcessFilterK_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string msgProcessFilterK = 13;
+ * @return The bytes for msgProcessFilterK.
+ */
+ public com.google.protobuf.ByteString
+ getMsgProcessFilterKBytes() {
+ java.lang.Object ref = msgProcessFilterK_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ msgProcessFilterK_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string msgProcessFilterK = 13;
+ * @param value The msgProcessFilterK to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMsgProcessFilterK(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ msgProcessFilterK_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * string msgProcessFilterK = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearMsgProcessFilterK() {
+ msgProcessFilterK_ = getDefaultInstance().getMsgProcessFilterK();
+ bitField0_ = (bitField0_ & ~0x00000800);
+ onChanged();
+ return this;
+ }
+ /**
+ * string msgProcessFilterK = 13;
+ * @param value The bytes for msgProcessFilterK to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMsgProcessFilterKBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ msgProcessFilterK_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object msgProcessFilterV_ = "";
+ /**
+ * string msgProcessFilterV = 14;
+ * @return The msgProcessFilterV.
+ */
+ public java.lang.String getMsgProcessFilterV() {
+ java.lang.Object ref = msgProcessFilterV_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ msgProcessFilterV_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string msgProcessFilterV = 14;
+ * @return The bytes for msgProcessFilterV.
+ */
+ public com.google.protobuf.ByteString
+ getMsgProcessFilterVBytes() {
+ java.lang.Object ref = msgProcessFilterV_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ msgProcessFilterV_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string msgProcessFilterV = 14;
+ * @param value The msgProcessFilterV to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMsgProcessFilterV(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ msgProcessFilterV_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+ /**
+ * string msgProcessFilterV = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearMsgProcessFilterV() {
+ msgProcessFilterV_ = getDefaultInstance().getMsgProcessFilterV();
+ bitField0_ = (bitField0_ & ~0x00001000);
+ onChanged();
+ return this;
+ }
+ /**
+ * string msgProcessFilterV = 14;
+ * @param value The bytes for msgProcessFilterV to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMsgProcessFilterVBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ msgProcessFilterV_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User user_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
+ /**
+ * .User user = 15;
+ * @return Whether the user field is set.
+ */
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00002000) != 0);
+ }
+ /**
+ * .User user = 15;
+ * @return The user.
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User getUser() {
+ if (userBuilder_ == null) {
+ return user_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ } else {
+ return userBuilder_.getMessage();
+ }
+ }
+ /**
+ * .User user = 15;
+ */
+ public Builder setUser(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ user_ = value;
+ } else {
+ userBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User user = 15;
+ */
+ public Builder setUser(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
+ if (userBuilder_ == null) {
+ user_ = builderForValue.build();
+ } else {
+ userBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ * .User user = 15;
+ */
+ public Builder mergeUser(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User value) {
+ if (userBuilder_ == null) {
+ if (((bitField0_ & 0x00002000) != 0) &&
+ user_ != null &&
+ user_ != tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
+ getUserBuilder().mergeFrom(value);
+ } else {
+ user_ = value;
+ }
+ } else {
+ userBuilder_.mergeFrom(value);
+ }
+ if (user_ != null) {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * .User user = 15;
+ */
+ public Builder clearUser() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ user_ = null;
+ if (userBuilder_ != null) {
+ userBuilder_.dispose();
+ userBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * .User user = 15;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return getUserFieldBuilder().getBuilder();
+ }
+ /**
+ * .User user = 15;
+ */
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
+ if (userBuilder_ != null) {
+ return userBuilder_.getMessageOrBuilder();
+ } else {
+ return user_ == null ?
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
+ }
+ }
+ /**
+ * .User user = 15;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
+ getUserFieldBuilder() {
+ if (userBuilder_ == null) {
+ userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
+ getUser(),
+ getParentForChildren(),
+ isClean());
+ user_ = null;
+ }
+ return userBuilder_;
+ }
+
+ private long anchorFoldTypeV2_ ;
+ /**
+ *
+ * Room room = 16;
+ *
+ *
+ * uint64 anchorFoldTypeV2 = 17;
+ * @return The anchorFoldTypeV2.
+ */
+ @java.lang.Override
+ public long getAnchorFoldTypeV2() {
+ return anchorFoldTypeV2_;
+ }
+ /**
+ *
+ * Room room = 16;
+ *
+ *
+ * uint64 anchorFoldTypeV2 = 17;
+ * @param value The anchorFoldTypeV2 to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnchorFoldTypeV2(long value) {
+
+ anchorFoldTypeV2_ = value;
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Room room = 16;
+ *
+ *
+ * uint64 anchorFoldTypeV2 = 17;
+ * @return This builder for chaining.
+ */
+ public Builder clearAnchorFoldTypeV2() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ anchorFoldTypeV2_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long processAtSeiTimeMs_ ;
+ /**
+ * uint64 processAtSeiTimeMs = 18;
+ * @return The processAtSeiTimeMs.
+ */
+ @java.lang.Override
+ public long getProcessAtSeiTimeMs() {
+ return processAtSeiTimeMs_;
+ }
+ /**
+ * uint64 processAtSeiTimeMs = 18;
+ * @param value The processAtSeiTimeMs to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProcessAtSeiTimeMs(long value) {
+
+ processAtSeiTimeMs_ = value;
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 processAtSeiTimeMs = 18;
+ * @return This builder for chaining.
+ */
+ public Builder clearProcessAtSeiTimeMs() {
+ bitField0_ = (bitField0_ & ~0x00008000);
+ processAtSeiTimeMs_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long randomDispatchMs_ ;
+ /**
+ * uint64 randomDispatchMs = 19;
+ * @return The randomDispatchMs.
+ */
+ @java.lang.Override
+ public long getRandomDispatchMs() {
+ return randomDispatchMs_;
+ }
+ /**
+ * uint64 randomDispatchMs = 19;
+ * @param value The randomDispatchMs to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRandomDispatchMs(long value) {
+
+ randomDispatchMs_ = value;
+ bitField0_ |= 0x00010000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 randomDispatchMs = 19;
+ * @return This builder for chaining.
+ */
+ public Builder clearRandomDispatchMs() {
+ bitField0_ = (bitField0_ & ~0x00010000);
+ randomDispatchMs_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private boolean isDispatch_ ;
+ /**
+ * bool isDispatch = 20;
+ * @return The isDispatch.
+ */
+ @java.lang.Override
+ public boolean getIsDispatch() {
+ return isDispatch_;
+ }
+ /**
+ * bool isDispatch = 20;
+ * @param value The isDispatch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsDispatch(boolean value) {
+
+ isDispatch_ = value;
+ bitField0_ |= 0x00020000;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool isDispatch = 20;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsDispatch() {
+ bitField0_ = (bitField0_ & ~0x00020000);
+ isDispatch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int channelId_ ;
+ /**
+ * uint32 channelId = 21;
+ * @return The channelId.
+ */
+ @java.lang.Override
+ public int getChannelId() {
+ return channelId_;
+ }
+ /**
+ * uint32 channelId = 21;
+ * @param value The channelId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setChannelId(int value) {
+
+ channelId_ = value;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 channelId = 21;
+ * @return This builder for chaining.
+ */
+ public Builder clearChannelId() {
+ bitField0_ = (bitField0_ & ~0x00040000);
+ channelId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long diffSei2AbsSecond_ ;
+ /**
+ * uint64 diffSei2absSecond = 22;
+ * @return The diffSei2absSecond.
+ */
+ @java.lang.Override
+ public long getDiffSei2AbsSecond() {
+ return diffSei2AbsSecond_;
+ }
+ /**
+ * uint64 diffSei2absSecond = 22;
+ * @param value The diffSei2absSecond to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDiffSei2AbsSecond(long value) {
+
+ diffSei2AbsSecond_ = value;
+ bitField0_ |= 0x00080000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 diffSei2absSecond = 22;
+ * @return This builder for chaining.
+ */
+ public Builder clearDiffSei2AbsSecond() {
+ bitField0_ = (bitField0_ & ~0x00080000);
+ diffSei2AbsSecond_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long anchorFoldDuration_ ;
+ /**
+ * uint64 anchorFoldDuration = 23;
+ * @return The anchorFoldDuration.
+ */
+ @java.lang.Override
+ public long getAnchorFoldDuration() {
+ return anchorFoldDuration_;
+ }
+ /**
+ * uint64 anchorFoldDuration = 23;
+ * @param value The anchorFoldDuration to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnchorFoldDuration(long value) {
+
+ anchorFoldDuration_ = value;
+ bitField0_ |= 0x00100000;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 anchorFoldDuration = 23;
+ * @return This builder for chaining.
+ */
+ public Builder clearAnchorFoldDuration() {
+ bitField0_ = (bitField0_ & ~0x00100000);
+ anchorFoldDuration_ = 0L;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:Common)
+ }
+
+ // @@protoc_insertion_point(class_scope:Common)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public Common parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.CommonOuterClass.Common getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_Common_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_Common_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\014Common.proto\032\nUser.proto\"\312\003\n\006Common\022\016\n" +
+ "\006method\030\001 \001(\t\022\r\n\005msgId\030\002 \001(\004\022\016\n\006roomId\030\003" +
+ " \001(\004\022\022\n\ncreateTime\030\004 \001(\004\022\017\n\007monitor\030\005 \001(" +
+ "\r\022\021\n\tisShowMsg\030\006 \001(\010\022\020\n\010describe\030\007 \001(\t\022\020" +
+ "\n\010foldType\030\t \001(\004\022\026\n\016anchorFoldType\030\n \001(\004" +
+ "\022\025\n\rpriorityScore\030\013 \001(\004\022\r\n\005logId\030\014 \001(\t\022\031" +
+ "\n\021msgProcessFilterK\030\r \001(\t\022\031\n\021msgProcessF" +
+ "ilterV\030\016 \001(\t\022\023\n\004user\030\017 \001(\0132\005.User\022\030\n\020anc" +
+ "horFoldTypeV2\030\021 \001(\004\022\032\n\022processAtSeiTimeM" +
+ "s\030\022 \001(\004\022\030\n\020randomDispatchMs\030\023 \001(\004\022\022\n\nisD" +
+ "ispatch\030\024 \001(\010\022\021\n\tchannelId\030\025 \001(\r\022\031\n\021diff" +
+ "Sei2absSecond\030\026 \001(\004\022\032\n\022anchorFoldDuratio" +
+ "n\030\027 \001(\004B>\nbool doubleFlag = 1;
+ * @return The doubleFlag.
+ */
+ boolean getDoubleFlag();
+
+ /**
+ * uint32 seqId = 2;
+ * @return The seqId.
+ */
+ int getSeqId();
+
+ /**
+ * uint32 renewalsNum = 3;
+ * @return The renewalsNum.
+ */
+ int getRenewalsNum();
+
+ /**
+ * uint32 triggersNum = 4;
+ * @return The triggersNum.
+ */
+ int getTriggersNum();
+ }
+ /**
+ * Protobuf type {@code DoubleLikeDetail}
+ */
+ public static final class DoubleLikeDetail extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:DoubleLikeDetail)
+ DoubleLikeDetailOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DoubleLikeDetail.newBuilder() to construct.
+ private DoubleLikeDetail(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DoubleLikeDetail() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DoubleLikeDetail();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.internal_static_DoubleLikeDetail_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.internal_static_DoubleLikeDetail_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder.class);
+ }
+
+ public static final int DOUBLEFLAG_FIELD_NUMBER = 1;
+ private boolean doubleFlag_ = false;
+ /**
+ * bool doubleFlag = 1;
+ * @return The doubleFlag.
+ */
+ @java.lang.Override
+ public boolean getDoubleFlag() {
+ return doubleFlag_;
+ }
+
+ public static final int SEQID_FIELD_NUMBER = 2;
+ private int seqId_ = 0;
+ /**
+ * uint32 seqId = 2;
+ * @return The seqId.
+ */
+ @java.lang.Override
+ public int getSeqId() {
+ return seqId_;
+ }
+
+ public static final int RENEWALSNUM_FIELD_NUMBER = 3;
+ private int renewalsNum_ = 0;
+ /**
+ * uint32 renewalsNum = 3;
+ * @return The renewalsNum.
+ */
+ @java.lang.Override
+ public int getRenewalsNum() {
+ return renewalsNum_;
+ }
+
+ public static final int TRIGGERSNUM_FIELD_NUMBER = 4;
+ private int triggersNum_ = 0;
+ /**
+ * uint32 triggersNum = 4;
+ * @return The triggersNum.
+ */
+ @java.lang.Override
+ public int getTriggersNum() {
+ return triggersNum_;
+ }
+
+ 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 (doubleFlag_ != false) {
+ output.writeBool(1, doubleFlag_);
+ }
+ if (seqId_ != 0) {
+ output.writeUInt32(2, seqId_);
+ }
+ if (renewalsNum_ != 0) {
+ output.writeUInt32(3, renewalsNum_);
+ }
+ if (triggersNum_ != 0) {
+ output.writeUInt32(4, triggersNum_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (doubleFlag_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, doubleFlag_);
+ }
+ if (seqId_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(2, seqId_);
+ }
+ if (renewalsNum_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, renewalsNum_);
+ }
+ if (triggersNum_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(4, triggersNum_);
+ }
+ 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail) obj;
+
+ if (getDoubleFlag()
+ != other.getDoubleFlag()) return false;
+ if (getSeqId()
+ != other.getSeqId()) return false;
+ if (getRenewalsNum()
+ != other.getRenewalsNum()) return false;
+ if (getTriggersNum()
+ != other.getTriggersNum()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DOUBLEFLAG_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getDoubleFlag());
+ hash = (37 * hash) + SEQID_FIELD_NUMBER;
+ hash = (53 * hash) + getSeqId();
+ hash = (37 * hash) + RENEWALSNUM_FIELD_NUMBER;
+ hash = (53 * hash) + getRenewalsNum();
+ hash = (37 * hash) + TRIGGERSNUM_FIELD_NUMBER;
+ hash = (53 * hash) + getTriggersNum();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail 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 DoubleLikeDetail}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:DoubleLikeDetail)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.internal_static_DoubleLikeDetail_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.internal_static_DoubleLikeDetail_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ doubleFlag_ = false;
+ seqId_ = 0;
+ renewalsNum_ = 0;
+ triggersNum_ = 0;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.internal_static_DoubleLikeDetail_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.doubleFlag_ = doubleFlag_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.seqId_ = seqId_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.renewalsNum_ = renewalsNum_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.triggersNum_ = triggersNum_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance()) return this;
+ if (other.getDoubleFlag() != false) {
+ setDoubleFlag(other.getDoubleFlag());
+ }
+ if (other.getSeqId() != 0) {
+ setSeqId(other.getSeqId());
+ }
+ if (other.getRenewalsNum() != 0) {
+ setRenewalsNum(other.getRenewalsNum());
+ }
+ if (other.getTriggersNum() != 0) {
+ setTriggersNum(other.getTriggersNum());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ doubleFlag_ = input.readBool();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16: {
+ seqId_ = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ renewalsNum_ = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ case 32: {
+ triggersNum_ = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 32
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private boolean doubleFlag_ ;
+ /**
+ * bool doubleFlag = 1;
+ * @return The doubleFlag.
+ */
+ @java.lang.Override
+ public boolean getDoubleFlag() {
+ return doubleFlag_;
+ }
+ /**
+ * bool doubleFlag = 1;
+ * @param value The doubleFlag to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDoubleFlag(boolean value) {
+
+ doubleFlag_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool doubleFlag = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearDoubleFlag() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ doubleFlag_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int seqId_ ;
+ /**
+ * uint32 seqId = 2;
+ * @return The seqId.
+ */
+ @java.lang.Override
+ public int getSeqId() {
+ return seqId_;
+ }
+ /**
+ * uint32 seqId = 2;
+ * @param value The seqId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSeqId(int value) {
+
+ seqId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 seqId = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearSeqId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ seqId_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int renewalsNum_ ;
+ /**
+ * uint32 renewalsNum = 3;
+ * @return The renewalsNum.
+ */
+ @java.lang.Override
+ public int getRenewalsNum() {
+ return renewalsNum_;
+ }
+ /**
+ * uint32 renewalsNum = 3;
+ * @param value The renewalsNum to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRenewalsNum(int value) {
+
+ renewalsNum_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 renewalsNum = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearRenewalsNum() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ renewalsNum_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int triggersNum_ ;
+ /**
+ * uint32 triggersNum = 4;
+ * @return The triggersNum.
+ */
+ @java.lang.Override
+ public int getTriggersNum() {
+ return triggersNum_;
+ }
+ /**
+ * uint32 triggersNum = 4;
+ * @param value The triggersNum to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTriggersNum(int value) {
+
+ triggersNum_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 triggersNum = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearTriggersNum() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ triggersNum_ = 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:DoubleLikeDetail)
+ }
+
+ // @@protoc_insertion_point(class_scope:DoubleLikeDetail)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public DoubleLikeDetail parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_DoubleLikeDetail_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_DoubleLikeDetail_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\026DoubleLikeDetail.proto\"_\n\020DoubleLikeDe" +
+ "tail\022\022\n\ndoubleFlag\030\001 \001(\010\022\r\n\005seqId\030\002 \001(\r\022" +
+ "\023\n\013renewalsNum\030\003 \001(\r\022\023\n\013triggersNum\030\004 \001(" +
+ "\rB>\nrepeated uint64 queue_sizes_list = 1;
+ * @return A list containing the queueSizesList.
+ */
+ java.util.List getQueueSizesListList();
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @return The count of queueSizesList.
+ */
+ int getQueueSizesListCount();
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @param index The index of the element to return.
+ * @return The queueSizesList at the given index.
+ */
+ long getQueueSizesList(int index);
+
+ /**
+ * uint64 self_queue_priority = 2;
+ * @return The selfQueuePriority.
+ */
+ long getSelfQueuePriority();
+
+ /**
+ * uint64 priority = 3;
+ * @return The priority.
+ */
+ long getPriority();
+ }
+ /**
+ * Protobuf type {@code GiftIMPriority}
+ */
+ public static final class GiftIMPriority extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GiftIMPriority)
+ GiftIMPriorityOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GiftIMPriority.newBuilder() to construct.
+ private GiftIMPriority(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GiftIMPriority() {
+ queueSizesList_ = emptyLongList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GiftIMPriority();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder.class);
+ }
+
+ public static final int QUEUE_SIZES_LIST_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private com.google.protobuf.Internal.LongList queueSizesList_ =
+ emptyLongList();
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @return A list containing the queueSizesList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getQueueSizesListList() {
+ return queueSizesList_;
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @return The count of queueSizesList.
+ */
+ public int getQueueSizesListCount() {
+ return queueSizesList_.size();
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @param index The index of the element to return.
+ * @return The queueSizesList at the given index.
+ */
+ public long getQueueSizesList(int index) {
+ return queueSizesList_.getLong(index);
+ }
+ private int queueSizesListMemoizedSerializedSize = -1;
+
+ public static final int SELF_QUEUE_PRIORITY_FIELD_NUMBER = 2;
+ private long selfQueuePriority_ = 0L;
+ /**
+ * uint64 self_queue_priority = 2;
+ * @return The selfQueuePriority.
+ */
+ @java.lang.Override
+ public long getSelfQueuePriority() {
+ return selfQueuePriority_;
+ }
+
+ public static final int PRIORITY_FIELD_NUMBER = 3;
+ private long priority_ = 0L;
+ /**
+ * uint64 priority = 3;
+ * @return The priority.
+ */
+ @java.lang.Override
+ public long getPriority() {
+ return priority_;
+ }
+
+ 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 {
+ getSerializedSize();
+ if (getQueueSizesListList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(queueSizesListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < queueSizesList_.size(); i++) {
+ output.writeUInt64NoTag(queueSizesList_.getLong(i));
+ }
+ if (selfQueuePriority_ != 0L) {
+ output.writeUInt64(2, selfQueuePriority_);
+ }
+ if (priority_ != 0L) {
+ output.writeUInt64(3, priority_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < queueSizesList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt64SizeNoTag(queueSizesList_.getLong(i));
+ }
+ size += dataSize;
+ if (!getQueueSizesListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ queueSizesListMemoizedSerializedSize = dataSize;
+ }
+ if (selfQueuePriority_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, selfQueuePriority_);
+ }
+ if (priority_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, priority_);
+ }
+ 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority)) {
+ return super.equals(obj);
+ }
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority other = (tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority) obj;
+
+ if (!getQueueSizesListList()
+ .equals(other.getQueueSizesListList())) return false;
+ if (getSelfQueuePriority()
+ != other.getSelfQueuePriority()) return false;
+ if (getPriority()
+ != other.getPriority()) 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 (getQueueSizesListCount() > 0) {
+ hash = (37 * hash) + QUEUE_SIZES_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getQueueSizesListList().hashCode();
+ }
+ hash = (37 * hash) + SELF_QUEUE_PRIORITY_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSelfQueuePriority());
+ hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPriority());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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 GiftIMPriority}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:GiftIMPriority)
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder.class);
+ }
+
+ // Construct using tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.newBuilder()
+ private Builder() {
+
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ queueSizesList_ = emptyLongList();
+ selfQueuePriority_ = 0L;
+ priority_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_descriptor;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getDefaultInstanceForType() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority build() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority buildPartial() {
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority(this);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ queueSizesList_.makeImmutable();
+ result.queueSizesList_ = queueSizesList_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.selfQueuePriority_ = selfQueuePriority_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.priority_ = priority_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority) {
+ return mergeFrom((tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority other) {
+ if (other == tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance()) return this;
+ if (!other.queueSizesList_.isEmpty()) {
+ if (queueSizesList_.isEmpty()) {
+ queueSizesList_ = other.queueSizesList_;
+ queueSizesList_.makeImmutable();
+ bitField0_ |= 0x00000001;
+ } else {
+ ensureQueueSizesListIsMutable();
+ queueSizesList_.addAll(other.queueSizesList_);
+ }
+ onChanged();
+ }
+ if (other.getSelfQueuePriority() != 0L) {
+ setSelfQueuePriority(other.getSelfQueuePriority());
+ }
+ if (other.getPriority() != 0L) {
+ setPriority(other.getPriority());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ long v = input.readUInt64();
+ ensureQueueSizesListIsMutable();
+ queueSizesList_.addLong(v);
+ break;
+ } // case 8
+ case 10: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ ensureQueueSizesListIsMutable();
+ while (input.getBytesUntilLimit() > 0) {
+ queueSizesList_.addLong(input.readUInt64());
+ }
+ input.popLimit(limit);
+ break;
+ } // case 10
+ case 16: {
+ selfQueuePriority_ = input.readUInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24: {
+ priority_ = input.readUInt64();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ default: {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.Internal.LongList queueSizesList_ = emptyLongList();
+ private void ensureQueueSizesListIsMutable() {
+ if (!queueSizesList_.isModifiable()) {
+ queueSizesList_ = makeMutableCopy(queueSizesList_);
+ }
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @return A list containing the queueSizesList.
+ */
+ public java.util.List
+ getQueueSizesListList() {
+ queueSizesList_.makeImmutable();
+ return queueSizesList_;
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @return The count of queueSizesList.
+ */
+ public int getQueueSizesListCount() {
+ return queueSizesList_.size();
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @param index The index of the element to return.
+ * @return The queueSizesList at the given index.
+ */
+ public long getQueueSizesList(int index) {
+ return queueSizesList_.getLong(index);
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @param index The index to set the value at.
+ * @param value The queueSizesList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueueSizesList(
+ int index, long value) {
+
+ ensureQueueSizesListIsMutable();
+ queueSizesList_.setLong(index, value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @param value The queueSizesList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addQueueSizesList(long value) {
+
+ ensureQueueSizesListIsMutable();
+ queueSizesList_.addLong(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @param values The queueSizesList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllQueueSizesList(
+ java.lang.Iterable extends java.lang.Long> values) {
+ ensureQueueSizesListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, queueSizesList_);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint64 queue_sizes_list = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearQueueSizesList() {
+ queueSizesList_ = emptyLongList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ private long selfQueuePriority_ ;
+ /**
+ * uint64 self_queue_priority = 2;
+ * @return The selfQueuePriority.
+ */
+ @java.lang.Override
+ public long getSelfQueuePriority() {
+ return selfQueuePriority_;
+ }
+ /**
+ * uint64 self_queue_priority = 2;
+ * @param value The selfQueuePriority to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSelfQueuePriority(long value) {
+
+ selfQueuePriority_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 self_queue_priority = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearSelfQueuePriority() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ selfQueuePriority_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long priority_ ;
+ /**
+ * uint64 priority = 3;
+ * @return The priority.
+ */
+ @java.lang.Override
+ public long getPriority() {
+ return priority_;
+ }
+ /**
+ * uint64 priority = 3;
+ * @param value The priority to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPriority(long value) {
+
+ priority_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint64 priority = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearPriority() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ priority_ = 0L;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:GiftIMPriority)
+ }
+
+ // @@protoc_insertion_point(class_scope:GiftIMPriority)
+ private static final tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority();
+ }
+
+ public static tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GiftIMPriority parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_GiftIMPriority_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_GiftIMPriority_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n\024GiftIMPriority.proto\"Y\n\016GiftIMPriority" +
+ "\022\030\n\020queue_sizes_list\030\001 \003(\004\022\033\n\023self_queue" +
+ "_priority\030\002 \001(\004\022\020\n\010priority\030\003 \001(\004B>\n.Image image = 1;
+ * @return Whether the image field is set.
+ */
+ boolean hasImage();
+ /**
+ * .Image image = 1;
+ * @return The image.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getImage();
+ /**
+ * .Image image = 1;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getImageOrBuilder();
+
+ /**
+ * string describe = 2;
+ * @return The describe.
+ */
+ java.lang.String getDescribe();
+ /**
+ * string describe = 2;
+ * @return The bytes for describe.
+ */
+ com.google.protobuf.ByteString
+ getDescribeBytes();
+
+ /**
+ * bool notify = 3;
+ * @return The notify.
+ */
+ boolean getNotify();
+
+ /**
+ * uint64 duration = 4;
+ * @return The duration.
+ */
+ long getDuration();
+
+ /**
+ * uint64 id = 5;
+ * @return The id.
+ */
+ long getId();
+
+ /**
+ *
+ * GiftStructFansClubInfo fansclubInfo = 6;
+ *
+ *
+ * bool for_linkmic = 7;
+ * @return The forLinkmic.
+ */
+ boolean getForLinkmic();
+
+ /**
+ * bool doodle = 8;
+ * @return The doodle.
+ */
+ boolean getDoodle();
+
+ /**
+ * bool for_fansclub = 9;
+ * @return The forFansclub.
+ */
+ boolean getForFansclub();
+
+ /**
+ * bool combo = 10;
+ * @return The combo.
+ */
+ boolean getCombo();
+
+ /**
+ * uint32 type = 11;
+ * @return The type.
+ */
+ int getType();
+
+ /**
+ * uint32 diamond_count = 12;
+ * @return The diamondCount.
+ */
+ int getDiamondCount();
+
+ /**
+ * bool is_displayed_on_panel = 13;
+ * @return The isDisplayedOnPanel.
+ */
+ boolean getIsDisplayedOnPanel();
+
+ /**
+ * uint64 primary_effect_id = 14;
+ * @return The primaryEffectId.
+ */
+ long getPrimaryEffectId();
+
+ /**
+ * .Image gift_label_icon = 15;
+ * @return Whether the giftLabelIcon field is set.
+ */
+ boolean hasGiftLabelIcon();
+ /**
+ * .Image gift_label_icon = 15;
+ * @return The giftLabelIcon.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getGiftLabelIcon();
+ /**
+ * .Image gift_label_icon = 15;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftLabelIconOrBuilder();
+
+ /**
+ * string name = 16;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 16;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * string region = 17;
+ * @return The region.
+ */
+ java.lang.String getRegion();
+ /**
+ * string region = 17;
+ * @return The bytes for region.
+ */
+ com.google.protobuf.ByteString
+ getRegionBytes();
+
+ /**
+ * string manual = 18;
+ * @return The manual.
+ */
+ java.lang.String getManual();
+ /**
+ * string manual = 18;
+ * @return The bytes for manual.
+ */
+ com.google.protobuf.ByteString
+ getManualBytes();
+
+ /**
+ * bool for_custom = 19;
+ * @return The forCustom.
+ */
+ boolean getForCustom();
+
+ /**
+ * map<string, int64> specialEffectsMap = 20;
+ */
+ int getSpecialEffectsMapCount();
+ /**
+ * map<string, int64> specialEffectsMap = 20;
+ */
+ boolean containsSpecialEffectsMap(
+ java.lang.String key);
+ /**
+ * Use {@link #getSpecialEffectsMapMap()} instead.
+ */
+ @java.lang.Deprecated
+ java.util.Map
+ getSpecialEffectsMap();
+ /**
+ * map<string, int64> specialEffectsMap = 20;
+ */
+ java.util.Map
+ getSpecialEffectsMapMap();
+ /**
+ * map<string, int64> specialEffectsMap = 20;
+ */
+ long getSpecialEffectsMapOrDefault(
+ java.lang.String key,
+ long defaultValue);
+ /**
+ * map<string, int64> specialEffectsMap = 20;
+ */
+ long getSpecialEffectsMapOrThrow(
+ java.lang.String key);
+
+ /**
+ * .Image icon = 21;
+ * @return Whether the icon field is set.
+ */
+ boolean hasIcon();
+ /**
+ * .Image icon = 21;
+ * @return The icon.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getIcon();
+ /**
+ * .Image icon = 21;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getIconOrBuilder();
+
+ /**
+ * uint32 action_type = 22;
+ * @return The actionType.
+ */
+ int getActionType();
+
+ /**
+ * int32 watermelonSeeds = 23;
+ * @return The watermelonSeeds.
+ */
+ int getWatermelonSeeds();
+
+ /**
+ * string goldEffect = 24;
+ * @return The goldEffect.
+ */
+ java.lang.String getGoldEffect();
+ /**
+ * string goldEffect = 24;
+ * @return The bytes for goldEffect.
+ */
+ com.google.protobuf.ByteString
+ getGoldEffectBytes();
+
+ /**
+ *
+ * repeated LuckyMoneyGiftMeta subs = 25;
+ *
+ *
+ * int64 goldenBeans = 26;
+ * @return The goldenBeans.
+ */
+ long getGoldenBeans();
+
+ /**
+ * int64 honorLevel = 27;
+ * @return The honorLevel.
+ */
+ long getHonorLevel();
+
+ /**
+ * int32 itemType = 28;
+ * @return The itemType.
+ */
+ int getItemType();
+
+ /**
+ * string schemeUrl = 29;
+ * @return The schemeUrl.
+ */
+ java.lang.String getSchemeUrl();
+ /**
+ * string schemeUrl = 29;
+ * @return The bytes for schemeUrl.
+ */
+ com.google.protobuf.ByteString
+ getSchemeUrlBytes();
+
+ /**
+ *
+ * GiftPanelOperation giftOperation = 30;
+ *
+ *
+ * string eventName = 31;
+ * @return The eventName.
+ */
+ java.lang.String getEventName();
+ /**
+ *
+ * GiftPanelOperation giftOperation = 30;
+ *
+ *
+ * string eventName = 31;
+ * @return The bytes for eventName.
+ */
+ com.google.protobuf.ByteString
+ getEventNameBytes();
+
+ /**
+ * int64 nobleLevel = 32;
+ * @return The nobleLevel.
+ */
+ long getNobleLevel();
+
+ /**
+ * string guideUrl = 33;
+ * @return The guideUrl.
+ */
+ java.lang.String getGuideUrl();
+ /**
+ * string guideUrl = 33;
+ * @return The bytes for guideUrl.
+ */
+ com.google.protobuf.ByteString
+ getGuideUrlBytes();
+
+ /**
+ * bool punishMedicine = 34;
+ * @return The punishMedicine.
+ */
+ boolean getPunishMedicine();
+
+ /**
+ * bool forPortal = 35;
+ * @return The forPortal.
+ */
+ boolean getForPortal();
+
+ /**
+ * string businessText = 36;
+ * @return The businessText.
+ */
+ java.lang.String getBusinessText();
+ /**
+ * string businessText = 36;
+ * @return The bytes for businessText.
+ */
+ com.google.protobuf.ByteString
+ getBusinessTextBytes();
+
+ /**
+ * bool cnyGift = 37;
+ * @return The cnyGift.
+ */
+ boolean getCnyGift();
+
+ /**
+ * int64 appId = 38;
+ * @return The appId.
+ */
+ long getAppId();
+
+ /**
+ * int64 vipLevel = 39;
+ * @return The vipLevel.
+ */
+ long getVipLevel();
+
+ /**
+ * bool isGray = 40;
+ * @return The isGray.
+ */
+ boolean getIsGray();
+
+ /**
+ * string graySchemeUrl = 41;
+ * @return The graySchemeUrl.
+ */
+ java.lang.String getGraySchemeUrl();
+ /**
+ * string graySchemeUrl = 41;
+ * @return The bytes for graySchemeUrl.
+ */
+ com.google.protobuf.ByteString
+ getGraySchemeUrlBytes();
+
+ /**
+ * int64 giftScene = 42;
+ * @return The giftScene.
+ */
+ long getGiftScene();
+
+ /**
+ *
+ * GiftBanner giftBanner = 43;
+ *
+ *
+ * repeated string triggerWords = 44;
+ * @return A list containing the triggerWords.
+ */
+ java.util.List
+ getTriggerWordsList();
+ /**
+ *
+ * GiftBanner giftBanner = 43;
+ *
+ *
+ * repeated string triggerWords = 44;
+ * @return The count of triggerWords.
+ */
+ int getTriggerWordsCount();
+ /**
+ *
+ * GiftBanner giftBanner = 43;
+ *
+ *
+ * repeated string triggerWords = 44;
+ * @param index The index of the element to return.
+ * @return The triggerWords at the given index.
+ */
+ java.lang.String getTriggerWords(int index);
+ /**
+ *
+ * GiftBanner giftBanner = 43;
+ *
+ *
+ * repeated string triggerWords = 44;
+ * @param index The index of the value to return.
+ * @return The bytes of the triggerWords at the given index.
+ */
+ com.google.protobuf.ByteString
+ getTriggerWordsBytes(int index);
+
+ /**
+ *
+ * repeated GiftBuffInfo giftBuffInfos = 45;
+ *
+ *
+ * bool forFirstRecharge = 46;
+ * @return The forFirstRecharge.
+ */
+ boolean getForFirstRecharge();
+
+ /**
+ * .Image dynamicImgForSelected = 47;
+ * @return Whether the dynamicImgForSelected field is set.
+ */
+ boolean hasDynamicImgForSelected();
+ /**
+ * .Image dynamicImgForSelected = 47;
+ * @return The dynamicImgForSelected.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getDynamicImgForSelected();
+ /**
+ * .Image dynamicImgForSelected = 47;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getDynamicImgForSelectedOrBuilder();
+
+ /**
+ * int32 afterSendAction = 48;
+ * @return The afterSendAction.
+ */
+ int getAfterSendAction();
+
+ /**
+ * int64 giftOfflineTime = 49;
+ * @return The giftOfflineTime.
+ */
+ long getGiftOfflineTime();
+
+ /**
+ * string topBarText = 50;
+ * @return The topBarText.
+ */
+ java.lang.String getTopBarText();
+ /**
+ * string topBarText = 50;
+ * @return The bytes for topBarText.
+ */
+ com.google.protobuf.ByteString
+ getTopBarTextBytes();
+
+ /**
+ * .Image topRightAvatar = 51;
+ * @return Whether the topRightAvatar field is set.
+ */
+ boolean hasTopRightAvatar();
+ /**
+ * .Image topRightAvatar = 51;
+ * @return The topRightAvatar.
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getTopRightAvatar();
+ /**
+ * .Image topRightAvatar = 51;
+ */
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getTopRightAvatarOrBuilder();
+
+ /**
+ * string bannerSchemeUrl = 52;
+ * @return The bannerSchemeUrl.
+ */
+ java.lang.String getBannerSchemeUrl();
+ /**
+ * string bannerSchemeUrl = 52;
+ * @return The bytes for bannerSchemeUrl.
+ */
+ com.google.protobuf.ByteString
+ getBannerSchemeUrlBytes();
+
+ /**
+ * bool isLocked = 53;
+ * @return The isLocked.
+ */
+ boolean getIsLocked();
+
+ /**
+ * int64 reqExtraType = 54;
+ * @return The reqExtraType.
+ */
+ long getReqExtraType();
+
+ /**
+ * repeated int64 assetIds = 55;
+ * @return A list containing the assetIds.
+ */
+ java.util.List getAssetIdsList();
+ /**
+ * repeated int64 assetIds = 55;
+ * @return The count of assetIds.
+ */
+ int getAssetIdsCount();
+ /**
+ * repeated int64 assetIds = 55;
+ * @param index The index of the element to return.
+ * @return The assetIds at the given index.
+ */
+ long getAssetIds(int index);
+
+ /**
+ *
+ * GiftPreviewInfo giftPreviewInfo = 56;
+ * GiftTip giftTip = 57;
+ *
+ *
+ * int32 needSweepLightCount = 58;
+ * @return The needSweepLightCount.
+ */
+ int getNeedSweepLightCount();
+ }
+ /**
+ * Protobuf type {@code GiftStruct}
+ */
+ public static final class GiftStruct extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GiftStruct)
+ GiftStructOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GiftStruct.newBuilder() to construct.
+ private GiftStruct(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GiftStruct() {
+ describe_ = "";
+ name_ = "";
+ region_ = "";
+ manual_ = "";
+ goldEffect_ = "";
+ schemeUrl_ = "";
+ eventName_ = "";
+ guideUrl_ = "";
+ businessText_ = "";
+ graySchemeUrl_ = "";
+ triggerWords_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+ topBarText_ = "";
+ bannerSchemeUrl_ = "";
+ assetIds_ = emptyLongList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GiftStruct();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.internal_static_GiftStruct_descriptor;
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
+ switch (number) {
+ case 20:
+ return internalGetSpecialEffectsMap();
+ default:
+ throw new RuntimeException(
+ "Invalid map field number: " + number);
+ }
+ }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.internal_static_GiftStruct_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.class, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int IMAGE_FIELD_NUMBER = 1;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image image_;
+ /**
+ * .Image image = 1;
+ * @return Whether the image field is set.
+ */
+ @java.lang.Override
+ public boolean hasImage() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .Image image = 1;
+ * @return The image.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getImage() {
+ return image_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : image_;
+ }
+ /**
+ * .Image image = 1;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getImageOrBuilder() {
+ return image_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : image_;
+ }
+
+ public static final int DESCRIBE_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object describe_ = "";
+ /**
+ * string describe = 2;
+ * @return The describe.
+ */
+ @java.lang.Override
+ public java.lang.String getDescribe() {
+ java.lang.Object ref = describe_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ describe_ = s;
+ return s;
+ }
+ }
+ /**
+ * string describe = 2;
+ * @return The bytes for describe.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDescribeBytes() {
+ java.lang.Object ref = describe_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ describe_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int NOTIFY_FIELD_NUMBER = 3;
+ private boolean notify_ = false;
+ /**
+ * bool notify = 3;
+ * @return The notify.
+ */
+ @java.lang.Override
+ public boolean getNotify() {
+ return notify_;
+ }
+
+ public static final int DURATION_FIELD_NUMBER = 4;
+ private long duration_ = 0L;
+ /**
+ * uint64 duration = 4;
+ * @return The duration.
+ */
+ @java.lang.Override
+ public long getDuration() {
+ return duration_;
+ }
+
+ public static final int ID_FIELD_NUMBER = 5;
+ private long id_ = 0L;
+ /**
+ * uint64 id = 5;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+
+ public static final int FOR_LINKMIC_FIELD_NUMBER = 7;
+ private boolean forLinkmic_ = false;
+ /**
+ *
+ * GiftStructFansClubInfo fansclubInfo = 6;
+ *
+ *
+ * bool for_linkmic = 7;
+ * @return The forLinkmic.
+ */
+ @java.lang.Override
+ public boolean getForLinkmic() {
+ return forLinkmic_;
+ }
+
+ public static final int DOODLE_FIELD_NUMBER = 8;
+ private boolean doodle_ = false;
+ /**
+ * bool doodle = 8;
+ * @return The doodle.
+ */
+ @java.lang.Override
+ public boolean getDoodle() {
+ return doodle_;
+ }
+
+ public static final int FOR_FANSCLUB_FIELD_NUMBER = 9;
+ private boolean forFansclub_ = false;
+ /**
+ * bool for_fansclub = 9;
+ * @return The forFansclub.
+ */
+ @java.lang.Override
+ public boolean getForFansclub() {
+ return forFansclub_;
+ }
+
+ public static final int COMBO_FIELD_NUMBER = 10;
+ private boolean combo_ = false;
+ /**
+ * bool combo = 10;
+ * @return The combo.
+ */
+ @java.lang.Override
+ public boolean getCombo() {
+ return combo_;
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 11;
+ private int type_ = 0;
+ /**
+ * uint32 type = 11;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+
+ public static final int DIAMOND_COUNT_FIELD_NUMBER = 12;
+ private int diamondCount_ = 0;
+ /**
+ * uint32 diamond_count = 12;
+ * @return The diamondCount.
+ */
+ @java.lang.Override
+ public int getDiamondCount() {
+ return diamondCount_;
+ }
+
+ public static final int IS_DISPLAYED_ON_PANEL_FIELD_NUMBER = 13;
+ private boolean isDisplayedOnPanel_ = false;
+ /**
+ * bool is_displayed_on_panel = 13;
+ * @return The isDisplayedOnPanel.
+ */
+ @java.lang.Override
+ public boolean getIsDisplayedOnPanel() {
+ return isDisplayedOnPanel_;
+ }
+
+ public static final int PRIMARY_EFFECT_ID_FIELD_NUMBER = 14;
+ private long primaryEffectId_ = 0L;
+ /**
+ * uint64 primary_effect_id = 14;
+ * @return The primaryEffectId.
+ */
+ @java.lang.Override
+ public long getPrimaryEffectId() {
+ return primaryEffectId_;
+ }
+
+ public static final int GIFT_LABEL_ICON_FIELD_NUMBER = 15;
+ private tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image giftLabelIcon_;
+ /**
+ * .Image gift_label_icon = 15;
+ * @return Whether the giftLabelIcon field is set.
+ */
+ @java.lang.Override
+ public boolean hasGiftLabelIcon() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * .Image gift_label_icon = 15;
+ * @return The giftLabelIcon.
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image getGiftLabelIcon() {
+ return giftLabelIcon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftLabelIcon_;
+ }
+ /**
+ * .Image gift_label_icon = 15;
+ */
+ @java.lang.Override
+ public tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftLabelIconOrBuilder() {
+ return giftLabelIcon_ == null ? tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftLabelIcon_;
+ }
+
+ public static final int NAME_FIELD_NUMBER = 16;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ * string name = 16;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * string name = 16;
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int REGION_FIELD_NUMBER = 17;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object region_ = "";
+ /**
+ * string region = 17;
+ * @return The region.
+ */
+ @java.lang.Override
+ public java.lang.String getRegion() {
+ java.lang.Object ref = region_;
+ 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();
+ region_ = s;
+ return s;
+ }
+ }
+ /**
+ * string region = 17;
+ * @return The bytes for region.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getRegionBytes() {
+ java.lang.Object ref = region_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ region_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MANUAL_FIELD_NUMBER = 18;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object manual_ = "";
+ /**
+ * string manual = 18;
+ * @return The manual.
+ */
+ @java.lang.Override
+ public java.lang.String getManual() {
+ java.lang.Object ref = manual_;
+ 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();
+ manual_ = s;
+ return s;
+ }
+ }
+ /**
+ * string manual = 18;
+ * @return The bytes for manual.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getManualBytes() {
+ java.lang.Object ref = manual_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ manual_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FOR_CUSTOM_FIELD_NUMBER = 19;
+ private boolean forCustom_ = false;
+ /**
+ * bool for_custom = 19;
+ * @return The forCustom.
+ */
+ @java.lang.Override
+ public boolean getForCustom() {
+ return forCustom_;
+ }
+
+ public static final int SPECIALEFFECTSMAP_FIELD_NUMBER = 20;
+ private static final class SpecialEffectsMapDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry<
+ java.lang.String, java.lang.Long> defaultEntry =
+ com.google.protobuf.MapEntry
+ .newDefaultInstance(
+ tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.GiftStructOuterClass.internal_static_GiftStruct_SpecialEffectsMapEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.INT64,
+ 0L);
+ }
+ @SuppressWarnings("serial")
+ private com.google.protobuf.MapField<
+ java.lang.String, java.lang.Long> specialEffectsMap_;
+ private com.google.protobuf.MapField
+ internalGetSpecialEffectsMap() {
+ if (specialEffectsMap_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(
+ SpecialEffectsMapDefaultEntryHolder.defaultEntry);
+ }
+ return specialEffectsMap_;
+ }
+ public int getSpecialEffectsMapCount() {
+ return internalGetSpecialEffectsMap().getMap().size();
+ }
+ /**
+ *