implements
- // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msgOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_chat_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_chat_message_msg_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_chat_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_chat_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg.Builder.class);
- }
-
- // Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @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.douyin.protobuf.Douyin_webcast_chat_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_chat_message_msg_descriptor;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg getDefaultInstanceForType() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg.getDefaultInstance();
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg build() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg buildPartial() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.common_ = commonBuilder_ == null
- ? common_
- : commonBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.user_ = userBuilder_ == null
- ? user_
- : userBuilder_.build();
- }
- 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();
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.fullScreenTextColor_ = fullScreenTextColor_;
- }
- if (((from_bitField0_ & 0x00000040) != 0)) {
- result.backgroundImageV2_ = backgroundImageV2Builder_ == null
- ? backgroundImageV2_
- : backgroundImageV2Builder_.build();
- }
- if (((from_bitField0_ & 0x00000080) != 0)) {
- result.giftImage_ = giftImageBuilder_ == null
- ? giftImage_
- : giftImageBuilder_.build();
- }
- 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_;
- }
- }
-
- @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.douyin.protobuf.douyin_webcast_chat_message_msg) {
- return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg other) {
- if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg.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.douyin.protobuf.dto.CommonOuterClass.Common common_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- if (commonBuilder_ == null) {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- } else {
- return commonBuilder_.getMessage();
- }
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- common_ = value;
- } else {
- commonBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder builderForValue) {
- if (commonBuilder_ == null) {
- common_ = builderForValue.build();
- } else {
- commonBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder mergeCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- common_ != null &&
- common_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
- getCommonBuilder().mergeFrom(value);
- } else {
- common_ = value;
- }
- } else {
- commonBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder clearCommon() {
- bitField0_ = (bitField0_ & ~0x00000001);
- common_ = null;
- if (commonBuilder_ != null) {
- commonBuilder_.dispose();
- commonBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getCommonFieldBuilder().getBuilder();
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- if (commonBuilder_ != null) {
- return commonBuilder_.getMessageOrBuilder();
- } else {
- return common_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- }
- /**
- * .Common common = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
- getCommonFieldBuilder() {
- if (commonBuilder_ == null) {
- commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
- getCommon(),
- getParentForChildren(),
- isClean());
- common_ = null;
- }
- return commonBuilder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
- /**
- * .User user = 2;
- * @return Whether the user field is set.
- */
- public boolean hasUser() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * .User user = 2;
- * @return The user.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
- if (userBuilder_ == null) {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- } else {
- return userBuilder_.getMessage();
- }
- }
- /**
- * .User user = 2;
- */
- public Builder setUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- user_ = value;
- } else {
- userBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public Builder setUser(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
- if (userBuilder_ == null) {
- user_ = builderForValue.build();
- } else {
- userBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- user_ != null &&
- user_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
- getUserBuilder().mergeFrom(value);
- } else {
- user_ = value;
- }
- } else {
- userBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public Builder clearUser() {
- bitField0_ = (bitField0_ & ~0x00000002);
- user_ = null;
- if (userBuilder_ != null) {
- userBuilder_.dispose();
- userBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getUserFieldBuilder().getBuilder();
- }
- /**
- * .User user = 2;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- if (userBuilder_ != null) {
- return userBuilder_.getMessageOrBuilder();
- } else {
- return user_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- }
- /**
- * .User user = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
- getUserFieldBuilder() {
- if (userBuilder_ == null) {
- userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
- getUser(),
- getParentForChildren(),
- isClean());
- user_ = null;
- }
- return userBuilder_;
- }
-
- private java.lang.Object content_ = "";
- /**
- * string content = 3;
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- content_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string content = 3;
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string content = 3;
- * @param value The content to set.
- * @return This builder for chaining.
- */
- public Builder setContent(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- content_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * string content = 3;
- * @return This builder for chaining.
- */
- public Builder clearContent() {
- content_ = getDefaultInstance().getContent();
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- return this;
- }
- /**
- * string content = 3;
- * @param value The bytes for content to set.
- * @return This builder for chaining.
- */
- public Builder setContentBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
- content_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- private boolean visibleToSender_ ;
- /**
- * bool visible_to_sender = 4;
- * @return The visibleToSender.
- */
- @java.lang.Override
- public boolean getVisibleToSender() {
- return visibleToSender_;
- }
- /**
- * bool visible_to_sender = 4;
- * @param value The visibleToSender to set.
- * @return This builder for chaining.
- */
- public Builder setVisibleToSender(boolean value) {
-
- visibleToSender_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
- /**
- * bool visible_to_sender = 4;
- * @return This builder for chaining.
- */
- public Builder clearVisibleToSender() {
- bitField0_ = (bitField0_ & ~0x00000008);
- visibleToSender_ = false;
- onChanged();
- return this;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageBuilder_;
- /**
- * .Image background_image = 5;
- * @return Whether the backgroundImage field is set.
- */
- public boolean hasBackgroundImage() {
- return ((bitField0_ & 0x00000010) != 0);
- }
- /**
- * .Image background_image = 5;
- * @return The backgroundImage.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
- if (backgroundImageBuilder_ == null) {
- return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
- } else {
- return backgroundImageBuilder_.getMessage();
- }
- }
- /**
- * .Image background_image = 5;
- */
- public Builder setBackgroundImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- backgroundImage_ = value;
- } else {
- backgroundImageBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * .Image background_image = 5;
- */
- public Builder setBackgroundImage(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
- if (backgroundImageBuilder_ == null) {
- backgroundImage_ = builderForValue.build();
- } else {
- backgroundImageBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * .Image background_image = 5;
- */
- public Builder mergeBackgroundImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0) &&
- backgroundImage_ != null &&
- backgroundImage_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
- getBackgroundImageBuilder().mergeFrom(value);
- } else {
- backgroundImage_ = value;
- }
- } else {
- backgroundImageBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * .Image background_image = 5;
- */
- public Builder clearBackgroundImage() {
- bitField0_ = (bitField0_ & ~0x00000010);
- backgroundImage_ = null;
- if (backgroundImageBuilder_ != null) {
- backgroundImageBuilder_.dispose();
- backgroundImageBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .Image background_image = 5;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getBackgroundImageFieldBuilder().getBuilder();
- }
- /**
- * .Image background_image = 5;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
- if (backgroundImageBuilder_ != null) {
- return backgroundImageBuilder_.getMessageOrBuilder();
- } else {
- return backgroundImage_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
- }
- }
- /**
- * .Image background_image = 5;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
- getBackgroundImageFieldBuilder() {
- if (backgroundImageBuilder_ == null) {
- backgroundImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
- getBackgroundImage(),
- getParentForChildren(),
- isClean());
- backgroundImage_ = null;
- }
- return backgroundImageBuilder_;
- }
-
- private java.lang.Object fullScreenTextColor_ = "";
- /**
- * string full_screen_text_color = 6;
- * @return The fullScreenTextColor.
- */
- public java.lang.String getFullScreenTextColor() {
- java.lang.Object ref = fullScreenTextColor_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- fullScreenTextColor_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string full_screen_text_color = 6;
- * @return The bytes for fullScreenTextColor.
- */
- public com.google.protobuf.ByteString
- getFullScreenTextColorBytes() {
- java.lang.Object ref = fullScreenTextColor_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- fullScreenTextColor_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string full_screen_text_color = 6;
- * @param value The fullScreenTextColor to set.
- * @return This builder for chaining.
- */
- public Builder setFullScreenTextColor(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- fullScreenTextColor_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
- /**
- * string full_screen_text_color = 6;
- * @return This builder for chaining.
- */
- public Builder clearFullScreenTextColor() {
- fullScreenTextColor_ = getDefaultInstance().getFullScreenTextColor();
- bitField0_ = (bitField0_ & ~0x00000020);
- onChanged();
- return this;
- }
- /**
- * string full_screen_text_color = 6;
- * @param value The bytes for fullScreenTextColor to set.
- * @return This builder for chaining.
- */
- public Builder setFullScreenTextColorBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
- fullScreenTextColor_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageV2Builder_;
- /**
- * .Image background_image_v2 = 7;
- * @return Whether the backgroundImageV2 field is set.
- */
- public boolean hasBackgroundImageV2() {
- return ((bitField0_ & 0x00000040) != 0);
- }
- /**
- * .Image background_image_v2 = 7;
- * @return The backgroundImageV2.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
- if (backgroundImageV2Builder_ == null) {
- return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
- } else {
- return backgroundImageV2Builder_.getMessage();
- }
- }
- /**
- * .Image background_image_v2 = 7;
- */
- public Builder setBackgroundImageV2(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageV2Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- backgroundImageV2_ = value;
- } else {
- backgroundImageV2Builder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .Image background_image_v2 = 7;
- */
- public Builder setBackgroundImageV2(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
- if (backgroundImageV2Builder_ == null) {
- backgroundImageV2_ = builderForValue.build();
- } else {
- backgroundImageV2Builder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .Image background_image_v2 = 7;
- */
- public Builder mergeBackgroundImageV2(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageV2Builder_ == null) {
- if (((bitField0_ & 0x00000040) != 0) &&
- backgroundImageV2_ != null &&
- backgroundImageV2_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
- getBackgroundImageV2Builder().mergeFrom(value);
- } else {
- backgroundImageV2_ = value;
- }
- } else {
- backgroundImageV2Builder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .Image background_image_v2 = 7;
- */
- public Builder clearBackgroundImageV2() {
- bitField0_ = (bitField0_ & ~0x00000040);
- backgroundImageV2_ = null;
- if (backgroundImageV2Builder_ != null) {
- backgroundImageV2Builder_.dispose();
- backgroundImageV2Builder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .Image background_image_v2 = 7;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageV2Builder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getBackgroundImageV2FieldBuilder().getBuilder();
- }
- /**
- * .Image background_image_v2 = 7;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
- if (backgroundImageV2Builder_ != null) {
- return backgroundImageV2Builder_.getMessageOrBuilder();
- } else {
- return backgroundImageV2_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
- }
- }
- /**
- * .Image background_image_v2 = 7;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
- getBackgroundImageV2FieldBuilder() {
- if (backgroundImageV2Builder_ == null) {
- backgroundImageV2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
- getBackgroundImageV2(),
- getParentForChildren(),
- isClean());
- backgroundImageV2_ = null;
- }
- return backgroundImageV2Builder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image giftImage_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> giftImageBuilder_;
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- * @return Whether the giftImage field is set.
- */
- public boolean hasGiftImage() {
- return ((bitField0_ & 0x00000080) != 0);
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- * @return The giftImage.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage() {
- if (giftImageBuilder_ == null) {
- return giftImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftImage_;
- } else {
- return giftImageBuilder_.getMessage();
- }
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- public Builder setGiftImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (giftImageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- giftImage_ = value;
- } else {
- giftImageBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
- onChanged();
- return this;
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- public Builder setGiftImage(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
- if (giftImageBuilder_ == null) {
- giftImage_ = builderForValue.build();
- } else {
- giftImageBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
- onChanged();
- return this;
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- public Builder mergeGiftImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (giftImageBuilder_ == null) {
- if (((bitField0_ & 0x00000080) != 0) &&
- giftImage_ != null &&
- giftImage_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
- getGiftImageBuilder().mergeFrom(value);
- } else {
- giftImage_ = value;
- }
- } else {
- giftImageBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
- onChanged();
- return this;
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- public Builder clearGiftImage() {
- bitField0_ = (bitField0_ & ~0x00000080);
- giftImage_ = null;
- if (giftImageBuilder_ != null) {
- giftImageBuilder_.dispose();
- giftImageBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder getGiftImageBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getGiftImageFieldBuilder().getBuilder();
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getGiftImageOrBuilder() {
- if (giftImageBuilder_ != null) {
- return giftImageBuilder_.getMessageOrBuilder();
- } else {
- return giftImage_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : giftImage_;
- }
- }
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
- getGiftImageFieldBuilder() {
- if (giftImageBuilder_ == null) {
- giftImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
- getGiftImage(),
- getParentForChildren(),
- isClean());
- giftImage_ = null;
- }
- return giftImageBuilder_;
- }
-
- private long agreeMsgId_ ;
- /**
- * uint64 agree_msg_id = 11;
- * @return The agreeMsgId.
- */
- @java.lang.Override
- public long getAgreeMsgId() {
- return agreeMsgId_;
- }
- /**
- * uint64 agree_msg_id = 11;
- * @param value The agreeMsgId to set.
- * @return This builder for chaining.
- */
- public Builder setAgreeMsgId(long value) {
-
- agreeMsgId_ = value;
- bitField0_ |= 0x00000100;
- onChanged();
- return this;
- }
- /**
- * uint64 agree_msg_id = 11;
- * @return This builder for chaining.
- */
- public Builder clearAgreeMsgId() {
- bitField0_ = (bitField0_ & ~0x00000100);
- agreeMsgId_ = 0L;
- onChanged();
- return this;
- }
-
- private int priorityLevel_ ;
- /**
- * uint32 priority_level = 12;
- * @return The priorityLevel.
- */
- @java.lang.Override
- public int getPriorityLevel() {
- return priorityLevel_;
- }
- /**
- * uint32 priority_level = 12;
- * @param value The priorityLevel to set.
- * @return This builder for chaining.
- */
- public Builder setPriorityLevel(int value) {
-
- priorityLevel_ = value;
- bitField0_ |= 0x00000200;
- onChanged();
- return this;
- }
- /**
- * uint32 priority_level = 12;
- * @return This builder for chaining.
- */
- public Builder clearPriorityLevel() {
- bitField0_ = (bitField0_ & ~0x00000200);
- priorityLevel_ = 0;
- onChanged();
- return this;
- }
-
- private long eventTime_ ;
- /**
- *
- * LandscapeAreaCommon landscape_area_common = 13;
- *
- *
- * uint64 event_time = 15;
- * @return The eventTime.
- */
- @java.lang.Override
- public long getEventTime() {
- return eventTime_;
- }
- /**
- *
- * LandscapeAreaCommon landscape_area_common = 13;
- *
- *
- * uint64 event_time = 15;
- * @param value The eventTime to set.
- * @return This builder for chaining.
- */
- public Builder setEventTime(long value) {
-
- eventTime_ = value;
- bitField0_ |= 0x00000400;
- onChanged();
- return this;
- }
- /**
- *
- * LandscapeAreaCommon landscape_area_common = 13;
- *
- *
- * uint64 event_time = 15;
- * @return This builder for chaining.
- */
- public Builder clearEventTime() {
- bitField0_ = (bitField0_ & ~0x00000400);
- eventTime_ = 0L;
- onChanged();
- return this;
- }
-
- private boolean sendReview_ ;
- /**
- * bool send_review = 16;
- * @return The sendReview.
- */
- @java.lang.Override
- public boolean getSendReview() {
- return sendReview_;
- }
- /**
- * bool send_review = 16;
- * @param value The sendReview to set.
- * @return This builder for chaining.
- */
- public Builder setSendReview(boolean value) {
-
- sendReview_ = value;
- bitField0_ |= 0x00000800;
- onChanged();
- return this;
- }
- /**
- * bool send_review = 16;
- * @return This builder for chaining.
- */
- public Builder clearSendReview() {
- bitField0_ = (bitField0_ & ~0x00000800);
- sendReview_ = false;
- onChanged();
- return this;
- }
-
- private boolean fromIntercom_ ;
- /**
- * bool from_intercom = 17;
- * @return The fromIntercom.
- */
- @java.lang.Override
- public boolean getFromIntercom() {
- return fromIntercom_;
- }
- /**
- * bool from_intercom = 17;
- * @param value The fromIntercom to set.
- * @return This builder for chaining.
- */
- public Builder setFromIntercom(boolean value) {
-
- fromIntercom_ = value;
- bitField0_ |= 0x00001000;
- onChanged();
- return this;
- }
- /**
- * bool from_intercom = 17;
- * @return This builder for chaining.
- */
- public Builder clearFromIntercom() {
- bitField0_ = (bitField0_ & ~0x00001000);
- fromIntercom_ = false;
- onChanged();
- return this;
- }
-
- private boolean intercomHideUserCard_ ;
- /**
- * bool intercom_hide_user_card = 18;
- * @return The intercomHideUserCard.
- */
- @java.lang.Override
- public boolean getIntercomHideUserCard() {
- return intercomHideUserCard_;
- }
- /**
- * bool intercom_hide_user_card = 18;
- * @param value The intercomHideUserCard to set.
- * @return This builder for chaining.
- */
- public Builder setIntercomHideUserCard(boolean value) {
-
- intercomHideUserCard_ = value;
- bitField0_ |= 0x00002000;
- onChanged();
- return this;
- }
- /**
- * bool intercom_hide_user_card = 18;
- * @return This builder for chaining.
- */
- public Builder clearIntercomHideUserCard() {
- bitField0_ = (bitField0_ & ~0x00002000);
- intercomHideUserCard_ = false;
- onChanged();
- return this;
- }
-
- private java.lang.Object chatBy_ = "";
- /**
- *
- * repeated string chatTagsList = 19;
- *
- *
- * string chat_by = 20;
- * @return The chatBy.
- */
- public java.lang.String getChatBy() {
- java.lang.Object ref = chatBy_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- chatBy_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- * repeated string chatTagsList = 19;
- *
- *
- * string chat_by = 20;
- * @return The bytes for chatBy.
- */
- public com.google.protobuf.ByteString
- getChatByBytes() {
- java.lang.Object ref = chatBy_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- chatBy_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- * repeated string chatTagsList = 19;
- *
- *
- * string chat_by = 20;
- * @param value The chatBy to set.
- * @return This builder for chaining.
- */
- public Builder setChatBy(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- chatBy_ = value;
- bitField0_ |= 0x00004000;
- onChanged();
- return this;
- }
- /**
- *
- * repeated string chatTagsList = 19;
- *
- *
- * string chat_by = 20;
- * @return This builder for chaining.
- */
- public Builder clearChatBy() {
- chatBy_ = getDefaultInstance().getChatBy();
- bitField0_ = (bitField0_ & ~0x00004000);
- onChanged();
- return this;
- }
- /**
- *
- * repeated string chatTagsList = 19;
- *
- *
- * string chat_by = 20;
- * @param value The bytes for chatBy to set.
- * @return This builder for chaining.
- */
- public Builder setChatByBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
- chatBy_ = value;
- bitField0_ |= 0x00004000;
- onChanged();
- return this;
- }
-
- private int individualChatPriority_ ;
- /**
- *
- * Text rtf_content = 22 ;
- *
- *
- * uint32 individual_chat_priority = 21;
- * @return The individualChatPriority.
- */
- @java.lang.Override
- public int getIndividualChatPriority() {
- return individualChatPriority_;
- }
- /**
- *
- * Text rtf_content = 22 ;
- *
- *
- * uint32 individual_chat_priority = 21;
- * @param value The individualChatPriority to set.
- * @return This builder for chaining.
- */
- public Builder setIndividualChatPriority(int value) {
-
- individualChatPriority_ = value;
- bitField0_ |= 0x00008000;
- onChanged();
- return this;
- }
- /**
- *
- * Text rtf_content = 22 ;
- *
- *
- * uint32 individual_chat_priority = 21;
- * @return This builder for chaining.
- */
- public Builder clearIndividualChatPriority() {
- bitField0_ = (bitField0_ & ~0x00008000);
- individualChatPriority_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)
- }
-
- // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)
- private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg();
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public douyin_webcast_chat_message_msg 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.douyin.protobuf.douyin_webcast_chat_message_msg getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
-}
-
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_chat_message_msgOrBuilder.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_chat_message_msgOrBuilder.java
deleted file mode 100644
index 961938ed..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_chat_message_msgOrBuilder.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_chat_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-public interface douyin_webcast_chat_message_msgOrBuilder extends
- // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_chat_message_msg)
- 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
- /**
- * .Common common = 1;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.UserOuterClass.User getUser();
- /**
- * .User user = 2;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage();
- /**
- * .Image background_image = 5;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2();
- /**
- * .Image background_image_v2 = 7;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.ImageOuterClass.Image getGiftImage();
- /**
- *
- * PublicAreaCommon public_area_common = 9;
- *
- *
- * .Image gift_image = 10;
- */
- tech.ordinaryroad.live.chat.client.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();
-}
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_gift_message_msg.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_gift_message_msg.java
deleted file mode 100644
index d4098dd6..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_gift_message_msg.java
+++ /dev/null
@@ -1,3963 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_gift_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-/**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg}
- */
-public final class douyin_webcast_gift_message_msg extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg)
- douyin_webcast_gift_message_msgOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use douyin_webcast_gift_message_msg.newBuilder() to construct.
- private douyin_webcast_gift_message_msg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private douyin_webcast_gift_message_msg() {
- logId_ = "";
- interactGiftInfo_ = "";
- diyItemInfo_ = "";
- minAssetSetList_ = emptyLongList();
- toUserIdsList_ = emptyLongList();
- traceId_ = "";
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new douyin_webcast_gift_message_msg();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_gift_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_gift_message_msg_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_gift_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_gift_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.Builder.class);
- }
-
- public static final int COMMON_FIELD_NUMBER = 1;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common common_;
- /**
- * .Common common = 1;
- * @return Whether the common field is set.
- */
- @java.lang.Override
- public boolean hasCommon() {
- return common_ != null;
- }
- /**
- * .Common common = 1;
- * @return The common.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- /**
- * .Common common = 1;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
-
- public static final int 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.douyin.protobuf.dto.UserOuterClass.User user_;
- /**
- * .User user = 7;
- * @return Whether the user field is set.
- */
- @java.lang.Override
- public boolean hasUser() {
- return user_ != null;
- }
- /**
- * .User user = 7;
- * @return The user.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- /**
- * .User user = 7;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
-
- public static final int TO_USER_FIELD_NUMBER = 8;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User toUser_;
- /**
- * .User to_user = 8;
- * @return Whether the toUser field is set.
- */
- @java.lang.Override
- public boolean hasToUser() {
- return toUser_ != null;
- }
- /**
- * .User to_user = 8;
- * @return The toUser.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getToUser() {
- return toUser_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
- }
- /**
- * .User to_user = 8;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getToUserOrBuilder() {
- return toUser_ == null ? tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextEffectOuterClass.TextEffect textEffect_;
- /**
- * .TextEffect text_effect = 10;
- * @return Whether the textEffect field is set.
- */
- @java.lang.Override
- public boolean hasTextEffect() {
- return textEffect_ != null;
- }
- /**
- * .TextEffect text_effect = 10;
- * @return The textEffect.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect getTextEffect() {
- return textEffect_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
- }
- /**
- * .TextEffect text_effect = 10;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder getTextEffectOrBuilder() {
- return textEffect_ == null ? tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority priority_;
- /**
- * .GiftIMPriority priority = 14;
- * @return Whether the priority field is set.
- */
- @java.lang.Override
- public boolean hasPriority() {
- return priority_ != null;
- }
- /**
- * .GiftIMPriority priority = 14;
- * @return The priority.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getPriority() {
- return priority_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
- }
- /**
- * .GiftIMPriority priority = 14;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder getPriorityOrBuilder() {
- return priority_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
- }
-
- public static final int GIFT_FIELD_NUMBER = 15;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct gift_;
- /**
- * .GiftStruct gift = 15;
- * @return Whether the gift field is set.
- */
- @java.lang.Override
- public boolean hasGift() {
- return gift_ != null;
- }
- /**
- * .GiftStruct gift = 15;
- * @return The gift.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct getGift() {
- return gift_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
- }
- /**
- * .GiftStruct gift = 15;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder getGiftOrBuilder() {
- return gift_ == null ? tech.ordinaryroad.live.chat.client.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.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 publicAreaCommon_ != null;
- }
- /**
- * .PublicAreaCommon public_area_common = 18;
- * @return The publicAreaCommon.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon() {
- return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
- }
- /**
- * .PublicAreaCommon public_area_common = 18;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder() {
- return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
- }
-
- public static final int TRAY_DISPLAY_TEXT_FIELD_NUMBER = 19;
- private tech.ordinaryroad.live.chat.client.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 trayDisplayText_ != null;
- }
- /**
- * .Text tray_display_text = 19;
- * @return The trayDisplayText.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text getTrayDisplayText() {
- return trayDisplayText_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
- }
- /**
- * .Text tray_display_text = 19;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getTrayDisplayTextOrBuilder() {
- return trayDisplayText_ == null ? tech.ordinaryroad.live.chat.client.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_;
- /**
- * 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_;
- /**
- *
- * 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 (common_ != null) {
- 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 (user_ != null) {
- output.writeMessage(7, getUser());
- }
- if (toUser_ != null) {
- output.writeMessage(8, getToUser());
- }
- if (repeatEnd_ != 0) {
- output.writeUInt32(9, repeatEnd_);
- }
- if (textEffect_ != null) {
- 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 (priority_ != null) {
- output.writeMessage(14, getPriority());
- }
- if (gift_ != null) {
- 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 (publicAreaCommon_ != null) {
- output.writeMessage(18, getPublicAreaCommon());
- }
- if (trayDisplayText_ != null) {
- 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 (common_ != null) {
- 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 (user_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, getUser());
- }
- if (toUser_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, getToUser());
- }
- if (repeatEnd_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(9, repeatEnd_);
- }
- if (textEffect_ != null) {
- 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 (priority_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(14, getPriority());
- }
- if (gift_ != null) {
- 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 (publicAreaCommon_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(18, getPublicAreaCommon());
- }
- if (trayDisplayText_ != null) {
- 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.douyin.protobuf.douyin_webcast_gift_message_msg)) {
- return super.equals(obj);
- }
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg) 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.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg)
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msgOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_gift_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_gift_message_msg_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_gift_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_gift_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.Builder.class);
- }
-
- // Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @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.douyin.protobuf.Douyin_webcast_gift_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_gift_message_msg_descriptor;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg getDefaultInstanceForType() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.getDefaultInstance();
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg build() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg buildPartial() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg result) {
- if (((bitField0_ & 0x00800000) != 0)) {
- minAssetSetList_.makeImmutable();
- bitField0_ = (bitField0_ & ~0x00800000);
- }
- result.minAssetSetList_ = minAssetSetList_;
- if (((bitField0_ & 0x04000000) != 0)) {
- toUserIdsList_.makeImmutable();
- bitField0_ = (bitField0_ & ~0x04000000);
- }
- result.toUserIdsList_ = toUserIdsList_;
- }
-
- private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.common_ = commonBuilder_ == null
- ? common_
- : commonBuilder_.build();
- }
- 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();
- }
- if (((from_bitField0_ & 0x00000080) != 0)) {
- result.toUser_ = toUserBuilder_ == null
- ? toUser_
- : toUserBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) != 0)) {
- result.repeatEnd_ = repeatEnd_;
- }
- if (((from_bitField0_ & 0x00000200) != 0)) {
- result.textEffect_ = textEffectBuilder_ == null
- ? textEffect_
- : textEffectBuilder_.build();
- }
- 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();
- }
- if (((from_bitField0_ & 0x00004000) != 0)) {
- result.gift_ = giftBuilder_ == null
- ? gift_
- : giftBuilder_.build();
- }
- 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();
- }
- if (((from_bitField0_ & 0x00040000) != 0)) {
- result.trayDisplayText_ = trayDisplayTextBuilder_ == null
- ? trayDisplayText_
- : trayDisplayTextBuilder_.build();
- }
- 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_ & 0x01000000) != 0)) {
- result.totalCount_ = totalCount_;
- }
- if (((from_bitField0_ & 0x02000000) != 0)) {
- result.clientGiftSource_ = clientGiftSource_;
- }
- 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_;
- }
- }
-
- @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.douyin.protobuf.douyin_webcast_gift_message_msg) {
- return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg other) {
- if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg.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_;
- bitField0_ = (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_;
- bitField0_ = (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.douyin.protobuf.dto.CommonOuterClass.Common common_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- if (commonBuilder_ == null) {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- } else {
- return commonBuilder_.getMessage();
- }
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- common_ = value;
- } else {
- commonBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder builderForValue) {
- if (commonBuilder_ == null) {
- common_ = builderForValue.build();
- } else {
- commonBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder mergeCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- common_ != null &&
- common_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
- getCommonBuilder().mergeFrom(value);
- } else {
- common_ = value;
- }
- } else {
- commonBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder clearCommon() {
- bitField0_ = (bitField0_ & ~0x00000001);
- common_ = null;
- if (commonBuilder_ != null) {
- commonBuilder_.dispose();
- commonBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getCommonFieldBuilder().getBuilder();
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- if (commonBuilder_ != null) {
- return commonBuilder_.getMessageOrBuilder();
- } else {
- return common_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- }
- /**
- * .Common common = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
- getCommonFieldBuilder() {
- if (commonBuilder_ == null) {
- commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
- getCommon(),
- getParentForChildren(),
- isClean());
- common_ = null;
- }
- return commonBuilder_;
- }
-
- private long 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.douyin.protobuf.dto.UserOuterClass.User user_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
- /**
- * .User user = 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.douyin.protobuf.dto.UserOuterClass.User getUser() {
- if (userBuilder_ == null) {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- } else {
- return userBuilder_.getMessage();
- }
- }
- /**
- * .User user = 7;
- */
- public Builder setUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- user_ = value;
- } else {
- userBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .User user = 7;
- */
- public Builder setUser(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
- if (userBuilder_ == null) {
- user_ = builderForValue.build();
- } else {
- userBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .User user = 7;
- */
- public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0) &&
- user_ != null &&
- user_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
- getUserBuilder().mergeFrom(value);
- } else {
- user_ = value;
- }
- } else {
- userBuilder_.mergeFrom(value);
- }
- bitField0_ |= 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.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getUserFieldBuilder().getBuilder();
- }
- /**
- * .User user = 7;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- if (userBuilder_ != null) {
- return userBuilder_.getMessageOrBuilder();
- } else {
- return user_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- }
- /**
- * .User user = 7;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
- getUserFieldBuilder() {
- if (userBuilder_ == null) {
- userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
- getUser(),
- getParentForChildren(),
- isClean());
- user_ = null;
- }
- return userBuilder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User toUser_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> 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.douyin.protobuf.dto.UserOuterClass.User getToUser() {
- if (toUserBuilder_ == null) {
- return toUser_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
- } else {
- return toUserBuilder_.getMessage();
- }
- }
- /**
- * .User to_user = 8;
- */
- public Builder setToUser(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.UserOuterClass.User value) {
- if (toUserBuilder_ == null) {
- if (((bitField0_ & 0x00000080) != 0) &&
- toUser_ != null &&
- toUser_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
- getToUserBuilder().mergeFrom(value);
- } else {
- toUser_ = value;
- }
- } else {
- toUserBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.UserOuterClass.User.Builder getToUserBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getToUserFieldBuilder().getBuilder();
- }
- /**
- * .User to_user = 8;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getToUserOrBuilder() {
- if (toUserBuilder_ != null) {
- return toUserBuilder_.getMessageOrBuilder();
- } else {
- return toUser_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : toUser_;
- }
- }
- /**
- * .User to_user = 8;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
- getToUserFieldBuilder() {
- if (toUserBuilder_ == null) {
- toUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
- 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.douyin.protobuf.dto.TextEffectOuterClass.TextEffect textEffect_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextEffectOuterClass.TextEffect getTextEffect() {
- if (textEffectBuilder_ == null) {
- return textEffect_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
- } else {
- return textEffectBuilder_.getMessage();
- }
- }
- /**
- * .TextEffect text_effect = 10;
- */
- public Builder setTextEffect(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.TextEffectOuterClass.TextEffect value) {
- if (textEffectBuilder_ == null) {
- if (((bitField0_ & 0x00000200) != 0) &&
- textEffect_ != null &&
- textEffect_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance()) {
- getTextEffectBuilder().mergeFrom(value);
- } else {
- textEffect_ = value;
- }
- } else {
- textEffectBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder getTextEffectBuilder() {
- bitField0_ |= 0x00000200;
- onChanged();
- return getTextEffectFieldBuilder().getBuilder();
- }
- /**
- * .TextEffect text_effect = 10;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder getTextEffectOrBuilder() {
- if (textEffectBuilder_ != null) {
- return textEffectBuilder_.getMessageOrBuilder();
- } else {
- return textEffect_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.getDefaultInstance() : textEffect_;
- }
- }
- /**
- * .TextEffect text_effect = 10;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffectOrBuilder>
- getTextEffectFieldBuilder() {
- if (textEffectBuilder_ == null) {
- textEffectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextEffectOuterClass.TextEffect.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority priority_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getPriority() {
- if (priorityBuilder_ == null) {
- return priority_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
- } else {
- return priorityBuilder_.getMessage();
- }
- }
- /**
- * .GiftIMPriority priority = 14;
- */
- public Builder setPriority(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority value) {
- if (priorityBuilder_ == null) {
- if (((bitField0_ & 0x00002000) != 0) &&
- priority_ != null &&
- priority_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance()) {
- getPriorityBuilder().mergeFrom(value);
- } else {
- priority_ = value;
- }
- } else {
- priorityBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder getPriorityBuilder() {
- bitField0_ |= 0x00002000;
- onChanged();
- return getPriorityFieldBuilder().getBuilder();
- }
- /**
- * .GiftIMPriority priority = 14;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder getPriorityOrBuilder() {
- if (priorityBuilder_ != null) {
- return priorityBuilder_.getMessageOrBuilder();
- } else {
- return priority_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance() : priority_;
- }
- }
- /**
- * .GiftIMPriority priority = 14;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder>
- getPriorityFieldBuilder() {
- if (priorityBuilder_ == null) {
- priorityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder>(
- getPriority(),
- getParentForChildren(),
- isClean());
- priority_ = null;
- }
- return priorityBuilder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct gift_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct getGift() {
- if (giftBuilder_ == null) {
- return gift_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
- } else {
- return giftBuilder_.getMessage();
- }
- }
- /**
- * .GiftStruct gift = 15;
- */
- public Builder setGift(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct value) {
- if (giftBuilder_ == null) {
- if (((bitField0_ & 0x00004000) != 0) &&
- gift_ != null &&
- gift_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance()) {
- getGiftBuilder().mergeFrom(value);
- } else {
- gift_ = value;
- }
- } else {
- giftBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder getGiftBuilder() {
- bitField0_ |= 0x00004000;
- onChanged();
- return getGiftFieldBuilder().getBuilder();
- }
- /**
- * .GiftStruct gift = 15;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder getGiftOrBuilder() {
- if (giftBuilder_ != null) {
- return giftBuilder_.getMessageOrBuilder();
- } else {
- return gift_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.getDefaultInstance() : gift_;
- }
- }
- /**
- * .GiftStruct gift = 15;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStructOrBuilder>
- getGiftFieldBuilder() {
- if (giftBuilder_ == null) {
- giftBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon publicAreaCommon_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon() {
- if (publicAreaCommonBuilder_ == null) {
- return publicAreaCommon_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
- } else {
- return publicAreaCommonBuilder_.getMessage();
- }
- }
- /**
- * .PublicAreaCommon public_area_common = 18;
- */
- public Builder setPublicAreaCommon(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon value) {
- if (publicAreaCommonBuilder_ == null) {
- if (((bitField0_ & 0x00020000) != 0) &&
- publicAreaCommon_ != null &&
- publicAreaCommon_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance()) {
- getPublicAreaCommonBuilder().mergeFrom(value);
- } else {
- publicAreaCommon_ = value;
- }
- } else {
- publicAreaCommonBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder getPublicAreaCommonBuilder() {
- bitField0_ |= 0x00020000;
- onChanged();
- return getPublicAreaCommonFieldBuilder().getBuilder();
- }
- /**
- * .PublicAreaCommon public_area_common = 18;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder getPublicAreaCommonOrBuilder() {
- if (publicAreaCommonBuilder_ != null) {
- return publicAreaCommonBuilder_.getMessageOrBuilder();
- } else {
- return publicAreaCommon_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.getDefaultInstance() : publicAreaCommon_;
- }
- }
- /**
- * .PublicAreaCommon public_area_common = 18;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder>
- getPublicAreaCommonFieldBuilder() {
- if (publicAreaCommonBuilder_ == null) {
- publicAreaCommonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommonOrBuilder>(
- getPublicAreaCommon(),
- getParentForChildren(),
- isClean());
- publicAreaCommon_ = null;
- }
- return publicAreaCommonBuilder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text trayDisplayText_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextOuterClass.Text getTrayDisplayText() {
- if (trayDisplayTextBuilder_ == null) {
- return trayDisplayText_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
- } else {
- return trayDisplayTextBuilder_.getMessage();
- }
- }
- /**
- * .Text tray_display_text = 19;
- */
- public Builder setTrayDisplayText(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.TextOuterClass.Text value) {
- if (trayDisplayTextBuilder_ == null) {
- if (((bitField0_ & 0x00040000) != 0) &&
- trayDisplayText_ != null &&
- trayDisplayText_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance()) {
- getTrayDisplayTextBuilder().mergeFrom(value);
- } else {
- trayDisplayText_ = value;
- }
- } else {
- trayDisplayTextBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.TextOuterClass.Text.Builder getTrayDisplayTextBuilder() {
- bitField0_ |= 0x00040000;
- onChanged();
- return getTrayDisplayTextFieldBuilder().getBuilder();
- }
- /**
- * .Text tray_display_text = 19;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getTrayDisplayTextOrBuilder() {
- if (trayDisplayTextBuilder_ != null) {
- return trayDisplayTextBuilder_.getMessageOrBuilder();
- } else {
- return trayDisplayText_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : trayDisplayText_;
- }
- }
- /**
- * .Text tray_display_text = 19;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.TextOrBuilder>
- getTrayDisplayTextFieldBuilder() {
- if (trayDisplayTextBuilder_ == null) {
- trayDisplayTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.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 (!((bitField0_ & 0x00800000) != 0)) {
- minAssetSetList_ = mutableCopy(minAssetSetList_);
- bitField0_ |= 0x00800000;
- }
- }
- /**
- * repeated uint64 min_asset_set_list = 28;
- * @return A list containing the minAssetSetList.
- */
- public java.util.List
- getMinAssetSetListList() {
- return ((bitField0_ & 0x00800000) != 0) ?
- java.util.Collections.unmodifiableList(minAssetSetList_) : 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);
- 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);
- 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_);
- 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 (!((bitField0_ & 0x04000000) != 0)) {
- toUserIdsList_ = mutableCopy(toUserIdsList_);
- bitField0_ |= 0x04000000;
- }
- }
- /**
- *
- * AnchorGiftData anchorGift = 31;
- *
- *
- * repeated uint64 to_user_ids_list = 32;
- * @return A list containing the toUserIdsList.
- */
- public java.util.List
- getToUserIdsListList() {
- return ((bitField0_ & 0x04000000) != 0) ?
- java.util.Collections.unmodifiableList(toUserIdsList_) : 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);
- 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);
- 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_);
- 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.douyin_webcast_gift_message_msg)
- }
-
- // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg)
- private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg();
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public douyin_webcast_gift_message_msg 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.douyin.protobuf.douyin_webcast_gift_message_msg getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
-}
-
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_gift_message_msgOrBuilder.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_gift_message_msgOrBuilder.java
deleted file mode 100644
index 48301993..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_gift_message_msgOrBuilder.java
+++ /dev/null
@@ -1,354 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_gift_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-public interface douyin_webcast_gift_message_msgOrBuilder extends
- // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_gift_message_msg)
- 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
- /**
- * .Common common = 1;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.UserOuterClass.User getUser();
- /**
- * .User user = 7;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.UserOuterClass.User getToUser();
- /**
- * .User to_user = 8;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextEffectOuterClass.TextEffect getTextEffect();
- /**
- * .TextEffect text_effect = 10;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getPriority();
- /**
- * .GiftIMPriority priority = 14;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.GiftStructOuterClass.GiftStruct getGift();
- /**
- * .GiftStruct gift = 15;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.PublicAreaCommonOuterClass.PublicAreaCommon getPublicAreaCommon();
- /**
- * .PublicAreaCommon public_area_common = 18;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextOuterClass.Text getTrayDisplayText();
- /**
- * .Text tray_display_text = 19;
- */
- tech.ordinaryroad.live.chat.client.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();
-}
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msg.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msg.java
deleted file mode 100644
index 8e79778c..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msg.java
+++ /dev/null
@@ -1,1563 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_like_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-/**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg}
- */
-public final class douyin_webcast_like_message_msg extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
- douyin_webcast_like_message_msgOrBuilder {
-private static final long serialVersionUID = 0L;
- // Use douyin_webcast_like_message_msg.newBuilder() to construct.
- private douyin_webcast_like_message_msg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private douyin_webcast_like_message_msg() {
- icon_ = "";
- scene_ = "";
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new douyin_webcast_like_message_msg();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.Builder.class);
- }
-
- public static final int COMMON_FIELD_NUMBER = 1;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common common_;
- /**
- * .Common common = 1;
- * @return Whether the common field is set.
- */
- @java.lang.Override
- public boolean hasCommon() {
- return common_ != null;
- }
- /**
- * .Common common = 1;
- * @return The common.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- /**
- * .Common common = 1;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
-
- public static final int COUNT_FIELD_NUMBER = 2;
- private long count_ = 0L;
- /**
- * uint64 count = 2;
- * @return The count.
- */
- @java.lang.Override
- public long getCount() {
- return count_;
- }
-
- public static final int TOTAL_FIELD_NUMBER = 3;
- private long total_ = 0L;
- /**
- * uint64 total = 3;
- * @return The total.
- */
- @java.lang.Override
- public long getTotal() {
- return total_;
- }
-
- public static final int COLOR_FIELD_NUMBER = 4;
- private long color_ = 0L;
- /**
- * uint64 color = 4;
- * @return The color.
- */
- @java.lang.Override
- public long getColor() {
- return color_;
- }
-
- public static final int USER_FIELD_NUMBER = 5;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
- /**
- * .User user = 5;
- * @return Whether the user field is set.
- */
- @java.lang.Override
- public boolean hasUser() {
- return user_ != null;
- }
- /**
- * .User user = 5;
- * @return The user.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- /**
- * .User user = 5;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
-
- public static final int ICON_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object icon_ = "";
- /**
- * string icon = 6;
- * @return The icon.
- */
- @java.lang.Override
- public java.lang.String getIcon() {
- java.lang.Object ref = icon_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- icon_ = s;
- return s;
- }
- }
- /**
- * string icon = 6;
- * @return The bytes for icon.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getIconBytes() {
- java.lang.Object ref = icon_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- icon_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int DOUBLELIKEDETAIL_FIELD_NUMBER = 7;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail doubleLikeDetail_;
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- * @return Whether the doubleLikeDetail field is set.
- */
- @java.lang.Override
- public boolean hasDoubleLikeDetail() {
- return doubleLikeDetail_ != null;
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- * @return The doubleLikeDetail.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail() {
- return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder() {
- return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
- }
-
- public static final int LINKMICGUESTUID_FIELD_NUMBER = 9;
- private long linkmicGuestUid_ = 0L;
- /**
- *
- * DisplayControlInfo displayControlInfo = 8;
- *
- *
- * uint64 linkmicGuestUid = 9;
- * @return The linkmicGuestUid.
- */
- @java.lang.Override
- public long getLinkmicGuestUid() {
- return linkmicGuestUid_;
- }
-
- public static final int SCENE_FIELD_NUMBER = 10;
- @SuppressWarnings("serial")
- private volatile java.lang.Object scene_ = "";
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @return The scene.
- */
- @java.lang.Override
- public java.lang.String getScene() {
- java.lang.Object ref = scene_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- scene_ = s;
- return s;
- }
- }
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @return The bytes for scene.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getSceneBytes() {
- java.lang.Object ref = scene_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- scene_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (common_ != null) {
- output.writeMessage(1, getCommon());
- }
- if (count_ != 0L) {
- output.writeUInt64(2, count_);
- }
- if (total_ != 0L) {
- output.writeUInt64(3, total_);
- }
- if (color_ != 0L) {
- output.writeUInt64(4, color_);
- }
- if (user_ != null) {
- output.writeMessage(5, getUser());
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(icon_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, icon_);
- }
- if (doubleLikeDetail_ != null) {
- output.writeMessage(7, getDoubleLikeDetail());
- }
- if (linkmicGuestUid_ != 0L) {
- output.writeUInt64(9, linkmicGuestUid_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scene_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, scene_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (common_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getCommon());
- }
- if (count_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, count_);
- }
- if (total_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(3, total_);
- }
- if (color_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(4, color_);
- }
- if (user_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getUser());
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(icon_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, icon_);
- }
- if (doubleLikeDetail_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, getDoubleLikeDetail());
- }
- if (linkmicGuestUid_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(9, linkmicGuestUid_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scene_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, scene_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)) {
- return super.equals(obj);
- }
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg) obj;
-
- if (hasCommon() != other.hasCommon()) return false;
- if (hasCommon()) {
- if (!getCommon()
- .equals(other.getCommon())) return false;
- }
- if (getCount()
- != other.getCount()) return false;
- if (getTotal()
- != other.getTotal()) return false;
- if (getColor()
- != other.getColor()) return false;
- if (hasUser() != other.hasUser()) return false;
- if (hasUser()) {
- if (!getUser()
- .equals(other.getUser())) return false;
- }
- if (!getIcon()
- .equals(other.getIcon())) return false;
- if (hasDoubleLikeDetail() != other.hasDoubleLikeDetail()) return false;
- if (hasDoubleLikeDetail()) {
- if (!getDoubleLikeDetail()
- .equals(other.getDoubleLikeDetail())) return false;
- }
- if (getLinkmicGuestUid()
- != other.getLinkmicGuestUid()) return false;
- if (!getScene()
- .equals(other.getScene())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasCommon()) {
- hash = (37 * hash) + COMMON_FIELD_NUMBER;
- hash = (53 * hash) + getCommon().hashCode();
- }
- hash = (37 * hash) + COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getCount());
- hash = (37 * hash) + TOTAL_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getTotal());
- hash = (37 * hash) + COLOR_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getColor());
- if (hasUser()) {
- hash = (37 * hash) + USER_FIELD_NUMBER;
- hash = (53 * hash) + getUser().hashCode();
- }
- hash = (37 * hash) + ICON_FIELD_NUMBER;
- hash = (53 * hash) + getIcon().hashCode();
- if (hasDoubleLikeDetail()) {
- hash = (37 * hash) + DOUBLELIKEDETAIL_FIELD_NUMBER;
- hash = (53 * hash) + getDoubleLikeDetail().hashCode();
- }
- hash = (37 * hash) + LINKMICGUESTUID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getLinkmicGuestUid());
- hash = (37 * hash) + SCENE_FIELD_NUMBER;
- hash = (53 * hash) + getScene().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.Builder.class);
- }
-
- // Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @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.douyin.protobuf.douyin_webcast_like_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg getDefaultInstanceForType() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.getDefaultInstance();
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg build() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg buildPartial() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.common_ = commonBuilder_ == null
- ? common_
- : commonBuilder_.build();
- }
- 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();
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.icon_ = icon_;
- }
- if (((from_bitField0_ & 0x00000040) != 0)) {
- result.doubleLikeDetail_ = doubleLikeDetailBuilder_ == null
- ? doubleLikeDetail_
- : doubleLikeDetailBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000080) != 0)) {
- result.linkmicGuestUid_ = linkmicGuestUid_;
- }
- if (((from_bitField0_ & 0x00000100) != 0)) {
- result.scene_ = scene_;
- }
- }
-
- @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.douyin.protobuf.douyin_webcast_like_message_msg) {
- return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg other) {
- if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg.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.douyin.protobuf.dto.CommonOuterClass.Common common_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- if (commonBuilder_ == null) {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- } else {
- return commonBuilder_.getMessage();
- }
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- common_ = value;
- } else {
- commonBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder builderForValue) {
- if (commonBuilder_ == null) {
- common_ = builderForValue.build();
- } else {
- commonBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder mergeCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- common_ != null &&
- common_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
- getCommonBuilder().mergeFrom(value);
- } else {
- common_ = value;
- }
- } else {
- commonBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder clearCommon() {
- bitField0_ = (bitField0_ & ~0x00000001);
- common_ = null;
- if (commonBuilder_ != null) {
- commonBuilder_.dispose();
- commonBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getCommonFieldBuilder().getBuilder();
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- if (commonBuilder_ != null) {
- return commonBuilder_.getMessageOrBuilder();
- } else {
- return common_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- }
- /**
- * .Common common = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
- getCommonFieldBuilder() {
- if (commonBuilder_ == null) {
- commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
- getCommon(),
- getParentForChildren(),
- isClean());
- common_ = null;
- }
- return commonBuilder_;
- }
-
- private long count_ ;
- /**
- * uint64 count = 2;
- * @return The count.
- */
- @java.lang.Override
- public long getCount() {
- return count_;
- }
- /**
- * uint64 count = 2;
- * @param value The count to set.
- * @return This builder for chaining.
- */
- public Builder setCount(long value) {
-
- count_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * uint64 count = 2;
- * @return This builder for chaining.
- */
- public Builder clearCount() {
- bitField0_ = (bitField0_ & ~0x00000002);
- count_ = 0L;
- onChanged();
- return this;
- }
-
- private long total_ ;
- /**
- * uint64 total = 3;
- * @return The total.
- */
- @java.lang.Override
- public long getTotal() {
- return total_;
- }
- /**
- * uint64 total = 3;
- * @param value The total to set.
- * @return This builder for chaining.
- */
- public Builder setTotal(long value) {
-
- total_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * uint64 total = 3;
- * @return This builder for chaining.
- */
- public Builder clearTotal() {
- bitField0_ = (bitField0_ & ~0x00000004);
- total_ = 0L;
- onChanged();
- return this;
- }
-
- private long color_ ;
- /**
- * uint64 color = 4;
- * @return The color.
- */
- @java.lang.Override
- public long getColor() {
- return color_;
- }
- /**
- * uint64 color = 4;
- * @param value The color to set.
- * @return This builder for chaining.
- */
- public Builder setColor(long value) {
-
- color_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
- /**
- * uint64 color = 4;
- * @return This builder for chaining.
- */
- public Builder clearColor() {
- bitField0_ = (bitField0_ & ~0x00000008);
- color_ = 0L;
- onChanged();
- return this;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
- /**
- * .User user = 5;
- * @return Whether the user field is set.
- */
- public boolean hasUser() {
- return ((bitField0_ & 0x00000010) != 0);
- }
- /**
- * .User user = 5;
- * @return The user.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
- if (userBuilder_ == null) {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- } else {
- return userBuilder_.getMessage();
- }
- }
- /**
- * .User user = 5;
- */
- public Builder setUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- user_ = value;
- } else {
- userBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * .User user = 5;
- */
- public Builder setUser(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
- if (userBuilder_ == null) {
- user_ = builderForValue.build();
- } else {
- userBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * .User user = 5;
- */
- public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0) &&
- user_ != null &&
- user_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
- getUserBuilder().mergeFrom(value);
- } else {
- user_ = value;
- }
- } else {
- userBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * .User user = 5;
- */
- public Builder clearUser() {
- bitField0_ = (bitField0_ & ~0x00000010);
- user_ = null;
- if (userBuilder_ != null) {
- userBuilder_.dispose();
- userBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .User user = 5;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getUserFieldBuilder().getBuilder();
- }
- /**
- * .User user = 5;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- if (userBuilder_ != null) {
- return userBuilder_.getMessageOrBuilder();
- } else {
- return user_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- }
- /**
- * .User user = 5;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
- getUserFieldBuilder() {
- if (userBuilder_ == null) {
- userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
- getUser(),
- getParentForChildren(),
- isClean());
- user_ = null;
- }
- return userBuilder_;
- }
-
- private java.lang.Object icon_ = "";
- /**
- * string icon = 6;
- * @return The icon.
- */
- public java.lang.String getIcon() {
- java.lang.Object ref = icon_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- icon_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string icon = 6;
- * @return The bytes for icon.
- */
- public com.google.protobuf.ByteString
- getIconBytes() {
- java.lang.Object ref = icon_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- icon_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string icon = 6;
- * @param value The icon to set.
- * @return This builder for chaining.
- */
- public Builder setIcon(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- icon_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
- /**
- * string icon = 6;
- * @return This builder for chaining.
- */
- public Builder clearIcon() {
- icon_ = getDefaultInstance().getIcon();
- bitField0_ = (bitField0_ & ~0x00000020);
- onChanged();
- return this;
- }
- /**
- * string icon = 6;
- * @param value The bytes for icon to set.
- * @return This builder for chaining.
- */
- public Builder setIconBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
- icon_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail doubleLikeDetail_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder> doubleLikeDetailBuilder_;
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- * @return Whether the doubleLikeDetail field is set.
- */
- public boolean hasDoubleLikeDetail() {
- return ((bitField0_ & 0x00000040) != 0);
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- * @return The doubleLikeDetail.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail() {
- if (doubleLikeDetailBuilder_ == null) {
- return doubleLikeDetail_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
- } else {
- return doubleLikeDetailBuilder_.getMessage();
- }
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- public Builder setDoubleLikeDetail(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail value) {
- if (doubleLikeDetailBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- doubleLikeDetail_ = value;
- } else {
- doubleLikeDetailBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- public Builder setDoubleLikeDetail(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder builderForValue) {
- if (doubleLikeDetailBuilder_ == null) {
- doubleLikeDetail_ = builderForValue.build();
- } else {
- doubleLikeDetailBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- public Builder mergeDoubleLikeDetail(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail value) {
- if (doubleLikeDetailBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0) &&
- doubleLikeDetail_ != null &&
- doubleLikeDetail_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance()) {
- getDoubleLikeDetailBuilder().mergeFrom(value);
- } else {
- doubleLikeDetail_ = value;
- }
- } else {
- doubleLikeDetailBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- public Builder clearDoubleLikeDetail() {
- bitField0_ = (bitField0_ & ~0x00000040);
- doubleLikeDetail_ = null;
- if (doubleLikeDetailBuilder_ != null) {
- doubleLikeDetailBuilder_.dispose();
- doubleLikeDetailBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder getDoubleLikeDetailBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getDoubleLikeDetailFieldBuilder().getBuilder();
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder getDoubleLikeDetailOrBuilder() {
- if (doubleLikeDetailBuilder_ != null) {
- return doubleLikeDetailBuilder_.getMessageOrBuilder();
- } else {
- return doubleLikeDetail_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.getDefaultInstance() : doubleLikeDetail_;
- }
- }
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder>
- getDoubleLikeDetailFieldBuilder() {
- if (doubleLikeDetailBuilder_ == null) {
- doubleLikeDetailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetailOrBuilder>(
- getDoubleLikeDetail(),
- getParentForChildren(),
- isClean());
- doubleLikeDetail_ = null;
- }
- return doubleLikeDetailBuilder_;
- }
-
- private long linkmicGuestUid_ ;
- /**
- *
- * DisplayControlInfo displayControlInfo = 8;
- *
- *
- * uint64 linkmicGuestUid = 9;
- * @return The linkmicGuestUid.
- */
- @java.lang.Override
- public long getLinkmicGuestUid() {
- return linkmicGuestUid_;
- }
- /**
- *
- * DisplayControlInfo displayControlInfo = 8;
- *
- *
- * uint64 linkmicGuestUid = 9;
- * @param value The linkmicGuestUid to set.
- * @return This builder for chaining.
- */
- public Builder setLinkmicGuestUid(long value) {
-
- linkmicGuestUid_ = value;
- bitField0_ |= 0x00000080;
- onChanged();
- return this;
- }
- /**
- *
- * DisplayControlInfo displayControlInfo = 8;
- *
- *
- * uint64 linkmicGuestUid = 9;
- * @return This builder for chaining.
- */
- public Builder clearLinkmicGuestUid() {
- bitField0_ = (bitField0_ & ~0x00000080);
- linkmicGuestUid_ = 0L;
- onChanged();
- return this;
- }
-
- private java.lang.Object scene_ = "";
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @return The scene.
- */
- public java.lang.String getScene() {
- java.lang.Object ref = scene_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- scene_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @return The bytes for scene.
- */
- public com.google.protobuf.ByteString
- getSceneBytes() {
- java.lang.Object ref = scene_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- scene_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @param value The scene to set.
- * @return This builder for chaining.
- */
- public Builder setScene(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- scene_ = value;
- bitField0_ |= 0x00000100;
- onChanged();
- return this;
- }
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @return This builder for chaining.
- */
- public Builder clearScene() {
- scene_ = getDefaultInstance().getScene();
- bitField0_ = (bitField0_ & ~0x00000100);
- onChanged();
- return this;
- }
- /**
- *
- * PicoDisplayInfo picoDisplayInfo = 11;
- * = 12;
- *
- *
- * string scene = 10;
- * @param value The bytes for scene to set.
- * @return This builder for chaining.
- */
- public Builder setSceneBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
- scene_ = value;
- bitField0_ |= 0x00000100;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
- }
-
- // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
- private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg();
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public douyin_webcast_like_message_msg 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.douyin.protobuf.douyin_webcast_like_message_msg getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
-}
-
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msgOrBuilder.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msgOrBuilder.java
deleted file mode 100644
index b5b088a5..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msgOrBuilder.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_like_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-public interface douyin_webcast_like_message_msgOrBuilder extends
- // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_like_message_msg)
- 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
- /**
- * .Common common = 1;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.UserOuterClass.User getUser();
- /**
- * .User user = 5;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.DoubleLikeDetailOuterClass.DoubleLikeDetail getDoubleLikeDetail();
- /**
- * .DoubleLikeDetail doubleLikeDetail = 7;
- */
- tech.ordinaryroad.live.chat.client.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();
-}
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msgProto.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msgProto.java
deleted file mode 100644
index 153557b6..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_like_message_msgProto.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_like_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-public final class douyin_webcast_like_message_msgProto {
- private douyin_webcast_like_message_msgProto() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_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%douyin_webcast_like_message_msg.proto\022" +
- "2tech.ordinaryroad.live.chat.client.douy" +
- "in.protobuf\032\014Common.proto\032\nUser.proto\032\026D" +
- "oubleLikeDetail.proto\"\337\001\n\037douyin_webcast" +
- "_like_message_msg\022\027\n\006common\030\001 \001(\0132\007.Comm" +
- "on\022\r\n\005count\030\002 \001(\004\022\r\n\005total\030\003 \001(\004\022\r\n\005colo" +
- "r\030\004 \001(\004\022\023\n\004user\030\005 \001(\0132\005.User\022\014\n\004icon\030\006 \001" +
- "(\t\022+\n\020doubleLikeDetail\030\007 \001(\0132\021.DoubleLik" +
- "eDetail\022\027\n\017linkmicGuestUid\030\t \001(\004\022\r\n\005scen" +
- "e\030\n \001(\tBb\n2tech.ordinaryroad.live.chat.c" +
- "lient.douyin.protobufB$douyin_webcast_li" +
- "ke_message_msgProtoP\001\242\002\003GPBb\006proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.getDescriptor(),
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.getDescriptor(),
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.getDescriptor(),
- });
- internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_like_message_msg_descriptor,
- new java.lang.String[] { "Common", "Count", "Total", "Color", "User", "Icon", "DoubleLikeDetail", "LinkmicGuestUid", "Scene", });
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.getDescriptor();
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.getDescriptor();
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.DoubleLikeDetailOuterClass.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_member_message_msg.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_member_message_msg.java
deleted file mode 100644
index 63c75d62..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_member_message_msg.java
+++ /dev/null
@@ -1,2828 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_member_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-/**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg}
- */
-public final class douyin_webcast_member_message_msg extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg)
- douyin_webcast_member_message_msgOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use douyin_webcast_member_message_msg.newBuilder() to construct.
- private douyin_webcast_member_message_msg(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private douyin_webcast_member_message_msg() {
- actionDescription_ = "";
- popStr_ = "";
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new douyin_webcast_member_message_msg();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_member_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_member_message_msg_descriptor;
- }
-
- @SuppressWarnings({"rawtypes"})
- @java.lang.Override
- protected com.google.protobuf.MapField internalGetMapField(
- 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.douyin.protobuf.Douyin_webcast_member_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_member_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.Builder.class);
- }
-
- public static final int COMMON_FIELD_NUMBER = 1;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common common_;
- /**
- * .Common common = 1;
- * @return Whether the common field is set.
- */
- @java.lang.Override
- public boolean hasCommon() {
- return common_ != null;
- }
- /**
- * .Common common = 1;
- * @return The common.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- /**
- * .Common common = 1;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
-
- public static final int USER_FIELD_NUMBER = 2;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
- /**
- * .User user = 2;
- * @return Whether the user field is set.
- */
- @java.lang.Override
- public boolean hasUser() {
- return user_ != null;
- }
- /**
- * .User user = 2;
- * @return The user.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- /**
- * .User user = 2;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
-
- public static final int 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.douyin.protobuf.dto.UserOuterClass.User operator_;
- /**
- * .User operator = 4;
- * @return Whether the operator field is set.
- */
- @java.lang.Override
- public boolean hasOperator() {
- return operator_ != null;
- }
- /**
- * .User operator = 4;
- * @return The operator.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getOperator() {
- return operator_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
- }
- /**
- * .User operator = 4;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getOperatorOrBuilder() {
- return operator_ == null ? tech.ordinaryroad.live.chat.client.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.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 backgroundImage_ != null;
- }
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- * @return The backgroundImage.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
- return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
- }
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
- return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
- }
-
- public static final int BACKGROUNDIMAGEV2_FIELD_NUMBER = 17;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
- /**
- * .Image backgroundImageV2 = 17;
- * @return Whether the backgroundImageV2 field is set.
- */
- @java.lang.Override
- public boolean hasBackgroundImageV2() {
- return backgroundImageV2_ != null;
- }
- /**
- * .Image backgroundImageV2 = 17;
- * @return The backgroundImageV2.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
- return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
- }
- /**
- * .Image backgroundImageV2 = 17;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
- return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
- }
-
- public static final int ANCHORDISPLAYTEXT_FIELD_NUMBER = 18;
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text anchorDisplayText_;
- /**
- * .Text anchorDisplayText = 18;
- * @return Whether the anchorDisplayText field is set.
- */
- @java.lang.Override
- public boolean hasAnchorDisplayText() {
- return anchorDisplayText_ != null;
- }
- /**
- * .Text anchorDisplayText = 18;
- * @return The anchorDisplayText.
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text getAnchorDisplayText() {
- return anchorDisplayText_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
- }
- /**
- * .Text anchorDisplayText = 18;
- */
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getAnchorDisplayTextOrBuilder() {
- return anchorDisplayText_ == null ? tech.ordinaryroad.live.chat.client.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.douyin.protobuf.Douyin_webcast_member_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_member_message_msg_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 (common_ != null) {
- output.writeMessage(1, getCommon());
- }
- if (user_ != null) {
- output.writeMessage(2, getUser());
- }
- if (memberCount_ != 0L) {
- output.writeUInt64(3, memberCount_);
- }
- if (operator_ != null) {
- 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 (backgroundImage_ != null) {
- output.writeMessage(16, getBackgroundImage());
- }
- if (backgroundImageV2_ != null) {
- output.writeMessage(17, getBackgroundImageV2());
- }
- if (anchorDisplayText_ != null) {
- 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 (common_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getCommon());
- }
- if (user_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getUser());
- }
- if (memberCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(3, memberCount_);
- }
- if (operator_ != null) {
- 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 (backgroundImage_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(16, getBackgroundImage());
- }
- if (backgroundImageV2_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(17, getBackgroundImageV2());
- }
- if (anchorDisplayText_ != null) {
- 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.douyin.protobuf.douyin_webcast_member_message_msg)) {
- return super.equals(obj);
- }
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg) obj;
-
- if (hasCommon() != other.hasCommon()) return false;
- if (hasCommon()) {
- if (!getCommon()
- .equals(other.getCommon())) return false;
- }
- if (hasUser() != other.hasUser()) return false;
- if (hasUser()) {
- if (!getUser()
- .equals(other.getUser())) return false;
- }
- if (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.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg)
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msgOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_webcast_member_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_member_message_msg_descriptor;
- }
-
- @SuppressWarnings({"rawtypes"})
- protected com.google.protobuf.MapField internalGetMapField(
- int number) {
- switch (number) {
- case 22:
- return internalGetBuriedPointMap();
- default:
- throw new RuntimeException(
- "Invalid map field number: " + number);
- }
- }
- @SuppressWarnings({"rawtypes"})
- protected com.google.protobuf.MapField internalGetMutableMapField(
- 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.douyin.protobuf.Douyin_webcast_member_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_member_message_msg_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.Builder.class);
- }
-
- // Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @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.douyin.protobuf.Douyin_webcast_member_message_msgProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_webcast_member_message_msg_descriptor;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg getDefaultInstanceForType() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.getDefaultInstance();
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg build() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg buildPartial() {
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.common_ = commonBuilder_ == null
- ? common_
- : commonBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.user_ = userBuilder_ == null
- ? user_
- : userBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.memberCount_ = memberCount_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.operator_ = operatorBuilder_ == null
- ? operator_
- : operatorBuilder_.build();
- }
- 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();
- }
- if (((from_bitField0_ & 0x00004000) != 0)) {
- result.backgroundImageV2_ = backgroundImageV2Builder_ == null
- ? backgroundImageV2_
- : backgroundImageV2Builder_.build();
- }
- if (((from_bitField0_ & 0x00008000) != 0)) {
- result.anchorDisplayText_ = anchorDisplayTextBuilder_ == null
- ? anchorDisplayText_
- : anchorDisplayTextBuilder_.build();
- }
- 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();
- }
- }
-
- @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.douyin.protobuf.douyin_webcast_member_message_msg) {
- return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg other) {
- if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg.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.douyin.protobuf.dto.CommonOuterClass.Common common_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder> 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon() {
- if (commonBuilder_ == null) {
- return common_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- } else {
- return commonBuilder_.getMessage();
- }
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- common_ = value;
- } else {
- commonBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder setCommon(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder builderForValue) {
- if (commonBuilder_ == null) {
- common_ = builderForValue.build();
- } else {
- commonBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder mergeCommon(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common value) {
- if (commonBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- common_ != null &&
- common_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance()) {
- getCommonBuilder().mergeFrom(value);
- } else {
- common_ = value;
- }
- } else {
- commonBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public Builder clearCommon() {
- bitField0_ = (bitField0_ & ~0x00000001);
- common_ = null;
- if (commonBuilder_ != null) {
- commonBuilder_.dispose();
- commonBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder getCommonBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getCommonFieldBuilder().getBuilder();
- }
- /**
- * .Common common = 1;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder getCommonOrBuilder() {
- if (commonBuilder_ != null) {
- return commonBuilder_.getMessageOrBuilder();
- } else {
- return common_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.getDefaultInstance() : common_;
- }
- }
- /**
- * .Common common = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>
- getCommonFieldBuilder() {
- if (commonBuilder_ == null) {
- commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.Common.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.CommonOuterClass.CommonOrBuilder>(
- getCommon(),
- getParentForChildren(),
- isClean());
- common_ = null;
- }
- return commonBuilder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User user_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> userBuilder_;
- /**
- * .User user = 2;
- * @return Whether the user field is set.
- */
- public boolean hasUser() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * .User user = 2;
- * @return The user.
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User getUser() {
- if (userBuilder_ == null) {
- return user_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- } else {
- return userBuilder_.getMessage();
- }
- }
- /**
- * .User user = 2;
- */
- public Builder setUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- user_ = value;
- } else {
- userBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public Builder setUser(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder builderForValue) {
- if (userBuilder_ == null) {
- user_ = builderForValue.build();
- } else {
- userBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public Builder mergeUser(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User value) {
- if (userBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- user_ != null &&
- user_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
- getUserBuilder().mergeFrom(value);
- } else {
- user_ = value;
- }
- } else {
- userBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public Builder clearUser() {
- bitField0_ = (bitField0_ & ~0x00000002);
- user_ = null;
- if (userBuilder_ != null) {
- userBuilder_.dispose();
- userBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * .User user = 2;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder getUserBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getUserFieldBuilder().getBuilder();
- }
- /**
- * .User user = 2;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getUserOrBuilder() {
- if (userBuilder_ != null) {
- return userBuilder_.getMessageOrBuilder();
- } else {
- return user_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : user_;
- }
- }
- /**
- * .User user = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
- getUserFieldBuilder() {
- if (userBuilder_ == null) {
- userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
- getUser(),
- getParentForChildren(),
- isClean());
- user_ = null;
- }
- return userBuilder_;
- }
-
- private 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.douyin.protobuf.dto.UserOuterClass.User operator_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder> 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.douyin.protobuf.dto.UserOuterClass.User getOperator() {
- if (operatorBuilder_ == null) {
- return operator_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
- } else {
- return operatorBuilder_.getMessage();
- }
- }
- /**
- * .User operator = 4;
- */
- public Builder setOperator(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.UserOuterClass.User value) {
- if (operatorBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0) &&
- operator_ != null &&
- operator_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance()) {
- getOperatorBuilder().mergeFrom(value);
- } else {
- operator_ = value;
- }
- } else {
- operatorBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.UserOuterClass.User.Builder getOperatorBuilder() {
- bitField0_ |= 0x00000008;
- onChanged();
- return getOperatorFieldBuilder().getBuilder();
- }
- /**
- * .User operator = 4;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder getOperatorOrBuilder() {
- if (operatorBuilder_ != null) {
- return operatorBuilder_.getMessageOrBuilder();
- } else {
- return operator_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.getDefaultInstance() : operator_;
- }
- }
- /**
- * .User operator = 4;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>
- getOperatorFieldBuilder() {
- if (operatorBuilder_ == null) {
- operatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.User.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.UserOuterClass.UserOrBuilder>(
- 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.douyin.protobuf.dto.ImageOuterClass.Image backgroundImage_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageBuilder_;
- /**
- *
- * 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.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage() {
- if (backgroundImageBuilder_ == null) {
- return backgroundImage_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
- } else {
- return backgroundImageBuilder_.getMessage();
- }
- }
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- */
- public Builder setBackgroundImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- backgroundImage_ = value;
- } else {
- backgroundImageBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00002000;
- onChanged();
- return this;
- }
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- */
- public Builder setBackgroundImage(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
- if (backgroundImageBuilder_ == null) {
- backgroundImage_ = builderForValue.build();
- } else {
- backgroundImageBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00002000;
- onChanged();
- return this;
- }
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- */
- public Builder mergeBackgroundImage(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageBuilder_ == null) {
- if (((bitField0_ & 0x00002000) != 0) &&
- backgroundImage_ != null &&
- backgroundImage_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
- getBackgroundImageBuilder().mergeFrom(value);
- } else {
- backgroundImage_ = value;
- }
- } else {
- backgroundImageBuilder_.mergeFrom(value);
- }
- bitField0_ |= 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.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.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageOrBuilder() {
- if (backgroundImageBuilder_ != null) {
- return backgroundImageBuilder_.getMessageOrBuilder();
- } else {
- return backgroundImage_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImage_;
- }
- }
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
- getBackgroundImageFieldBuilder() {
- if (backgroundImageBuilder_ == null) {
- backgroundImageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
- getBackgroundImage(),
- getParentForChildren(),
- isClean());
- backgroundImage_ = null;
- }
- return backgroundImageBuilder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image backgroundImageV2_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder> backgroundImageV2Builder_;
- /**
- * .Image 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.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2() {
- if (backgroundImageV2Builder_ == null) {
- return backgroundImageV2_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
- } else {
- return backgroundImageV2Builder_.getMessage();
- }
- }
- /**
- * .Image backgroundImageV2 = 17;
- */
- public Builder setBackgroundImageV2(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageV2Builder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- backgroundImageV2_ = value;
- } else {
- backgroundImageV2Builder_.setMessage(value);
- }
- bitField0_ |= 0x00004000;
- onChanged();
- return this;
- }
- /**
- * .Image backgroundImageV2 = 17;
- */
- public Builder setBackgroundImageV2(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder builderForValue) {
- if (backgroundImageV2Builder_ == null) {
- backgroundImageV2_ = builderForValue.build();
- } else {
- backgroundImageV2Builder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00004000;
- onChanged();
- return this;
- }
- /**
- * .Image backgroundImageV2 = 17;
- */
- public Builder mergeBackgroundImageV2(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image value) {
- if (backgroundImageV2Builder_ == null) {
- if (((bitField0_ & 0x00004000) != 0) &&
- backgroundImageV2_ != null &&
- backgroundImageV2_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance()) {
- getBackgroundImageV2Builder().mergeFrom(value);
- } else {
- backgroundImageV2_ = value;
- }
- } else {
- backgroundImageV2Builder_.mergeFrom(value);
- }
- bitField0_ |= 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.douyin.protobuf.dto.ImageOuterClass.Image.Builder getBackgroundImageV2Builder() {
- bitField0_ |= 0x00004000;
- onChanged();
- return getBackgroundImageV2FieldBuilder().getBuilder();
- }
- /**
- * .Image backgroundImageV2 = 17;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder getBackgroundImageV2OrBuilder() {
- if (backgroundImageV2Builder_ != null) {
- return backgroundImageV2Builder_.getMessageOrBuilder();
- } else {
- return backgroundImageV2_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.getDefaultInstance() : backgroundImageV2_;
- }
- }
- /**
- * .Image backgroundImageV2 = 17;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>
- getBackgroundImageV2FieldBuilder() {
- if (backgroundImageV2Builder_ == null) {
- backgroundImageV2Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.Image.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.ImageOuterClass.ImageOrBuilder>(
- getBackgroundImageV2(),
- getParentForChildren(),
- isClean());
- backgroundImageV2_ = null;
- }
- return backgroundImageV2Builder_;
- }
-
- private tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text anchorDisplayText_;
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextOuterClass.Text getAnchorDisplayText() {
- if (anchorDisplayTextBuilder_ == null) {
- return anchorDisplayText_ == null ? tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
- } else {
- return anchorDisplayTextBuilder_.getMessage();
- }
- }
- /**
- * .Text anchorDisplayText = 18;
- */
- public Builder setAnchorDisplayText(tech.ordinaryroad.live.chat.client.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.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.douyin.protobuf.dto.TextOuterClass.Text value) {
- if (anchorDisplayTextBuilder_ == null) {
- if (((bitField0_ & 0x00008000) != 0) &&
- anchorDisplayText_ != null &&
- anchorDisplayText_ != tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance()) {
- getAnchorDisplayTextBuilder().mergeFrom(value);
- } else {
- anchorDisplayText_ = value;
- }
- } else {
- anchorDisplayTextBuilder_.mergeFrom(value);
- }
- 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.douyin.protobuf.dto.TextOuterClass.Text.Builder getAnchorDisplayTextBuilder() {
- bitField0_ |= 0x00008000;
- onChanged();
- return getAnchorDisplayTextFieldBuilder().getBuilder();
- }
- /**
- * .Text anchorDisplayText = 18;
- */
- public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.TextOrBuilder getAnchorDisplayTextOrBuilder() {
- if (anchorDisplayTextBuilder_ != null) {
- return anchorDisplayTextBuilder_.getMessageOrBuilder();
- } else {
- return anchorDisplayText_ == null ?
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.getDefaultInstance() : anchorDisplayText_;
- }
- }
- /**
- * .Text anchorDisplayText = 18;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.TextOrBuilder>
- getAnchorDisplayTextFieldBuilder() {
- if (anchorDisplayTextBuilder_ == null) {
- anchorDisplayTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.TextOuterClass.Text.Builder, tech.ordinaryroad.live.chat.client.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.douyin_webcast_member_message_msg)
- }
-
- // @@protoc_insertion_point(class_scope:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg)
- private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg();
- }
-
- public static tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public douyin_webcast_member_message_msg 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.douyin.protobuf.douyin_webcast_member_message_msg getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
-}
-
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_member_message_msgOrBuilder.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_member_message_msgOrBuilder.java
deleted file mode 100644
index 52d111be..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_webcast_member_message_msgOrBuilder.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_webcast_member_message_msg.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-public interface douyin_webcast_member_message_msgOrBuilder extends
- // @@protoc_insertion_point(interface_extends:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_webcast_member_message_msg)
- 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.douyin.protobuf.dto.CommonOuterClass.Common getCommon();
- /**
- * .Common common = 1;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.UserOuterClass.User getUser();
- /**
- * .User user = 2;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.UserOuterClass.User getOperator();
- /**
- * .User operator = 4;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImage();
- /**
- *
- * EffectConfig enterEffectConfig = 15;
- *
- *
- * .Image backgroundImage = 16;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.ImageOuterClass.Image getBackgroundImageV2();
- /**
- * .Image backgroundImageV2 = 17;
- */
- tech.ordinaryroad.live.chat.client.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.douyin.protobuf.dto.TextOuterClass.Text getAnchorDisplayText();
- /**
- * .Text anchorDisplayText = 18;
- */
- tech.ordinaryroad.live.chat.client.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);
-}
diff --git a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_websocket_frame.java b/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_websocket_frame.java
deleted file mode 100644
index 8caffe8a..00000000
--- a/ruoyi-common/ruoyi-common-live/live-chat-clients/live-chat-client-douyin/src/main/java/tech/ordinaryroad/live/chat/client/douyin/protobuf/douyin_websocket_frame.java
+++ /dev/null
@@ -1,1315 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2023 OrdinaryRoad
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: douyin_websocket_frame.proto
-
-package tech.ordinaryroad.live.chat.client.douyin.protobuf;
-
-/**
- * Protobuf type {@code tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_websocket_frame}
- */
-public final class douyin_websocket_frame extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_websocket_frame)
- douyin_websocket_frameOrBuilder {
-private static final long serialVersionUID = 0L;
- // Use douyin_websocket_frame.newBuilder() to construct.
- private douyin_websocket_frame(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private douyin_websocket_frame() {
- payloadEncoding_ = "";
- payloadType_ = "";
- payload_ = com.google.protobuf.ByteString.EMPTY;
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new douyin_websocket_frame();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return tech.ordinaryroad.live.chat.client.douyin.protobuf.Douyin_websocket_frameProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_websocket_frame_descriptor;
- }
-
- @SuppressWarnings({"rawtypes"})
- @java.lang.Override
- protected com.google.protobuf.MapField internalGetMapField(
- 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.douyin.protobuf.Douyin_websocket_frameProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_websocket_frame_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_websocket_frame.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.douyin_websocket_frame.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.douyin.protobuf.Douyin_websocket_frameProto.internal_static_tech_ordinaryroad_live_chat_client_douyin_protobuf_douyin_websocket_frame_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();
- }
- /**
- *