+ * 弹幕属性位值 + *+ * + * Protobuf enum {@code com.yutou.qqbot.bilibili.DMAttrBit} + */ + public enum DMAttrBit + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+ * 保护弹幕 + *+ * + *
DMAttrBitProtect = 0;
+ */
+ DMAttrBitProtect(0),
+ /**
+ * + * 直播弹幕 + *+ * + *
DMAttrBitFromLive = 1;
+ */
+ DMAttrBitFromLive(1),
+ /**
+ * + * 高赞弹幕 + *+ * + *
DMAttrHighLike = 2;
+ */
+ DMAttrHighLike(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + * 保护弹幕 + *+ * + *
DMAttrBitProtect = 0;
+ */
+ public static final int DMAttrBitProtect_VALUE = 0;
+ /**
+ * + * 直播弹幕 + *+ * + *
DMAttrBitFromLive = 1;
+ */
+ public static final int DMAttrBitFromLive_VALUE = 1;
+ /**
+ * + * 高赞弹幕 + *+ * + *
DMAttrHighLike = 2;
+ */
+ public static final int DMAttrHighLike_VALUE = 2;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static DMAttrBit valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static DMAttrBit forNumber(int value) {
+ switch (value) {
+ case 0: return DMAttrBitProtect;
+ case 1: return DMAttrBitFromLive;
+ case 2: return DMAttrHighLike;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * CC字幕 + *+ * + *
CC = 0;
+ */
+ CC(0),
+ /**
+ * + * AI生成字幕 + *+ * + *
AI = 1;
+ */
+ AI(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * + * CC字幕 + *+ * + *
CC = 0;
+ */
+ public static final int CC_VALUE = 0;
+ /**
+ * + * AI生成字幕 + *+ * + *
AI = 1;
+ */
+ public static final int AI_VALUE = 1;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static SubtitleType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static SubtitleType forNumber(int value) {
+ switch (value) {
+ case 0: return CC;
+ case 1: return AI;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig getKeywords(int index);
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ int getKeywordsCount();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfigOrBuilder>
+ getKeywordsOrBuilderList();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfigOrBuilder getKeywordsOrBuilder(
+ int index);
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.BuzzwordConfig} + */ + public static final class BuzzwordConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.BuzzwordConfig) + BuzzwordConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use BuzzwordConfig.newBuilder() to construct. + private BuzzwordConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BuzzwordConfig() { + keywords_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuzzwordConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BuzzwordConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + keywords_ = new java.util.ArrayList
+ *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ @java.lang.Override
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfigOrBuilder>
+ getKeywordsOrBuilderList() {
+ return keywords_;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ @java.lang.Override
+ public int getKeywordsCount() {
+ return keywords_.size();
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig getKeywords(int index) {
+ return keywords_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfigOrBuilder getKeywordsOrBuilder(
+ int index) {
+ return keywords_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < keywords_.size(); i++) {
+ output.writeMessage(1, keywords_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < keywords_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, keywords_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig) obj;
+
+ if (!getKeywordsList()
+ .equals(other.getKeywordsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getKeywordsCount() > 0) {
+ hash = (37 * hash) + KEYWORDS_FIELD_NUMBER;
+ hash = (53 * hash) + getKeywordsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig 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 com.yutou.qqbot.bilibili.BuzzwordConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public int getKeywordsCount() {
+ if (keywordsBuilder_ == null) {
+ return keywords_.size();
+ } else {
+ return keywordsBuilder_.getCount();
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig getKeywords(int index) {
+ if (keywordsBuilder_ == null) {
+ return keywords_.get(index);
+ } else {
+ return keywordsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder setKeywords(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig value) {
+ if (keywordsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureKeywordsIsMutable();
+ keywords_.set(index, value);
+ onChanged();
+ } else {
+ keywordsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder setKeywords(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder builderForValue) {
+ if (keywordsBuilder_ == null) {
+ ensureKeywordsIsMutable();
+ keywords_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ keywordsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder addKeywords(com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig value) {
+ if (keywordsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureKeywordsIsMutable();
+ keywords_.add(value);
+ onChanged();
+ } else {
+ keywordsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder addKeywords(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig value) {
+ if (keywordsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureKeywordsIsMutable();
+ keywords_.add(index, value);
+ onChanged();
+ } else {
+ keywordsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder addKeywords(
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder builderForValue) {
+ if (keywordsBuilder_ == null) {
+ ensureKeywordsIsMutable();
+ keywords_.add(builderForValue.build());
+ onChanged();
+ } else {
+ keywordsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder addKeywords(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder builderForValue) {
+ if (keywordsBuilder_ == null) {
+ ensureKeywordsIsMutable();
+ keywords_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ keywordsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder addAllKeywords(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig> values) {
+ if (keywordsBuilder_ == null) {
+ ensureKeywordsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, keywords_);
+ onChanged();
+ } else {
+ keywordsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder clearKeywords() {
+ if (keywordsBuilder_ == null) {
+ keywords_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ keywordsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public Builder removeKeywords(int index) {
+ if (keywordsBuilder_ == null) {
+ ensureKeywordsIsMutable();
+ keywords_.remove(index);
+ onChanged();
+ } else {
+ keywordsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder getKeywordsBuilder(
+ int index) {
+ return getKeywordsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfigOrBuilder getKeywordsOrBuilder(
+ int index) {
+ if (keywordsBuilder_ == null) {
+ return keywords_.get(index); } else {
+ return keywordsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfigOrBuilder>
+ getKeywordsOrBuilderList() {
+ if (keywordsBuilder_ != null) {
+ return keywordsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(keywords_);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder addKeywordsBuilder() {
+ return getKeywordsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder addKeywordsBuilder(
+ int index) {
+ return getKeywordsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.BuzzwordShowConfig keywords = 1;
+ */
+ public java.util.List+ *+ * + *
string name = 1;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * + *+ * + *
string name = 1;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return The schema.
+ */
+ java.lang.String getSchema();
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return The bytes for schema.
+ */
+ com.google.protobuf.ByteString
+ getSchemaBytes();
+
+ /**
+ * + *+ * + *
int32 source = 3;
+ * @return The source.
+ */
+ int getSource();
+
+ /**
+ * + *+ * + *
int64 id = 4;
+ * @return The id.
+ */
+ long getId();
+
+ /**
+ * + *+ * + *
int64 buzzword_id = 5;
+ * @return The buzzwordId.
+ */
+ long getBuzzwordId();
+
+ /**
+ * + *+ * + *
int32 schema_type = 6;
+ * @return The schemaType.
+ */
+ int getSchemaType();
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.BuzzwordShowConfig} + */ + public static final class BuzzwordShowConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.BuzzwordShowConfig) + BuzzwordShowConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use BuzzwordShowConfig.newBuilder() to construct. + private BuzzwordShowConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private BuzzwordShowConfig() { + name_ = ""; + schema_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuzzwordShowConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BuzzwordShowConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + schema_ = s; + break; + } + case 24: { + + source_ = input.readInt32(); + break; + } + case 32: { + + id_ = input.readInt64(); + break; + } + case 40: { + + buzzwordId_ = input.readInt64(); + break; + } + case 48: { + + schemaType_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_BuzzwordShowConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_BuzzwordShowConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+ *+ * + *
string name = 1;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string name = 1;
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SCHEMA_FIELD_NUMBER = 2;
+ private volatile java.lang.Object schema_;
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return The schema.
+ */
+ @java.lang.Override
+ public java.lang.String getSchema() {
+ java.lang.Object ref = schema_;
+ 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();
+ schema_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return The bytes for schema.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getSchemaBytes() {
+ java.lang.Object ref = schema_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ schema_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SOURCE_FIELD_NUMBER = 3;
+ private int source_;
+ /**
+ * + *+ * + *
int32 source = 3;
+ * @return The source.
+ */
+ @java.lang.Override
+ public int getSource() {
+ return source_;
+ }
+
+ public static final int ID_FIELD_NUMBER = 4;
+ private long id_;
+ /**
+ * + *+ * + *
int64 id = 4;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+
+ public static final int BUZZWORD_ID_FIELD_NUMBER = 5;
+ private long buzzwordId_;
+ /**
+ * + *+ * + *
int64 buzzword_id = 5;
+ * @return The buzzwordId.
+ */
+ @java.lang.Override
+ public long getBuzzwordId() {
+ return buzzwordId_;
+ }
+
+ public static final int SCHEMA_TYPE_FIELD_NUMBER = 6;
+ private int schemaType_;
+ /**
+ * + *+ * + *
int32 schema_type = 6;
+ * @return The schemaType.
+ */
+ @java.lang.Override
+ public int getSchemaType() {
+ return schemaType_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schema_);
+ }
+ if (source_ != 0) {
+ output.writeInt32(3, source_);
+ }
+ if (id_ != 0L) {
+ output.writeInt64(4, id_);
+ }
+ if (buzzwordId_ != 0L) {
+ output.writeInt64(5, buzzwordId_);
+ }
+ if (schemaType_ != 0) {
+ output.writeInt32(6, schemaType_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schema_);
+ }
+ if (source_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, source_);
+ }
+ if (id_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, id_);
+ }
+ if (buzzwordId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(5, buzzwordId_);
+ }
+ if (schemaType_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(6, schemaType_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig) obj;
+
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getSchema()
+ .equals(other.getSchema())) return false;
+ if (getSource()
+ != other.getSource()) return false;
+ if (getId()
+ != other.getId()) return false;
+ if (getBuzzwordId()
+ != other.getBuzzwordId()) return false;
+ if (getSchemaType()
+ != other.getSchemaType()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
+ hash = (53 * hash) + getSchema().hashCode();
+ hash = (37 * hash) + SOURCE_FIELD_NUMBER;
+ hash = (53 * hash) + getSource();
+ hash = (37 * hash) + ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getId());
+ hash = (37 * hash) + BUZZWORD_ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getBuzzwordId());
+ hash = (37 * hash) + SCHEMA_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getSchemaType();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig 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 com.yutou.qqbot.bilibili.BuzzwordShowConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
string name = 1;
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string name = 1;
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string name = 1;
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string name = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string name = 1;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object schema_ = "";
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return The schema.
+ */
+ public java.lang.String getSchema() {
+ java.lang.Object ref = schema_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ schema_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return The bytes for schema.
+ */
+ public com.google.protobuf.ByteString
+ getSchemaBytes() {
+ java.lang.Object ref = schema_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ schema_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string schema = 2;
+ * @param value The schema to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSchema(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ schema_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string schema = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearSchema() {
+
+ schema_ = getDefaultInstance().getSchema();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string schema = 2;
+ * @param value The bytes for schema to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSchemaBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ schema_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int source_ ;
+ /**
+ * + *+ * + *
int32 source = 3;
+ * @return The source.
+ */
+ @java.lang.Override
+ public int getSource() {
+ return source_;
+ }
+ /**
+ * + *+ * + *
int32 source = 3;
+ * @param value The source to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSource(int value) {
+
+ source_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 source = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearSource() {
+
+ source_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long id_ ;
+ /**
+ * + *+ * + *
int64 id = 4;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+ /**
+ * + *+ * + *
int64 id = 4;
+ * @param value The id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setId(long value) {
+
+ id_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 id = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearId() {
+
+ id_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long buzzwordId_ ;
+ /**
+ * + *+ * + *
int64 buzzword_id = 5;
+ * @return The buzzwordId.
+ */
+ @java.lang.Override
+ public long getBuzzwordId() {
+ return buzzwordId_;
+ }
+ /**
+ * + *+ * + *
int64 buzzword_id = 5;
+ * @param value The buzzwordId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBuzzwordId(long value) {
+
+ buzzwordId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 buzzword_id = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearBuzzwordId() {
+
+ buzzwordId_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int schemaType_ ;
+ /**
+ * + *+ * + *
int32 schema_type = 6;
+ * @return The schemaType.
+ */
+ @java.lang.Override
+ public int getSchemaType() {
+ return schemaType_;
+ }
+ /**
+ * + *+ * + *
int32 schema_type = 6;
+ * @param value The schemaType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSchemaType(int value) {
+
+ schemaType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 schema_type = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearSchemaType() {
+
+ schemaType_ = 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:com.yutou.qqbot.bilibili.BuzzwordShowConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.BuzzwordShowConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordShowConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 弹幕id + *+ * + *
int64 id = 1;
+ * @return The id.
+ */
+ long getId();
+
+ /**
+ * + * 对象视频cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ long getOid();
+
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return The mid.
+ */
+ java.lang.String getMid();
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return The bytes for mid.
+ */
+ com.google.protobuf.ByteString
+ getMidBytes();
+
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return The command.
+ */
+ java.lang.String getCommand();
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return The bytes for command.
+ */
+ com.google.protobuf.ByteString
+ getCommandBytes();
+
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @return The content.
+ */
+ java.lang.String getContent();
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @return The bytes for content.
+ */
+ com.google.protobuf.ByteString
+ getContentBytes();
+
+ /**
+ * + * 出现时间 + *+ * + *
int32 progress = 6;
+ * @return The progress.
+ */
+ int getProgress();
+
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return The ctime.
+ */
+ java.lang.String getCtime();
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return The bytes for ctime.
+ */
+ com.google.protobuf.ByteString
+ getCtimeBytes();
+
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return The mtime.
+ */
+ java.lang.String getMtime();
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return The bytes for mtime.
+ */
+ com.google.protobuf.ByteString
+ getMtimeBytes();
+
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return The extra.
+ */
+ java.lang.String getExtra();
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return The bytes for extra.
+ */
+ com.google.protobuf.ByteString
+ getExtraBytes();
+
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return The idStr.
+ */
+ java.lang.String getIdStr();
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return The bytes for idStr.
+ */
+ com.google.protobuf.ByteString
+ getIdStrBytes();
+ }
+ /**
+ * + * 互动弹幕条目信息 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.CommandDm} + */ + public static final class CommandDm extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.CommandDm) + CommandDmOrBuilder { + private static final long serialVersionUID = 0L; + // Use CommandDm.newBuilder() to construct. + private CommandDm(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private CommandDm() { + mid_ = ""; + command_ = ""; + content_ = ""; + ctime_ = ""; + mtime_ = ""; + extra_ = ""; + idStr_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CommandDm(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CommandDm( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + id_ = input.readInt64(); + break; + } + case 16: { + + oid_ = input.readInt64(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + mid_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + command_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + content_ = s; + break; + } + case 48: { + + progress_ = input.readInt32(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + ctime_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + mtime_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + extra_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + idStr_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_CommandDm_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_CommandDm_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.class, com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private long id_; + /** + *
+ * 弹幕id + *+ * + *
int64 id = 1;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+
+ public static final int OID_FIELD_NUMBER = 2;
+ private long oid_;
+ /**
+ * + * 对象视频cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+
+ public static final int MID_FIELD_NUMBER = 3;
+ private volatile java.lang.Object mid_;
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return The mid.
+ */
+ @java.lang.Override
+ public java.lang.String getMid() {
+ java.lang.Object ref = mid_;
+ 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();
+ mid_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return The bytes for mid.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMidBytes() {
+ java.lang.Object ref = mid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ mid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int COMMAND_FIELD_NUMBER = 4;
+ private volatile java.lang.Object command_;
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return The command.
+ */
+ @java.lang.Override
+ public java.lang.String getCommand() {
+ java.lang.Object ref = command_;
+ 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();
+ command_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return The bytes for command.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getCommandBytes() {
+ java.lang.Object ref = command_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ command_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CONTENT_FIELD_NUMBER = 5;
+ private volatile java.lang.Object content_;
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @return The content.
+ */
+ @java.lang.Override
+ public java.lang.String getContent() {
+ java.lang.Object ref = content_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ content_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @return The bytes for content.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getContentBytes() {
+ java.lang.Object ref = content_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ content_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PROGRESS_FIELD_NUMBER = 6;
+ private int progress_;
+ /**
+ * + * 出现时间 + *+ * + *
int32 progress = 6;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+
+ public static final int CTIME_FIELD_NUMBER = 7;
+ private volatile java.lang.Object ctime_;
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return The ctime.
+ */
+ @java.lang.Override
+ public java.lang.String getCtime() {
+ java.lang.Object ref = ctime_;
+ 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();
+ ctime_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return The bytes for ctime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getCtimeBytes() {
+ java.lang.Object ref = ctime_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ ctime_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MTIME_FIELD_NUMBER = 8;
+ private volatile java.lang.Object mtime_;
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return The mtime.
+ */
+ @java.lang.Override
+ public java.lang.String getMtime() {
+ java.lang.Object ref = mtime_;
+ 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();
+ mtime_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return The bytes for mtime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMtimeBytes() {
+ java.lang.Object ref = mtime_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ mtime_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int EXTRA_FIELD_NUMBER = 9;
+ private volatile java.lang.Object extra_;
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return The extra.
+ */
+ @java.lang.Override
+ public java.lang.String getExtra() {
+ java.lang.Object ref = extra_;
+ 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();
+ extra_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return The bytes for extra.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getExtraBytes() {
+ java.lang.Object ref = extra_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ extra_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int IDSTR_FIELD_NUMBER = 10;
+ private volatile java.lang.Object idStr_;
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return The idStr.
+ */
+ @java.lang.Override
+ public java.lang.String getIdStr() {
+ java.lang.Object ref = idStr_;
+ 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();
+ idStr_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return The bytes for idStr.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getIdStrBytes() {
+ java.lang.Object ref = idStr_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ idStr_ = 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 (id_ != 0L) {
+ output.writeInt64(1, id_);
+ }
+ if (oid_ != 0L) {
+ output.writeInt64(2, oid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, mid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(command_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, command_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, content_);
+ }
+ if (progress_ != 0) {
+ output.writeInt32(6, progress_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ctime_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ctime_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mtime_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, mtime_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extra_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, extra_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idStr_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, idStr_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (id_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, id_);
+ }
+ if (oid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, oid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(command_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, command_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, content_);
+ }
+ if (progress_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(6, progress_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ctime_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ctime_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mtime_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mtime_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extra_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, extra_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idStr_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, idStr_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.CommandDm)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.CommandDm other = (com.yutou.qqbot.bilibili.VideoDanMu.CommandDm) obj;
+
+ if (getId()
+ != other.getId()) return false;
+ if (getOid()
+ != other.getOid()) return false;
+ if (!getMid()
+ .equals(other.getMid())) return false;
+ if (!getCommand()
+ .equals(other.getCommand())) return false;
+ if (!getContent()
+ .equals(other.getContent())) return false;
+ if (getProgress()
+ != other.getProgress()) return false;
+ if (!getCtime()
+ .equals(other.getCtime())) return false;
+ if (!getMtime()
+ .equals(other.getMtime())) return false;
+ if (!getExtra()
+ .equals(other.getExtra())) return false;
+ if (!getIdStr()
+ .equals(other.getIdStr())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getId());
+ hash = (37 * hash) + OID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getOid());
+ hash = (37 * hash) + MID_FIELD_NUMBER;
+ hash = (53 * hash) + getMid().hashCode();
+ hash = (37 * hash) + COMMAND_FIELD_NUMBER;
+ hash = (53 * hash) + getCommand().hashCode();
+ hash = (37 * hash) + CONTENT_FIELD_NUMBER;
+ hash = (53 * hash) + getContent().hashCode();
+ hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
+ hash = (53 * hash) + getProgress();
+ hash = (37 * hash) + CTIME_FIELD_NUMBER;
+ hash = (53 * hash) + getCtime().hashCode();
+ hash = (37 * hash) + MTIME_FIELD_NUMBER;
+ hash = (53 * hash) + getMtime().hashCode();
+ hash = (37 * hash) + EXTRA_FIELD_NUMBER;
+ hash = (53 * hash) + getExtra().hashCode();
+ hash = (37 * hash) + IDSTR_FIELD_NUMBER;
+ hash = (53 * hash) + getIdStr().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm 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 com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm 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 com.yutou.qqbot.bilibili.VideoDanMu.CommandDm parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm 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(com.yutou.qqbot.bilibili.VideoDanMu.CommandDm 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 com.yutou.qqbot.bilibili.CommandDm} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 弹幕id + *+ * + *
int64 id = 1;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+ /**
+ * + * 弹幕id + *+ * + *
int64 id = 1;
+ * @param value The id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setId(long value) {
+
+ id_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕id + *+ * + *
int64 id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearId() {
+
+ id_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long oid_ ;
+ /**
+ * + * 对象视频cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+ /**
+ * + * 对象视频cid + *+ * + *
int64 oid = 2;
+ * @param value The oid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOid(long value) {
+
+ oid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 对象视频cid + *+ * + *
int64 oid = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearOid() {
+
+ oid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object mid_ = "";
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return The mid.
+ */
+ public java.lang.String getMid() {
+ java.lang.Object ref = mid_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ mid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return The bytes for mid.
+ */
+ public com.google.protobuf.ByteString
+ getMidBytes() {
+ java.lang.Object ref = mid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ mid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @param value The mid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMid(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ mid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearMid() {
+
+ mid_ = getDefaultInstance().getMid();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发送者mid + *+ * + *
string mid = 3;
+ * @param value The bytes for mid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMidBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ mid_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object command_ = "";
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return The command.
+ */
+ public java.lang.String getCommand() {
+ java.lang.Object ref = command_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ command_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return The bytes for command.
+ */
+ public com.google.protobuf.ByteString
+ getCommandBytes() {
+ java.lang.Object ref = command_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ command_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @param value The command to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCommand(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ command_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearCommand() {
+
+ command_ = getDefaultInstance().getCommand();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 互动弹幕指令 + *+ * + *
string command = 4;
+ * @param value The bytes for command to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCommandBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ command_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object content_ = "";
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @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 = 5;
+ * @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 = 5;
+ * @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;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearContent() {
+
+ content_ = getDefaultInstance().getContent();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 互动弹幕正文 + *+ * + *
string content = 5;
+ * @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;
+ onChanged();
+ return this;
+ }
+
+ private int progress_ ;
+ /**
+ * + * 出现时间 + *+ * + *
int32 progress = 6;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+ /**
+ * + * 出现时间 + *+ * + *
int32 progress = 6;
+ * @param value The progress to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProgress(int value) {
+
+ progress_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 出现时间 + *+ * + *
int32 progress = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearProgress() {
+
+ progress_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object ctime_ = "";
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return The ctime.
+ */
+ public java.lang.String getCtime() {
+ java.lang.Object ref = ctime_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ ctime_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return The bytes for ctime.
+ */
+ public com.google.protobuf.ByteString
+ getCtimeBytes() {
+ java.lang.Object ref = ctime_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ ctime_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @param value The ctime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCtime(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ ctime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearCtime() {
+
+ ctime_ = getDefaultInstance().getCtime();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 创建时间 + *+ * + *
string ctime = 7;
+ * @param value The bytes for ctime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCtimeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ ctime_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object mtime_ = "";
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return The mtime.
+ */
+ public java.lang.String getMtime() {
+ java.lang.Object ref = mtime_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ mtime_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return The bytes for mtime.
+ */
+ public com.google.protobuf.ByteString
+ getMtimeBytes() {
+ java.lang.Object ref = mtime_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ mtime_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @param value The mtime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMtime(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ mtime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearMtime() {
+
+ mtime_ = getDefaultInstance().getMtime();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发布时间 + *+ * + *
string mtime = 8;
+ * @param value The bytes for mtime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMtimeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ mtime_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object extra_ = "";
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return The extra.
+ */
+ public java.lang.String getExtra() {
+ java.lang.Object ref = extra_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ extra_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return The bytes for extra.
+ */
+ public com.google.protobuf.ByteString
+ getExtraBytes() {
+ java.lang.Object ref = extra_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ extra_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @param value The extra to set.
+ * @return This builder for chaining.
+ */
+ public Builder setExtra(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ extra_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearExtra() {
+
+ extra_ = getDefaultInstance().getExtra();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 扩展json数据 + *+ * + *
string extra = 9;
+ * @param value The bytes for extra to set.
+ * @return This builder for chaining.
+ */
+ public Builder setExtraBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ extra_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object idStr_ = "";
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return The idStr.
+ */
+ public java.lang.String getIdStr() {
+ java.lang.Object ref = idStr_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ idStr_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return The bytes for idStr.
+ */
+ public com.google.protobuf.ByteString
+ getIdStrBytes() {
+ java.lang.Object ref = idStr_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ idStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @param value The idStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdStr(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ idStr_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearIdStr() {
+
+ idStr_ = getDefaultInstance().getIdStr();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕id str类型 + *+ * + *
string idStr = 10;
+ * @param value The bytes for idStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdStrBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ idStr_ = value;
+ 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:com.yutou.qqbot.bilibili.CommandDm)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.CommandDm)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.CommandDm DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.CommandDm();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.CommandDm getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ java.util.List+ * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag getDmFlags(int index);
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ int getDmFlagsCount();
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagOrBuilder>
+ getDmFlagsOrBuilderList();
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagOrBuilder getDmFlagsOrBuilder(
+ int index);
+ }
+ /**
+ * + * 弹幕ai云屏蔽列表 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmakuAIFlag} + */ + public static final class DanmakuAIFlag extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmakuAIFlag) + DanmakuAIFlagOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmakuAIFlag.newBuilder() to construct. + private DanmakuAIFlag(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmakuAIFlag() { + dmFlags_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmakuAIFlag(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmakuAIFlag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dmFlags_ = new java.util.ArrayList
+ * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ @java.lang.Override
+ public java.util.List+ * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagOrBuilder>
+ getDmFlagsOrBuilderList() {
+ return dmFlags_;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ @java.lang.Override
+ public int getDmFlagsCount() {
+ return dmFlags_.size();
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag getDmFlags(int index) {
+ return dmFlags_.get(index);
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagOrBuilder getDmFlagsOrBuilder(
+ int index) {
+ return dmFlags_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < dmFlags_.size(); i++) {
+ output.writeMessage(1, dmFlags_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < dmFlags_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, dmFlags_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag) obj;
+
+ if (!getDmFlagsList()
+ .equals(other.getDmFlagsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getDmFlagsCount() > 0) {
+ hash = (37 * hash) + DM_FLAGS_FIELD_NUMBER;
+ hash = (53 * hash) + getDmFlagsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag 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;
+ }
+ /**
+ * + * 弹幕ai云屏蔽列表 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmakuAIFlag} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public java.util.List+ * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public int getDmFlagsCount() {
+ if (dmFlagsBuilder_ == null) {
+ return dmFlags_.size();
+ } else {
+ return dmFlagsBuilder_.getCount();
+ }
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag getDmFlags(int index) {
+ if (dmFlagsBuilder_ == null) {
+ return dmFlags_.get(index);
+ } else {
+ return dmFlagsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder setDmFlags(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag value) {
+ if (dmFlagsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDmFlagsIsMutable();
+ dmFlags_.set(index, value);
+ onChanged();
+ } else {
+ dmFlagsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder setDmFlags(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder builderForValue) {
+ if (dmFlagsBuilder_ == null) {
+ ensureDmFlagsIsMutable();
+ dmFlags_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dmFlagsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder addDmFlags(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag value) {
+ if (dmFlagsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDmFlagsIsMutable();
+ dmFlags_.add(value);
+ onChanged();
+ } else {
+ dmFlagsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder addDmFlags(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag value) {
+ if (dmFlagsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDmFlagsIsMutable();
+ dmFlags_.add(index, value);
+ onChanged();
+ } else {
+ dmFlagsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder addDmFlags(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder builderForValue) {
+ if (dmFlagsBuilder_ == null) {
+ ensureDmFlagsIsMutable();
+ dmFlags_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dmFlagsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder addDmFlags(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder builderForValue) {
+ if (dmFlagsBuilder_ == null) {
+ ensureDmFlagsIsMutable();
+ dmFlags_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ dmFlagsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder addAllDmFlags(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag> values) {
+ if (dmFlagsBuilder_ == null) {
+ ensureDmFlagsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, dmFlags_);
+ onChanged();
+ } else {
+ dmFlagsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder clearDmFlags() {
+ if (dmFlagsBuilder_ == null) {
+ dmFlags_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ dmFlagsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public Builder removeDmFlags(int index) {
+ if (dmFlagsBuilder_ == null) {
+ ensureDmFlagsIsMutable();
+ dmFlags_.remove(index);
+ onChanged();
+ } else {
+ dmFlagsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder getDmFlagsBuilder(
+ int index) {
+ return getDmFlagsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagOrBuilder getDmFlagsOrBuilder(
+ int index) {
+ if (dmFlagsBuilder_ == null) {
+ return dmFlags_.get(index); } else {
+ return dmFlagsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagOrBuilder>
+ getDmFlagsOrBuilderList() {
+ if (dmFlagsBuilder_ != null) {
+ return dmFlagsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dmFlags_);
+ }
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder addDmFlagsBuilder() {
+ return getDmFlagsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder addDmFlagsBuilder(
+ int index) {
+ return getDmFlagsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuFlag dm_flags = 1;
+ */
+ public java.util.List+ * 弹幕dmid + *+ * + *
int64 id = 1;
+ * @return The id.
+ */
+ long getId();
+
+ /**
+ * + * 弹幕出现位置(单位ms) + *+ * + *
int32 progress = 2;
+ * @return The progress.
+ */
+ int getProgress();
+
+ /**
+ * + * 弹幕类型 + *+ * + *
int32 mode = 3;
+ * @return The mode.
+ */
+ int getMode();
+
+ /**
+ * + * 弹幕字号 + *+ * + *
int32 fontsize = 4;
+ * @return The fontsize.
+ */
+ int getFontsize();
+
+ /**
+ * + * 弹幕颜色 + *+ * + *
uint32 color = 5;
+ * @return The color.
+ */
+ int getColor();
+
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return The midHash.
+ */
+ java.lang.String getMidHash();
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return The bytes for midHash.
+ */
+ com.google.protobuf.ByteString
+ getMidHashBytes();
+
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @return The content.
+ */
+ java.lang.String getContent();
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @return The bytes for content.
+ */
+ com.google.protobuf.ByteString
+ getContentBytes();
+
+ /**
+ * + * 发送时间 + *+ * + *
int64 ctime = 8;
+ * @return The ctime.
+ */
+ long getCtime();
+
+ /**
+ * + * 权重 区间:[1,10] + *+ * + *
int32 weight = 9;
+ * @return The weight.
+ */
+ int getWeight();
+
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return The action.
+ */
+ java.lang.String getAction();
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return The bytes for action.
+ */
+ com.google.protobuf.ByteString
+ getActionBytes();
+
+ /**
+ * + * 弹幕池 + *+ * + *
int32 pool = 11;
+ * @return The pool.
+ */
+ int getPool();
+
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return The idStr.
+ */
+ java.lang.String getIdStr();
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return The bytes for idStr.
+ */
+ com.google.protobuf.ByteString
+ getIdStrBytes();
+
+ /**
+ * + * 弹幕属性位(bin求AND) + * bit0:保护 bit1:直播 bit2:高赞 + *+ * + *
int32 attr = 13;
+ * @return The attr.
+ */
+ int getAttr();
+ }
+ /**
+ * + * 弹幕条目 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmakuElem} + */ + public static final class DanmakuElem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmakuElem) + DanmakuElemOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmakuElem.newBuilder() to construct. + private DanmakuElem(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmakuElem() { + midHash_ = ""; + content_ = ""; + action_ = ""; + idStr_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmakuElem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmakuElem( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + id_ = input.readInt64(); + break; + } + case 16: { + + progress_ = input.readInt32(); + break; + } + case 24: { + + mode_ = input.readInt32(); + break; + } + case 32: { + + fontsize_ = input.readInt32(); + break; + } + case 40: { + + color_ = input.readUInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + midHash_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + content_ = s; + break; + } + case 64: { + + ctime_ = input.readInt64(); + break; + } + case 72: { + + weight_ = input.readInt32(); + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + action_ = s; + break; + } + case 88: { + + pool_ = input.readInt32(); + break; + } + case 98: { + java.lang.String s = input.readStringRequireUtf8(); + + idStr_ = s; + break; + } + case 104: { + + attr_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmakuElem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmakuElem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private long id_; + /** + *
+ * 弹幕dmid + *+ * + *
int64 id = 1;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+
+ public static final int PROGRESS_FIELD_NUMBER = 2;
+ private int progress_;
+ /**
+ * + * 弹幕出现位置(单位ms) + *+ * + *
int32 progress = 2;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+
+ public static final int MODE_FIELD_NUMBER = 3;
+ private int mode_;
+ /**
+ * + * 弹幕类型 + *+ * + *
int32 mode = 3;
+ * @return The mode.
+ */
+ @java.lang.Override
+ public int getMode() {
+ return mode_;
+ }
+
+ public static final int FONTSIZE_FIELD_NUMBER = 4;
+ private int fontsize_;
+ /**
+ * + * 弹幕字号 + *+ * + *
int32 fontsize = 4;
+ * @return The fontsize.
+ */
+ @java.lang.Override
+ public int getFontsize() {
+ return fontsize_;
+ }
+
+ public static final int COLOR_FIELD_NUMBER = 5;
+ private int color_;
+ /**
+ * + * 弹幕颜色 + *+ * + *
uint32 color = 5;
+ * @return The color.
+ */
+ @java.lang.Override
+ public int getColor() {
+ return color_;
+ }
+
+ public static final int MIDHASH_FIELD_NUMBER = 6;
+ private volatile java.lang.Object midHash_;
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return The midHash.
+ */
+ @java.lang.Override
+ public java.lang.String getMidHash() {
+ java.lang.Object ref = midHash_;
+ 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();
+ midHash_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return The bytes for midHash.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getMidHashBytes() {
+ java.lang.Object ref = midHash_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ midHash_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CONTENT_FIELD_NUMBER = 7;
+ private volatile java.lang.Object content_;
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @return The content.
+ */
+ @java.lang.Override
+ public java.lang.String getContent() {
+ java.lang.Object ref = content_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ content_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @return The bytes for content.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getContentBytes() {
+ java.lang.Object ref = content_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ content_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CTIME_FIELD_NUMBER = 8;
+ private long ctime_;
+ /**
+ * + * 发送时间 + *+ * + *
int64 ctime = 8;
+ * @return The ctime.
+ */
+ @java.lang.Override
+ public long getCtime() {
+ return ctime_;
+ }
+
+ public static final int WEIGHT_FIELD_NUMBER = 9;
+ private int weight_;
+ /**
+ * + * 权重 区间:[1,10] + *+ * + *
int32 weight = 9;
+ * @return The weight.
+ */
+ @java.lang.Override
+ public int getWeight() {
+ return weight_;
+ }
+
+ public static final int ACTION_FIELD_NUMBER = 10;
+ private volatile java.lang.Object action_;
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return The action.
+ */
+ @java.lang.Override
+ public java.lang.String getAction() {
+ java.lang.Object ref = action_;
+ 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();
+ action_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return The bytes for action.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getActionBytes() {
+ java.lang.Object ref = action_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ action_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int POOL_FIELD_NUMBER = 11;
+ private int pool_;
+ /**
+ * + * 弹幕池 + *+ * + *
int32 pool = 11;
+ * @return The pool.
+ */
+ @java.lang.Override
+ public int getPool() {
+ return pool_;
+ }
+
+ public static final int IDSTR_FIELD_NUMBER = 12;
+ private volatile java.lang.Object idStr_;
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return The idStr.
+ */
+ @java.lang.Override
+ public java.lang.String getIdStr() {
+ java.lang.Object ref = idStr_;
+ 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();
+ idStr_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return The bytes for idStr.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getIdStrBytes() {
+ java.lang.Object ref = idStr_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ idStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ATTR_FIELD_NUMBER = 13;
+ private int attr_;
+ /**
+ * + * 弹幕属性位(bin求AND) + * bit0:保护 bit1:直播 bit2:高赞 + *+ * + *
int32 attr = 13;
+ * @return The attr.
+ */
+ @java.lang.Override
+ public int getAttr() {
+ return attr_;
+ }
+
+ 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 (id_ != 0L) {
+ output.writeInt64(1, id_);
+ }
+ if (progress_ != 0) {
+ output.writeInt32(2, progress_);
+ }
+ if (mode_ != 0) {
+ output.writeInt32(3, mode_);
+ }
+ if (fontsize_ != 0) {
+ output.writeInt32(4, fontsize_);
+ }
+ if (color_ != 0) {
+ output.writeUInt32(5, color_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(midHash_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, midHash_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, content_);
+ }
+ if (ctime_ != 0L) {
+ output.writeInt64(8, ctime_);
+ }
+ if (weight_ != 0) {
+ output.writeInt32(9, weight_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, action_);
+ }
+ if (pool_ != 0) {
+ output.writeInt32(11, pool_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idStr_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, idStr_);
+ }
+ if (attr_ != 0) {
+ output.writeInt32(13, attr_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (id_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, id_);
+ }
+ if (progress_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, progress_);
+ }
+ if (mode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, mode_);
+ }
+ if (fontsize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(4, fontsize_);
+ }
+ if (color_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, color_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(midHash_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, midHash_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, content_);
+ }
+ if (ctime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(8, ctime_);
+ }
+ if (weight_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(9, weight_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, action_);
+ }
+ if (pool_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(11, pool_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idStr_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, idStr_);
+ }
+ if (attr_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(13, attr_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem) obj;
+
+ if (getId()
+ != other.getId()) return false;
+ if (getProgress()
+ != other.getProgress()) return false;
+ if (getMode()
+ != other.getMode()) return false;
+ if (getFontsize()
+ != other.getFontsize()) return false;
+ if (getColor()
+ != other.getColor()) return false;
+ if (!getMidHash()
+ .equals(other.getMidHash())) return false;
+ if (!getContent()
+ .equals(other.getContent())) return false;
+ if (getCtime()
+ != other.getCtime()) return false;
+ if (getWeight()
+ != other.getWeight()) return false;
+ if (!getAction()
+ .equals(other.getAction())) return false;
+ if (getPool()
+ != other.getPool()) return false;
+ if (!getIdStr()
+ .equals(other.getIdStr())) return false;
+ if (getAttr()
+ != other.getAttr()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getId());
+ hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
+ hash = (53 * hash) + getProgress();
+ hash = (37 * hash) + MODE_FIELD_NUMBER;
+ hash = (53 * hash) + getMode();
+ hash = (37 * hash) + FONTSIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getFontsize();
+ hash = (37 * hash) + COLOR_FIELD_NUMBER;
+ hash = (53 * hash) + getColor();
+ hash = (37 * hash) + MIDHASH_FIELD_NUMBER;
+ hash = (53 * hash) + getMidHash().hashCode();
+ hash = (37 * hash) + CONTENT_FIELD_NUMBER;
+ hash = (53 * hash) + getContent().hashCode();
+ hash = (37 * hash) + CTIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getCtime());
+ hash = (37 * hash) + WEIGHT_FIELD_NUMBER;
+ hash = (53 * hash) + getWeight();
+ hash = (37 * hash) + ACTION_FIELD_NUMBER;
+ hash = (53 * hash) + getAction().hashCode();
+ hash = (37 * hash) + POOL_FIELD_NUMBER;
+ hash = (53 * hash) + getPool();
+ hash = (37 * hash) + IDSTR_FIELD_NUMBER;
+ hash = (53 * hash) + getIdStr().hashCode();
+ hash = (37 * hash) + ATTR_FIELD_NUMBER;
+ hash = (53 * hash) + getAttr();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem 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 com.yutou.qqbot.bilibili.DanmakuElem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 弹幕dmid + *+ * + *
int64 id = 1;
+ * @return The id.
+ */
+ @java.lang.Override
+ public long getId() {
+ return id_;
+ }
+ /**
+ * + * 弹幕dmid + *+ * + *
int64 id = 1;
+ * @param value The id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setId(long value) {
+
+ id_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕dmid + *+ * + *
int64 id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearId() {
+
+ id_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int progress_ ;
+ /**
+ * + * 弹幕出现位置(单位ms) + *+ * + *
int32 progress = 2;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+ /**
+ * + * 弹幕出现位置(单位ms) + *+ * + *
int32 progress = 2;
+ * @param value The progress to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProgress(int value) {
+
+ progress_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕出现位置(单位ms) + *+ * + *
int32 progress = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearProgress() {
+
+ progress_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int mode_ ;
+ /**
+ * + * 弹幕类型 + *+ * + *
int32 mode = 3;
+ * @return The mode.
+ */
+ @java.lang.Override
+ public int getMode() {
+ return mode_;
+ }
+ /**
+ * + * 弹幕类型 + *+ * + *
int32 mode = 3;
+ * @param value The mode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMode(int value) {
+
+ mode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕类型 + *+ * + *
int32 mode = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearMode() {
+
+ mode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int fontsize_ ;
+ /**
+ * + * 弹幕字号 + *+ * + *
int32 fontsize = 4;
+ * @return The fontsize.
+ */
+ @java.lang.Override
+ public int getFontsize() {
+ return fontsize_;
+ }
+ /**
+ * + * 弹幕字号 + *+ * + *
int32 fontsize = 4;
+ * @param value The fontsize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFontsize(int value) {
+
+ fontsize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕字号 + *+ * + *
int32 fontsize = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearFontsize() {
+
+ fontsize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int color_ ;
+ /**
+ * + * 弹幕颜色 + *+ * + *
uint32 color = 5;
+ * @return The color.
+ */
+ @java.lang.Override
+ public int getColor() {
+ return color_;
+ }
+ /**
+ * + * 弹幕颜色 + *+ * + *
uint32 color = 5;
+ * @param value The color to set.
+ * @return This builder for chaining.
+ */
+ public Builder setColor(int value) {
+
+ color_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕颜色 + *+ * + *
uint32 color = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearColor() {
+
+ color_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object midHash_ = "";
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return The midHash.
+ */
+ public java.lang.String getMidHash() {
+ java.lang.Object ref = midHash_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ midHash_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return The bytes for midHash.
+ */
+ public com.google.protobuf.ByteString
+ getMidHashBytes() {
+ java.lang.Object ref = midHash_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ midHash_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @param value The midHash to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMidHash(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ midHash_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearMidHash() {
+
+ midHash_ = getDefaultInstance().getMidHash();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发送着mid hash + *+ * + *
string midHash = 6;
+ * @param value The bytes for midHash to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMidHashBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ midHash_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object content_ = "";
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @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 = 7;
+ * @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 = 7;
+ * @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;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearContent() {
+
+ content_ = getDefaultInstance().getContent();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕正文 + *+ * + *
string content = 7;
+ * @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;
+ onChanged();
+ return this;
+ }
+
+ private long ctime_ ;
+ /**
+ * + * 发送时间 + *+ * + *
int64 ctime = 8;
+ * @return The ctime.
+ */
+ @java.lang.Override
+ public long getCtime() {
+ return ctime_;
+ }
+ /**
+ * + * 发送时间 + *+ * + *
int64 ctime = 8;
+ * @param value The ctime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCtime(long value) {
+
+ ctime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 发送时间 + *+ * + *
int64 ctime = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearCtime() {
+
+ ctime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int weight_ ;
+ /**
+ * + * 权重 区间:[1,10] + *+ * + *
int32 weight = 9;
+ * @return The weight.
+ */
+ @java.lang.Override
+ public int getWeight() {
+ return weight_;
+ }
+ /**
+ * + * 权重 区间:[1,10] + *+ * + *
int32 weight = 9;
+ * @param value The weight to set.
+ * @return This builder for chaining.
+ */
+ public Builder setWeight(int value) {
+
+ weight_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 权重 区间:[1,10] + *+ * + *
int32 weight = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearWeight() {
+
+ weight_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object action_ = "";
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return The action.
+ */
+ public java.lang.String getAction() {
+ java.lang.Object ref = action_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ action_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return The bytes for action.
+ */
+ public com.google.protobuf.ByteString
+ getActionBytes() {
+ java.lang.Object ref = action_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ action_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @param value The action to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAction(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ action_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearAction() {
+
+ action_ = getDefaultInstance().getAction();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 动作 + *+ * + *
string action = 10;
+ * @param value The bytes for action to set.
+ * @return This builder for chaining.
+ */
+ public Builder setActionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ action_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int pool_ ;
+ /**
+ * + * 弹幕池 + *+ * + *
int32 pool = 11;
+ * @return The pool.
+ */
+ @java.lang.Override
+ public int getPool() {
+ return pool_;
+ }
+ /**
+ * + * 弹幕池 + *+ * + *
int32 pool = 11;
+ * @param value The pool to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPool(int value) {
+
+ pool_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕池 + *+ * + *
int32 pool = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearPool() {
+
+ pool_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object idStr_ = "";
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return The idStr.
+ */
+ public java.lang.String getIdStr() {
+ java.lang.Object ref = idStr_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ idStr_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return The bytes for idStr.
+ */
+ public com.google.protobuf.ByteString
+ getIdStrBytes() {
+ java.lang.Object ref = idStr_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ idStr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @param value The idStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdStr(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ idStr_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearIdStr() {
+
+ idStr_ = getDefaultInstance().getIdStr();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕dmid str + *+ * + *
string idStr = 12;
+ * @param value The bytes for idStr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdStrBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ idStr_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int attr_ ;
+ /**
+ * + * 弹幕属性位(bin求AND) + * bit0:保护 bit1:直播 bit2:高赞 + *+ * + *
int32 attr = 13;
+ * @return The attr.
+ */
+ @java.lang.Override
+ public int getAttr() {
+ return attr_;
+ }
+ /**
+ * + * 弹幕属性位(bin求AND) + * bit0:保护 bit1:直播 bit2:高赞 + *+ * + *
int32 attr = 13;
+ * @param value The attr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAttr(int value) {
+
+ attr_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕属性位(bin求AND) + * bit0:保护 bit1:直播 bit2:高赞 + *+ * + *
int32 attr = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearAttr() {
+
+ attr_ = 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:com.yutou.qqbot.bilibili.DanmakuElem)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmakuElem)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 弹幕dmid + *+ * + *
int64 dmid = 1;
+ * @return The dmid.
+ */
+ long getDmid();
+
+ /**
+ * + * 评分 + *+ * + *
uint32 flag = 2;
+ * @return The flag.
+ */
+ int getFlag();
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmakuFlag} + */ + public static final class DanmakuFlag extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmakuFlag) + DanmakuFlagOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmakuFlag.newBuilder() to construct. + private DanmakuFlag(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmakuFlag() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmakuFlag(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmakuFlag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + dmid_ = input.readInt64(); + break; + } + case 16: { + + flag_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmakuFlag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmakuFlag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag.Builder.class); + } + + public static final int DMID_FIELD_NUMBER = 1; + private long dmid_; + /** + *
+ * 弹幕dmid + *+ * + *
int64 dmid = 1;
+ * @return The dmid.
+ */
+ @java.lang.Override
+ public long getDmid() {
+ return dmid_;
+ }
+
+ public static final int FLAG_FIELD_NUMBER = 2;
+ private int flag_;
+ /**
+ * + * 评分 + *+ * + *
uint32 flag = 2;
+ * @return The flag.
+ */
+ @java.lang.Override
+ public int getFlag() {
+ return flag_;
+ }
+
+ 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 (dmid_ != 0L) {
+ output.writeInt64(1, dmid_);
+ }
+ if (flag_ != 0) {
+ output.writeUInt32(2, flag_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (dmid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, dmid_);
+ }
+ if (flag_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(2, flag_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag) obj;
+
+ if (getDmid()
+ != other.getDmid()) return false;
+ if (getFlag()
+ != other.getFlag()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DMID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getDmid());
+ hash = (37 * hash) + FLAG_FIELD_NUMBER;
+ hash = (53 * hash) + getFlag();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag 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;
+ }
+ /**
+ * + * 弹幕ai云屏蔽条目 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmakuFlag} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 弹幕dmid + *+ * + *
int64 dmid = 1;
+ * @return The dmid.
+ */
+ @java.lang.Override
+ public long getDmid() {
+ return dmid_;
+ }
+ /**
+ * + * 弹幕dmid + *+ * + *
int64 dmid = 1;
+ * @param value The dmid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDmid(long value) {
+
+ dmid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕dmid + *+ * + *
int64 dmid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearDmid() {
+
+ dmid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int flag_ ;
+ /**
+ * + * 评分 + *+ * + *
uint32 flag = 2;
+ * @return The flag.
+ */
+ @java.lang.Override
+ public int getFlag() {
+ return flag_;
+ }
+ /**
+ * + * 评分 + *+ * + *
uint32 flag = 2;
+ * @param value The flag to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFlag(int value) {
+
+ flag_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 评分 + *+ * + *
uint32 flag = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearFlag() {
+
+ flag_ = 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:com.yutou.qqbot.bilibili.DanmakuFlag)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmakuFlag)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlag getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 云屏蔽等级 + *+ * + *
int32 rec_flag = 1;
+ * @return The recFlag.
+ */
+ int getRecFlag();
+
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return The recText.
+ */
+ java.lang.String getRecText();
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return The bytes for recText.
+ */
+ com.google.protobuf.ByteString
+ getRecTextBytes();
+
+ /**
+ * + * 云屏蔽开关 + *+ * + *
int32 rec_switch = 3;
+ * @return The recSwitch.
+ */
+ int getRecSwitch();
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmakuFlagConfig} + */ + public static final class DanmakuFlagConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmakuFlagConfig) + DanmakuFlagConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmakuFlagConfig.newBuilder() to construct. + private DanmakuFlagConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmakuFlagConfig() { + recText_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmakuFlagConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmakuFlagConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + recFlag_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + recText_ = s; + break; + } + case 24: { + + recSwitch_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmakuFlagConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmakuFlagConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder.class); + } + + public static final int REC_FLAG_FIELD_NUMBER = 1; + private int recFlag_; + /** + *
+ * 云屏蔽等级 + *+ * + *
int32 rec_flag = 1;
+ * @return The recFlag.
+ */
+ @java.lang.Override
+ public int getRecFlag() {
+ return recFlag_;
+ }
+
+ public static final int REC_TEXT_FIELD_NUMBER = 2;
+ private volatile java.lang.Object recText_;
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return The recText.
+ */
+ @java.lang.Override
+ public java.lang.String getRecText() {
+ java.lang.Object ref = recText_;
+ 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();
+ recText_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return The bytes for recText.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getRecTextBytes() {
+ java.lang.Object ref = recText_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ recText_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int REC_SWITCH_FIELD_NUMBER = 3;
+ private int recSwitch_;
+ /**
+ * + * 云屏蔽开关 + *+ * + *
int32 rec_switch = 3;
+ * @return The recSwitch.
+ */
+ @java.lang.Override
+ public int getRecSwitch() {
+ return recSwitch_;
+ }
+
+ 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 (recFlag_ != 0) {
+ output.writeInt32(1, recFlag_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recText_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, recText_);
+ }
+ if (recSwitch_ != 0) {
+ output.writeInt32(3, recSwitch_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (recFlag_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, recFlag_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recText_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recText_);
+ }
+ if (recSwitch_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, recSwitch_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig) obj;
+
+ if (getRecFlag()
+ != other.getRecFlag()) return false;
+ if (!getRecText()
+ .equals(other.getRecText())) return false;
+ if (getRecSwitch()
+ != other.getRecSwitch()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + REC_FLAG_FIELD_NUMBER;
+ hash = (53 * hash) + getRecFlag();
+ hash = (37 * hash) + REC_TEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getRecText().hashCode();
+ hash = (37 * hash) + REC_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getRecSwitch();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig 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 com.yutou.qqbot.bilibili.DanmakuFlagConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 云屏蔽等级 + *+ * + *
int32 rec_flag = 1;
+ * @return The recFlag.
+ */
+ @java.lang.Override
+ public int getRecFlag() {
+ return recFlag_;
+ }
+ /**
+ * + * 云屏蔽等级 + *+ * + *
int32 rec_flag = 1;
+ * @param value The recFlag to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecFlag(int value) {
+
+ recFlag_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 云屏蔽等级 + *+ * + *
int32 rec_flag = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearRecFlag() {
+
+ recFlag_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object recText_ = "";
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return The recText.
+ */
+ public java.lang.String getRecText() {
+ java.lang.Object ref = recText_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ recText_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return The bytes for recText.
+ */
+ public com.google.protobuf.ByteString
+ getRecTextBytes() {
+ java.lang.Object ref = recText_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ recText_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @param value The recText to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecText(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ recText_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearRecText() {
+
+ recText_ = getDefaultInstance().getRecText();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 云屏蔽文案 + *+ * + *
string rec_text = 2;
+ * @param value The bytes for recText to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecTextBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ recText_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int recSwitch_ ;
+ /**
+ * + * 云屏蔽开关 + *+ * + *
int32 rec_switch = 3;
+ * @return The recSwitch.
+ */
+ @java.lang.Override
+ public int getRecSwitch() {
+ return recSwitch_;
+ }
+ /**
+ * + * 云屏蔽开关 + *+ * + *
int32 rec_switch = 3;
+ * @param value The recSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecSwitch(int value) {
+
+ recSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 云屏蔽开关 + *+ * + *
int32 rec_switch = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearRecSwitch() {
+
+ recSwitch_ = 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:com.yutou.qqbot.bilibili.DanmakuFlagConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmakuFlagConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 1;
+ * @return The playerDanmakuUseDefaultConfig.
+ */
+ boolean getPlayerDanmakuUseDefaultConfig();
+
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return The playerDanmakuAiRecommendedSwitch.
+ */
+ boolean getPlayerDanmakuAiRecommendedSwitch();
+
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return The playerDanmakuAiRecommendedLevel.
+ */
+ int getPlayerDanmakuAiRecommendedLevel();
+
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return The playerDanmakuBlocktop.
+ */
+ boolean getPlayerDanmakuBlocktop();
+
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return The playerDanmakuBlockscroll.
+ */
+ boolean getPlayerDanmakuBlockscroll();
+
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return The playerDanmakuBlockbottom.
+ */
+ boolean getPlayerDanmakuBlockbottom();
+
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return The playerDanmakuBlockcolorful.
+ */
+ boolean getPlayerDanmakuBlockcolorful();
+
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return The playerDanmakuBlockrepeat.
+ */
+ boolean getPlayerDanmakuBlockrepeat();
+
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return The playerDanmakuBlockspecial.
+ */
+ boolean getPlayerDanmakuBlockspecial();
+
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return The playerDanmakuOpacity.
+ */
+ float getPlayerDanmakuOpacity();
+
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return The playerDanmakuScalingfactor.
+ */
+ float getPlayerDanmakuScalingfactor();
+
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ float getPlayerDanmakuDomain();
+
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return The playerDanmakuSpeed.
+ */
+ int getPlayerDanmakuSpeed();
+
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 16;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ boolean getInlinePlayerDanmakuSwitch();
+
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 17;
+ * @return The playerDanmakuSeniorModeSwitch.
+ */
+ int getPlayerDanmakuSeniorModeSwitch();
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig} + */ + public static final class DanmuDefaultPlayerConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig) + DanmuDefaultPlayerConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmuDefaultPlayerConfig.newBuilder() to construct. + private DanmuDefaultPlayerConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmuDefaultPlayerConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmuDefaultPlayerConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmuDefaultPlayerConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + playerDanmakuUseDefaultConfig_ = input.readBool(); + break; + } + case 32: { + + playerDanmakuAiRecommendedSwitch_ = input.readBool(); + break; + } + case 40: { + + playerDanmakuAiRecommendedLevel_ = input.readInt32(); + break; + } + case 48: { + + playerDanmakuBlocktop_ = input.readBool(); + break; + } + case 56: { + + playerDanmakuBlockscroll_ = input.readBool(); + break; + } + case 64: { + + playerDanmakuBlockbottom_ = input.readBool(); + break; + } + case 72: { + + playerDanmakuBlockcolorful_ = input.readBool(); + break; + } + case 80: { + + playerDanmakuBlockrepeat_ = input.readBool(); + break; + } + case 88: { + + playerDanmakuBlockspecial_ = input.readBool(); + break; + } + case 101: { + + playerDanmakuOpacity_ = input.readFloat(); + break; + } + case 109: { + + playerDanmakuScalingfactor_ = input.readFloat(); + break; + } + case 117: { + + playerDanmakuDomain_ = input.readFloat(); + break; + } + case 120: { + + playerDanmakuSpeed_ = input.readInt32(); + break; + } + case 128: { + + inlinePlayerDanmakuSwitch_ = input.readBool(); + break; + } + case 136: { + + playerDanmakuSeniorModeSwitch_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuDefaultPlayerConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuDefaultPlayerConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.Builder.class); + } + + public static final int PLAYER_DANMAKU_USE_DEFAULT_CONFIG_FIELD_NUMBER = 1; + private boolean playerDanmakuUseDefaultConfig_; + /** + *
+ * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 1;
+ * @return The playerDanmakuUseDefaultConfig.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuUseDefaultConfig() {
+ return playerDanmakuUseDefaultConfig_;
+ }
+
+ public static final int PLAYER_DANMAKU_AI_RECOMMENDED_SWITCH_FIELD_NUMBER = 4;
+ private boolean playerDanmakuAiRecommendedSwitch_;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return The playerDanmakuAiRecommendedSwitch.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuAiRecommendedSwitch() {
+ return playerDanmakuAiRecommendedSwitch_;
+ }
+
+ public static final int PLAYER_DANMAKU_AI_RECOMMENDED_LEVEL_FIELD_NUMBER = 5;
+ private int playerDanmakuAiRecommendedLevel_;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return The playerDanmakuAiRecommendedLevel.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuAiRecommendedLevel() {
+ return playerDanmakuAiRecommendedLevel_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKTOP_FIELD_NUMBER = 6;
+ private boolean playerDanmakuBlocktop_;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return The playerDanmakuBlocktop.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlocktop() {
+ return playerDanmakuBlocktop_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKSCROLL_FIELD_NUMBER = 7;
+ private boolean playerDanmakuBlockscroll_;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return The playerDanmakuBlockscroll.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockscroll() {
+ return playerDanmakuBlockscroll_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKBOTTOM_FIELD_NUMBER = 8;
+ private boolean playerDanmakuBlockbottom_;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return The playerDanmakuBlockbottom.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockbottom() {
+ return playerDanmakuBlockbottom_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKCOLORFUL_FIELD_NUMBER = 9;
+ private boolean playerDanmakuBlockcolorful_;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return The playerDanmakuBlockcolorful.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockcolorful() {
+ return playerDanmakuBlockcolorful_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKREPEAT_FIELD_NUMBER = 10;
+ private boolean playerDanmakuBlockrepeat_;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return The playerDanmakuBlockrepeat.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockrepeat() {
+ return playerDanmakuBlockrepeat_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKSPECIAL_FIELD_NUMBER = 11;
+ private boolean playerDanmakuBlockspecial_;
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return The playerDanmakuBlockspecial.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockspecial() {
+ return playerDanmakuBlockspecial_;
+ }
+
+ public static final int PLAYER_DANMAKU_OPACITY_FIELD_NUMBER = 12;
+ private float playerDanmakuOpacity_;
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return The playerDanmakuOpacity.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuOpacity() {
+ return playerDanmakuOpacity_;
+ }
+
+ public static final int PLAYER_DANMAKU_SCALINGFACTOR_FIELD_NUMBER = 13;
+ private float playerDanmakuScalingfactor_;
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return The playerDanmakuScalingfactor.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuScalingfactor() {
+ return playerDanmakuScalingfactor_;
+ }
+
+ public static final int PLAYER_DANMAKU_DOMAIN_FIELD_NUMBER = 14;
+ private float playerDanmakuDomain_;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuDomain() {
+ return playerDanmakuDomain_;
+ }
+
+ public static final int PLAYER_DANMAKU_SPEED_FIELD_NUMBER = 15;
+ private int playerDanmakuSpeed_;
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return The playerDanmakuSpeed.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSpeed() {
+ return playerDanmakuSpeed_;
+ }
+
+ public static final int INLINE_PLAYER_DANMAKU_SWITCH_FIELD_NUMBER = 16;
+ private boolean inlinePlayerDanmakuSwitch_;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 16;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public boolean getInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitch_;
+ }
+
+ public static final int PLAYER_DANMAKU_SENIOR_MODE_SWITCH_FIELD_NUMBER = 17;
+ private int playerDanmakuSeniorModeSwitch_;
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 17;
+ * @return The playerDanmakuSeniorModeSwitch.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSeniorModeSwitch() {
+ return playerDanmakuSeniorModeSwitch_;
+ }
+
+ 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 (playerDanmakuUseDefaultConfig_ != false) {
+ output.writeBool(1, playerDanmakuUseDefaultConfig_);
+ }
+ if (playerDanmakuAiRecommendedSwitch_ != false) {
+ output.writeBool(4, playerDanmakuAiRecommendedSwitch_);
+ }
+ if (playerDanmakuAiRecommendedLevel_ != 0) {
+ output.writeInt32(5, playerDanmakuAiRecommendedLevel_);
+ }
+ if (playerDanmakuBlocktop_ != false) {
+ output.writeBool(6, playerDanmakuBlocktop_);
+ }
+ if (playerDanmakuBlockscroll_ != false) {
+ output.writeBool(7, playerDanmakuBlockscroll_);
+ }
+ if (playerDanmakuBlockbottom_ != false) {
+ output.writeBool(8, playerDanmakuBlockbottom_);
+ }
+ if (playerDanmakuBlockcolorful_ != false) {
+ output.writeBool(9, playerDanmakuBlockcolorful_);
+ }
+ if (playerDanmakuBlockrepeat_ != false) {
+ output.writeBool(10, playerDanmakuBlockrepeat_);
+ }
+ if (playerDanmakuBlockspecial_ != false) {
+ output.writeBool(11, playerDanmakuBlockspecial_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuOpacity_) != 0) {
+ output.writeFloat(12, playerDanmakuOpacity_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuScalingfactor_) != 0) {
+ output.writeFloat(13, playerDanmakuScalingfactor_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuDomain_) != 0) {
+ output.writeFloat(14, playerDanmakuDomain_);
+ }
+ if (playerDanmakuSpeed_ != 0) {
+ output.writeInt32(15, playerDanmakuSpeed_);
+ }
+ if (inlinePlayerDanmakuSwitch_ != false) {
+ output.writeBool(16, inlinePlayerDanmakuSwitch_);
+ }
+ if (playerDanmakuSeniorModeSwitch_ != 0) {
+ output.writeInt32(17, playerDanmakuSeniorModeSwitch_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (playerDanmakuUseDefaultConfig_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, playerDanmakuUseDefaultConfig_);
+ }
+ if (playerDanmakuAiRecommendedSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(4, playerDanmakuAiRecommendedSwitch_);
+ }
+ if (playerDanmakuAiRecommendedLevel_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, playerDanmakuAiRecommendedLevel_);
+ }
+ if (playerDanmakuBlocktop_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, playerDanmakuBlocktop_);
+ }
+ if (playerDanmakuBlockscroll_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(7, playerDanmakuBlockscroll_);
+ }
+ if (playerDanmakuBlockbottom_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(8, playerDanmakuBlockbottom_);
+ }
+ if (playerDanmakuBlockcolorful_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(9, playerDanmakuBlockcolorful_);
+ }
+ if (playerDanmakuBlockrepeat_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(10, playerDanmakuBlockrepeat_);
+ }
+ if (playerDanmakuBlockspecial_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(11, playerDanmakuBlockspecial_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuOpacity_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(12, playerDanmakuOpacity_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuScalingfactor_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(13, playerDanmakuScalingfactor_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuDomain_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(14, playerDanmakuDomain_);
+ }
+ if (playerDanmakuSpeed_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(15, playerDanmakuSpeed_);
+ }
+ if (inlinePlayerDanmakuSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(16, inlinePlayerDanmakuSwitch_);
+ }
+ if (playerDanmakuSeniorModeSwitch_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(17, playerDanmakuSeniorModeSwitch_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig) obj;
+
+ if (getPlayerDanmakuUseDefaultConfig()
+ != other.getPlayerDanmakuUseDefaultConfig()) return false;
+ if (getPlayerDanmakuAiRecommendedSwitch()
+ != other.getPlayerDanmakuAiRecommendedSwitch()) return false;
+ if (getPlayerDanmakuAiRecommendedLevel()
+ != other.getPlayerDanmakuAiRecommendedLevel()) return false;
+ if (getPlayerDanmakuBlocktop()
+ != other.getPlayerDanmakuBlocktop()) return false;
+ if (getPlayerDanmakuBlockscroll()
+ != other.getPlayerDanmakuBlockscroll()) return false;
+ if (getPlayerDanmakuBlockbottom()
+ != other.getPlayerDanmakuBlockbottom()) return false;
+ if (getPlayerDanmakuBlockcolorful()
+ != other.getPlayerDanmakuBlockcolorful()) return false;
+ if (getPlayerDanmakuBlockrepeat()
+ != other.getPlayerDanmakuBlockrepeat()) return false;
+ if (getPlayerDanmakuBlockspecial()
+ != other.getPlayerDanmakuBlockspecial()) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuOpacity())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuOpacity())) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuScalingfactor())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuScalingfactor())) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuDomain())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuDomain())) return false;
+ if (getPlayerDanmakuSpeed()
+ != other.getPlayerDanmakuSpeed()) return false;
+ if (getInlinePlayerDanmakuSwitch()
+ != other.getInlinePlayerDanmakuSwitch()) return false;
+ if (getPlayerDanmakuSeniorModeSwitch()
+ != other.getPlayerDanmakuSeniorModeSwitch()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PLAYER_DANMAKU_USE_DEFAULT_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuUseDefaultConfig());
+ hash = (37 * hash) + PLAYER_DANMAKU_AI_RECOMMENDED_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuAiRecommendedSwitch());
+ hash = (37 * hash) + PLAYER_DANMAKU_AI_RECOMMENDED_LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuAiRecommendedLevel();
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKTOP_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlocktop());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKSCROLL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockscroll());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKBOTTOM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockbottom());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKCOLORFUL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockcolorful());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKREPEAT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockrepeat());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKSPECIAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockspecial());
+ hash = (37 * hash) + PLAYER_DANMAKU_OPACITY_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuOpacity());
+ hash = (37 * hash) + PLAYER_DANMAKU_SCALINGFACTOR_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuScalingfactor());
+ hash = (37 * hash) + PLAYER_DANMAKU_DOMAIN_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuDomain());
+ hash = (37 * hash) + PLAYER_DANMAKU_SPEED_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuSpeed();
+ hash = (37 * hash) + INLINE_PLAYER_DANMAKU_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getInlinePlayerDanmakuSwitch());
+ hash = (37 * hash) + PLAYER_DANMAKU_SENIOR_MODE_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuSeniorModeSwitch();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig 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 com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 1;
+ * @return The playerDanmakuUseDefaultConfig.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuUseDefaultConfig() {
+ return playerDanmakuUseDefaultConfig_;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 1;
+ * @param value The playerDanmakuUseDefaultConfig to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuUseDefaultConfig(boolean value) {
+
+ playerDanmakuUseDefaultConfig_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuUseDefaultConfig() {
+
+ playerDanmakuUseDefaultConfig_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuAiRecommendedSwitch_ ;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return The playerDanmakuAiRecommendedSwitch.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuAiRecommendedSwitch() {
+ return playerDanmakuAiRecommendedSwitch_;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @param value The playerDanmakuAiRecommendedSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuAiRecommendedSwitch(boolean value) {
+
+ playerDanmakuAiRecommendedSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuAiRecommendedSwitch() {
+
+ playerDanmakuAiRecommendedSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuAiRecommendedLevel_ ;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return The playerDanmakuAiRecommendedLevel.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuAiRecommendedLevel() {
+ return playerDanmakuAiRecommendedLevel_;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @param value The playerDanmakuAiRecommendedLevel to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuAiRecommendedLevel(int value) {
+
+ playerDanmakuAiRecommendedLevel_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuAiRecommendedLevel() {
+
+ playerDanmakuAiRecommendedLevel_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlocktop_ ;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return The playerDanmakuBlocktop.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlocktop() {
+ return playerDanmakuBlocktop_;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @param value The playerDanmakuBlocktop to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlocktop(boolean value) {
+
+ playerDanmakuBlocktop_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlocktop() {
+
+ playerDanmakuBlocktop_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockscroll_ ;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return The playerDanmakuBlockscroll.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockscroll() {
+ return playerDanmakuBlockscroll_;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @param value The playerDanmakuBlockscroll to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockscroll(boolean value) {
+
+ playerDanmakuBlockscroll_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockscroll() {
+
+ playerDanmakuBlockscroll_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockbottom_ ;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return The playerDanmakuBlockbottom.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockbottom() {
+ return playerDanmakuBlockbottom_;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @param value The playerDanmakuBlockbottom to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockbottom(boolean value) {
+
+ playerDanmakuBlockbottom_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockbottom() {
+
+ playerDanmakuBlockbottom_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockcolorful_ ;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return The playerDanmakuBlockcolorful.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockcolorful() {
+ return playerDanmakuBlockcolorful_;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @param value The playerDanmakuBlockcolorful to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockcolorful(boolean value) {
+
+ playerDanmakuBlockcolorful_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockcolorful() {
+
+ playerDanmakuBlockcolorful_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockrepeat_ ;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return The playerDanmakuBlockrepeat.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockrepeat() {
+ return playerDanmakuBlockrepeat_;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @param value The playerDanmakuBlockrepeat to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockrepeat(boolean value) {
+
+ playerDanmakuBlockrepeat_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockrepeat() {
+
+ playerDanmakuBlockrepeat_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockspecial_ ;
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return The playerDanmakuBlockspecial.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockspecial() {
+ return playerDanmakuBlockspecial_;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @param value The playerDanmakuBlockspecial to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockspecial(boolean value) {
+
+ playerDanmakuBlockspecial_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockspecial() {
+
+ playerDanmakuBlockspecial_ = false;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuOpacity_ ;
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return The playerDanmakuOpacity.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuOpacity() {
+ return playerDanmakuOpacity_;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @param value The playerDanmakuOpacity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuOpacity(float value) {
+
+ playerDanmakuOpacity_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuOpacity() {
+
+ playerDanmakuOpacity_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuScalingfactor_ ;
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return The playerDanmakuScalingfactor.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuScalingfactor() {
+ return playerDanmakuScalingfactor_;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @param value The playerDanmakuScalingfactor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuScalingfactor(float value) {
+
+ playerDanmakuScalingfactor_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuScalingfactor() {
+
+ playerDanmakuScalingfactor_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuDomain_ ;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuDomain() {
+ return playerDanmakuDomain_;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @param value The playerDanmakuDomain to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuDomain(float value) {
+
+ playerDanmakuDomain_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuDomain() {
+
+ playerDanmakuDomain_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuSpeed_ ;
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return The playerDanmakuSpeed.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSpeed() {
+ return playerDanmakuSpeed_;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @param value The playerDanmakuSpeed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuSpeed(int value) {
+
+ playerDanmakuSpeed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuSpeed() {
+
+ playerDanmakuSpeed_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean inlinePlayerDanmakuSwitch_ ;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 16;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public boolean getInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitch_;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 16;
+ * @param value The inlinePlayerDanmakuSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInlinePlayerDanmakuSwitch(boolean value) {
+
+ inlinePlayerDanmakuSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 16;
+ * @return This builder for chaining.
+ */
+ public Builder clearInlinePlayerDanmakuSwitch() {
+
+ inlinePlayerDanmakuSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuSeniorModeSwitch_ ;
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 17;
+ * @return The playerDanmakuSeniorModeSwitch.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSeniorModeSwitch() {
+ return playerDanmakuSeniorModeSwitch_;
+ }
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 17;
+ * @param value The playerDanmakuSeniorModeSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuSeniorModeSwitch(int value) {
+
+ playerDanmakuSeniorModeSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 17;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuSeniorModeSwitch() {
+
+ playerDanmakuSeniorModeSwitch_ = 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:com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 是否开启弹幕 + *+ * + *
bool player_danmaku_switch = 1;
+ * @return The playerDanmakuSwitch.
+ */
+ boolean getPlayerDanmakuSwitch();
+
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
bool player_danmaku_switch_save = 2;
+ * @return The playerDanmakuSwitchSave.
+ */
+ boolean getPlayerDanmakuSwitchSave();
+
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 3;
+ * @return The playerDanmakuUseDefaultConfig.
+ */
+ boolean getPlayerDanmakuUseDefaultConfig();
+
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return The playerDanmakuAiRecommendedSwitch.
+ */
+ boolean getPlayerDanmakuAiRecommendedSwitch();
+
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return The playerDanmakuAiRecommendedLevel.
+ */
+ int getPlayerDanmakuAiRecommendedLevel();
+
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return The playerDanmakuBlocktop.
+ */
+ boolean getPlayerDanmakuBlocktop();
+
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return The playerDanmakuBlockscroll.
+ */
+ boolean getPlayerDanmakuBlockscroll();
+
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return The playerDanmakuBlockbottom.
+ */
+ boolean getPlayerDanmakuBlockbottom();
+
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return The playerDanmakuBlockcolorful.
+ */
+ boolean getPlayerDanmakuBlockcolorful();
+
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return The playerDanmakuBlockrepeat.
+ */
+ boolean getPlayerDanmakuBlockrepeat();
+
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return The playerDanmakuBlockspecial.
+ */
+ boolean getPlayerDanmakuBlockspecial();
+
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return The playerDanmakuOpacity.
+ */
+ float getPlayerDanmakuOpacity();
+
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return The playerDanmakuScalingfactor.
+ */
+ float getPlayerDanmakuScalingfactor();
+
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ float getPlayerDanmakuDomain();
+
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return The playerDanmakuSpeed.
+ */
+ int getPlayerDanmakuSpeed();
+
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
bool player_danmaku_enableblocklist = 16;
+ * @return The playerDanmakuEnableblocklist.
+ */
+ boolean getPlayerDanmakuEnableblocklist();
+
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 17;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ boolean getInlinePlayerDanmakuSwitch();
+
+ /**
+ * + *+ * + *
int32 inline_player_danmaku_config = 18;
+ * @return The inlinePlayerDanmakuConfig.
+ */
+ int getInlinePlayerDanmakuConfig();
+
+ /**
+ * + *+ * + *
int32 player_danmaku_ios_switch_save = 19;
+ * @return The playerDanmakuIosSwitchSave.
+ */
+ int getPlayerDanmakuIosSwitchSave();
+
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 20;
+ * @return The playerDanmakuSeniorModeSwitch.
+ */
+ int getPlayerDanmakuSeniorModeSwitch();
+ }
+ /**
+ * + * 弹幕配置 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmuPlayerConfig} + */ + public static final class DanmuPlayerConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmuPlayerConfig) + DanmuPlayerConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmuPlayerConfig.newBuilder() to construct. + private DanmuPlayerConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmuPlayerConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmuPlayerConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmuPlayerConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + playerDanmakuSwitch_ = input.readBool(); + break; + } + case 16: { + + playerDanmakuSwitchSave_ = input.readBool(); + break; + } + case 24: { + + playerDanmakuUseDefaultConfig_ = input.readBool(); + break; + } + case 32: { + + playerDanmakuAiRecommendedSwitch_ = input.readBool(); + break; + } + case 40: { + + playerDanmakuAiRecommendedLevel_ = input.readInt32(); + break; + } + case 48: { + + playerDanmakuBlocktop_ = input.readBool(); + break; + } + case 56: { + + playerDanmakuBlockscroll_ = input.readBool(); + break; + } + case 64: { + + playerDanmakuBlockbottom_ = input.readBool(); + break; + } + case 72: { + + playerDanmakuBlockcolorful_ = input.readBool(); + break; + } + case 80: { + + playerDanmakuBlockrepeat_ = input.readBool(); + break; + } + case 88: { + + playerDanmakuBlockspecial_ = input.readBool(); + break; + } + case 101: { + + playerDanmakuOpacity_ = input.readFloat(); + break; + } + case 109: { + + playerDanmakuScalingfactor_ = input.readFloat(); + break; + } + case 117: { + + playerDanmakuDomain_ = input.readFloat(); + break; + } + case 120: { + + playerDanmakuSpeed_ = input.readInt32(); + break; + } + case 128: { + + playerDanmakuEnableblocklist_ = input.readBool(); + break; + } + case 136: { + + inlinePlayerDanmakuSwitch_ = input.readBool(); + break; + } + case 144: { + + inlinePlayerDanmakuConfig_ = input.readInt32(); + break; + } + case 152: { + + playerDanmakuIosSwitchSave_ = input.readInt32(); + break; + } + case 160: { + + playerDanmakuSeniorModeSwitch_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuPlayerConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuPlayerConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder.class); + } + + public static final int PLAYER_DANMAKU_SWITCH_FIELD_NUMBER = 1; + private boolean playerDanmakuSwitch_; + /** + *
+ * 是否开启弹幕 + *+ * + *
bool player_danmaku_switch = 1;
+ * @return The playerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuSwitch() {
+ return playerDanmakuSwitch_;
+ }
+
+ public static final int PLAYER_DANMAKU_SWITCH_SAVE_FIELD_NUMBER = 2;
+ private boolean playerDanmakuSwitchSave_;
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
bool player_danmaku_switch_save = 2;
+ * @return The playerDanmakuSwitchSave.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuSwitchSave() {
+ return playerDanmakuSwitchSave_;
+ }
+
+ public static final int PLAYER_DANMAKU_USE_DEFAULT_CONFIG_FIELD_NUMBER = 3;
+ private boolean playerDanmakuUseDefaultConfig_;
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 3;
+ * @return The playerDanmakuUseDefaultConfig.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuUseDefaultConfig() {
+ return playerDanmakuUseDefaultConfig_;
+ }
+
+ public static final int PLAYER_DANMAKU_AI_RECOMMENDED_SWITCH_FIELD_NUMBER = 4;
+ private boolean playerDanmakuAiRecommendedSwitch_;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return The playerDanmakuAiRecommendedSwitch.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuAiRecommendedSwitch() {
+ return playerDanmakuAiRecommendedSwitch_;
+ }
+
+ public static final int PLAYER_DANMAKU_AI_RECOMMENDED_LEVEL_FIELD_NUMBER = 5;
+ private int playerDanmakuAiRecommendedLevel_;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return The playerDanmakuAiRecommendedLevel.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuAiRecommendedLevel() {
+ return playerDanmakuAiRecommendedLevel_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKTOP_FIELD_NUMBER = 6;
+ private boolean playerDanmakuBlocktop_;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return The playerDanmakuBlocktop.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlocktop() {
+ return playerDanmakuBlocktop_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKSCROLL_FIELD_NUMBER = 7;
+ private boolean playerDanmakuBlockscroll_;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return The playerDanmakuBlockscroll.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockscroll() {
+ return playerDanmakuBlockscroll_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKBOTTOM_FIELD_NUMBER = 8;
+ private boolean playerDanmakuBlockbottom_;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return The playerDanmakuBlockbottom.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockbottom() {
+ return playerDanmakuBlockbottom_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKCOLORFUL_FIELD_NUMBER = 9;
+ private boolean playerDanmakuBlockcolorful_;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return The playerDanmakuBlockcolorful.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockcolorful() {
+ return playerDanmakuBlockcolorful_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKREPEAT_FIELD_NUMBER = 10;
+ private boolean playerDanmakuBlockrepeat_;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return The playerDanmakuBlockrepeat.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockrepeat() {
+ return playerDanmakuBlockrepeat_;
+ }
+
+ public static final int PLAYER_DANMAKU_BLOCKSPECIAL_FIELD_NUMBER = 11;
+ private boolean playerDanmakuBlockspecial_;
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return The playerDanmakuBlockspecial.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockspecial() {
+ return playerDanmakuBlockspecial_;
+ }
+
+ public static final int PLAYER_DANMAKU_OPACITY_FIELD_NUMBER = 12;
+ private float playerDanmakuOpacity_;
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return The playerDanmakuOpacity.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuOpacity() {
+ return playerDanmakuOpacity_;
+ }
+
+ public static final int PLAYER_DANMAKU_SCALINGFACTOR_FIELD_NUMBER = 13;
+ private float playerDanmakuScalingfactor_;
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return The playerDanmakuScalingfactor.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuScalingfactor() {
+ return playerDanmakuScalingfactor_;
+ }
+
+ public static final int PLAYER_DANMAKU_DOMAIN_FIELD_NUMBER = 14;
+ private float playerDanmakuDomain_;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuDomain() {
+ return playerDanmakuDomain_;
+ }
+
+ public static final int PLAYER_DANMAKU_SPEED_FIELD_NUMBER = 15;
+ private int playerDanmakuSpeed_;
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return The playerDanmakuSpeed.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSpeed() {
+ return playerDanmakuSpeed_;
+ }
+
+ public static final int PLAYER_DANMAKU_ENABLEBLOCKLIST_FIELD_NUMBER = 16;
+ private boolean playerDanmakuEnableblocklist_;
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
bool player_danmaku_enableblocklist = 16;
+ * @return The playerDanmakuEnableblocklist.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuEnableblocklist() {
+ return playerDanmakuEnableblocklist_;
+ }
+
+ public static final int INLINE_PLAYER_DANMAKU_SWITCH_FIELD_NUMBER = 17;
+ private boolean inlinePlayerDanmakuSwitch_;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 17;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public boolean getInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitch_;
+ }
+
+ public static final int INLINE_PLAYER_DANMAKU_CONFIG_FIELD_NUMBER = 18;
+ private int inlinePlayerDanmakuConfig_;
+ /**
+ * + *+ * + *
int32 inline_player_danmaku_config = 18;
+ * @return The inlinePlayerDanmakuConfig.
+ */
+ @java.lang.Override
+ public int getInlinePlayerDanmakuConfig() {
+ return inlinePlayerDanmakuConfig_;
+ }
+
+ public static final int PLAYER_DANMAKU_IOS_SWITCH_SAVE_FIELD_NUMBER = 19;
+ private int playerDanmakuIosSwitchSave_;
+ /**
+ * + *+ * + *
int32 player_danmaku_ios_switch_save = 19;
+ * @return The playerDanmakuIosSwitchSave.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuIosSwitchSave() {
+ return playerDanmakuIosSwitchSave_;
+ }
+
+ public static final int PLAYER_DANMAKU_SENIOR_MODE_SWITCH_FIELD_NUMBER = 20;
+ private int playerDanmakuSeniorModeSwitch_;
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 20;
+ * @return The playerDanmakuSeniorModeSwitch.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSeniorModeSwitch() {
+ return playerDanmakuSeniorModeSwitch_;
+ }
+
+ 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 (playerDanmakuSwitch_ != false) {
+ output.writeBool(1, playerDanmakuSwitch_);
+ }
+ if (playerDanmakuSwitchSave_ != false) {
+ output.writeBool(2, playerDanmakuSwitchSave_);
+ }
+ if (playerDanmakuUseDefaultConfig_ != false) {
+ output.writeBool(3, playerDanmakuUseDefaultConfig_);
+ }
+ if (playerDanmakuAiRecommendedSwitch_ != false) {
+ output.writeBool(4, playerDanmakuAiRecommendedSwitch_);
+ }
+ if (playerDanmakuAiRecommendedLevel_ != 0) {
+ output.writeInt32(5, playerDanmakuAiRecommendedLevel_);
+ }
+ if (playerDanmakuBlocktop_ != false) {
+ output.writeBool(6, playerDanmakuBlocktop_);
+ }
+ if (playerDanmakuBlockscroll_ != false) {
+ output.writeBool(7, playerDanmakuBlockscroll_);
+ }
+ if (playerDanmakuBlockbottom_ != false) {
+ output.writeBool(8, playerDanmakuBlockbottom_);
+ }
+ if (playerDanmakuBlockcolorful_ != false) {
+ output.writeBool(9, playerDanmakuBlockcolorful_);
+ }
+ if (playerDanmakuBlockrepeat_ != false) {
+ output.writeBool(10, playerDanmakuBlockrepeat_);
+ }
+ if (playerDanmakuBlockspecial_ != false) {
+ output.writeBool(11, playerDanmakuBlockspecial_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuOpacity_) != 0) {
+ output.writeFloat(12, playerDanmakuOpacity_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuScalingfactor_) != 0) {
+ output.writeFloat(13, playerDanmakuScalingfactor_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuDomain_) != 0) {
+ output.writeFloat(14, playerDanmakuDomain_);
+ }
+ if (playerDanmakuSpeed_ != 0) {
+ output.writeInt32(15, playerDanmakuSpeed_);
+ }
+ if (playerDanmakuEnableblocklist_ != false) {
+ output.writeBool(16, playerDanmakuEnableblocklist_);
+ }
+ if (inlinePlayerDanmakuSwitch_ != false) {
+ output.writeBool(17, inlinePlayerDanmakuSwitch_);
+ }
+ if (inlinePlayerDanmakuConfig_ != 0) {
+ output.writeInt32(18, inlinePlayerDanmakuConfig_);
+ }
+ if (playerDanmakuIosSwitchSave_ != 0) {
+ output.writeInt32(19, playerDanmakuIosSwitchSave_);
+ }
+ if (playerDanmakuSeniorModeSwitch_ != 0) {
+ output.writeInt32(20, playerDanmakuSeniorModeSwitch_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (playerDanmakuSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, playerDanmakuSwitch_);
+ }
+ if (playerDanmakuSwitchSave_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(2, playerDanmakuSwitchSave_);
+ }
+ if (playerDanmakuUseDefaultConfig_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, playerDanmakuUseDefaultConfig_);
+ }
+ if (playerDanmakuAiRecommendedSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(4, playerDanmakuAiRecommendedSwitch_);
+ }
+ if (playerDanmakuAiRecommendedLevel_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, playerDanmakuAiRecommendedLevel_);
+ }
+ if (playerDanmakuBlocktop_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, playerDanmakuBlocktop_);
+ }
+ if (playerDanmakuBlockscroll_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(7, playerDanmakuBlockscroll_);
+ }
+ if (playerDanmakuBlockbottom_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(8, playerDanmakuBlockbottom_);
+ }
+ if (playerDanmakuBlockcolorful_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(9, playerDanmakuBlockcolorful_);
+ }
+ if (playerDanmakuBlockrepeat_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(10, playerDanmakuBlockrepeat_);
+ }
+ if (playerDanmakuBlockspecial_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(11, playerDanmakuBlockspecial_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuOpacity_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(12, playerDanmakuOpacity_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuScalingfactor_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(13, playerDanmakuScalingfactor_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuDomain_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(14, playerDanmakuDomain_);
+ }
+ if (playerDanmakuSpeed_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(15, playerDanmakuSpeed_);
+ }
+ if (playerDanmakuEnableblocklist_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(16, playerDanmakuEnableblocklist_);
+ }
+ if (inlinePlayerDanmakuSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(17, inlinePlayerDanmakuSwitch_);
+ }
+ if (inlinePlayerDanmakuConfig_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(18, inlinePlayerDanmakuConfig_);
+ }
+ if (playerDanmakuIosSwitchSave_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(19, playerDanmakuIosSwitchSave_);
+ }
+ if (playerDanmakuSeniorModeSwitch_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(20, playerDanmakuSeniorModeSwitch_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig) obj;
+
+ if (getPlayerDanmakuSwitch()
+ != other.getPlayerDanmakuSwitch()) return false;
+ if (getPlayerDanmakuSwitchSave()
+ != other.getPlayerDanmakuSwitchSave()) return false;
+ if (getPlayerDanmakuUseDefaultConfig()
+ != other.getPlayerDanmakuUseDefaultConfig()) return false;
+ if (getPlayerDanmakuAiRecommendedSwitch()
+ != other.getPlayerDanmakuAiRecommendedSwitch()) return false;
+ if (getPlayerDanmakuAiRecommendedLevel()
+ != other.getPlayerDanmakuAiRecommendedLevel()) return false;
+ if (getPlayerDanmakuBlocktop()
+ != other.getPlayerDanmakuBlocktop()) return false;
+ if (getPlayerDanmakuBlockscroll()
+ != other.getPlayerDanmakuBlockscroll()) return false;
+ if (getPlayerDanmakuBlockbottom()
+ != other.getPlayerDanmakuBlockbottom()) return false;
+ if (getPlayerDanmakuBlockcolorful()
+ != other.getPlayerDanmakuBlockcolorful()) return false;
+ if (getPlayerDanmakuBlockrepeat()
+ != other.getPlayerDanmakuBlockrepeat()) return false;
+ if (getPlayerDanmakuBlockspecial()
+ != other.getPlayerDanmakuBlockspecial()) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuOpacity())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuOpacity())) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuScalingfactor())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuScalingfactor())) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuDomain())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuDomain())) return false;
+ if (getPlayerDanmakuSpeed()
+ != other.getPlayerDanmakuSpeed()) return false;
+ if (getPlayerDanmakuEnableblocklist()
+ != other.getPlayerDanmakuEnableblocklist()) return false;
+ if (getInlinePlayerDanmakuSwitch()
+ != other.getInlinePlayerDanmakuSwitch()) return false;
+ if (getInlinePlayerDanmakuConfig()
+ != other.getInlinePlayerDanmakuConfig()) return false;
+ if (getPlayerDanmakuIosSwitchSave()
+ != other.getPlayerDanmakuIosSwitchSave()) return false;
+ if (getPlayerDanmakuSeniorModeSwitch()
+ != other.getPlayerDanmakuSeniorModeSwitch()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PLAYER_DANMAKU_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuSwitch());
+ hash = (37 * hash) + PLAYER_DANMAKU_SWITCH_SAVE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuSwitchSave());
+ hash = (37 * hash) + PLAYER_DANMAKU_USE_DEFAULT_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuUseDefaultConfig());
+ hash = (37 * hash) + PLAYER_DANMAKU_AI_RECOMMENDED_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuAiRecommendedSwitch());
+ hash = (37 * hash) + PLAYER_DANMAKU_AI_RECOMMENDED_LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuAiRecommendedLevel();
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKTOP_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlocktop());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKSCROLL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockscroll());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKBOTTOM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockbottom());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKCOLORFUL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockcolorful());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKREPEAT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockrepeat());
+ hash = (37 * hash) + PLAYER_DANMAKU_BLOCKSPECIAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuBlockspecial());
+ hash = (37 * hash) + PLAYER_DANMAKU_OPACITY_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuOpacity());
+ hash = (37 * hash) + PLAYER_DANMAKU_SCALINGFACTOR_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuScalingfactor());
+ hash = (37 * hash) + PLAYER_DANMAKU_DOMAIN_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuDomain());
+ hash = (37 * hash) + PLAYER_DANMAKU_SPEED_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuSpeed();
+ hash = (37 * hash) + PLAYER_DANMAKU_ENABLEBLOCKLIST_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPlayerDanmakuEnableblocklist());
+ hash = (37 * hash) + INLINE_PLAYER_DANMAKU_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getInlinePlayerDanmakuSwitch());
+ hash = (37 * hash) + INLINE_PLAYER_DANMAKU_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getInlinePlayerDanmakuConfig();
+ hash = (37 * hash) + PLAYER_DANMAKU_IOS_SWITCH_SAVE_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuIosSwitchSave();
+ hash = (37 * hash) + PLAYER_DANMAKU_SENIOR_MODE_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerDanmakuSeniorModeSwitch();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig 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 com.yutou.qqbot.bilibili.DanmuPlayerConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否开启弹幕 + *+ * + *
bool player_danmaku_switch = 1;
+ * @return The playerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuSwitch() {
+ return playerDanmakuSwitch_;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool player_danmaku_switch = 1;
+ * @param value The playerDanmakuSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuSwitch(boolean value) {
+
+ playerDanmakuSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool player_danmaku_switch = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuSwitch() {
+
+ playerDanmakuSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuSwitchSave_ ;
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
bool player_danmaku_switch_save = 2;
+ * @return The playerDanmakuSwitchSave.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuSwitchSave() {
+ return playerDanmakuSwitchSave_;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
bool player_danmaku_switch_save = 2;
+ * @param value The playerDanmakuSwitchSave to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuSwitchSave(boolean value) {
+
+ playerDanmakuSwitchSave_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
bool player_danmaku_switch_save = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuSwitchSave() {
+
+ playerDanmakuSwitchSave_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuUseDefaultConfig_ ;
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 3;
+ * @return The playerDanmakuUseDefaultConfig.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuUseDefaultConfig() {
+ return playerDanmakuUseDefaultConfig_;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 3;
+ * @param value The playerDanmakuUseDefaultConfig to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuUseDefaultConfig(boolean value) {
+
+ playerDanmakuUseDefaultConfig_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
bool player_danmaku_use_default_config = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuUseDefaultConfig() {
+
+ playerDanmakuUseDefaultConfig_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuAiRecommendedSwitch_ ;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return The playerDanmakuAiRecommendedSwitch.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuAiRecommendedSwitch() {
+ return playerDanmakuAiRecommendedSwitch_;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @param value The playerDanmakuAiRecommendedSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuAiRecommendedSwitch(boolean value) {
+
+ playerDanmakuAiRecommendedSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool player_danmaku_ai_recommended_switch = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuAiRecommendedSwitch() {
+
+ playerDanmakuAiRecommendedSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuAiRecommendedLevel_ ;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return The playerDanmakuAiRecommendedLevel.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuAiRecommendedLevel() {
+ return playerDanmakuAiRecommendedLevel_;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @param value The playerDanmakuAiRecommendedLevel to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuAiRecommendedLevel(int value) {
+
+ playerDanmakuAiRecommendedLevel_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 player_danmaku_ai_recommended_level = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuAiRecommendedLevel() {
+
+ playerDanmakuAiRecommendedLevel_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlocktop_ ;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return The playerDanmakuBlocktop.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlocktop() {
+ return playerDanmakuBlocktop_;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @param value The playerDanmakuBlocktop to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlocktop(boolean value) {
+
+ playerDanmakuBlocktop_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool player_danmaku_blocktop = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlocktop() {
+
+ playerDanmakuBlocktop_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockscroll_ ;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return The playerDanmakuBlockscroll.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockscroll() {
+ return playerDanmakuBlockscroll_;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @param value The playerDanmakuBlockscroll to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockscroll(boolean value) {
+
+ playerDanmakuBlockscroll_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool player_danmaku_blockscroll = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockscroll() {
+
+ playerDanmakuBlockscroll_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockbottom_ ;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return The playerDanmakuBlockbottom.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockbottom() {
+ return playerDanmakuBlockbottom_;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @param value The playerDanmakuBlockbottom to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockbottom(boolean value) {
+
+ playerDanmakuBlockbottom_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool player_danmaku_blockbottom = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockbottom() {
+
+ playerDanmakuBlockbottom_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockcolorful_ ;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return The playerDanmakuBlockcolorful.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockcolorful() {
+ return playerDanmakuBlockcolorful_;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @param value The playerDanmakuBlockcolorful to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockcolorful(boolean value) {
+
+ playerDanmakuBlockcolorful_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool player_danmaku_blockcolorful = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockcolorful() {
+
+ playerDanmakuBlockcolorful_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockrepeat_ ;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return The playerDanmakuBlockrepeat.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockrepeat() {
+ return playerDanmakuBlockrepeat_;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @param value The playerDanmakuBlockrepeat to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockrepeat(boolean value) {
+
+ playerDanmakuBlockrepeat_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool player_danmaku_blockrepeat = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockrepeat() {
+
+ playerDanmakuBlockrepeat_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuBlockspecial_ ;
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return The playerDanmakuBlockspecial.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuBlockspecial() {
+ return playerDanmakuBlockspecial_;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @param value The playerDanmakuBlockspecial to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuBlockspecial(boolean value) {
+
+ playerDanmakuBlockspecial_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
bool player_danmaku_blockspecial = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuBlockspecial() {
+
+ playerDanmakuBlockspecial_ = false;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuOpacity_ ;
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return The playerDanmakuOpacity.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuOpacity() {
+ return playerDanmakuOpacity_;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @param value The playerDanmakuOpacity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuOpacity(float value) {
+
+ playerDanmakuOpacity_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
float player_danmaku_opacity = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuOpacity() {
+
+ playerDanmakuOpacity_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuScalingfactor_ ;
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return The playerDanmakuScalingfactor.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuScalingfactor() {
+ return playerDanmakuScalingfactor_;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @param value The playerDanmakuScalingfactor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuScalingfactor(float value) {
+
+ playerDanmakuScalingfactor_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
float player_danmaku_scalingfactor = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuScalingfactor() {
+
+ playerDanmakuScalingfactor_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuDomain_ ;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuDomain() {
+ return playerDanmakuDomain_;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @param value The playerDanmakuDomain to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuDomain(float value) {
+
+ playerDanmakuDomain_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuDomain() {
+
+ playerDanmakuDomain_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuSpeed_ ;
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return The playerDanmakuSpeed.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSpeed() {
+ return playerDanmakuSpeed_;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @param value The playerDanmakuSpeed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuSpeed(int value) {
+
+ playerDanmakuSpeed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
int32 player_danmaku_speed = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuSpeed() {
+
+ playerDanmakuSpeed_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean playerDanmakuEnableblocklist_ ;
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
bool player_danmaku_enableblocklist = 16;
+ * @return The playerDanmakuEnableblocklist.
+ */
+ @java.lang.Override
+ public boolean getPlayerDanmakuEnableblocklist() {
+ return playerDanmakuEnableblocklist_;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
bool player_danmaku_enableblocklist = 16;
+ * @param value The playerDanmakuEnableblocklist to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuEnableblocklist(boolean value) {
+
+ playerDanmakuEnableblocklist_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
bool player_danmaku_enableblocklist = 16;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuEnableblocklist() {
+
+ playerDanmakuEnableblocklist_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean inlinePlayerDanmakuSwitch_ ;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 17;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public boolean getInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitch_;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 17;
+ * @param value The inlinePlayerDanmakuSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInlinePlayerDanmakuSwitch(boolean value) {
+
+ inlinePlayerDanmakuSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool inline_player_danmaku_switch = 17;
+ * @return This builder for chaining.
+ */
+ public Builder clearInlinePlayerDanmakuSwitch() {
+
+ inlinePlayerDanmakuSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int inlinePlayerDanmakuConfig_ ;
+ /**
+ * + *+ * + *
int32 inline_player_danmaku_config = 18;
+ * @return The inlinePlayerDanmakuConfig.
+ */
+ @java.lang.Override
+ public int getInlinePlayerDanmakuConfig() {
+ return inlinePlayerDanmakuConfig_;
+ }
+ /**
+ * + *+ * + *
int32 inline_player_danmaku_config = 18;
+ * @param value The inlinePlayerDanmakuConfig to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInlinePlayerDanmakuConfig(int value) {
+
+ inlinePlayerDanmakuConfig_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 inline_player_danmaku_config = 18;
+ * @return This builder for chaining.
+ */
+ public Builder clearInlinePlayerDanmakuConfig() {
+
+ inlinePlayerDanmakuConfig_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuIosSwitchSave_ ;
+ /**
+ * + *+ * + *
int32 player_danmaku_ios_switch_save = 19;
+ * @return The playerDanmakuIosSwitchSave.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuIosSwitchSave() {
+ return playerDanmakuIosSwitchSave_;
+ }
+ /**
+ * + *+ * + *
int32 player_danmaku_ios_switch_save = 19;
+ * @param value The playerDanmakuIosSwitchSave to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuIosSwitchSave(int value) {
+
+ playerDanmakuIosSwitchSave_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 player_danmaku_ios_switch_save = 19;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuIosSwitchSave() {
+
+ playerDanmakuIosSwitchSave_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int playerDanmakuSeniorModeSwitch_ ;
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 20;
+ * @return The playerDanmakuSeniorModeSwitch.
+ */
+ @java.lang.Override
+ public int getPlayerDanmakuSeniorModeSwitch() {
+ return playerDanmakuSeniorModeSwitch_;
+ }
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 20;
+ * @param value The playerDanmakuSeniorModeSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuSeniorModeSwitch(int value) {
+
+ playerDanmakuSeniorModeSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 player_danmaku_senior_mode_switch = 20;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuSeniorModeSwitch() {
+
+ playerDanmakuSeniorModeSwitch_ = 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:com.yutou.qqbot.bilibili.DanmuPlayerConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmuPlayerConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 时间 + *+ * + *
int32 progress = 1;
+ * @return The progress.
+ */
+ int getProgress();
+
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ float getPlayerDanmakuDomain();
+ }
+ /**
+ * + * 弹幕显示区域自动配置 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig} + */ + public static final class DanmuPlayerDynamicConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig) + DanmuPlayerDynamicConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmuPlayerDynamicConfig.newBuilder() to construct. + private DanmuPlayerDynamicConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmuPlayerDynamicConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmuPlayerDynamicConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmuPlayerDynamicConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + progress_ = input.readInt32(); + break; + } + case 117: { + + playerDanmakuDomain_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuPlayerDynamicConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuPlayerDynamicConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder.class); + } + + public static final int PROGRESS_FIELD_NUMBER = 1; + private int progress_; + /** + *
+ * 时间 + *+ * + *
int32 progress = 1;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+
+ public static final int PLAYER_DANMAKU_DOMAIN_FIELD_NUMBER = 14;
+ private float playerDanmakuDomain_;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuDomain() {
+ return playerDanmakuDomain_;
+ }
+
+ 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 (progress_ != 0) {
+ output.writeInt32(1, progress_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuDomain_) != 0) {
+ output.writeFloat(14, playerDanmakuDomain_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (progress_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, progress_);
+ }
+ if (java.lang.Float.floatToRawIntBits(playerDanmakuDomain_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(14, playerDanmakuDomain_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig) obj;
+
+ if (getProgress()
+ != other.getProgress()) return false;
+ if (java.lang.Float.floatToIntBits(getPlayerDanmakuDomain())
+ != java.lang.Float.floatToIntBits(
+ other.getPlayerDanmakuDomain())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
+ hash = (53 * hash) + getProgress();
+ hash = (37 * hash) + PLAYER_DANMAKU_DOMAIN_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getPlayerDanmakuDomain());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig 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 com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 时间 + *+ * + *
int32 progress = 1;
+ * @return The progress.
+ */
+ @java.lang.Override
+ public int getProgress() {
+ return progress_;
+ }
+ /**
+ * + * 时间 + *+ * + *
int32 progress = 1;
+ * @param value The progress to set.
+ * @return This builder for chaining.
+ */
+ public Builder setProgress(int value) {
+
+ progress_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 时间 + *+ * + *
int32 progress = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearProgress() {
+
+ progress_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private float playerDanmakuDomain_ ;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return The playerDanmakuDomain.
+ */
+ @java.lang.Override
+ public float getPlayerDanmakuDomain() {
+ return playerDanmakuDomain_;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @param value The playerDanmakuDomain to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPlayerDanmakuDomain(float value) {
+
+ playerDanmakuDomain_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
float player_danmaku_domain = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearPlayerDanmakuDomain() {
+
+ playerDanmakuDomain_ = 0F;
+ 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:com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ * @return Whether the danmukuDefaultPlayerConfig field is set.
+ */
+ boolean hasDanmukuDefaultPlayerConfig();
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ * @return The danmukuDefaultPlayerConfig.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig getDanmukuDefaultPlayerConfig();
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfigOrBuilder getDanmukuDefaultPlayerConfigOrBuilder();
+
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ * @return Whether the danmukuPlayerConfig field is set.
+ */
+ boolean hasDanmukuPlayerConfig();
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ * @return The danmukuPlayerConfig.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig getDanmukuPlayerConfig();
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfigOrBuilder getDanmukuPlayerConfigOrBuilder();
+
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ java.util.List+ * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig getDanmukuPlayerDynamicConfig(int index);
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ int getDanmukuPlayerDynamicConfigCount();
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfigOrBuilder>
+ getDanmukuPlayerDynamicConfigOrBuilderList();
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfigOrBuilder getDanmukuPlayerDynamicConfigOrBuilder(
+ int index);
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmuPlayerViewConfig} + */ + public static final class DanmuPlayerViewConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmuPlayerViewConfig) + DanmuPlayerViewConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmuPlayerViewConfig.newBuilder() to construct. + private DanmuPlayerViewConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmuPlayerViewConfig() { + danmukuPlayerDynamicConfig_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmuPlayerViewConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmuPlayerViewConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.Builder subBuilder = null; + if (danmukuDefaultPlayerConfig_ != null) { + subBuilder = danmukuDefaultPlayerConfig_.toBuilder(); + } + danmukuDefaultPlayerConfig_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(danmukuDefaultPlayerConfig_); + danmukuDefaultPlayerConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder subBuilder = null; + if (danmukuPlayerConfig_ != null) { + subBuilder = danmukuPlayerConfig_.toBuilder(); + } + danmukuPlayerConfig_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(danmukuPlayerConfig_); + danmukuPlayerConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + danmukuPlayerDynamicConfig_ = new java.util.ArrayList
+ * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ * @return Whether the danmukuDefaultPlayerConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasDanmukuDefaultPlayerConfig() {
+ return danmukuDefaultPlayerConfig_ != null;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ * @return The danmukuDefaultPlayerConfig.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig getDanmukuDefaultPlayerConfig() {
+ return danmukuDefaultPlayerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.getDefaultInstance() : danmukuDefaultPlayerConfig_;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfigOrBuilder getDanmukuDefaultPlayerConfigOrBuilder() {
+ return getDanmukuDefaultPlayerConfig();
+ }
+
+ public static final int DANMUKU_PLAYER_CONFIG_FIELD_NUMBER = 2;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig danmukuPlayerConfig_;
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ * @return Whether the danmukuPlayerConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasDanmukuPlayerConfig() {
+ return danmukuPlayerConfig_ != null;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ * @return The danmukuPlayerConfig.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig getDanmukuPlayerConfig() {
+ return danmukuPlayerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.getDefaultInstance() : danmukuPlayerConfig_;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfigOrBuilder getDanmukuPlayerConfigOrBuilder() {
+ return getDanmukuPlayerConfig();
+ }
+
+ public static final int DANMUKU_PLAYER_DYNAMIC_CONFIG_FIELD_NUMBER = 3;
+ private java.util.List+ * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ @java.lang.Override
+ public java.util.List+ * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfigOrBuilder>
+ getDanmukuPlayerDynamicConfigOrBuilderList() {
+ return danmukuPlayerDynamicConfig_;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ @java.lang.Override
+ public int getDanmukuPlayerDynamicConfigCount() {
+ return danmukuPlayerDynamicConfig_.size();
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig getDanmukuPlayerDynamicConfig(int index) {
+ return danmukuPlayerDynamicConfig_.get(index);
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfigOrBuilder getDanmukuPlayerDynamicConfigOrBuilder(
+ int index) {
+ return danmukuPlayerDynamicConfig_.get(index);
+ }
+
+ 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 (danmukuDefaultPlayerConfig_ != null) {
+ output.writeMessage(1, getDanmukuDefaultPlayerConfig());
+ }
+ if (danmukuPlayerConfig_ != null) {
+ output.writeMessage(2, getDanmukuPlayerConfig());
+ }
+ for (int i = 0; i < danmukuPlayerDynamicConfig_.size(); i++) {
+ output.writeMessage(3, danmukuPlayerDynamicConfig_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (danmukuDefaultPlayerConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getDanmukuDefaultPlayerConfig());
+ }
+ if (danmukuPlayerConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getDanmukuPlayerConfig());
+ }
+ for (int i = 0; i < danmukuPlayerDynamicConfig_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, danmukuPlayerDynamicConfig_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig) obj;
+
+ if (hasDanmukuDefaultPlayerConfig() != other.hasDanmukuDefaultPlayerConfig()) return false;
+ if (hasDanmukuDefaultPlayerConfig()) {
+ if (!getDanmukuDefaultPlayerConfig()
+ .equals(other.getDanmukuDefaultPlayerConfig())) return false;
+ }
+ if (hasDanmukuPlayerConfig() != other.hasDanmukuPlayerConfig()) return false;
+ if (hasDanmukuPlayerConfig()) {
+ if (!getDanmukuPlayerConfig()
+ .equals(other.getDanmukuPlayerConfig())) return false;
+ }
+ if (!getDanmukuPlayerDynamicConfigList()
+ .equals(other.getDanmukuPlayerDynamicConfigList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasDanmukuDefaultPlayerConfig()) {
+ hash = (37 * hash) + DANMUKU_DEFAULT_PLAYER_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDanmukuDefaultPlayerConfig().hashCode();
+ }
+ if (hasDanmukuPlayerConfig()) {
+ hash = (37 * hash) + DANMUKU_PLAYER_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDanmukuPlayerConfig().hashCode();
+ }
+ if (getDanmukuPlayerDynamicConfigCount() > 0) {
+ hash = (37 * hash) + DANMUKU_PLAYER_DYNAMIC_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDanmukuPlayerDynamicConfigList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig 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 com.yutou.qqbot.bilibili.DanmuPlayerViewConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ * @return Whether the danmukuDefaultPlayerConfig field is set.
+ */
+ public boolean hasDanmukuDefaultPlayerConfig() {
+ return danmukuDefaultPlayerConfigBuilder_ != null || danmukuDefaultPlayerConfig_ != null;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ * @return The danmukuDefaultPlayerConfig.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig getDanmukuDefaultPlayerConfig() {
+ if (danmukuDefaultPlayerConfigBuilder_ == null) {
+ return danmukuDefaultPlayerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.getDefaultInstance() : danmukuDefaultPlayerConfig_;
+ } else {
+ return danmukuDefaultPlayerConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ public Builder setDanmukuDefaultPlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig value) {
+ if (danmukuDefaultPlayerConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ danmukuDefaultPlayerConfig_ = value;
+ onChanged();
+ } else {
+ danmukuDefaultPlayerConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ public Builder setDanmukuDefaultPlayerConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.Builder builderForValue) {
+ if (danmukuDefaultPlayerConfigBuilder_ == null) {
+ danmukuDefaultPlayerConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ danmukuDefaultPlayerConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ public Builder mergeDanmukuDefaultPlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig value) {
+ if (danmukuDefaultPlayerConfigBuilder_ == null) {
+ if (danmukuDefaultPlayerConfig_ != null) {
+ danmukuDefaultPlayerConfig_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.newBuilder(danmukuDefaultPlayerConfig_).mergeFrom(value).buildPartial();
+ } else {
+ danmukuDefaultPlayerConfig_ = value;
+ }
+ onChanged();
+ } else {
+ danmukuDefaultPlayerConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ public Builder clearDanmukuDefaultPlayerConfig() {
+ if (danmukuDefaultPlayerConfigBuilder_ == null) {
+ danmukuDefaultPlayerConfig_ = null;
+ onChanged();
+ } else {
+ danmukuDefaultPlayerConfig_ = null;
+ danmukuDefaultPlayerConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.Builder getDanmukuDefaultPlayerConfigBuilder() {
+
+ onChanged();
+ return getDanmukuDefaultPlayerConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfigOrBuilder getDanmukuDefaultPlayerConfigOrBuilder() {
+ if (danmukuDefaultPlayerConfigBuilder_ != null) {
+ return danmukuDefaultPlayerConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return danmukuDefaultPlayerConfig_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.getDefaultInstance() : danmukuDefaultPlayerConfig_;
+ }
+ }
+ /**
+ * + * 弹幕默认配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfigOrBuilder>
+ getDanmukuDefaultPlayerConfigFieldBuilder() {
+ if (danmukuDefaultPlayerConfigBuilder_ == null) {
+ danmukuDefaultPlayerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuDefaultPlayerConfigOrBuilder>(
+ getDanmukuDefaultPlayerConfig(),
+ getParentForChildren(),
+ isClean());
+ danmukuDefaultPlayerConfig_ = null;
+ }
+ return danmukuDefaultPlayerConfigBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig danmukuPlayerConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfigOrBuilder> danmukuPlayerConfigBuilder_;
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ * @return Whether the danmukuPlayerConfig field is set.
+ */
+ public boolean hasDanmukuPlayerConfig() {
+ return danmukuPlayerConfigBuilder_ != null || danmukuPlayerConfig_ != null;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ * @return The danmukuPlayerConfig.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig getDanmukuPlayerConfig() {
+ if (danmukuPlayerConfigBuilder_ == null) {
+ return danmukuPlayerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.getDefaultInstance() : danmukuPlayerConfig_;
+ } else {
+ return danmukuPlayerConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ public Builder setDanmukuPlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig value) {
+ if (danmukuPlayerConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ danmukuPlayerConfig_ = value;
+ onChanged();
+ } else {
+ danmukuPlayerConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ public Builder setDanmukuPlayerConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder builderForValue) {
+ if (danmukuPlayerConfigBuilder_ == null) {
+ danmukuPlayerConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ danmukuPlayerConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ public Builder mergeDanmukuPlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig value) {
+ if (danmukuPlayerConfigBuilder_ == null) {
+ if (danmukuPlayerConfig_ != null) {
+ danmukuPlayerConfig_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.newBuilder(danmukuPlayerConfig_).mergeFrom(value).buildPartial();
+ } else {
+ danmukuPlayerConfig_ = value;
+ }
+ onChanged();
+ } else {
+ danmukuPlayerConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ public Builder clearDanmukuPlayerConfig() {
+ if (danmukuPlayerConfigBuilder_ == null) {
+ danmukuPlayerConfig_ = null;
+ onChanged();
+ } else {
+ danmukuPlayerConfig_ = null;
+ danmukuPlayerConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder getDanmukuPlayerConfigBuilder() {
+
+ onChanged();
+ return getDanmukuPlayerConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfigOrBuilder getDanmukuPlayerConfigOrBuilder() {
+ if (danmukuPlayerConfigBuilder_ != null) {
+ return danmukuPlayerConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return danmukuPlayerConfig_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.getDefaultInstance() : danmukuPlayerConfig_;
+ }
+ }
+ /**
+ * + * 弹幕用户配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerConfig danmuku_player_config = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfigOrBuilder>
+ getDanmukuPlayerConfigFieldBuilder() {
+ if (danmukuPlayerConfigBuilder_ == null) {
+ danmukuPlayerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerConfigOrBuilder>(
+ getDanmukuPlayerConfig(),
+ getParentForChildren(),
+ isClean());
+ danmukuPlayerConfig_ = null;
+ }
+ return danmukuPlayerConfigBuilder_;
+ }
+
+ private java.util.List+ * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public java.util.List+ * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public int getDanmukuPlayerDynamicConfigCount() {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ return danmukuPlayerDynamicConfig_.size();
+ } else {
+ return danmukuPlayerDynamicConfigBuilder_.getCount();
+ }
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig getDanmukuPlayerDynamicConfig(int index) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ return danmukuPlayerDynamicConfig_.get(index);
+ } else {
+ return danmukuPlayerDynamicConfigBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder setDanmukuPlayerDynamicConfig(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig value) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.set(index, value);
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder setDanmukuPlayerDynamicConfig(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder builderForValue) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder addDanmukuPlayerDynamicConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig value) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.add(value);
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder addDanmukuPlayerDynamicConfig(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig value) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.add(index, value);
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder addDanmukuPlayerDynamicConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder builderForValue) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.add(builderForValue.build());
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder addDanmukuPlayerDynamicConfig(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder builderForValue) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder addAllDanmukuPlayerDynamicConfig(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig> values) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, danmukuPlayerDynamicConfig_);
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder clearDanmukuPlayerDynamicConfig() {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ danmukuPlayerDynamicConfig_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public Builder removeDanmukuPlayerDynamicConfig(int index) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ ensureDanmukuPlayerDynamicConfigIsMutable();
+ danmukuPlayerDynamicConfig_.remove(index);
+ onChanged();
+ } else {
+ danmukuPlayerDynamicConfigBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder getDanmukuPlayerDynamicConfigBuilder(
+ int index) {
+ return getDanmukuPlayerDynamicConfigFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfigOrBuilder getDanmukuPlayerDynamicConfigOrBuilder(
+ int index) {
+ if (danmukuPlayerDynamicConfigBuilder_ == null) {
+ return danmukuPlayerDynamicConfig_.get(index); } else {
+ return danmukuPlayerDynamicConfigBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfigOrBuilder>
+ getDanmukuPlayerDynamicConfigOrBuilderList() {
+ if (danmukuPlayerDynamicConfigBuilder_ != null) {
+ return danmukuPlayerDynamicConfigBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(danmukuPlayerDynamicConfig_);
+ }
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder addDanmukuPlayerDynamicConfigBuilder() {
+ return getDanmukuPlayerDynamicConfigFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.Builder addDanmukuPlayerDynamicConfigBuilder(
+ int index) {
+ return getDanmukuPlayerDynamicConfigFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerDynamicConfig.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕显示区域自动配置列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
+ */
+ public java.util.List+ * 是否开启弹幕 + *+ * + *
bool dm_switch = 1;
+ * @return The dmSwitch.
+ */
+ boolean getDmSwitch();
+
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool ai_switch = 2;
+ * @return The aiSwitch.
+ */
+ boolean getAiSwitch();
+
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 ai_level = 3;
+ * @return The aiLevel.
+ */
+ int getAiLevel();
+
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool blocktop = 4;
+ * @return The blocktop.
+ */
+ boolean getBlocktop();
+
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool blockscroll = 5;
+ * @return The blockscroll.
+ */
+ boolean getBlockscroll();
+
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool blockbottom = 6;
+ * @return The blockbottom.
+ */
+ boolean getBlockbottom();
+
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool blockcolor = 7;
+ * @return The blockcolor.
+ */
+ boolean getBlockcolor();
+
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool blockspecial = 8;
+ * @return The blockspecial.
+ */
+ boolean getBlockspecial();
+
+ /**
+ * + * + *+ * + *
bool preventshade = 9;
+ * @return The preventshade.
+ */
+ boolean getPreventshade();
+
+ /**
+ * + * + *+ * + *
bool dmask = 10;
+ * @return The dmask.
+ */
+ boolean getDmask();
+
+ /**
+ * + * + *+ * + *
float opacity = 11;
+ * @return The opacity.
+ */
+ float getOpacity();
+
+ /**
+ * + * + *+ * + *
int32 dmarea = 12;
+ * @return The dmarea.
+ */
+ int getDmarea();
+
+ /**
+ * + * + *+ * + *
float speedplus = 13;
+ * @return The speedplus.
+ */
+ float getSpeedplus();
+
+ /**
+ * + * 弹幕字号 + *+ * + *
float fontsize = 14;
+ * @return The fontsize.
+ */
+ float getFontsize();
+
+ /**
+ * + * + *+ * + *
bool screensync = 15;
+ * @return The screensync.
+ */
+ boolean getScreensync();
+
+ /**
+ * + * + *+ * + *
bool speedsync = 16;
+ * @return The speedsync.
+ */
+ boolean getSpeedsync();
+
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return The fontfamily.
+ */
+ java.lang.String getFontfamily();
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return The bytes for fontfamily.
+ */
+ com.google.protobuf.ByteString
+ getFontfamilyBytes();
+
+ /**
+ * + * 是否使用加粗 + *+ * + *
bool bold = 18;
+ * @return The bold.
+ */
+ boolean getBold();
+
+ /**
+ * + * + *+ * + *
int32 fontborder = 19;
+ * @return The fontborder.
+ */
+ int getFontborder();
+
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return The drawType.
+ */
+ java.lang.String getDrawType();
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return The bytes for drawType.
+ */
+ com.google.protobuf.ByteString
+ getDrawTypeBytes();
+
+ /**
+ * + *+ * + *
int32 senior_mode_switch = 21;
+ * @return The seniorModeSwitch.
+ */
+ int getSeniorModeSwitch();
+ }
+ /**
+ * + * web端用户弹幕配置 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmuWebPlayerConfig} + */ + public static final class DanmuWebPlayerConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DanmuWebPlayerConfig) + DanmuWebPlayerConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DanmuWebPlayerConfig.newBuilder() to construct. + private DanmuWebPlayerConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DanmuWebPlayerConfig() { + fontfamily_ = ""; + drawType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DanmuWebPlayerConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DanmuWebPlayerConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + dmSwitch_ = input.readBool(); + break; + } + case 16: { + + aiSwitch_ = input.readBool(); + break; + } + case 24: { + + aiLevel_ = input.readInt32(); + break; + } + case 32: { + + blocktop_ = input.readBool(); + break; + } + case 40: { + + blockscroll_ = input.readBool(); + break; + } + case 48: { + + blockbottom_ = input.readBool(); + break; + } + case 56: { + + blockcolor_ = input.readBool(); + break; + } + case 64: { + + blockspecial_ = input.readBool(); + break; + } + case 72: { + + preventshade_ = input.readBool(); + break; + } + case 80: { + + dmask_ = input.readBool(); + break; + } + case 93: { + + opacity_ = input.readFloat(); + break; + } + case 96: { + + dmarea_ = input.readInt32(); + break; + } + case 109: { + + speedplus_ = input.readFloat(); + break; + } + case 117: { + + fontsize_ = input.readFloat(); + break; + } + case 120: { + + screensync_ = input.readBool(); + break; + } + case 128: { + + speedsync_ = input.readBool(); + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + + fontfamily_ = s; + break; + } + case 144: { + + bold_ = input.readBool(); + break; + } + case 152: { + + fontborder_ = input.readInt32(); + break; + } + case 162: { + java.lang.String s = input.readStringRequireUtf8(); + + drawType_ = s; + break; + } + case 168: { + + seniorModeSwitch_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuWebPlayerConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DanmuWebPlayerConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.Builder.class); + } + + public static final int DM_SWITCH_FIELD_NUMBER = 1; + private boolean dmSwitch_; + /** + *
+ * 是否开启弹幕 + *+ * + *
bool dm_switch = 1;
+ * @return The dmSwitch.
+ */
+ @java.lang.Override
+ public boolean getDmSwitch() {
+ return dmSwitch_;
+ }
+
+ public static final int AI_SWITCH_FIELD_NUMBER = 2;
+ private boolean aiSwitch_;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool ai_switch = 2;
+ * @return The aiSwitch.
+ */
+ @java.lang.Override
+ public boolean getAiSwitch() {
+ return aiSwitch_;
+ }
+
+ public static final int AI_LEVEL_FIELD_NUMBER = 3;
+ private int aiLevel_;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 ai_level = 3;
+ * @return The aiLevel.
+ */
+ @java.lang.Override
+ public int getAiLevel() {
+ return aiLevel_;
+ }
+
+ public static final int BLOCKTOP_FIELD_NUMBER = 4;
+ private boolean blocktop_;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool blocktop = 4;
+ * @return The blocktop.
+ */
+ @java.lang.Override
+ public boolean getBlocktop() {
+ return blocktop_;
+ }
+
+ public static final int BLOCKSCROLL_FIELD_NUMBER = 5;
+ private boolean blockscroll_;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool blockscroll = 5;
+ * @return The blockscroll.
+ */
+ @java.lang.Override
+ public boolean getBlockscroll() {
+ return blockscroll_;
+ }
+
+ public static final int BLOCKBOTTOM_FIELD_NUMBER = 6;
+ private boolean blockbottom_;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool blockbottom = 6;
+ * @return The blockbottom.
+ */
+ @java.lang.Override
+ public boolean getBlockbottom() {
+ return blockbottom_;
+ }
+
+ public static final int BLOCKCOLOR_FIELD_NUMBER = 7;
+ private boolean blockcolor_;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool blockcolor = 7;
+ * @return The blockcolor.
+ */
+ @java.lang.Override
+ public boolean getBlockcolor() {
+ return blockcolor_;
+ }
+
+ public static final int BLOCKSPECIAL_FIELD_NUMBER = 8;
+ private boolean blockspecial_;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool blockspecial = 8;
+ * @return The blockspecial.
+ */
+ @java.lang.Override
+ public boolean getBlockspecial() {
+ return blockspecial_;
+ }
+
+ public static final int PREVENTSHADE_FIELD_NUMBER = 9;
+ private boolean preventshade_;
+ /**
+ * + * + *+ * + *
bool preventshade = 9;
+ * @return The preventshade.
+ */
+ @java.lang.Override
+ public boolean getPreventshade() {
+ return preventshade_;
+ }
+
+ public static final int DMASK_FIELD_NUMBER = 10;
+ private boolean dmask_;
+ /**
+ * + * + *+ * + *
bool dmask = 10;
+ * @return The dmask.
+ */
+ @java.lang.Override
+ public boolean getDmask() {
+ return dmask_;
+ }
+
+ public static final int OPACITY_FIELD_NUMBER = 11;
+ private float opacity_;
+ /**
+ * + * + *+ * + *
float opacity = 11;
+ * @return The opacity.
+ */
+ @java.lang.Override
+ public float getOpacity() {
+ return opacity_;
+ }
+
+ public static final int DMAREA_FIELD_NUMBER = 12;
+ private int dmarea_;
+ /**
+ * + * + *+ * + *
int32 dmarea = 12;
+ * @return The dmarea.
+ */
+ @java.lang.Override
+ public int getDmarea() {
+ return dmarea_;
+ }
+
+ public static final int SPEEDPLUS_FIELD_NUMBER = 13;
+ private float speedplus_;
+ /**
+ * + * + *+ * + *
float speedplus = 13;
+ * @return The speedplus.
+ */
+ @java.lang.Override
+ public float getSpeedplus() {
+ return speedplus_;
+ }
+
+ public static final int FONTSIZE_FIELD_NUMBER = 14;
+ private float fontsize_;
+ /**
+ * + * 弹幕字号 + *+ * + *
float fontsize = 14;
+ * @return The fontsize.
+ */
+ @java.lang.Override
+ public float getFontsize() {
+ return fontsize_;
+ }
+
+ public static final int SCREENSYNC_FIELD_NUMBER = 15;
+ private boolean screensync_;
+ /**
+ * + * + *+ * + *
bool screensync = 15;
+ * @return The screensync.
+ */
+ @java.lang.Override
+ public boolean getScreensync() {
+ return screensync_;
+ }
+
+ public static final int SPEEDSYNC_FIELD_NUMBER = 16;
+ private boolean speedsync_;
+ /**
+ * + * + *+ * + *
bool speedsync = 16;
+ * @return The speedsync.
+ */
+ @java.lang.Override
+ public boolean getSpeedsync() {
+ return speedsync_;
+ }
+
+ public static final int FONTFAMILY_FIELD_NUMBER = 17;
+ private volatile java.lang.Object fontfamily_;
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return The fontfamily.
+ */
+ @java.lang.Override
+ public java.lang.String getFontfamily() {
+ java.lang.Object ref = fontfamily_;
+ 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();
+ fontfamily_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return The bytes for fontfamily.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getFontfamilyBytes() {
+ java.lang.Object ref = fontfamily_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fontfamily_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int BOLD_FIELD_NUMBER = 18;
+ private boolean bold_;
+ /**
+ * + * 是否使用加粗 + *+ * + *
bool bold = 18;
+ * @return The bold.
+ */
+ @java.lang.Override
+ public boolean getBold() {
+ return bold_;
+ }
+
+ public static final int FONTBORDER_FIELD_NUMBER = 19;
+ private int fontborder_;
+ /**
+ * + * + *+ * + *
int32 fontborder = 19;
+ * @return The fontborder.
+ */
+ @java.lang.Override
+ public int getFontborder() {
+ return fontborder_;
+ }
+
+ public static final int DRAW_TYPE_FIELD_NUMBER = 20;
+ private volatile java.lang.Object drawType_;
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return The drawType.
+ */
+ @java.lang.Override
+ public java.lang.String getDrawType() {
+ java.lang.Object ref = drawType_;
+ 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();
+ drawType_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return The bytes for drawType.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDrawTypeBytes() {
+ java.lang.Object ref = drawType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ drawType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SENIOR_MODE_SWITCH_FIELD_NUMBER = 21;
+ private int seniorModeSwitch_;
+ /**
+ * + *+ * + *
int32 senior_mode_switch = 21;
+ * @return The seniorModeSwitch.
+ */
+ @java.lang.Override
+ public int getSeniorModeSwitch() {
+ return seniorModeSwitch_;
+ }
+
+ 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 (dmSwitch_ != false) {
+ output.writeBool(1, dmSwitch_);
+ }
+ if (aiSwitch_ != false) {
+ output.writeBool(2, aiSwitch_);
+ }
+ if (aiLevel_ != 0) {
+ output.writeInt32(3, aiLevel_);
+ }
+ if (blocktop_ != false) {
+ output.writeBool(4, blocktop_);
+ }
+ if (blockscroll_ != false) {
+ output.writeBool(5, blockscroll_);
+ }
+ if (blockbottom_ != false) {
+ output.writeBool(6, blockbottom_);
+ }
+ if (blockcolor_ != false) {
+ output.writeBool(7, blockcolor_);
+ }
+ if (blockspecial_ != false) {
+ output.writeBool(8, blockspecial_);
+ }
+ if (preventshade_ != false) {
+ output.writeBool(9, preventshade_);
+ }
+ if (dmask_ != false) {
+ output.writeBool(10, dmask_);
+ }
+ if (java.lang.Float.floatToRawIntBits(opacity_) != 0) {
+ output.writeFloat(11, opacity_);
+ }
+ if (dmarea_ != 0) {
+ output.writeInt32(12, dmarea_);
+ }
+ if (java.lang.Float.floatToRawIntBits(speedplus_) != 0) {
+ output.writeFloat(13, speedplus_);
+ }
+ if (java.lang.Float.floatToRawIntBits(fontsize_) != 0) {
+ output.writeFloat(14, fontsize_);
+ }
+ if (screensync_ != false) {
+ output.writeBool(15, screensync_);
+ }
+ if (speedsync_ != false) {
+ output.writeBool(16, speedsync_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontfamily_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 17, fontfamily_);
+ }
+ if (bold_ != false) {
+ output.writeBool(18, bold_);
+ }
+ if (fontborder_ != 0) {
+ output.writeInt32(19, fontborder_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drawType_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 20, drawType_);
+ }
+ if (seniorModeSwitch_ != 0) {
+ output.writeInt32(21, seniorModeSwitch_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (dmSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, dmSwitch_);
+ }
+ if (aiSwitch_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(2, aiSwitch_);
+ }
+ if (aiLevel_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, aiLevel_);
+ }
+ if (blocktop_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(4, blocktop_);
+ }
+ if (blockscroll_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(5, blockscroll_);
+ }
+ if (blockbottom_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, blockbottom_);
+ }
+ if (blockcolor_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(7, blockcolor_);
+ }
+ if (blockspecial_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(8, blockspecial_);
+ }
+ if (preventshade_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(9, preventshade_);
+ }
+ if (dmask_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(10, dmask_);
+ }
+ if (java.lang.Float.floatToRawIntBits(opacity_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(11, opacity_);
+ }
+ if (dmarea_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(12, dmarea_);
+ }
+ if (java.lang.Float.floatToRawIntBits(speedplus_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(13, speedplus_);
+ }
+ if (java.lang.Float.floatToRawIntBits(fontsize_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeFloatSize(14, fontsize_);
+ }
+ if (screensync_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(15, screensync_);
+ }
+ if (speedsync_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(16, speedsync_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontfamily_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, fontfamily_);
+ }
+ if (bold_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(18, bold_);
+ }
+ if (fontborder_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(19, fontborder_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drawType_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, drawType_);
+ }
+ if (seniorModeSwitch_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(21, seniorModeSwitch_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig) obj;
+
+ if (getDmSwitch()
+ != other.getDmSwitch()) return false;
+ if (getAiSwitch()
+ != other.getAiSwitch()) return false;
+ if (getAiLevel()
+ != other.getAiLevel()) return false;
+ if (getBlocktop()
+ != other.getBlocktop()) return false;
+ if (getBlockscroll()
+ != other.getBlockscroll()) return false;
+ if (getBlockbottom()
+ != other.getBlockbottom()) return false;
+ if (getBlockcolor()
+ != other.getBlockcolor()) return false;
+ if (getBlockspecial()
+ != other.getBlockspecial()) return false;
+ if (getPreventshade()
+ != other.getPreventshade()) return false;
+ if (getDmask()
+ != other.getDmask()) return false;
+ if (java.lang.Float.floatToIntBits(getOpacity())
+ != java.lang.Float.floatToIntBits(
+ other.getOpacity())) return false;
+ if (getDmarea()
+ != other.getDmarea()) return false;
+ if (java.lang.Float.floatToIntBits(getSpeedplus())
+ != java.lang.Float.floatToIntBits(
+ other.getSpeedplus())) return false;
+ if (java.lang.Float.floatToIntBits(getFontsize())
+ != java.lang.Float.floatToIntBits(
+ other.getFontsize())) return false;
+ if (getScreensync()
+ != other.getScreensync()) return false;
+ if (getSpeedsync()
+ != other.getSpeedsync()) return false;
+ if (!getFontfamily()
+ .equals(other.getFontfamily())) return false;
+ if (getBold()
+ != other.getBold()) return false;
+ if (getFontborder()
+ != other.getFontborder()) return false;
+ if (!getDrawType()
+ .equals(other.getDrawType())) return false;
+ if (getSeniorModeSwitch()
+ != other.getSeniorModeSwitch()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DM_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getDmSwitch());
+ hash = (37 * hash) + AI_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getAiSwitch());
+ hash = (37 * hash) + AI_LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getAiLevel();
+ hash = (37 * hash) + BLOCKTOP_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBlocktop());
+ hash = (37 * hash) + BLOCKSCROLL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBlockscroll());
+ hash = (37 * hash) + BLOCKBOTTOM_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBlockbottom());
+ hash = (37 * hash) + BLOCKCOLOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBlockcolor());
+ hash = (37 * hash) + BLOCKSPECIAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBlockspecial());
+ hash = (37 * hash) + PREVENTSHADE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getPreventshade());
+ hash = (37 * hash) + DMASK_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getDmask());
+ hash = (37 * hash) + OPACITY_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getOpacity());
+ hash = (37 * hash) + DMAREA_FIELD_NUMBER;
+ hash = (53 * hash) + getDmarea();
+ hash = (37 * hash) + SPEEDPLUS_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getSpeedplus());
+ hash = (37 * hash) + FONTSIZE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(
+ getFontsize());
+ hash = (37 * hash) + SCREENSYNC_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getScreensync());
+ hash = (37 * hash) + SPEEDSYNC_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getSpeedsync());
+ hash = (37 * hash) + FONTFAMILY_FIELD_NUMBER;
+ hash = (53 * hash) + getFontfamily().hashCode();
+ hash = (37 * hash) + BOLD_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getBold());
+ hash = (37 * hash) + FONTBORDER_FIELD_NUMBER;
+ hash = (53 * hash) + getFontborder();
+ hash = (37 * hash) + DRAW_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getDrawType().hashCode();
+ hash = (37 * hash) + SENIOR_MODE_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getSeniorModeSwitch();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig 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;
+ }
+ /**
+ * + * web端用户弹幕配置 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DanmuWebPlayerConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否开启弹幕 + *+ * + *
bool dm_switch = 1;
+ * @return The dmSwitch.
+ */
+ @java.lang.Override
+ public boolean getDmSwitch() {
+ return dmSwitch_;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool dm_switch = 1;
+ * @param value The dmSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDmSwitch(boolean value) {
+
+ dmSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
bool dm_switch = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearDmSwitch() {
+
+ dmSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean aiSwitch_ ;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool ai_switch = 2;
+ * @return The aiSwitch.
+ */
+ @java.lang.Override
+ public boolean getAiSwitch() {
+ return aiSwitch_;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool ai_switch = 2;
+ * @param value The aiSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAiSwitch(boolean value) {
+
+ aiSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
bool ai_switch = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearAiSwitch() {
+
+ aiSwitch_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int aiLevel_ ;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 ai_level = 3;
+ * @return The aiLevel.
+ */
+ @java.lang.Override
+ public int getAiLevel() {
+ return aiLevel_;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 ai_level = 3;
+ * @param value The aiLevel to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAiLevel(int value) {
+
+ aiLevel_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
int32 ai_level = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearAiLevel() {
+
+ aiLevel_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean blocktop_ ;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool blocktop = 4;
+ * @return The blocktop.
+ */
+ @java.lang.Override
+ public boolean getBlocktop() {
+ return blocktop_;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool blocktop = 4;
+ * @param value The blocktop to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBlocktop(boolean value) {
+
+ blocktop_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
bool blocktop = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearBlocktop() {
+
+ blocktop_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean blockscroll_ ;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool blockscroll = 5;
+ * @return The blockscroll.
+ */
+ @java.lang.Override
+ public boolean getBlockscroll() {
+ return blockscroll_;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool blockscroll = 5;
+ * @param value The blockscroll to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBlockscroll(boolean value) {
+
+ blockscroll_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
bool blockscroll = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearBlockscroll() {
+
+ blockscroll_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean blockbottom_ ;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool blockbottom = 6;
+ * @return The blockbottom.
+ */
+ @java.lang.Override
+ public boolean getBlockbottom() {
+ return blockbottom_;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool blockbottom = 6;
+ * @param value The blockbottom to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBlockbottom(boolean value) {
+
+ blockbottom_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
bool blockbottom = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearBlockbottom() {
+
+ blockbottom_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean blockcolor_ ;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool blockcolor = 7;
+ * @return The blockcolor.
+ */
+ @java.lang.Override
+ public boolean getBlockcolor() {
+ return blockcolor_;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool blockcolor = 7;
+ * @param value The blockcolor to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBlockcolor(boolean value) {
+
+ blockcolor_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
bool blockcolor = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearBlockcolor() {
+
+ blockcolor_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean blockspecial_ ;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool blockspecial = 8;
+ * @return The blockspecial.
+ */
+ @java.lang.Override
+ public boolean getBlockspecial() {
+ return blockspecial_;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool blockspecial = 8;
+ * @param value The blockspecial to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBlockspecial(boolean value) {
+
+ blockspecial_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
bool blockspecial = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearBlockspecial() {
+
+ blockspecial_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean preventshade_ ;
+ /**
+ * + * + *+ * + *
bool preventshade = 9;
+ * @return The preventshade.
+ */
+ @java.lang.Override
+ public boolean getPreventshade() {
+ return preventshade_;
+ }
+ /**
+ * + * + *+ * + *
bool preventshade = 9;
+ * @param value The preventshade to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPreventshade(boolean value) {
+
+ preventshade_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
bool preventshade = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearPreventshade() {
+
+ preventshade_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean dmask_ ;
+ /**
+ * + * + *+ * + *
bool dmask = 10;
+ * @return The dmask.
+ */
+ @java.lang.Override
+ public boolean getDmask() {
+ return dmask_;
+ }
+ /**
+ * + * + *+ * + *
bool dmask = 10;
+ * @param value The dmask to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDmask(boolean value) {
+
+ dmask_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
bool dmask = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearDmask() {
+
+ dmask_ = false;
+ onChanged();
+ return this;
+ }
+
+ private float opacity_ ;
+ /**
+ * + * + *+ * + *
float opacity = 11;
+ * @return The opacity.
+ */
+ @java.lang.Override
+ public float getOpacity() {
+ return opacity_;
+ }
+ /**
+ * + * + *+ * + *
float opacity = 11;
+ * @param value The opacity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOpacity(float value) {
+
+ opacity_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
float opacity = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearOpacity() {
+
+ opacity_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private int dmarea_ ;
+ /**
+ * + * + *+ * + *
int32 dmarea = 12;
+ * @return The dmarea.
+ */
+ @java.lang.Override
+ public int getDmarea() {
+ return dmarea_;
+ }
+ /**
+ * + * + *+ * + *
int32 dmarea = 12;
+ * @param value The dmarea to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDmarea(int value) {
+
+ dmarea_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
int32 dmarea = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearDmarea() {
+
+ dmarea_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private float speedplus_ ;
+ /**
+ * + * + *+ * + *
float speedplus = 13;
+ * @return The speedplus.
+ */
+ @java.lang.Override
+ public float getSpeedplus() {
+ return speedplus_;
+ }
+ /**
+ * + * + *+ * + *
float speedplus = 13;
+ * @param value The speedplus to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpeedplus(float value) {
+
+ speedplus_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
float speedplus = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpeedplus() {
+
+ speedplus_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private float fontsize_ ;
+ /**
+ * + * 弹幕字号 + *+ * + *
float fontsize = 14;
+ * @return The fontsize.
+ */
+ @java.lang.Override
+ public float getFontsize() {
+ return fontsize_;
+ }
+ /**
+ * + * 弹幕字号 + *+ * + *
float fontsize = 14;
+ * @param value The fontsize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFontsize(float value) {
+
+ fontsize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕字号 + *+ * + *
float fontsize = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearFontsize() {
+
+ fontsize_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private boolean screensync_ ;
+ /**
+ * + * + *+ * + *
bool screensync = 15;
+ * @return The screensync.
+ */
+ @java.lang.Override
+ public boolean getScreensync() {
+ return screensync_;
+ }
+ /**
+ * + * + *+ * + *
bool screensync = 15;
+ * @param value The screensync to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScreensync(boolean value) {
+
+ screensync_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
bool screensync = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearScreensync() {
+
+ screensync_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean speedsync_ ;
+ /**
+ * + * + *+ * + *
bool speedsync = 16;
+ * @return The speedsync.
+ */
+ @java.lang.Override
+ public boolean getSpeedsync() {
+ return speedsync_;
+ }
+ /**
+ * + * + *+ * + *
bool speedsync = 16;
+ * @param value The speedsync to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpeedsync(boolean value) {
+
+ speedsync_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
bool speedsync = 16;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpeedsync() {
+
+ speedsync_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object fontfamily_ = "";
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return The fontfamily.
+ */
+ public java.lang.String getFontfamily() {
+ java.lang.Object ref = fontfamily_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ fontfamily_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return The bytes for fontfamily.
+ */
+ public com.google.protobuf.ByteString
+ getFontfamilyBytes() {
+ java.lang.Object ref = fontfamily_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fontfamily_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @param value The fontfamily to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFontfamily(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ fontfamily_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @return This builder for chaining.
+ */
+ public Builder clearFontfamily() {
+
+ fontfamily_ = getDefaultInstance().getFontfamily();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
string fontfamily = 17;
+ * @param value The bytes for fontfamily to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFontfamilyBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ fontfamily_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean bold_ ;
+ /**
+ * + * 是否使用加粗 + *+ * + *
bool bold = 18;
+ * @return The bold.
+ */
+ @java.lang.Override
+ public boolean getBold() {
+ return bold_;
+ }
+ /**
+ * + * 是否使用加粗 + *+ * + *
bool bold = 18;
+ * @param value The bold to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBold(boolean value) {
+
+ bold_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否使用加粗 + *+ * + *
bool bold = 18;
+ * @return This builder for chaining.
+ */
+ public Builder clearBold() {
+
+ bold_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int fontborder_ ;
+ /**
+ * + * + *+ * + *
int32 fontborder = 19;
+ * @return The fontborder.
+ */
+ @java.lang.Override
+ public int getFontborder() {
+ return fontborder_;
+ }
+ /**
+ * + * + *+ * + *
int32 fontborder = 19;
+ * @param value The fontborder to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFontborder(int value) {
+
+ fontborder_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * + *+ * + *
int32 fontborder = 19;
+ * @return This builder for chaining.
+ */
+ public Builder clearFontborder() {
+
+ fontborder_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object drawType_ = "";
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return The drawType.
+ */
+ public java.lang.String getDrawType() {
+ java.lang.Object ref = drawType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ drawType_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return The bytes for drawType.
+ */
+ public com.google.protobuf.ByteString
+ getDrawTypeBytes() {
+ java.lang.Object ref = drawType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ drawType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @param value The drawType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDrawType(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ drawType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @return This builder for chaining.
+ */
+ public Builder clearDrawType() {
+
+ drawType_ = getDefaultInstance().getDrawType();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕渲染类型 + *+ * + *
string draw_type = 20;
+ * @param value The bytes for drawType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDrawTypeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ drawType_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int seniorModeSwitch_ ;
+ /**
+ * + *+ * + *
int32 senior_mode_switch = 21;
+ * @return The seniorModeSwitch.
+ */
+ @java.lang.Override
+ public int getSeniorModeSwitch() {
+ return seniorModeSwitch_;
+ }
+ /**
+ * + *+ * + *
int32 senior_mode_switch = 21;
+ * @param value The seniorModeSwitch to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSeniorModeSwitch(int value) {
+
+ seniorModeSwitch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int32 senior_mode_switch = 21;
+ * @return This builder for chaining.
+ */
+ public Builder clearSeniorModeSwitch() {
+
+ seniorModeSwitch_ = 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:com.yutou.qqbot.bilibili.DanmuWebPlayerConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DanmuWebPlayerConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *+ * + *
string session_id = 1;
+ * @return The sessionId.
+ */
+ java.lang.String getSessionId();
+ /**
+ * + *+ * + *
string session_id = 1;
+ * @return The bytes for sessionId.
+ */
+ com.google.protobuf.ByteString
+ getSessionIdBytes();
+
+ /**
+ * + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ long getOid();
+
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return The spmid.
+ */
+ java.lang.String getSpmid();
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return The bytes for spmid.
+ */
+ com.google.protobuf.ByteString
+ getSpmidBytes();
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmExpoReportReq} + */ + public static final class DmExpoReportReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmExpoReportReq) + DmExpoReportReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmExpoReportReq.newBuilder() to construct. + private DmExpoReportReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmExpoReportReq() { + sessionId_ = ""; + spmid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmExpoReportReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmExpoReportReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + sessionId_ = s; + break; + } + case 16: { + + oid_ = input.readInt64(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + spmid_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmExpoReportReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmExpoReportReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq.class, com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq.Builder.class); + } + + public static final int SESSION_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object sessionId_; + /** + *
+ *+ * + *
string session_id = 1;
+ * @return The sessionId.
+ */
+ @java.lang.Override
+ public java.lang.String getSessionId() {
+ java.lang.Object ref = sessionId_;
+ 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();
+ sessionId_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string session_id = 1;
+ * @return The bytes for sessionId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getSessionIdBytes() {
+ java.lang.Object ref = sessionId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sessionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int OID_FIELD_NUMBER = 2;
+ private long oid_;
+ /**
+ * + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+
+ public static final int SPMID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object spmid_;
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return The spmid.
+ */
+ @java.lang.Override
+ public java.lang.String getSpmid() {
+ java.lang.Object ref = spmid_;
+ 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();
+ spmid_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return The bytes for spmid.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getSpmidBytes() {
+ java.lang.Object ref = spmid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ spmid_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_);
+ }
+ if (oid_ != 0L) {
+ output.writeInt64(2, oid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spmid_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spmid_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_);
+ }
+ if (oid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, oid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spmid_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, spmid_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq other = (com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq) obj;
+
+ if (!getSessionId()
+ .equals(other.getSessionId())) return false;
+ if (getOid()
+ != other.getOid()) return false;
+ if (!getSpmid()
+ .equals(other.getSpmid())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SESSION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getSessionId().hashCode();
+ hash = (37 * hash) + OID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getOid());
+ hash = (37 * hash) + SPMID_FIELD_NUMBER;
+ hash = (53 * hash) + getSpmid().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq 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(com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq 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 com.yutou.qqbot.bilibili.DmExpoReportReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
string session_id = 1;
+ * @return The sessionId.
+ */
+ public java.lang.String getSessionId() {
+ java.lang.Object ref = sessionId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sessionId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string session_id = 1;
+ * @return The bytes for sessionId.
+ */
+ public com.google.protobuf.ByteString
+ getSessionIdBytes() {
+ java.lang.Object ref = sessionId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sessionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string session_id = 1;
+ * @param value The sessionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSessionId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sessionId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string session_id = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearSessionId() {
+
+ sessionId_ = getDefaultInstance().getSessionId();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string session_id = 1;
+ * @param value The bytes for sessionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSessionIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sessionId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private long oid_ ;
+ /**
+ * + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+ /**
+ * + *+ * + *
int64 oid = 2;
+ * @param value The oid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOid(long value) {
+
+ oid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 oid = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearOid() {
+
+ oid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object spmid_ = "";
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return The spmid.
+ */
+ public java.lang.String getSpmid() {
+ java.lang.Object ref = spmid_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ spmid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return The bytes for spmid.
+ */
+ public com.google.protobuf.ByteString
+ getSpmidBytes() {
+ java.lang.Object ref = spmid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ spmid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @param value The spmid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpmid(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ spmid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpmid() {
+
+ spmid_ = getDefaultInstance().getSpmid();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string spmid = 4;
+ * @param value The bytes for spmid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpmidBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ spmid_ = value;
+ 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:com.yutou.qqbot.bilibili.DmExpoReportReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmExpoReportReq)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmExpoReportRes} + */ + public static final class DmExpoReportRes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmExpoReportRes) + DmExpoReportResOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmExpoReportRes.newBuilder() to construct. + private DmExpoReportRes(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmExpoReportRes() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmExpoReportRes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmExpoReportRes( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmExpoReportRes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmExpoReportRes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes.class, com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes.Builder.class); + } + + 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 { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes)) { + return super.equals(obj); + } + com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes other = (com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes 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 com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes 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 com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes 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(com.yutou.qqbot.bilibili.VideoDanMu.DmExpoReportRes 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 com.yutou.qqbot.bilibili.DmExpoReportRes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
int64 ts = 1;
+ * @return The ts.
+ */
+ long getTs();
+
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ * @return Whether the switch field is set.
+ */
+ boolean hasSwitch();
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ * @return The switch.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch getSwitch();
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchOrBuilder getSwitchOrBuilder();
+
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ * @return Whether the switchSave field is set.
+ */
+ boolean hasSwitchSave();
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ * @return The switchSave.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave getSwitchSave();
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSaveOrBuilder getSwitchSaveOrBuilder();
+
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ * @return Whether the useDefaultConfig field is set.
+ */
+ boolean hasUseDefaultConfig();
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ * @return The useDefaultConfig.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig getUseDefaultConfig();
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfigOrBuilder getUseDefaultConfigOrBuilder();
+
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ * @return Whether the aiRecommendedSwitch field is set.
+ */
+ boolean hasAiRecommendedSwitch();
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ * @return The aiRecommendedSwitch.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch getAiRecommendedSwitch();
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitchOrBuilder getAiRecommendedSwitchOrBuilder();
+
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ * @return Whether the aiRecommendedLevel field is set.
+ */
+ boolean hasAiRecommendedLevel();
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ * @return The aiRecommendedLevel.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel getAiRecommendedLevel();
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevelOrBuilder getAiRecommendedLevelOrBuilder();
+
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ * @return Whether the blocktop field is set.
+ */
+ boolean hasBlocktop();
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ * @return The blocktop.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop getBlocktop();
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktopOrBuilder getBlocktopOrBuilder();
+
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ * @return Whether the blockscroll field is set.
+ */
+ boolean hasBlockscroll();
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ * @return The blockscroll.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll getBlockscroll();
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscrollOrBuilder getBlockscrollOrBuilder();
+
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ * @return Whether the blockbottom field is set.
+ */
+ boolean hasBlockbottom();
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ * @return The blockbottom.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom getBlockbottom();
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottomOrBuilder getBlockbottomOrBuilder();
+
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ * @return Whether the blockcolorful field is set.
+ */
+ boolean hasBlockcolorful();
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ * @return The blockcolorful.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful getBlockcolorful();
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorfulOrBuilder getBlockcolorfulOrBuilder();
+
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ * @return Whether the blockrepeat field is set.
+ */
+ boolean hasBlockrepeat();
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ * @return The blockrepeat.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat getBlockrepeat();
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeatOrBuilder getBlockrepeatOrBuilder();
+
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ * @return Whether the blockspecial field is set.
+ */
+ boolean hasBlockspecial();
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ * @return The blockspecial.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial getBlockspecial();
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecialOrBuilder getBlockspecialOrBuilder();
+
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ * @return Whether the opacity field is set.
+ */
+ boolean hasOpacity();
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ * @return The opacity.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity getOpacity();
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacityOrBuilder getOpacityOrBuilder();
+
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ * @return Whether the scalingfactor field is set.
+ */
+ boolean hasScalingfactor();
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ * @return The scalingfactor.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor getScalingfactor();
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactorOrBuilder getScalingfactorOrBuilder();
+
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ * @return Whether the domain field is set.
+ */
+ boolean hasDomain();
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ * @return The domain.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain getDomain();
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomainOrBuilder getDomainOrBuilder();
+
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ * @return Whether the speed field is set.
+ */
+ boolean hasSpeed();
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ * @return The speed.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed getSpeed();
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeedOrBuilder getSpeedOrBuilder();
+
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ * @return Whether the enableblocklist field is set.
+ */
+ boolean hasEnableblocklist();
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ * @return The enableblocklist.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist getEnableblocklist();
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklistOrBuilder getEnableblocklistOrBuilder();
+
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ * @return Whether the inlinePlayerDanmakuSwitch field is set.
+ */
+ boolean hasInlinePlayerDanmakuSwitch();
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch getInlinePlayerDanmakuSwitch();
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitchOrBuilder getInlinePlayerDanmakuSwitchOrBuilder();
+
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ * @return Whether the seniorModeSwitch field is set.
+ */
+ boolean hasSeniorModeSwitch();
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ * @return The seniorModeSwitch.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch getSeniorModeSwitch();
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitchOrBuilder getSeniorModeSwitchOrBuilder();
+ }
+ /**
+ * + * 修改弹幕配置-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmPlayerConfigReq} + */ + public static final class DmPlayerConfigReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmPlayerConfigReq) + DmPlayerConfigReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmPlayerConfigReq.newBuilder() to construct. + private DmPlayerConfigReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmPlayerConfigReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmPlayerConfigReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmPlayerConfigReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + ts_ = input.readInt64(); + break; + } + case 18: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.Builder subBuilder = null; + if (switch_ != null) { + subBuilder = switch_.toBuilder(); + } + switch_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(switch_); + switch_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.Builder subBuilder = null; + if (switchSave_ != null) { + subBuilder = switchSave_.toBuilder(); + } + switchSave_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(switchSave_); + switchSave_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.Builder subBuilder = null; + if (useDefaultConfig_ != null) { + subBuilder = useDefaultConfig_.toBuilder(); + } + useDefaultConfig_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(useDefaultConfig_); + useDefaultConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.Builder subBuilder = null; + if (aiRecommendedSwitch_ != null) { + subBuilder = aiRecommendedSwitch_.toBuilder(); + } + aiRecommendedSwitch_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(aiRecommendedSwitch_); + aiRecommendedSwitch_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.Builder subBuilder = null; + if (aiRecommendedLevel_ != null) { + subBuilder = aiRecommendedLevel_.toBuilder(); + } + aiRecommendedLevel_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(aiRecommendedLevel_); + aiRecommendedLevel_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.Builder subBuilder = null; + if (blocktop_ != null) { + subBuilder = blocktop_.toBuilder(); + } + blocktop_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blocktop_); + blocktop_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.Builder subBuilder = null; + if (blockscroll_ != null) { + subBuilder = blockscroll_.toBuilder(); + } + blockscroll_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blockscroll_); + blockscroll_ = subBuilder.buildPartial(); + } + + break; + } + case 74: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.Builder subBuilder = null; + if (blockbottom_ != null) { + subBuilder = blockbottom_.toBuilder(); + } + blockbottom_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blockbottom_); + blockbottom_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.Builder subBuilder = null; + if (blockcolorful_ != null) { + subBuilder = blockcolorful_.toBuilder(); + } + blockcolorful_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blockcolorful_); + blockcolorful_ = subBuilder.buildPartial(); + } + + break; + } + case 90: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.Builder subBuilder = null; + if (blockrepeat_ != null) { + subBuilder = blockrepeat_.toBuilder(); + } + blockrepeat_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blockrepeat_); + blockrepeat_ = subBuilder.buildPartial(); + } + + break; + } + case 98: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.Builder subBuilder = null; + if (blockspecial_ != null) { + subBuilder = blockspecial_.toBuilder(); + } + blockspecial_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(blockspecial_); + blockspecial_ = subBuilder.buildPartial(); + } + + break; + } + case 106: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.Builder subBuilder = null; + if (opacity_ != null) { + subBuilder = opacity_.toBuilder(); + } + opacity_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(opacity_); + opacity_ = subBuilder.buildPartial(); + } + + break; + } + case 114: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.Builder subBuilder = null; + if (scalingfactor_ != null) { + subBuilder = scalingfactor_.toBuilder(); + } + scalingfactor_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scalingfactor_); + scalingfactor_ = subBuilder.buildPartial(); + } + + break; + } + case 122: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.Builder subBuilder = null; + if (domain_ != null) { + subBuilder = domain_.toBuilder(); + } + domain_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(domain_); + domain_ = subBuilder.buildPartial(); + } + + break; + } + case 130: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.Builder subBuilder = null; + if (speed_ != null) { + subBuilder = speed_.toBuilder(); + } + speed_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speed_); + speed_ = subBuilder.buildPartial(); + } + + break; + } + case 138: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.Builder subBuilder = null; + if (enableblocklist_ != null) { + subBuilder = enableblocklist_.toBuilder(); + } + enableblocklist_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(enableblocklist_); + enableblocklist_ = subBuilder.buildPartial(); + } + + break; + } + case 146: { + com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder subBuilder = null; + if (inlinePlayerDanmakuSwitch_ != null) { + subBuilder = inlinePlayerDanmakuSwitch_.toBuilder(); + } + inlinePlayerDanmakuSwitch_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inlinePlayerDanmakuSwitch_); + inlinePlayerDanmakuSwitch_ = subBuilder.buildPartial(); + } + + break; + } + case 154: { + com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.Builder subBuilder = null; + if (seniorModeSwitch_ != null) { + subBuilder = seniorModeSwitch_.toBuilder(); + } + seniorModeSwitch_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(seniorModeSwitch_); + seniorModeSwitch_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmPlayerConfigReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmPlayerConfigReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq.class, com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq.Builder.class); + } + + public static final int TS_FIELD_NUMBER = 1; + private long ts_; + /** + *
+ *+ * + *
int64 ts = 1;
+ * @return The ts.
+ */
+ @java.lang.Override
+ public long getTs() {
+ return ts_;
+ }
+
+ public static final int SWITCH_FIELD_NUMBER = 2;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch switch_;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ * @return Whether the switch field is set.
+ */
+ @java.lang.Override
+ public boolean hasSwitch() {
+ return switch_ != null;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ * @return The switch.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch getSwitch() {
+ return switch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.getDefaultInstance() : switch_;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchOrBuilder getSwitchOrBuilder() {
+ return getSwitch();
+ }
+
+ public static final int SWITCH_SAVE_FIELD_NUMBER = 3;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave switchSave_;
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ * @return Whether the switchSave field is set.
+ */
+ @java.lang.Override
+ public boolean hasSwitchSave() {
+ return switchSave_ != null;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ * @return The switchSave.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave getSwitchSave() {
+ return switchSave_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.getDefaultInstance() : switchSave_;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSaveOrBuilder getSwitchSaveOrBuilder() {
+ return getSwitchSave();
+ }
+
+ public static final int USE_DEFAULT_CONFIG_FIELD_NUMBER = 4;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig useDefaultConfig_;
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ * @return Whether the useDefaultConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasUseDefaultConfig() {
+ return useDefaultConfig_ != null;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ * @return The useDefaultConfig.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig getUseDefaultConfig() {
+ return useDefaultConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.getDefaultInstance() : useDefaultConfig_;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfigOrBuilder getUseDefaultConfigOrBuilder() {
+ return getUseDefaultConfig();
+ }
+
+ public static final int AI_RECOMMENDED_SWITCH_FIELD_NUMBER = 5;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch aiRecommendedSwitch_;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ * @return Whether the aiRecommendedSwitch field is set.
+ */
+ @java.lang.Override
+ public boolean hasAiRecommendedSwitch() {
+ return aiRecommendedSwitch_ != null;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ * @return The aiRecommendedSwitch.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch getAiRecommendedSwitch() {
+ return aiRecommendedSwitch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.getDefaultInstance() : aiRecommendedSwitch_;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitchOrBuilder getAiRecommendedSwitchOrBuilder() {
+ return getAiRecommendedSwitch();
+ }
+
+ public static final int AI_RECOMMENDED_LEVEL_FIELD_NUMBER = 6;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel aiRecommendedLevel_;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ * @return Whether the aiRecommendedLevel field is set.
+ */
+ @java.lang.Override
+ public boolean hasAiRecommendedLevel() {
+ return aiRecommendedLevel_ != null;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ * @return The aiRecommendedLevel.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel getAiRecommendedLevel() {
+ return aiRecommendedLevel_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.getDefaultInstance() : aiRecommendedLevel_;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevelOrBuilder getAiRecommendedLevelOrBuilder() {
+ return getAiRecommendedLevel();
+ }
+
+ public static final int BLOCKTOP_FIELD_NUMBER = 7;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop blocktop_;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ * @return Whether the blocktop field is set.
+ */
+ @java.lang.Override
+ public boolean hasBlocktop() {
+ return blocktop_ != null;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ * @return The blocktop.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop getBlocktop() {
+ return blocktop_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.getDefaultInstance() : blocktop_;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktopOrBuilder getBlocktopOrBuilder() {
+ return getBlocktop();
+ }
+
+ public static final int BLOCKSCROLL_FIELD_NUMBER = 8;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll blockscroll_;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ * @return Whether the blockscroll field is set.
+ */
+ @java.lang.Override
+ public boolean hasBlockscroll() {
+ return blockscroll_ != null;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ * @return The blockscroll.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll getBlockscroll() {
+ return blockscroll_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.getDefaultInstance() : blockscroll_;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscrollOrBuilder getBlockscrollOrBuilder() {
+ return getBlockscroll();
+ }
+
+ public static final int BLOCKBOTTOM_FIELD_NUMBER = 9;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom blockbottom_;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ * @return Whether the blockbottom field is set.
+ */
+ @java.lang.Override
+ public boolean hasBlockbottom() {
+ return blockbottom_ != null;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ * @return The blockbottom.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom getBlockbottom() {
+ return blockbottom_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.getDefaultInstance() : blockbottom_;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottomOrBuilder getBlockbottomOrBuilder() {
+ return getBlockbottom();
+ }
+
+ public static final int BLOCKCOLORFUL_FIELD_NUMBER = 10;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful blockcolorful_;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ * @return Whether the blockcolorful field is set.
+ */
+ @java.lang.Override
+ public boolean hasBlockcolorful() {
+ return blockcolorful_ != null;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ * @return The blockcolorful.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful getBlockcolorful() {
+ return blockcolorful_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.getDefaultInstance() : blockcolorful_;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorfulOrBuilder getBlockcolorfulOrBuilder() {
+ return getBlockcolorful();
+ }
+
+ public static final int BLOCKREPEAT_FIELD_NUMBER = 11;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat blockrepeat_;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ * @return Whether the blockrepeat field is set.
+ */
+ @java.lang.Override
+ public boolean hasBlockrepeat() {
+ return blockrepeat_ != null;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ * @return The blockrepeat.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat getBlockrepeat() {
+ return blockrepeat_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.getDefaultInstance() : blockrepeat_;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeatOrBuilder getBlockrepeatOrBuilder() {
+ return getBlockrepeat();
+ }
+
+ public static final int BLOCKSPECIAL_FIELD_NUMBER = 12;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial blockspecial_;
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ * @return Whether the blockspecial field is set.
+ */
+ @java.lang.Override
+ public boolean hasBlockspecial() {
+ return blockspecial_ != null;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ * @return The blockspecial.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial getBlockspecial() {
+ return blockspecial_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.getDefaultInstance() : blockspecial_;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecialOrBuilder getBlockspecialOrBuilder() {
+ return getBlockspecial();
+ }
+
+ public static final int OPACITY_FIELD_NUMBER = 13;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity opacity_;
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ * @return Whether the opacity field is set.
+ */
+ @java.lang.Override
+ public boolean hasOpacity() {
+ return opacity_ != null;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ * @return The opacity.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity getOpacity() {
+ return opacity_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.getDefaultInstance() : opacity_;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacityOrBuilder getOpacityOrBuilder() {
+ return getOpacity();
+ }
+
+ public static final int SCALINGFACTOR_FIELD_NUMBER = 14;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor scalingfactor_;
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ * @return Whether the scalingfactor field is set.
+ */
+ @java.lang.Override
+ public boolean hasScalingfactor() {
+ return scalingfactor_ != null;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ * @return The scalingfactor.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor getScalingfactor() {
+ return scalingfactor_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.getDefaultInstance() : scalingfactor_;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactorOrBuilder getScalingfactorOrBuilder() {
+ return getScalingfactor();
+ }
+
+ public static final int DOMAIN_FIELD_NUMBER = 15;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain domain_;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ * @return Whether the domain field is set.
+ */
+ @java.lang.Override
+ public boolean hasDomain() {
+ return domain_ != null;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ * @return The domain.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain getDomain() {
+ return domain_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.getDefaultInstance() : domain_;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomainOrBuilder getDomainOrBuilder() {
+ return getDomain();
+ }
+
+ public static final int SPEED_FIELD_NUMBER = 16;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed speed_;
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ * @return Whether the speed field is set.
+ */
+ @java.lang.Override
+ public boolean hasSpeed() {
+ return speed_ != null;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ * @return The speed.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed getSpeed() {
+ return speed_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.getDefaultInstance() : speed_;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeedOrBuilder getSpeedOrBuilder() {
+ return getSpeed();
+ }
+
+ public static final int ENABLEBLOCKLIST_FIELD_NUMBER = 17;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist enableblocklist_;
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ * @return Whether the enableblocklist field is set.
+ */
+ @java.lang.Override
+ public boolean hasEnableblocklist() {
+ return enableblocklist_ != null;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ * @return The enableblocklist.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist getEnableblocklist() {
+ return enableblocklist_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.getDefaultInstance() : enableblocklist_;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklistOrBuilder getEnableblocklistOrBuilder() {
+ return getEnableblocklist();
+ }
+
+ public static final int INLINEPLAYERDANMAKUSWITCH_FIELD_NUMBER = 18;
+ private com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch_;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ * @return Whether the inlinePlayerDanmakuSwitch field is set.
+ */
+ @java.lang.Override
+ public boolean hasInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitch_ != null;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch getInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.getDefaultInstance() : inlinePlayerDanmakuSwitch_;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitchOrBuilder getInlinePlayerDanmakuSwitchOrBuilder() {
+ return getInlinePlayerDanmakuSwitch();
+ }
+
+ public static final int SENIOR_MODE_SWITCH_FIELD_NUMBER = 19;
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch seniorModeSwitch_;
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ * @return Whether the seniorModeSwitch field is set.
+ */
+ @java.lang.Override
+ public boolean hasSeniorModeSwitch() {
+ return seniorModeSwitch_ != null;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ * @return The seniorModeSwitch.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch getSeniorModeSwitch() {
+ return seniorModeSwitch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.getDefaultInstance() : seniorModeSwitch_;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitchOrBuilder getSeniorModeSwitchOrBuilder() {
+ return getSeniorModeSwitch();
+ }
+
+ 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 (ts_ != 0L) {
+ output.writeInt64(1, ts_);
+ }
+ if (switch_ != null) {
+ output.writeMessage(2, getSwitch());
+ }
+ if (switchSave_ != null) {
+ output.writeMessage(3, getSwitchSave());
+ }
+ if (useDefaultConfig_ != null) {
+ output.writeMessage(4, getUseDefaultConfig());
+ }
+ if (aiRecommendedSwitch_ != null) {
+ output.writeMessage(5, getAiRecommendedSwitch());
+ }
+ if (aiRecommendedLevel_ != null) {
+ output.writeMessage(6, getAiRecommendedLevel());
+ }
+ if (blocktop_ != null) {
+ output.writeMessage(7, getBlocktop());
+ }
+ if (blockscroll_ != null) {
+ output.writeMessage(8, getBlockscroll());
+ }
+ if (blockbottom_ != null) {
+ output.writeMessage(9, getBlockbottom());
+ }
+ if (blockcolorful_ != null) {
+ output.writeMessage(10, getBlockcolorful());
+ }
+ if (blockrepeat_ != null) {
+ output.writeMessage(11, getBlockrepeat());
+ }
+ if (blockspecial_ != null) {
+ output.writeMessage(12, getBlockspecial());
+ }
+ if (opacity_ != null) {
+ output.writeMessage(13, getOpacity());
+ }
+ if (scalingfactor_ != null) {
+ output.writeMessage(14, getScalingfactor());
+ }
+ if (domain_ != null) {
+ output.writeMessage(15, getDomain());
+ }
+ if (speed_ != null) {
+ output.writeMessage(16, getSpeed());
+ }
+ if (enableblocklist_ != null) {
+ output.writeMessage(17, getEnableblocklist());
+ }
+ if (inlinePlayerDanmakuSwitch_ != null) {
+ output.writeMessage(18, getInlinePlayerDanmakuSwitch());
+ }
+ if (seniorModeSwitch_ != null) {
+ output.writeMessage(19, getSeniorModeSwitch());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (ts_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, ts_);
+ }
+ if (switch_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getSwitch());
+ }
+ if (switchSave_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getSwitchSave());
+ }
+ if (useDefaultConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getUseDefaultConfig());
+ }
+ if (aiRecommendedSwitch_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, getAiRecommendedSwitch());
+ }
+ if (aiRecommendedLevel_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, getAiRecommendedLevel());
+ }
+ if (blocktop_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, getBlocktop());
+ }
+ if (blockscroll_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, getBlockscroll());
+ }
+ if (blockbottom_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(9, getBlockbottom());
+ }
+ if (blockcolorful_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(10, getBlockcolorful());
+ }
+ if (blockrepeat_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(11, getBlockrepeat());
+ }
+ if (blockspecial_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(12, getBlockspecial());
+ }
+ if (opacity_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(13, getOpacity());
+ }
+ if (scalingfactor_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(14, getScalingfactor());
+ }
+ if (domain_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(15, getDomain());
+ }
+ if (speed_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(16, getSpeed());
+ }
+ if (enableblocklist_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(17, getEnableblocklist());
+ }
+ if (inlinePlayerDanmakuSwitch_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(18, getInlinePlayerDanmakuSwitch());
+ }
+ if (seniorModeSwitch_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(19, getSeniorModeSwitch());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq other = (com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq) obj;
+
+ if (getTs()
+ != other.getTs()) return false;
+ if (hasSwitch() != other.hasSwitch()) return false;
+ if (hasSwitch()) {
+ if (!getSwitch()
+ .equals(other.getSwitch())) return false;
+ }
+ if (hasSwitchSave() != other.hasSwitchSave()) return false;
+ if (hasSwitchSave()) {
+ if (!getSwitchSave()
+ .equals(other.getSwitchSave())) return false;
+ }
+ if (hasUseDefaultConfig() != other.hasUseDefaultConfig()) return false;
+ if (hasUseDefaultConfig()) {
+ if (!getUseDefaultConfig()
+ .equals(other.getUseDefaultConfig())) return false;
+ }
+ if (hasAiRecommendedSwitch() != other.hasAiRecommendedSwitch()) return false;
+ if (hasAiRecommendedSwitch()) {
+ if (!getAiRecommendedSwitch()
+ .equals(other.getAiRecommendedSwitch())) return false;
+ }
+ if (hasAiRecommendedLevel() != other.hasAiRecommendedLevel()) return false;
+ if (hasAiRecommendedLevel()) {
+ if (!getAiRecommendedLevel()
+ .equals(other.getAiRecommendedLevel())) return false;
+ }
+ if (hasBlocktop() != other.hasBlocktop()) return false;
+ if (hasBlocktop()) {
+ if (!getBlocktop()
+ .equals(other.getBlocktop())) return false;
+ }
+ if (hasBlockscroll() != other.hasBlockscroll()) return false;
+ if (hasBlockscroll()) {
+ if (!getBlockscroll()
+ .equals(other.getBlockscroll())) return false;
+ }
+ if (hasBlockbottom() != other.hasBlockbottom()) return false;
+ if (hasBlockbottom()) {
+ if (!getBlockbottom()
+ .equals(other.getBlockbottom())) return false;
+ }
+ if (hasBlockcolorful() != other.hasBlockcolorful()) return false;
+ if (hasBlockcolorful()) {
+ if (!getBlockcolorful()
+ .equals(other.getBlockcolorful())) return false;
+ }
+ if (hasBlockrepeat() != other.hasBlockrepeat()) return false;
+ if (hasBlockrepeat()) {
+ if (!getBlockrepeat()
+ .equals(other.getBlockrepeat())) return false;
+ }
+ if (hasBlockspecial() != other.hasBlockspecial()) return false;
+ if (hasBlockspecial()) {
+ if (!getBlockspecial()
+ .equals(other.getBlockspecial())) return false;
+ }
+ if (hasOpacity() != other.hasOpacity()) return false;
+ if (hasOpacity()) {
+ if (!getOpacity()
+ .equals(other.getOpacity())) return false;
+ }
+ if (hasScalingfactor() != other.hasScalingfactor()) return false;
+ if (hasScalingfactor()) {
+ if (!getScalingfactor()
+ .equals(other.getScalingfactor())) return false;
+ }
+ if (hasDomain() != other.hasDomain()) return false;
+ if (hasDomain()) {
+ if (!getDomain()
+ .equals(other.getDomain())) return false;
+ }
+ if (hasSpeed() != other.hasSpeed()) return false;
+ if (hasSpeed()) {
+ if (!getSpeed()
+ .equals(other.getSpeed())) return false;
+ }
+ if (hasEnableblocklist() != other.hasEnableblocklist()) return false;
+ if (hasEnableblocklist()) {
+ if (!getEnableblocklist()
+ .equals(other.getEnableblocklist())) return false;
+ }
+ if (hasInlinePlayerDanmakuSwitch() != other.hasInlinePlayerDanmakuSwitch()) return false;
+ if (hasInlinePlayerDanmakuSwitch()) {
+ if (!getInlinePlayerDanmakuSwitch()
+ .equals(other.getInlinePlayerDanmakuSwitch())) return false;
+ }
+ if (hasSeniorModeSwitch() != other.hasSeniorModeSwitch()) return false;
+ if (hasSeniorModeSwitch()) {
+ if (!getSeniorModeSwitch()
+ .equals(other.getSeniorModeSwitch())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTs());
+ if (hasSwitch()) {
+ hash = (37 * hash) + SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getSwitch().hashCode();
+ }
+ if (hasSwitchSave()) {
+ hash = (37 * hash) + SWITCH_SAVE_FIELD_NUMBER;
+ hash = (53 * hash) + getSwitchSave().hashCode();
+ }
+ if (hasUseDefaultConfig()) {
+ hash = (37 * hash) + USE_DEFAULT_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getUseDefaultConfig().hashCode();
+ }
+ if (hasAiRecommendedSwitch()) {
+ hash = (37 * hash) + AI_RECOMMENDED_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getAiRecommendedSwitch().hashCode();
+ }
+ if (hasAiRecommendedLevel()) {
+ hash = (37 * hash) + AI_RECOMMENDED_LEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getAiRecommendedLevel().hashCode();
+ }
+ if (hasBlocktop()) {
+ hash = (37 * hash) + BLOCKTOP_FIELD_NUMBER;
+ hash = (53 * hash) + getBlocktop().hashCode();
+ }
+ if (hasBlockscroll()) {
+ hash = (37 * hash) + BLOCKSCROLL_FIELD_NUMBER;
+ hash = (53 * hash) + getBlockscroll().hashCode();
+ }
+ if (hasBlockbottom()) {
+ hash = (37 * hash) + BLOCKBOTTOM_FIELD_NUMBER;
+ hash = (53 * hash) + getBlockbottom().hashCode();
+ }
+ if (hasBlockcolorful()) {
+ hash = (37 * hash) + BLOCKCOLORFUL_FIELD_NUMBER;
+ hash = (53 * hash) + getBlockcolorful().hashCode();
+ }
+ if (hasBlockrepeat()) {
+ hash = (37 * hash) + BLOCKREPEAT_FIELD_NUMBER;
+ hash = (53 * hash) + getBlockrepeat().hashCode();
+ }
+ if (hasBlockspecial()) {
+ hash = (37 * hash) + BLOCKSPECIAL_FIELD_NUMBER;
+ hash = (53 * hash) + getBlockspecial().hashCode();
+ }
+ if (hasOpacity()) {
+ hash = (37 * hash) + OPACITY_FIELD_NUMBER;
+ hash = (53 * hash) + getOpacity().hashCode();
+ }
+ if (hasScalingfactor()) {
+ hash = (37 * hash) + SCALINGFACTOR_FIELD_NUMBER;
+ hash = (53 * hash) + getScalingfactor().hashCode();
+ }
+ if (hasDomain()) {
+ hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
+ hash = (53 * hash) + getDomain().hashCode();
+ }
+ if (hasSpeed()) {
+ hash = (37 * hash) + SPEED_FIELD_NUMBER;
+ hash = (53 * hash) + getSpeed().hashCode();
+ }
+ if (hasEnableblocklist()) {
+ hash = (37 * hash) + ENABLEBLOCKLIST_FIELD_NUMBER;
+ hash = (53 * hash) + getEnableblocklist().hashCode();
+ }
+ if (hasInlinePlayerDanmakuSwitch()) {
+ hash = (37 * hash) + INLINEPLAYERDANMAKUSWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getInlinePlayerDanmakuSwitch().hashCode();
+ }
+ if (hasSeniorModeSwitch()) {
+ hash = (37 * hash) + SENIOR_MODE_SWITCH_FIELD_NUMBER;
+ hash = (53 * hash) + getSeniorModeSwitch().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq 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(com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq 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 com.yutou.qqbot.bilibili.DmPlayerConfigReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
int64 ts = 1;
+ * @return The ts.
+ */
+ @java.lang.Override
+ public long getTs() {
+ return ts_;
+ }
+ /**
+ * + *+ * + *
int64 ts = 1;
+ * @param value The ts to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTs(long value) {
+
+ ts_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 ts = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearTs() {
+
+ ts_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch switch_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchOrBuilder> switchBuilder_;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ * @return Whether the switch field is set.
+ */
+ public boolean hasSwitch() {
+ return switchBuilder_ != null || switch_ != null;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ * @return The switch.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch getSwitch() {
+ if (switchBuilder_ == null) {
+ return switch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.getDefaultInstance() : switch_;
+ } else {
+ return switchBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ public Builder setSwitch(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch value) {
+ if (switchBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ switch_ = value;
+ onChanged();
+ } else {
+ switchBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ public Builder setSwitch(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.Builder builderForValue) {
+ if (switchBuilder_ == null) {
+ switch_ = builderForValue.build();
+ onChanged();
+ } else {
+ switchBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ public Builder mergeSwitch(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch value) {
+ if (switchBuilder_ == null) {
+ if (switch_ != null) {
+ switch_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.newBuilder(switch_).mergeFrom(value).buildPartial();
+ } else {
+ switch_ = value;
+ }
+ onChanged();
+ } else {
+ switchBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ public Builder clearSwitch() {
+ if (switchBuilder_ == null) {
+ switch_ = null;
+ onChanged();
+ } else {
+ switch_ = null;
+ switchBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.Builder getSwitchBuilder() {
+
+ onChanged();
+ return getSwitchFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchOrBuilder getSwitchOrBuilder() {
+ if (switchBuilder_ != null) {
+ return switchBuilder_.getMessageOrBuilder();
+ } else {
+ return switch_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.getDefaultInstance() : switch_;
+ }
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitch switch = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchOrBuilder>
+ getSwitchFieldBuilder() {
+ if (switchBuilder_ == null) {
+ switchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchOrBuilder>(
+ getSwitch(),
+ getParentForChildren(),
+ isClean());
+ switch_ = null;
+ }
+ return switchBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave switchSave_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSaveOrBuilder> switchSaveBuilder_;
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ * @return Whether the switchSave field is set.
+ */
+ public boolean hasSwitchSave() {
+ return switchSaveBuilder_ != null || switchSave_ != null;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ * @return The switchSave.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave getSwitchSave() {
+ if (switchSaveBuilder_ == null) {
+ return switchSave_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.getDefaultInstance() : switchSave_;
+ } else {
+ return switchSaveBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ public Builder setSwitchSave(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave value) {
+ if (switchSaveBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ switchSave_ = value;
+ onChanged();
+ } else {
+ switchSaveBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ public Builder setSwitchSave(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.Builder builderForValue) {
+ if (switchSaveBuilder_ == null) {
+ switchSave_ = builderForValue.build();
+ onChanged();
+ } else {
+ switchSaveBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ public Builder mergeSwitchSave(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave value) {
+ if (switchSaveBuilder_ == null) {
+ if (switchSave_ != null) {
+ switchSave_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.newBuilder(switchSave_).mergeFrom(value).buildPartial();
+ } else {
+ switchSave_ = value;
+ }
+ onChanged();
+ } else {
+ switchSaveBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ public Builder clearSwitchSave() {
+ if (switchSaveBuilder_ == null) {
+ switchSave_ = null;
+ onChanged();
+ } else {
+ switchSave_ = null;
+ switchSaveBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.Builder getSwitchSaveBuilder() {
+
+ onChanged();
+ return getSwitchSaveFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSaveOrBuilder getSwitchSaveOrBuilder() {
+ if (switchSaveBuilder_ != null) {
+ return switchSaveBuilder_.getMessageOrBuilder();
+ } else {
+ return switchSave_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.getDefaultInstance() : switchSave_;
+ }
+ }
+ /**
+ * + * 是否记录弹幕开关设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSwitchSave switch_save = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSaveOrBuilder>
+ getSwitchSaveFieldBuilder() {
+ if (switchSaveBuilder_ == null) {
+ switchSaveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSave.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSwitchSaveOrBuilder>(
+ getSwitchSave(),
+ getParentForChildren(),
+ isClean());
+ switchSave_ = null;
+ }
+ return switchSaveBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig useDefaultConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfigOrBuilder> useDefaultConfigBuilder_;
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ * @return Whether the useDefaultConfig field is set.
+ */
+ public boolean hasUseDefaultConfig() {
+ return useDefaultConfigBuilder_ != null || useDefaultConfig_ != null;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ * @return The useDefaultConfig.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig getUseDefaultConfig() {
+ if (useDefaultConfigBuilder_ == null) {
+ return useDefaultConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.getDefaultInstance() : useDefaultConfig_;
+ } else {
+ return useDefaultConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ public Builder setUseDefaultConfig(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig value) {
+ if (useDefaultConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ useDefaultConfig_ = value;
+ onChanged();
+ } else {
+ useDefaultConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ public Builder setUseDefaultConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.Builder builderForValue) {
+ if (useDefaultConfigBuilder_ == null) {
+ useDefaultConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ useDefaultConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ public Builder mergeUseDefaultConfig(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig value) {
+ if (useDefaultConfigBuilder_ == null) {
+ if (useDefaultConfig_ != null) {
+ useDefaultConfig_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.newBuilder(useDefaultConfig_).mergeFrom(value).buildPartial();
+ } else {
+ useDefaultConfig_ = value;
+ }
+ onChanged();
+ } else {
+ useDefaultConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ public Builder clearUseDefaultConfig() {
+ if (useDefaultConfigBuilder_ == null) {
+ useDefaultConfig_ = null;
+ onChanged();
+ } else {
+ useDefaultConfig_ = null;
+ useDefaultConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.Builder getUseDefaultConfigBuilder() {
+
+ onChanged();
+ return getUseDefaultConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfigOrBuilder getUseDefaultConfigOrBuilder() {
+ if (useDefaultConfigBuilder_ != null) {
+ return useDefaultConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return useDefaultConfig_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.getDefaultInstance() : useDefaultConfig_;
+ }
+ }
+ /**
+ * + * 是否使用推荐弹幕设置 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuUseDefaultConfig use_default_config = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfigOrBuilder>
+ getUseDefaultConfigFieldBuilder() {
+ if (useDefaultConfigBuilder_ == null) {
+ useDefaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuUseDefaultConfigOrBuilder>(
+ getUseDefaultConfig(),
+ getParentForChildren(),
+ isClean());
+ useDefaultConfig_ = null;
+ }
+ return useDefaultConfigBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch aiRecommendedSwitch_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitchOrBuilder> aiRecommendedSwitchBuilder_;
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ * @return Whether the aiRecommendedSwitch field is set.
+ */
+ public boolean hasAiRecommendedSwitch() {
+ return aiRecommendedSwitchBuilder_ != null || aiRecommendedSwitch_ != null;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ * @return The aiRecommendedSwitch.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch getAiRecommendedSwitch() {
+ if (aiRecommendedSwitchBuilder_ == null) {
+ return aiRecommendedSwitch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.getDefaultInstance() : aiRecommendedSwitch_;
+ } else {
+ return aiRecommendedSwitchBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ public Builder setAiRecommendedSwitch(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch value) {
+ if (aiRecommendedSwitchBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ aiRecommendedSwitch_ = value;
+ onChanged();
+ } else {
+ aiRecommendedSwitchBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ public Builder setAiRecommendedSwitch(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.Builder builderForValue) {
+ if (aiRecommendedSwitchBuilder_ == null) {
+ aiRecommendedSwitch_ = builderForValue.build();
+ onChanged();
+ } else {
+ aiRecommendedSwitchBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ public Builder mergeAiRecommendedSwitch(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch value) {
+ if (aiRecommendedSwitchBuilder_ == null) {
+ if (aiRecommendedSwitch_ != null) {
+ aiRecommendedSwitch_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.newBuilder(aiRecommendedSwitch_).mergeFrom(value).buildPartial();
+ } else {
+ aiRecommendedSwitch_ = value;
+ }
+ onChanged();
+ } else {
+ aiRecommendedSwitchBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ public Builder clearAiRecommendedSwitch() {
+ if (aiRecommendedSwitchBuilder_ == null) {
+ aiRecommendedSwitch_ = null;
+ onChanged();
+ } else {
+ aiRecommendedSwitch_ = null;
+ aiRecommendedSwitchBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.Builder getAiRecommendedSwitchBuilder() {
+
+ onChanged();
+ return getAiRecommendedSwitchFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitchOrBuilder getAiRecommendedSwitchOrBuilder() {
+ if (aiRecommendedSwitchBuilder_ != null) {
+ return aiRecommendedSwitchBuilder_.getMessageOrBuilder();
+ } else {
+ return aiRecommendedSwitch_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.getDefaultInstance() : aiRecommendedSwitch_;
+ }
+ }
+ /**
+ * + * 是否开启智能云屏蔽 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitchOrBuilder>
+ getAiRecommendedSwitchFieldBuilder() {
+ if (aiRecommendedSwitchBuilder_ == null) {
+ aiRecommendedSwitchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedSwitchOrBuilder>(
+ getAiRecommendedSwitch(),
+ getParentForChildren(),
+ isClean());
+ aiRecommendedSwitch_ = null;
+ }
+ return aiRecommendedSwitchBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel aiRecommendedLevel_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevelOrBuilder> aiRecommendedLevelBuilder_;
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ * @return Whether the aiRecommendedLevel field is set.
+ */
+ public boolean hasAiRecommendedLevel() {
+ return aiRecommendedLevelBuilder_ != null || aiRecommendedLevel_ != null;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ * @return The aiRecommendedLevel.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel getAiRecommendedLevel() {
+ if (aiRecommendedLevelBuilder_ == null) {
+ return aiRecommendedLevel_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.getDefaultInstance() : aiRecommendedLevel_;
+ } else {
+ return aiRecommendedLevelBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ public Builder setAiRecommendedLevel(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel value) {
+ if (aiRecommendedLevelBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ aiRecommendedLevel_ = value;
+ onChanged();
+ } else {
+ aiRecommendedLevelBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ public Builder setAiRecommendedLevel(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.Builder builderForValue) {
+ if (aiRecommendedLevelBuilder_ == null) {
+ aiRecommendedLevel_ = builderForValue.build();
+ onChanged();
+ } else {
+ aiRecommendedLevelBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ public Builder mergeAiRecommendedLevel(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel value) {
+ if (aiRecommendedLevelBuilder_ == null) {
+ if (aiRecommendedLevel_ != null) {
+ aiRecommendedLevel_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.newBuilder(aiRecommendedLevel_).mergeFrom(value).buildPartial();
+ } else {
+ aiRecommendedLevel_ = value;
+ }
+ onChanged();
+ } else {
+ aiRecommendedLevelBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ public Builder clearAiRecommendedLevel() {
+ if (aiRecommendedLevelBuilder_ == null) {
+ aiRecommendedLevel_ = null;
+ onChanged();
+ } else {
+ aiRecommendedLevel_ = null;
+ aiRecommendedLevelBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.Builder getAiRecommendedLevelBuilder() {
+
+ onChanged();
+ return getAiRecommendedLevelFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevelOrBuilder getAiRecommendedLevelOrBuilder() {
+ if (aiRecommendedLevelBuilder_ != null) {
+ return aiRecommendedLevelBuilder_.getMessageOrBuilder();
+ } else {
+ return aiRecommendedLevel_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.getDefaultInstance() : aiRecommendedLevel_;
+ }
+ }
+ /**
+ * + * 智能云屏蔽等级 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevelOrBuilder>
+ getAiRecommendedLevelFieldBuilder() {
+ if (aiRecommendedLevelBuilder_ == null) {
+ aiRecommendedLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevel.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuAiRecommendedLevelOrBuilder>(
+ getAiRecommendedLevel(),
+ getParentForChildren(),
+ isClean());
+ aiRecommendedLevel_ = null;
+ }
+ return aiRecommendedLevelBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop blocktop_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktopOrBuilder> blocktopBuilder_;
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ * @return Whether the blocktop field is set.
+ */
+ public boolean hasBlocktop() {
+ return blocktopBuilder_ != null || blocktop_ != null;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ * @return The blocktop.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop getBlocktop() {
+ if (blocktopBuilder_ == null) {
+ return blocktop_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.getDefaultInstance() : blocktop_;
+ } else {
+ return blocktopBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ public Builder setBlocktop(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop value) {
+ if (blocktopBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ blocktop_ = value;
+ onChanged();
+ } else {
+ blocktopBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ public Builder setBlocktop(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.Builder builderForValue) {
+ if (blocktopBuilder_ == null) {
+ blocktop_ = builderForValue.build();
+ onChanged();
+ } else {
+ blocktopBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ public Builder mergeBlocktop(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop value) {
+ if (blocktopBuilder_ == null) {
+ if (blocktop_ != null) {
+ blocktop_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.newBuilder(blocktop_).mergeFrom(value).buildPartial();
+ } else {
+ blocktop_ = value;
+ }
+ onChanged();
+ } else {
+ blocktopBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ public Builder clearBlocktop() {
+ if (blocktopBuilder_ == null) {
+ blocktop_ = null;
+ onChanged();
+ } else {
+ blocktop_ = null;
+ blocktopBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.Builder getBlocktopBuilder() {
+
+ onChanged();
+ return getBlocktopFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktopOrBuilder getBlocktopOrBuilder() {
+ if (blocktopBuilder_ != null) {
+ return blocktopBuilder_.getMessageOrBuilder();
+ } else {
+ return blocktop_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.getDefaultInstance() : blocktop_;
+ }
+ }
+ /**
+ * + * 是否屏蔽顶端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlocktop blocktop = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktopOrBuilder>
+ getBlocktopFieldBuilder() {
+ if (blocktopBuilder_ == null) {
+ blocktopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktop.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlocktopOrBuilder>(
+ getBlocktop(),
+ getParentForChildren(),
+ isClean());
+ blocktop_ = null;
+ }
+ return blocktopBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll blockscroll_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscrollOrBuilder> blockscrollBuilder_;
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ * @return Whether the blockscroll field is set.
+ */
+ public boolean hasBlockscroll() {
+ return blockscrollBuilder_ != null || blockscroll_ != null;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ * @return The blockscroll.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll getBlockscroll() {
+ if (blockscrollBuilder_ == null) {
+ return blockscroll_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.getDefaultInstance() : blockscroll_;
+ } else {
+ return blockscrollBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ public Builder setBlockscroll(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll value) {
+ if (blockscrollBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ blockscroll_ = value;
+ onChanged();
+ } else {
+ blockscrollBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ public Builder setBlockscroll(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.Builder builderForValue) {
+ if (blockscrollBuilder_ == null) {
+ blockscroll_ = builderForValue.build();
+ onChanged();
+ } else {
+ blockscrollBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ public Builder mergeBlockscroll(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll value) {
+ if (blockscrollBuilder_ == null) {
+ if (blockscroll_ != null) {
+ blockscroll_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.newBuilder(blockscroll_).mergeFrom(value).buildPartial();
+ } else {
+ blockscroll_ = value;
+ }
+ onChanged();
+ } else {
+ blockscrollBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ public Builder clearBlockscroll() {
+ if (blockscrollBuilder_ == null) {
+ blockscroll_ = null;
+ onChanged();
+ } else {
+ blockscroll_ = null;
+ blockscrollBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.Builder getBlockscrollBuilder() {
+
+ onChanged();
+ return getBlockscrollFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscrollOrBuilder getBlockscrollOrBuilder() {
+ if (blockscrollBuilder_ != null) {
+ return blockscrollBuilder_.getMessageOrBuilder();
+ } else {
+ return blockscroll_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.getDefaultInstance() : blockscroll_;
+ }
+ }
+ /**
+ * + * 是否屏蔽滚动弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockscroll blockscroll = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscrollOrBuilder>
+ getBlockscrollFieldBuilder() {
+ if (blockscrollBuilder_ == null) {
+ blockscrollBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscroll.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockscrollOrBuilder>(
+ getBlockscroll(),
+ getParentForChildren(),
+ isClean());
+ blockscroll_ = null;
+ }
+ return blockscrollBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom blockbottom_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottomOrBuilder> blockbottomBuilder_;
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ * @return Whether the blockbottom field is set.
+ */
+ public boolean hasBlockbottom() {
+ return blockbottomBuilder_ != null || blockbottom_ != null;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ * @return The blockbottom.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom getBlockbottom() {
+ if (blockbottomBuilder_ == null) {
+ return blockbottom_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.getDefaultInstance() : blockbottom_;
+ } else {
+ return blockbottomBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ public Builder setBlockbottom(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom value) {
+ if (blockbottomBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ blockbottom_ = value;
+ onChanged();
+ } else {
+ blockbottomBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ public Builder setBlockbottom(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.Builder builderForValue) {
+ if (blockbottomBuilder_ == null) {
+ blockbottom_ = builderForValue.build();
+ onChanged();
+ } else {
+ blockbottomBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ public Builder mergeBlockbottom(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom value) {
+ if (blockbottomBuilder_ == null) {
+ if (blockbottom_ != null) {
+ blockbottom_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.newBuilder(blockbottom_).mergeFrom(value).buildPartial();
+ } else {
+ blockbottom_ = value;
+ }
+ onChanged();
+ } else {
+ blockbottomBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ public Builder clearBlockbottom() {
+ if (blockbottomBuilder_ == null) {
+ blockbottom_ = null;
+ onChanged();
+ } else {
+ blockbottom_ = null;
+ blockbottomBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.Builder getBlockbottomBuilder() {
+
+ onChanged();
+ return getBlockbottomFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottomOrBuilder getBlockbottomOrBuilder() {
+ if (blockbottomBuilder_ != null) {
+ return blockbottomBuilder_.getMessageOrBuilder();
+ } else {
+ return blockbottom_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.getDefaultInstance() : blockbottom_;
+ }
+ }
+ /**
+ * + * 是否屏蔽底端弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockbottom blockbottom = 9;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottomOrBuilder>
+ getBlockbottomFieldBuilder() {
+ if (blockbottomBuilder_ == null) {
+ blockbottomBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottom.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockbottomOrBuilder>(
+ getBlockbottom(),
+ getParentForChildren(),
+ isClean());
+ blockbottom_ = null;
+ }
+ return blockbottomBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful blockcolorful_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorfulOrBuilder> blockcolorfulBuilder_;
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ * @return Whether the blockcolorful field is set.
+ */
+ public boolean hasBlockcolorful() {
+ return blockcolorfulBuilder_ != null || blockcolorful_ != null;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ * @return The blockcolorful.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful getBlockcolorful() {
+ if (blockcolorfulBuilder_ == null) {
+ return blockcolorful_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.getDefaultInstance() : blockcolorful_;
+ } else {
+ return blockcolorfulBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ public Builder setBlockcolorful(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful value) {
+ if (blockcolorfulBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ blockcolorful_ = value;
+ onChanged();
+ } else {
+ blockcolorfulBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ public Builder setBlockcolorful(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.Builder builderForValue) {
+ if (blockcolorfulBuilder_ == null) {
+ blockcolorful_ = builderForValue.build();
+ onChanged();
+ } else {
+ blockcolorfulBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ public Builder mergeBlockcolorful(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful value) {
+ if (blockcolorfulBuilder_ == null) {
+ if (blockcolorful_ != null) {
+ blockcolorful_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.newBuilder(blockcolorful_).mergeFrom(value).buildPartial();
+ } else {
+ blockcolorful_ = value;
+ }
+ onChanged();
+ } else {
+ blockcolorfulBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ public Builder clearBlockcolorful() {
+ if (blockcolorfulBuilder_ == null) {
+ blockcolorful_ = null;
+ onChanged();
+ } else {
+ blockcolorful_ = null;
+ blockcolorfulBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.Builder getBlockcolorfulBuilder() {
+
+ onChanged();
+ return getBlockcolorfulFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorfulOrBuilder getBlockcolorfulOrBuilder() {
+ if (blockcolorfulBuilder_ != null) {
+ return blockcolorfulBuilder_.getMessageOrBuilder();
+ } else {
+ return blockcolorful_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.getDefaultInstance() : blockcolorful_;
+ }
+ }
+ /**
+ * + * 是否屏蔽彩色弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockcolorful blockcolorful = 10;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorfulOrBuilder>
+ getBlockcolorfulFieldBuilder() {
+ if (blockcolorfulBuilder_ == null) {
+ blockcolorfulBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorful.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockcolorfulOrBuilder>(
+ getBlockcolorful(),
+ getParentForChildren(),
+ isClean());
+ blockcolorful_ = null;
+ }
+ return blockcolorfulBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat blockrepeat_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeatOrBuilder> blockrepeatBuilder_;
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ * @return Whether the blockrepeat field is set.
+ */
+ public boolean hasBlockrepeat() {
+ return blockrepeatBuilder_ != null || blockrepeat_ != null;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ * @return The blockrepeat.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat getBlockrepeat() {
+ if (blockrepeatBuilder_ == null) {
+ return blockrepeat_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.getDefaultInstance() : blockrepeat_;
+ } else {
+ return blockrepeatBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ public Builder setBlockrepeat(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat value) {
+ if (blockrepeatBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ blockrepeat_ = value;
+ onChanged();
+ } else {
+ blockrepeatBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ public Builder setBlockrepeat(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.Builder builderForValue) {
+ if (blockrepeatBuilder_ == null) {
+ blockrepeat_ = builderForValue.build();
+ onChanged();
+ } else {
+ blockrepeatBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ public Builder mergeBlockrepeat(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat value) {
+ if (blockrepeatBuilder_ == null) {
+ if (blockrepeat_ != null) {
+ blockrepeat_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.newBuilder(blockrepeat_).mergeFrom(value).buildPartial();
+ } else {
+ blockrepeat_ = value;
+ }
+ onChanged();
+ } else {
+ blockrepeatBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ public Builder clearBlockrepeat() {
+ if (blockrepeatBuilder_ == null) {
+ blockrepeat_ = null;
+ onChanged();
+ } else {
+ blockrepeat_ = null;
+ blockrepeatBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.Builder getBlockrepeatBuilder() {
+
+ onChanged();
+ return getBlockrepeatFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeatOrBuilder getBlockrepeatOrBuilder() {
+ if (blockrepeatBuilder_ != null) {
+ return blockrepeatBuilder_.getMessageOrBuilder();
+ } else {
+ return blockrepeat_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.getDefaultInstance() : blockrepeat_;
+ }
+ }
+ /**
+ * + * 是否屏蔽重复弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockrepeat blockrepeat = 11;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeatOrBuilder>
+ getBlockrepeatFieldBuilder() {
+ if (blockrepeatBuilder_ == null) {
+ blockrepeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeat.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockrepeatOrBuilder>(
+ getBlockrepeat(),
+ getParentForChildren(),
+ isClean());
+ blockrepeat_ = null;
+ }
+ return blockrepeatBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial blockspecial_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecialOrBuilder> blockspecialBuilder_;
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ * @return Whether the blockspecial field is set.
+ */
+ public boolean hasBlockspecial() {
+ return blockspecialBuilder_ != null || blockspecial_ != null;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ * @return The blockspecial.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial getBlockspecial() {
+ if (blockspecialBuilder_ == null) {
+ return blockspecial_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.getDefaultInstance() : blockspecial_;
+ } else {
+ return blockspecialBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ public Builder setBlockspecial(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial value) {
+ if (blockspecialBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ blockspecial_ = value;
+ onChanged();
+ } else {
+ blockspecialBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ public Builder setBlockspecial(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.Builder builderForValue) {
+ if (blockspecialBuilder_ == null) {
+ blockspecial_ = builderForValue.build();
+ onChanged();
+ } else {
+ blockspecialBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ public Builder mergeBlockspecial(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial value) {
+ if (blockspecialBuilder_ == null) {
+ if (blockspecial_ != null) {
+ blockspecial_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.newBuilder(blockspecial_).mergeFrom(value).buildPartial();
+ } else {
+ blockspecial_ = value;
+ }
+ onChanged();
+ } else {
+ blockspecialBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ public Builder clearBlockspecial() {
+ if (blockspecialBuilder_ == null) {
+ blockspecial_ = null;
+ onChanged();
+ } else {
+ blockspecial_ = null;
+ blockspecialBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.Builder getBlockspecialBuilder() {
+
+ onChanged();
+ return getBlockspecialFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecialOrBuilder getBlockspecialOrBuilder() {
+ if (blockspecialBuilder_ != null) {
+ return blockspecialBuilder_.getMessageOrBuilder();
+ } else {
+ return blockspecial_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.getDefaultInstance() : blockspecial_;
+ }
+ }
+ /**
+ * + * 是否屏蔽高级弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuBlockspecial blockspecial = 12;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecialOrBuilder>
+ getBlockspecialFieldBuilder() {
+ if (blockspecialBuilder_ == null) {
+ blockspecialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecial.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuBlockspecialOrBuilder>(
+ getBlockspecial(),
+ getParentForChildren(),
+ isClean());
+ blockspecial_ = null;
+ }
+ return blockspecialBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity opacity_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacityOrBuilder> opacityBuilder_;
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ * @return Whether the opacity field is set.
+ */
+ public boolean hasOpacity() {
+ return opacityBuilder_ != null || opacity_ != null;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ * @return The opacity.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity getOpacity() {
+ if (opacityBuilder_ == null) {
+ return opacity_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.getDefaultInstance() : opacity_;
+ } else {
+ return opacityBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ public Builder setOpacity(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity value) {
+ if (opacityBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ opacity_ = value;
+ onChanged();
+ } else {
+ opacityBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ public Builder setOpacity(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.Builder builderForValue) {
+ if (opacityBuilder_ == null) {
+ opacity_ = builderForValue.build();
+ onChanged();
+ } else {
+ opacityBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ public Builder mergeOpacity(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity value) {
+ if (opacityBuilder_ == null) {
+ if (opacity_ != null) {
+ opacity_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.newBuilder(opacity_).mergeFrom(value).buildPartial();
+ } else {
+ opacity_ = value;
+ }
+ onChanged();
+ } else {
+ opacityBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ public Builder clearOpacity() {
+ if (opacityBuilder_ == null) {
+ opacity_ = null;
+ onChanged();
+ } else {
+ opacity_ = null;
+ opacityBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.Builder getOpacityBuilder() {
+
+ onChanged();
+ return getOpacityFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacityOrBuilder getOpacityOrBuilder() {
+ if (opacityBuilder_ != null) {
+ return opacityBuilder_.getMessageOrBuilder();
+ } else {
+ return opacity_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.getDefaultInstance() : opacity_;
+ }
+ }
+ /**
+ * + * 弹幕不透明度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuOpacity opacity = 13;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacityOrBuilder>
+ getOpacityFieldBuilder() {
+ if (opacityBuilder_ == null) {
+ opacityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacity.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuOpacityOrBuilder>(
+ getOpacity(),
+ getParentForChildren(),
+ isClean());
+ opacity_ = null;
+ }
+ return opacityBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor scalingfactor_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactorOrBuilder> scalingfactorBuilder_;
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ * @return Whether the scalingfactor field is set.
+ */
+ public boolean hasScalingfactor() {
+ return scalingfactorBuilder_ != null || scalingfactor_ != null;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ * @return The scalingfactor.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor getScalingfactor() {
+ if (scalingfactorBuilder_ == null) {
+ return scalingfactor_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.getDefaultInstance() : scalingfactor_;
+ } else {
+ return scalingfactorBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ public Builder setScalingfactor(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor value) {
+ if (scalingfactorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ scalingfactor_ = value;
+ onChanged();
+ } else {
+ scalingfactorBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ public Builder setScalingfactor(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.Builder builderForValue) {
+ if (scalingfactorBuilder_ == null) {
+ scalingfactor_ = builderForValue.build();
+ onChanged();
+ } else {
+ scalingfactorBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ public Builder mergeScalingfactor(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor value) {
+ if (scalingfactorBuilder_ == null) {
+ if (scalingfactor_ != null) {
+ scalingfactor_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.newBuilder(scalingfactor_).mergeFrom(value).buildPartial();
+ } else {
+ scalingfactor_ = value;
+ }
+ onChanged();
+ } else {
+ scalingfactorBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ public Builder clearScalingfactor() {
+ if (scalingfactorBuilder_ == null) {
+ scalingfactor_ = null;
+ onChanged();
+ } else {
+ scalingfactor_ = null;
+ scalingfactorBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.Builder getScalingfactorBuilder() {
+
+ onChanged();
+ return getScalingfactorFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactorOrBuilder getScalingfactorOrBuilder() {
+ if (scalingfactorBuilder_ != null) {
+ return scalingfactorBuilder_.getMessageOrBuilder();
+ } else {
+ return scalingfactor_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.getDefaultInstance() : scalingfactor_;
+ }
+ }
+ /**
+ * + * 弹幕缩放比例 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuScalingfactor scalingfactor = 14;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactorOrBuilder>
+ getScalingfactorFieldBuilder() {
+ if (scalingfactorBuilder_ == null) {
+ scalingfactorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactor.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuScalingfactorOrBuilder>(
+ getScalingfactor(),
+ getParentForChildren(),
+ isClean());
+ scalingfactor_ = null;
+ }
+ return scalingfactorBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain domain_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomainOrBuilder> domainBuilder_;
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ * @return Whether the domain field is set.
+ */
+ public boolean hasDomain() {
+ return domainBuilder_ != null || domain_ != null;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ * @return The domain.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain getDomain() {
+ if (domainBuilder_ == null) {
+ return domain_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.getDefaultInstance() : domain_;
+ } else {
+ return domainBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ public Builder setDomain(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain value) {
+ if (domainBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ domain_ = value;
+ onChanged();
+ } else {
+ domainBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ public Builder setDomain(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.Builder builderForValue) {
+ if (domainBuilder_ == null) {
+ domain_ = builderForValue.build();
+ onChanged();
+ } else {
+ domainBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ public Builder mergeDomain(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain value) {
+ if (domainBuilder_ == null) {
+ if (domain_ != null) {
+ domain_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.newBuilder(domain_).mergeFrom(value).buildPartial();
+ } else {
+ domain_ = value;
+ }
+ onChanged();
+ } else {
+ domainBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ public Builder clearDomain() {
+ if (domainBuilder_ == null) {
+ domain_ = null;
+ onChanged();
+ } else {
+ domain_ = null;
+ domainBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.Builder getDomainBuilder() {
+
+ onChanged();
+ return getDomainFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomainOrBuilder getDomainOrBuilder() {
+ if (domainBuilder_ != null) {
+ return domainBuilder_.getMessageOrBuilder();
+ } else {
+ return domain_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.getDefaultInstance() : domain_;
+ }
+ }
+ /**
+ * + * 弹幕显示区域 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuDomain domain = 15;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomainOrBuilder>
+ getDomainFieldBuilder() {
+ if (domainBuilder_ == null) {
+ domainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomain.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuDomainOrBuilder>(
+ getDomain(),
+ getParentForChildren(),
+ isClean());
+ domain_ = null;
+ }
+ return domainBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed speed_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeedOrBuilder> speedBuilder_;
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ * @return Whether the speed field is set.
+ */
+ public boolean hasSpeed() {
+ return speedBuilder_ != null || speed_ != null;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ * @return The speed.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed getSpeed() {
+ if (speedBuilder_ == null) {
+ return speed_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.getDefaultInstance() : speed_;
+ } else {
+ return speedBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ public Builder setSpeed(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed value) {
+ if (speedBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ speed_ = value;
+ onChanged();
+ } else {
+ speedBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ public Builder setSpeed(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.Builder builderForValue) {
+ if (speedBuilder_ == null) {
+ speed_ = builderForValue.build();
+ onChanged();
+ } else {
+ speedBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ public Builder mergeSpeed(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed value) {
+ if (speedBuilder_ == null) {
+ if (speed_ != null) {
+ speed_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.newBuilder(speed_).mergeFrom(value).buildPartial();
+ } else {
+ speed_ = value;
+ }
+ onChanged();
+ } else {
+ speedBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ public Builder clearSpeed() {
+ if (speedBuilder_ == null) {
+ speed_ = null;
+ onChanged();
+ } else {
+ speed_ = null;
+ speedBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.Builder getSpeedBuilder() {
+
+ onChanged();
+ return getSpeedFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeedOrBuilder getSpeedOrBuilder() {
+ if (speedBuilder_ != null) {
+ return speedBuilder_.getMessageOrBuilder();
+ } else {
+ return speed_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.getDefaultInstance() : speed_;
+ }
+ }
+ /**
+ * + * 弹幕速度 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSpeed speed = 16;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeedOrBuilder>
+ getSpeedFieldBuilder() {
+ if (speedBuilder_ == null) {
+ speedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeed.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSpeedOrBuilder>(
+ getSpeed(),
+ getParentForChildren(),
+ isClean());
+ speed_ = null;
+ }
+ return speedBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist enableblocklist_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklistOrBuilder> enableblocklistBuilder_;
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ * @return Whether the enableblocklist field is set.
+ */
+ public boolean hasEnableblocklist() {
+ return enableblocklistBuilder_ != null || enableblocklist_ != null;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ * @return The enableblocklist.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist getEnableblocklist() {
+ if (enableblocklistBuilder_ == null) {
+ return enableblocklist_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.getDefaultInstance() : enableblocklist_;
+ } else {
+ return enableblocklistBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ public Builder setEnableblocklist(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist value) {
+ if (enableblocklistBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ enableblocklist_ = value;
+ onChanged();
+ } else {
+ enableblocklistBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ public Builder setEnableblocklist(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.Builder builderForValue) {
+ if (enableblocklistBuilder_ == null) {
+ enableblocklist_ = builderForValue.build();
+ onChanged();
+ } else {
+ enableblocklistBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ public Builder mergeEnableblocklist(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist value) {
+ if (enableblocklistBuilder_ == null) {
+ if (enableblocklist_ != null) {
+ enableblocklist_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.newBuilder(enableblocklist_).mergeFrom(value).buildPartial();
+ } else {
+ enableblocklist_ = value;
+ }
+ onChanged();
+ } else {
+ enableblocklistBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ public Builder clearEnableblocklist() {
+ if (enableblocklistBuilder_ == null) {
+ enableblocklist_ = null;
+ onChanged();
+ } else {
+ enableblocklist_ = null;
+ enableblocklistBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.Builder getEnableblocklistBuilder() {
+
+ onChanged();
+ return getEnableblocklistFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklistOrBuilder getEnableblocklistOrBuilder() {
+ if (enableblocklistBuilder_ != null) {
+ return enableblocklistBuilder_.getMessageOrBuilder();
+ } else {
+ return enableblocklist_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.getDefaultInstance() : enableblocklist_;
+ }
+ }
+ /**
+ * + * 是否开启屏蔽列表 + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuEnableblocklist enableblocklist = 17;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklistOrBuilder>
+ getEnableblocklistFieldBuilder() {
+ if (enableblocklistBuilder_ == null) {
+ enableblocklistBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklist.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuEnableblocklistOrBuilder>(
+ getEnableblocklist(),
+ getParentForChildren(),
+ isClean());
+ enableblocklist_ = null;
+ }
+ return enableblocklistBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitchOrBuilder> inlinePlayerDanmakuSwitchBuilder_;
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ * @return Whether the inlinePlayerDanmakuSwitch field is set.
+ */
+ public boolean hasInlinePlayerDanmakuSwitch() {
+ return inlinePlayerDanmakuSwitchBuilder_ != null || inlinePlayerDanmakuSwitch_ != null;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ * @return The inlinePlayerDanmakuSwitch.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch getInlinePlayerDanmakuSwitch() {
+ if (inlinePlayerDanmakuSwitchBuilder_ == null) {
+ return inlinePlayerDanmakuSwitch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.getDefaultInstance() : inlinePlayerDanmakuSwitch_;
+ } else {
+ return inlinePlayerDanmakuSwitchBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ public Builder setInlinePlayerDanmakuSwitch(com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch value) {
+ if (inlinePlayerDanmakuSwitchBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ inlinePlayerDanmakuSwitch_ = value;
+ onChanged();
+ } else {
+ inlinePlayerDanmakuSwitchBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ public Builder setInlinePlayerDanmakuSwitch(
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder builderForValue) {
+ if (inlinePlayerDanmakuSwitchBuilder_ == null) {
+ inlinePlayerDanmakuSwitch_ = builderForValue.build();
+ onChanged();
+ } else {
+ inlinePlayerDanmakuSwitchBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ public Builder mergeInlinePlayerDanmakuSwitch(com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch value) {
+ if (inlinePlayerDanmakuSwitchBuilder_ == null) {
+ if (inlinePlayerDanmakuSwitch_ != null) {
+ inlinePlayerDanmakuSwitch_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.newBuilder(inlinePlayerDanmakuSwitch_).mergeFrom(value).buildPartial();
+ } else {
+ inlinePlayerDanmakuSwitch_ = value;
+ }
+ onChanged();
+ } else {
+ inlinePlayerDanmakuSwitchBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ public Builder clearInlinePlayerDanmakuSwitch() {
+ if (inlinePlayerDanmakuSwitchBuilder_ == null) {
+ inlinePlayerDanmakuSwitch_ = null;
+ onChanged();
+ } else {
+ inlinePlayerDanmakuSwitch_ = null;
+ inlinePlayerDanmakuSwitchBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder getInlinePlayerDanmakuSwitchBuilder() {
+
+ onChanged();
+ return getInlinePlayerDanmakuSwitchFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitchOrBuilder getInlinePlayerDanmakuSwitchOrBuilder() {
+ if (inlinePlayerDanmakuSwitchBuilder_ != null) {
+ return inlinePlayerDanmakuSwitchBuilder_.getMessageOrBuilder();
+ } else {
+ return inlinePlayerDanmakuSwitch_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.getDefaultInstance() : inlinePlayerDanmakuSwitch_;
+ }
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + *
.com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitchOrBuilder>
+ getInlinePlayerDanmakuSwitchFieldBuilder() {
+ if (inlinePlayerDanmakuSwitchBuilder_ == null) {
+ inlinePlayerDanmakuSwitchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitchOrBuilder>(
+ getInlinePlayerDanmakuSwitch(),
+ getParentForChildren(),
+ isClean());
+ inlinePlayerDanmakuSwitch_ = null;
+ }
+ return inlinePlayerDanmakuSwitchBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch seniorModeSwitch_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitchOrBuilder> seniorModeSwitchBuilder_;
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ * @return Whether the seniorModeSwitch field is set.
+ */
+ public boolean hasSeniorModeSwitch() {
+ return seniorModeSwitchBuilder_ != null || seniorModeSwitch_ != null;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ * @return The seniorModeSwitch.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch getSeniorModeSwitch() {
+ if (seniorModeSwitchBuilder_ == null) {
+ return seniorModeSwitch_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.getDefaultInstance() : seniorModeSwitch_;
+ } else {
+ return seniorModeSwitchBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ public Builder setSeniorModeSwitch(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch value) {
+ if (seniorModeSwitchBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ seniorModeSwitch_ = value;
+ onChanged();
+ } else {
+ seniorModeSwitchBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ public Builder setSeniorModeSwitch(
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.Builder builderForValue) {
+ if (seniorModeSwitchBuilder_ == null) {
+ seniorModeSwitch_ = builderForValue.build();
+ onChanged();
+ } else {
+ seniorModeSwitchBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ public Builder mergeSeniorModeSwitch(com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch value) {
+ if (seniorModeSwitchBuilder_ == null) {
+ if (seniorModeSwitch_ != null) {
+ seniorModeSwitch_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.newBuilder(seniorModeSwitch_).mergeFrom(value).buildPartial();
+ } else {
+ seniorModeSwitch_ = value;
+ }
+ onChanged();
+ } else {
+ seniorModeSwitchBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ public Builder clearSeniorModeSwitch() {
+ if (seniorModeSwitchBuilder_ == null) {
+ seniorModeSwitch_ = null;
+ onChanged();
+ } else {
+ seniorModeSwitch_ = null;
+ seniorModeSwitchBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.Builder getSeniorModeSwitchBuilder() {
+
+ onChanged();
+ return getSeniorModeSwitchFieldBuilder().getBuilder();
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitchOrBuilder getSeniorModeSwitchOrBuilder() {
+ if (seniorModeSwitchBuilder_ != null) {
+ return seniorModeSwitchBuilder_.getMessageOrBuilder();
+ } else {
+ return seniorModeSwitch_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.getDefaultInstance() : seniorModeSwitch_;
+ }
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitchOrBuilder>
+ getSeniorModeSwitchFieldBuilder() {
+ if (seniorModeSwitchBuilder_ == null) {
+ seniorModeSwitchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitch.Builder, com.yutou.qqbot.bilibili.VideoDanMu.PlayerDanmakuSeniorModeSwitchOrBuilder>(
+ getSeniorModeSwitch(),
+ getParentForChildren(),
+ isClean());
+ seniorModeSwitch_ = null;
+ }
+ return seniorModeSwitchBuilder_;
+ }
+ @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:com.yutou.qqbot.bilibili.DmPlayerConfigReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmPlayerConfigReq)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmPlayerConfigReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *+ * + *
int64 page_size = 1;
+ * @return The pageSize.
+ */
+ long getPageSize();
+
+ /**
+ * + *+ * + *
int64 total = 2;
+ * @return The total.
+ */
+ long getTotal();
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegConfig} + */ + public static final class DmSegConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegConfig) + DmSegConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegConfig.newBuilder() to construct. + private DmSegConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + pageSize_ = input.readInt64(); + break; + } + case 16: { + + total_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.class, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder.class); + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 1; + private long pageSize_; + /** + *
+ *+ * + *
int64 page_size = 1;
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public long getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int TOTAL_FIELD_NUMBER = 2;
+ private long total_;
+ /**
+ * + *+ * + *
int64 total = 2;
+ * @return The total.
+ */
+ @java.lang.Override
+ public long getTotal() {
+ return total_;
+ }
+
+ 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 (pageSize_ != 0L) {
+ output.writeInt64(1, pageSize_);
+ }
+ if (total_ != 0L) {
+ output.writeInt64(2, total_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (pageSize_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, pageSize_);
+ }
+ if (total_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, total_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig) obj;
+
+ if (getPageSize()
+ != other.getPageSize()) return false;
+ if (getTotal()
+ != other.getTotal()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPageSize());
+ hash = (37 * hash) + TOTAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getTotal());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig 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 com.yutou.qqbot.bilibili.DmSegConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
int64 page_size = 1;
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public long getPageSize() {
+ return pageSize_;
+ }
+ /**
+ * + *+ * + *
int64 page_size = 1;
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(long value) {
+
+ pageSize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 page_size = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+
+ pageSize_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long total_ ;
+ /**
+ * + *+ * + *
int64 total = 2;
+ * @return The total.
+ */
+ @java.lang.Override
+ public long getTotal() {
+ return total_;
+ }
+ /**
+ * + *+ * + *
int64 total = 2;
+ * @param value The total to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotal(long value) {
+
+ total_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 total = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearTotal() {
+
+ total_ = 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:com.yutou.qqbot.bilibili.DmSegConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmSegConfig)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index);
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ int getElemsCount();
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList();
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index);
+
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 2;
+ * @return The state.
+ */
+ int getState();
+
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ * @return Whether the aiFlag field is set.
+ */
+ boolean hasAiFlag();
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ * @return The aiFlag.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag getAiFlag();
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlagOrBuilder getAiFlagOrBuilder();
+ }
+ /**
+ * + * 获取弹幕-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegMobileReply} + */ + public static final class DmSegMobileReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegMobileReply) + DmSegMobileReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegMobileReply.newBuilder() to construct. + private DmSegMobileReply(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegMobileReply() { + elems_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegMobileReply(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegMobileReply( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elems_ = new java.util.ArrayList
+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ @java.lang.Override
+ public java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList() {
+ return elems_;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ @java.lang.Override
+ public int getElemsCount() {
+ return elems_.size();
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index) {
+ return elems_.get(index);
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index) {
+ return elems_.get(index);
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public int getState() {
+ return state_;
+ }
+
+ public static final int AI_FLAG_FIELD_NUMBER = 3;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag aiFlag_;
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ * @return Whether the aiFlag field is set.
+ */
+ @java.lang.Override
+ public boolean hasAiFlag() {
+ return aiFlag_ != null;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ * @return The aiFlag.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag getAiFlag() {
+ return aiFlag_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.getDefaultInstance() : aiFlag_;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlagOrBuilder getAiFlagOrBuilder() {
+ return getAiFlag();
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < elems_.size(); i++) {
+ output.writeMessage(1, elems_.get(i));
+ }
+ if (state_ != 0) {
+ output.writeInt32(2, state_);
+ }
+ if (aiFlag_ != null) {
+ output.writeMessage(3, getAiFlag());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < elems_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, elems_.get(i));
+ }
+ if (state_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, state_);
+ }
+ if (aiFlag_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getAiFlag());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply) obj;
+
+ if (!getElemsList()
+ .equals(other.getElemsList())) return false;
+ if (getState()
+ != other.getState()) return false;
+ if (hasAiFlag() != other.hasAiFlag()) return false;
+ if (hasAiFlag()) {
+ if (!getAiFlag()
+ .equals(other.getAiFlag())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getElemsCount() > 0) {
+ hash = (37 * hash) + ELEMS_FIELD_NUMBER;
+ hash = (53 * hash) + getElemsList().hashCode();
+ }
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + getState();
+ if (hasAiFlag()) {
+ hash = (37 * hash) + AI_FLAG_FIELD_NUMBER;
+ hash = (53 * hash) + getAiFlag().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply 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 com.yutou.qqbot.bilibili.DmSegMobileReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public int getElemsCount() {
+ if (elemsBuilder_ == null) {
+ return elems_.size();
+ } else {
+ return elemsBuilder_.getCount();
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index) {
+ if (elemsBuilder_ == null) {
+ return elems_.get(index);
+ } else {
+ return elemsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder setElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.set(index, value);
+ onChanged();
+ } else {
+ elemsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder setElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder addElems(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.add(value);
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder addElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.add(index, value);
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder addElems(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.add(builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder addElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder addAllElems(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem> values) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, elems_);
+ onChanged();
+ } else {
+ elemsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder clearElems() {
+ if (elemsBuilder_ == null) {
+ elems_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ elemsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public Builder removeElems(int index) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.remove(index);
+ onChanged();
+ } else {
+ elemsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder getElemsBuilder(
+ int index) {
+ return getElemsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index) {
+ if (elemsBuilder_ == null) {
+ return elems_.get(index); } else {
+ return elemsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList() {
+ if (elemsBuilder_ != null) {
+ return elemsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(elems_);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder addElemsBuilder() {
+ return getElemsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder addElemsBuilder(
+ int index) {
+ return getElemsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 1;
+ */
+ public java.util.List+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 2;
+ * @return The state.
+ */
+ @java.lang.Override
+ public int getState() {
+ return state_;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 2;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag aiFlag_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlagOrBuilder> aiFlagBuilder_;
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ * @return Whether the aiFlag field is set.
+ */
+ public boolean hasAiFlag() {
+ return aiFlagBuilder_ != null || aiFlag_ != null;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ * @return The aiFlag.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag getAiFlag() {
+ if (aiFlagBuilder_ == null) {
+ return aiFlag_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.getDefaultInstance() : aiFlag_;
+ } else {
+ return aiFlagBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ public Builder setAiFlag(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag value) {
+ if (aiFlagBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ aiFlag_ = value;
+ onChanged();
+ } else {
+ aiFlagBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ public Builder setAiFlag(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.Builder builderForValue) {
+ if (aiFlagBuilder_ == null) {
+ aiFlag_ = builderForValue.build();
+ onChanged();
+ } else {
+ aiFlagBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ public Builder mergeAiFlag(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag value) {
+ if (aiFlagBuilder_ == null) {
+ if (aiFlag_ != null) {
+ aiFlag_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.newBuilder(aiFlag_).mergeFrom(value).buildPartial();
+ } else {
+ aiFlag_ = value;
+ }
+ onChanged();
+ } else {
+ aiFlagBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ public Builder clearAiFlag() {
+ if (aiFlagBuilder_ == null) {
+ aiFlag_ = null;
+ onChanged();
+ } else {
+ aiFlag_ = null;
+ aiFlagBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.Builder getAiFlagBuilder() {
+
+ onChanged();
+ return getAiFlagFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlagOrBuilder getAiFlagOrBuilder() {
+ if (aiFlagBuilder_ != null) {
+ return aiFlagBuilder_.getMessageOrBuilder();
+ } else {
+ return aiFlag_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.getDefaultInstance() : aiFlag_;
+ }
+ }
+ /**
+ * + * 弹幕云屏蔽ai评分值 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuAIFlag ai_flag = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlagOrBuilder>
+ getAiFlagFieldBuilder() {
+ if (aiFlagBuilder_ == null) {
+ aiFlagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlag.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuAIFlagOrBuilder>(
+ getAiFlag(),
+ getParentForChildren(),
+ isClean());
+ aiFlag_ = null;
+ }
+ return aiFlagBuilder_;
+ }
+ @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:com.yutou.qqbot.bilibili.DmSegMobileReply)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmSegMobileReply)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReply getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ long getPid();
+
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ long getOid();
+
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ int getType();
+
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ long getSegmentIndex();
+
+ /**
+ * + * 是否青少年模式 + *+ * + *
int32 teenagers_mode = 5;
+ * @return The teenagersMode.
+ */
+ int getTeenagersMode();
+ }
+ /**
+ * + * 获取弹幕-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegMobileReq} + */ + public static final class DmSegMobileReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegMobileReq) + DmSegMobileReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegMobileReq.newBuilder() to construct. + private DmSegMobileReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegMobileReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegMobileReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegMobileReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + pid_ = input.readInt64(); + break; + } + case 16: { + + oid_ = input.readInt64(); + break; + } + case 24: { + + type_ = input.readInt32(); + break; + } + case 32: { + + segmentIndex_ = input.readInt64(); + break; + } + case 40: { + + teenagersMode_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegMobileReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegMobileReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq.class, com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq.Builder.class); + } + + public static final int PID_FIELD_NUMBER = 1; + private long pid_; + /** + *
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+
+ public static final int OID_FIELD_NUMBER = 2;
+ private long oid_;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private int type_;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+
+ public static final int SEGMENT_INDEX_FIELD_NUMBER = 4;
+ private long segmentIndex_;
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ @java.lang.Override
+ public long getSegmentIndex() {
+ return segmentIndex_;
+ }
+
+ public static final int TEENAGERS_MODE_FIELD_NUMBER = 5;
+ private int teenagersMode_;
+ /**
+ * + * 是否青少年模式 + *+ * + *
int32 teenagers_mode = 5;
+ * @return The teenagersMode.
+ */
+ @java.lang.Override
+ public int getTeenagersMode() {
+ return teenagersMode_;
+ }
+
+ 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 (pid_ != 0L) {
+ output.writeInt64(1, pid_);
+ }
+ if (oid_ != 0L) {
+ output.writeInt64(2, oid_);
+ }
+ if (type_ != 0) {
+ output.writeInt32(3, type_);
+ }
+ if (segmentIndex_ != 0L) {
+ output.writeInt64(4, segmentIndex_);
+ }
+ if (teenagersMode_ != 0) {
+ output.writeInt32(5, teenagersMode_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (pid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, pid_);
+ }
+ if (oid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, oid_);
+ }
+ if (type_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, type_);
+ }
+ if (segmentIndex_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, segmentIndex_);
+ }
+ if (teenagersMode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, teenagersMode_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq) obj;
+
+ if (getPid()
+ != other.getPid()) return false;
+ if (getOid()
+ != other.getOid()) return false;
+ if (getType()
+ != other.getType()) return false;
+ if (getSegmentIndex()
+ != other.getSegmentIndex()) return false;
+ if (getTeenagersMode()
+ != other.getTeenagersMode()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPid());
+ hash = (37 * hash) + OID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getOid());
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getType();
+ hash = (37 * hash) + SEGMENT_INDEX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSegmentIndex());
+ hash = (37 * hash) + TEENAGERS_MODE_FIELD_NUMBER;
+ hash = (53 * hash) + getTeenagersMode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq 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 com.yutou.qqbot.bilibili.DmSegMobileReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @param value The pid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPid(long value) {
+
+ pid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPid() {
+
+ pid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long oid_ ;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @param value The oid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOid(long value) {
+
+ oid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearOid() {
+
+ oid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int type_ ;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(int value) {
+
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long segmentIndex_ ;
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ @java.lang.Override
+ public long getSegmentIndex() {
+ return segmentIndex_;
+ }
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @param value The segmentIndex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSegmentIndex(long value) {
+
+ segmentIndex_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearSegmentIndex() {
+
+ segmentIndex_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int teenagersMode_ ;
+ /**
+ * + * 是否青少年模式 + *+ * + *
int32 teenagers_mode = 5;
+ * @return The teenagersMode.
+ */
+ @java.lang.Override
+ public int getTeenagersMode() {
+ return teenagersMode_;
+ }
+ /**
+ * + * 是否青少年模式 + *+ * + *
int32 teenagers_mode = 5;
+ * @param value The teenagersMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTeenagersMode(int value) {
+
+ teenagersMode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否青少年模式 + *+ * + *
int32 teenagers_mode = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearTeenagersMode() {
+
+ teenagersMode_ = 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:com.yutou.qqbot.bilibili.DmSegMobileReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmSegMobileReq)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegMobileReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ boolean getClosed();
+
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index);
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ int getElemsCount();
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList();
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index);
+ }
+ /**
+ * + * ott弹幕列表-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegOttReply} + */ + public static final class DmSegOttReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegOttReply) + DmSegOttReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegOttReply.newBuilder() to construct. + private DmSegOttReply(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegOttReply() { + elems_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegOttReply(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegOttReply( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + closed_ = input.readBool(); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elems_ = new java.util.ArrayList
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ @java.lang.Override
+ public boolean getClosed() {
+ return closed_;
+ }
+
+ public static final int ELEMS_FIELD_NUMBER = 2;
+ private java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList() {
+ return elems_;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public int getElemsCount() {
+ return elems_.size();
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index) {
+ return elems_.get(index);
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index) {
+ return elems_.get(index);
+ }
+
+ 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 (closed_ != false) {
+ output.writeBool(1, closed_);
+ }
+ for (int i = 0; i < elems_.size(); i++) {
+ output.writeMessage(2, elems_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (closed_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, closed_);
+ }
+ for (int i = 0; i < elems_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, elems_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply) obj;
+
+ if (getClosed()
+ != other.getClosed()) return false;
+ if (!getElemsList()
+ .equals(other.getElemsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + CLOSED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getClosed());
+ if (getElemsCount() > 0) {
+ hash = (37 * hash) + ELEMS_FIELD_NUMBER;
+ hash = (53 * hash) + getElemsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReply 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;
+ }
+ /**
+ * + * ott弹幕列表-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegOttReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ @java.lang.Override
+ public boolean getClosed() {
+ return closed_;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @param value The closed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClosed(boolean value) {
+
+ closed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearClosed() {
+
+ closed_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public int getElemsCount() {
+ if (elemsBuilder_ == null) {
+ return elems_.size();
+ } else {
+ return elemsBuilder_.getCount();
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index) {
+ if (elemsBuilder_ == null) {
+ return elems_.get(index);
+ } else {
+ return elemsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder setElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.set(index, value);
+ onChanged();
+ } else {
+ elemsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder setElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.add(value);
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.add(index, value);
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.add(builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addAllElems(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem> values) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, elems_);
+ onChanged();
+ } else {
+ elemsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder clearElems() {
+ if (elemsBuilder_ == null) {
+ elems_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ elemsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder removeElems(int index) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.remove(index);
+ onChanged();
+ } else {
+ elemsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder getElemsBuilder(
+ int index) {
+ return getElemsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index) {
+ if (elemsBuilder_ == null) {
+ return elems_.get(index); } else {
+ return elemsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList() {
+ if (elemsBuilder_ != null) {
+ return elemsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(elems_);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder addElemsBuilder() {
+ return getElemsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder addElemsBuilder(
+ int index) {
+ return getElemsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public java.util.List+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ long getPid();
+
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ long getOid();
+
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ int getType();
+
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ long getSegmentIndex();
+ }
+ /**
+ * + * ott弹幕列表-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegOttReq} + */ + public static final class DmSegOttReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegOttReq) + DmSegOttReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegOttReq.newBuilder() to construct. + private DmSegOttReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegOttReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegOttReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegOttReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + pid_ = input.readInt64(); + break; + } + case 16: { + + oid_ = input.readInt64(); + break; + } + case 24: { + + type_ = input.readInt32(); + break; + } + case 32: { + + segmentIndex_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegOttReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegOttReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq.class, com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq.Builder.class); + } + + public static final int PID_FIELD_NUMBER = 1; + private long pid_; + /** + *
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+
+ public static final int OID_FIELD_NUMBER = 2;
+ private long oid_;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private int type_;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+
+ public static final int SEGMENT_INDEX_FIELD_NUMBER = 4;
+ private long segmentIndex_;
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ @java.lang.Override
+ public long getSegmentIndex() {
+ return segmentIndex_;
+ }
+
+ 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 (pid_ != 0L) {
+ output.writeInt64(1, pid_);
+ }
+ if (oid_ != 0L) {
+ output.writeInt64(2, oid_);
+ }
+ if (type_ != 0) {
+ output.writeInt32(3, type_);
+ }
+ if (segmentIndex_ != 0L) {
+ output.writeInt64(4, segmentIndex_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (pid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, pid_);
+ }
+ if (oid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, oid_);
+ }
+ if (type_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, type_);
+ }
+ if (segmentIndex_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, segmentIndex_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq) obj;
+
+ if (getPid()
+ != other.getPid()) return false;
+ if (getOid()
+ != other.getOid()) return false;
+ if (getType()
+ != other.getType()) return false;
+ if (getSegmentIndex()
+ != other.getSegmentIndex()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPid());
+ hash = (37 * hash) + OID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getOid());
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getType();
+ hash = (37 * hash) + SEGMENT_INDEX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSegmentIndex());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq 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;
+ }
+ /**
+ * + * ott弹幕列表-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegOttReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @param value The pid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPid(long value) {
+
+ pid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPid() {
+
+ pid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long oid_ ;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @param value The oid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOid(long value) {
+
+ oid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearOid() {
+
+ oid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int type_ ;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(int value) {
+
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long segmentIndex_ ;
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ @java.lang.Override
+ public long getSegmentIndex() {
+ return segmentIndex_;
+ }
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @param value The segmentIndex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSegmentIndex(long value) {
+
+ segmentIndex_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearSegmentIndex() {
+
+ segmentIndex_ = 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:com.yutou.qqbot.bilibili.DmSegOttReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmSegOttReq)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegOttReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ boolean getClosed();
+
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index);
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ int getElemsCount();
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList();
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index);
+ }
+ /**
+ * + * 弹幕SDK-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegSDKReply} + */ + public static final class DmSegSDKReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegSDKReply) + DmSegSDKReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegSDKReply.newBuilder() to construct. + private DmSegSDKReply(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegSDKReply() { + elems_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegSDKReply(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegSDKReply( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + closed_ = input.readBool(); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elems_ = new java.util.ArrayList
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ @java.lang.Override
+ public boolean getClosed() {
+ return closed_;
+ }
+
+ public static final int ELEMS_FIELD_NUMBER = 2;
+ private java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList() {
+ return elems_;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public int getElemsCount() {
+ return elems_.size();
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index) {
+ return elems_.get(index);
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index) {
+ return elems_.get(index);
+ }
+
+ 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 (closed_ != false) {
+ output.writeBool(1, closed_);
+ }
+ for (int i = 0; i < elems_.size(); i++) {
+ output.writeMessage(2, elems_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (closed_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, closed_);
+ }
+ for (int i = 0; i < elems_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, elems_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply) obj;
+
+ if (getClosed()
+ != other.getClosed()) return false;
+ if (!getElemsList()
+ .equals(other.getElemsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + CLOSED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getClosed());
+ if (getElemsCount() > 0) {
+ hash = (37 * hash) + ELEMS_FIELD_NUMBER;
+ hash = (53 * hash) + getElemsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReply 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;
+ }
+ /**
+ * + * 弹幕SDK-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegSDKReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ @java.lang.Override
+ public boolean getClosed() {
+ return closed_;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @param value The closed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClosed(boolean value) {
+
+ closed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearClosed() {
+
+ closed_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public java.util.List+ * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public int getElemsCount() {
+ if (elemsBuilder_ == null) {
+ return elems_.size();
+ } else {
+ return elemsBuilder_.getCount();
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem getElems(int index) {
+ if (elemsBuilder_ == null) {
+ return elems_.get(index);
+ } else {
+ return elemsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder setElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.set(index, value);
+ onChanged();
+ } else {
+ elemsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder setElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.add(value);
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem value) {
+ if (elemsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureElemsIsMutable();
+ elems_.add(index, value);
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.add(builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addElems(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder builderForValue) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ elemsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder addAllElems(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem> values) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, elems_);
+ onChanged();
+ } else {
+ elemsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder clearElems() {
+ if (elemsBuilder_ == null) {
+ elems_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ elemsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public Builder removeElems(int index) {
+ if (elemsBuilder_ == null) {
+ ensureElemsIsMutable();
+ elems_.remove(index);
+ onChanged();
+ } else {
+ elemsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder getElemsBuilder(
+ int index) {
+ return getElemsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder getElemsOrBuilder(
+ int index) {
+ if (elemsBuilder_ == null) {
+ return elems_.get(index); } else {
+ return elemsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElemOrBuilder>
+ getElemsOrBuilderList() {
+ if (elemsBuilder_ != null) {
+ return elemsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(elems_);
+ }
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder addElemsBuilder() {
+ return getElemsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.Builder addElemsBuilder(
+ int index) {
+ return getElemsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuElem.getDefaultInstance());
+ }
+ /**
+ * + * 弹幕列表 + *+ * + *
repeated .com.yutou.qqbot.bilibili.DanmakuElem elems = 2;
+ */
+ public java.util.List+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ long getPid();
+
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ long getOid();
+
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ int getType();
+
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ long getSegmentIndex();
+ }
+ /**
+ * + * 弹幕SDK-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegSDKReq} + */ + public static final class DmSegSDKReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmSegSDKReq) + DmSegSDKReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmSegSDKReq.newBuilder() to construct. + private DmSegSDKReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmSegSDKReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmSegSDKReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmSegSDKReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + pid_ = input.readInt64(); + break; + } + case 16: { + + oid_ = input.readInt64(); + break; + } + case 24: { + + type_ = input.readInt32(); + break; + } + case 32: { + + segmentIndex_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegSDKReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmSegSDKReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq.class, com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq.Builder.class); + } + + public static final int PID_FIELD_NUMBER = 1; + private long pid_; + /** + *
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+
+ public static final int OID_FIELD_NUMBER = 2;
+ private long oid_;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private int type_;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+
+ public static final int SEGMENT_INDEX_FIELD_NUMBER = 4;
+ private long segmentIndex_;
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ @java.lang.Override
+ public long getSegmentIndex() {
+ return segmentIndex_;
+ }
+
+ 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 (pid_ != 0L) {
+ output.writeInt64(1, pid_);
+ }
+ if (oid_ != 0L) {
+ output.writeInt64(2, oid_);
+ }
+ if (type_ != 0) {
+ output.writeInt32(3, type_);
+ }
+ if (segmentIndex_ != 0L) {
+ output.writeInt64(4, segmentIndex_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (pid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, pid_);
+ }
+ if (oid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, oid_);
+ }
+ if (type_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, type_);
+ }
+ if (segmentIndex_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(4, segmentIndex_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq other = (com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq) obj;
+
+ if (getPid()
+ != other.getPid()) return false;
+ if (getOid()
+ != other.getOid()) return false;
+ if (getType()
+ != other.getType()) return false;
+ if (getSegmentIndex()
+ != other.getSegmentIndex()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPid());
+ hash = (37 * hash) + OID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getOid());
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getType();
+ hash = (37 * hash) + SEGMENT_INDEX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getSegmentIndex());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq 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(com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq 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;
+ }
+ /**
+ * + * 弹幕SDK-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmSegSDKReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @param value The pid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPid(long value) {
+
+ pid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPid() {
+
+ pid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long oid_ ;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @param value The oid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOid(long value) {
+
+ oid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearOid() {
+
+ oid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int type_ ;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(int value) {
+
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private long segmentIndex_ ;
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return The segmentIndex.
+ */
+ @java.lang.Override
+ public long getSegmentIndex() {
+ return segmentIndex_;
+ }
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @param value The segmentIndex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSegmentIndex(long value) {
+
+ segmentIndex_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 分段(6min) + *+ * + *
int64 segment_index = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearSegmentIndex() {
+
+ segmentIndex_ = 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:com.yutou.qqbot.bilibili.DmSegSDKReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmSegSDKReq)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmSegSDKReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ boolean getClosed();
+
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ * @return Whether the mask field is set.
+ */
+ boolean hasMask();
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ * @return The mask.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask getMask();
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMaskOrBuilder getMaskOrBuilder();
+
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ * @return Whether the subtitle field is set.
+ */
+ boolean hasSubtitle();
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ * @return The subtitle.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle getSubtitle();
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitleOrBuilder getSubtitleOrBuilder();
+
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return A list containing the specialDms.
+ */
+ java.util.List+ * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return The count of specialDms.
+ */
+ int getSpecialDmsCount();
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index of the element to return.
+ * @return The specialDms at the given index.
+ */
+ java.lang.String getSpecialDms(int index);
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index of the value to return.
+ * @return The bytes of the specialDms at the given index.
+ */
+ com.google.protobuf.ByteString
+ getSpecialDmsBytes(int index);
+
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ * @return Whether the aiFlag field is set.
+ */
+ boolean hasAiFlag();
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ * @return The aiFlag.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getAiFlag();
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder getAiFlagOrBuilder();
+
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ * @return Whether the playerConfig field is set.
+ */
+ boolean hasPlayerConfig();
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ * @return The playerConfig.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig getPlayerConfig();
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfigOrBuilder getPlayerConfigOrBuilder();
+
+ /**
+ * + * 弹幕发送框样式 + *+ * + *
int32 send_box_style = 7;
+ * @return The sendBoxStyle.
+ */
+ int getSendBoxStyle();
+
+ /**
+ * + * 是否允许 + *+ * + *
bool allow = 8;
+ * @return The allow.
+ */
+ boolean getAllow();
+
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return The checkBox.
+ */
+ java.lang.String getCheckBox();
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return The bytes for checkBox.
+ */
+ com.google.protobuf.ByteString
+ getCheckBoxBytes();
+
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return The checkBoxShowMsg.
+ */
+ java.lang.String getCheckBoxShowMsg();
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return The bytes for checkBoxShowMsg.
+ */
+ com.google.protobuf.ByteString
+ getCheckBoxShowMsgBytes();
+
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return The textPlaceholder.
+ */
+ java.lang.String getTextPlaceholder();
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return The bytes for textPlaceholder.
+ */
+ com.google.protobuf.ByteString
+ getTextPlaceholderBytes();
+
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return The inputPlaceholder.
+ */
+ java.lang.String getInputPlaceholder();
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return The bytes for inputPlaceholder.
+ */
+ com.google.protobuf.ByteString
+ getInputPlaceholderBytes();
+
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return A list containing the reportFilterContent.
+ */
+ java.util.List+ * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return The count of reportFilterContent.
+ */
+ int getReportFilterContentCount();
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index of the element to return.
+ * @return The reportFilterContent at the given index.
+ */
+ java.lang.String getReportFilterContent(int index);
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index of the value to return.
+ * @return The bytes of the reportFilterContent at the given index.
+ */
+ com.google.protobuf.ByteString
+ getReportFilterContentBytes(int index);
+
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ * @return Whether the expoReport field is set.
+ */
+ boolean hasExpoReport();
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ * @return The expoReport.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport getExpoReport();
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReportOrBuilder getExpoReportOrBuilder();
+
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ * @return Whether the buzzwordConfig field is set.
+ */
+ boolean hasBuzzwordConfig();
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ * @return The buzzwordConfig.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig getBuzzwordConfig();
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfigOrBuilder getBuzzwordConfigOrBuilder();
+
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions getExpressions(int index);
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ int getExpressionsCount();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder>
+ getExpressionsOrBuilderList();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder getExpressionsOrBuilder(
+ int index);
+ }
+ /**
+ * + * 客户端弹幕元数据-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmViewReply} + */ + public static final class DmViewReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmViewReply) + DmViewReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmViewReply.newBuilder() to construct. + private DmViewReply(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmViewReply() { + specialDms_ = com.google.protobuf.LazyStringArrayList.EMPTY; + checkBox_ = ""; + checkBoxShowMsg_ = ""; + textPlaceholder_ = ""; + inputPlaceholder_ = ""; + reportFilterContent_ = com.google.protobuf.LazyStringArrayList.EMPTY; + expressions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmViewReply(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmViewReply( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + closed_ = input.readBool(); + break; + } + case 18: { + com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.Builder subBuilder = null; + if (mask_ != null) { + subBuilder = mask_.toBuilder(); + } + mask_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mask_); + mask_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.Builder subBuilder = null; + if (subtitle_ != null) { + subBuilder = subtitle_.toBuilder(); + } + subtitle_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(subtitle_); + subtitle_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + specialDms_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + specialDms_.add(s); + break; + } + case 42: { + com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder subBuilder = null; + if (aiFlag_ != null) { + subBuilder = aiFlag_.toBuilder(); + } + aiFlag_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(aiFlag_); + aiFlag_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.Builder subBuilder = null; + if (playerConfig_ != null) { + subBuilder = playerConfig_.toBuilder(); + } + playerConfig_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerConfig_); + playerConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 56: { + + sendBoxStyle_ = input.readInt32(); + break; + } + case 64: { + + allow_ = input.readBool(); + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + checkBox_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + checkBoxShowMsg_ = s; + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + + textPlaceholder_ = s; + break; + } + case 98: { + java.lang.String s = input.readStringRequireUtf8(); + + inputPlaceholder_ = s; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + reportFilterContent_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + reportFilterContent_.add(s); + break; + } + case 114: { + com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder subBuilder = null; + if (expoReport_ != null) { + subBuilder = expoReport_.toBuilder(); + } + expoReport_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expoReport_); + expoReport_ = subBuilder.buildPartial(); + } + + break; + } + case 122: { + com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.Builder subBuilder = null; + if (buzzwordConfig_ != null) { + subBuilder = buzzwordConfig_.toBuilder(); + } + buzzwordConfig_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(buzzwordConfig_); + buzzwordConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 130: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + expressions_ = new java.util.ArrayList
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ @java.lang.Override
+ public boolean getClosed() {
+ return closed_;
+ }
+
+ public static final int MASK_FIELD_NUMBER = 2;
+ private com.yutou.qqbot.bilibili.VideoDanMu.VideoMask mask_;
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ * @return Whether the mask field is set.
+ */
+ @java.lang.Override
+ public boolean hasMask() {
+ return mask_ != null;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ * @return The mask.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoMask getMask() {
+ return mask_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.getDefaultInstance() : mask_;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoMaskOrBuilder getMaskOrBuilder() {
+ return getMask();
+ }
+
+ public static final int SUBTITLE_FIELD_NUMBER = 3;
+ private com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle subtitle_;
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ * @return Whether the subtitle field is set.
+ */
+ @java.lang.Override
+ public boolean hasSubtitle() {
+ return subtitle_ != null;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ * @return The subtitle.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle getSubtitle() {
+ return subtitle_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.getDefaultInstance() : subtitle_;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitleOrBuilder getSubtitleOrBuilder() {
+ return getSubtitle();
+ }
+
+ public static final int SPECIAL_DMS_FIELD_NUMBER = 4;
+ private com.google.protobuf.LazyStringList specialDms_;
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return A list containing the specialDms.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getSpecialDmsList() {
+ return specialDms_;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return The count of specialDms.
+ */
+ public int getSpecialDmsCount() {
+ return specialDms_.size();
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index of the element to return.
+ * @return The specialDms at the given index.
+ */
+ public java.lang.String getSpecialDms(int index) {
+ return specialDms_.get(index);
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index of the value to return.
+ * @return The bytes of the specialDms at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getSpecialDmsBytes(int index) {
+ return specialDms_.getByteString(index);
+ }
+
+ public static final int AI_FLAG_FIELD_NUMBER = 5;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig aiFlag_;
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ * @return Whether the aiFlag field is set.
+ */
+ @java.lang.Override
+ public boolean hasAiFlag() {
+ return aiFlag_ != null;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ * @return The aiFlag.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getAiFlag() {
+ return aiFlag_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.getDefaultInstance() : aiFlag_;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder getAiFlagOrBuilder() {
+ return getAiFlag();
+ }
+
+ public static final int PLAYER_CONFIG_FIELD_NUMBER = 6;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig playerConfig_;
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ * @return Whether the playerConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasPlayerConfig() {
+ return playerConfig_ != null;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ * @return The playerConfig.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig getPlayerConfig() {
+ return playerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.getDefaultInstance() : playerConfig_;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfigOrBuilder getPlayerConfigOrBuilder() {
+ return getPlayerConfig();
+ }
+
+ public static final int SEND_BOX_STYLE_FIELD_NUMBER = 7;
+ private int sendBoxStyle_;
+ /**
+ * + * 弹幕发送框样式 + *+ * + *
int32 send_box_style = 7;
+ * @return The sendBoxStyle.
+ */
+ @java.lang.Override
+ public int getSendBoxStyle() {
+ return sendBoxStyle_;
+ }
+
+ public static final int ALLOW_FIELD_NUMBER = 8;
+ private boolean allow_;
+ /**
+ * + * 是否允许 + *+ * + *
bool allow = 8;
+ * @return The allow.
+ */
+ @java.lang.Override
+ public boolean getAllow() {
+ return allow_;
+ }
+
+ public static final int CHECK_BOX_FIELD_NUMBER = 9;
+ private volatile java.lang.Object checkBox_;
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return The checkBox.
+ */
+ @java.lang.Override
+ public java.lang.String getCheckBox() {
+ java.lang.Object ref = checkBox_;
+ 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();
+ checkBox_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return The bytes for checkBox.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getCheckBoxBytes() {
+ java.lang.Object ref = checkBox_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ checkBox_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CHECK_BOX_SHOW_MSG_FIELD_NUMBER = 10;
+ private volatile java.lang.Object checkBoxShowMsg_;
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return The checkBoxShowMsg.
+ */
+ @java.lang.Override
+ public java.lang.String getCheckBoxShowMsg() {
+ java.lang.Object ref = checkBoxShowMsg_;
+ 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();
+ checkBoxShowMsg_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return The bytes for checkBoxShowMsg.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getCheckBoxShowMsgBytes() {
+ java.lang.Object ref = checkBoxShowMsg_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ checkBoxShowMsg_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TEXT_PLACEHOLDER_FIELD_NUMBER = 11;
+ private volatile java.lang.Object textPlaceholder_;
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return The textPlaceholder.
+ */
+ @java.lang.Override
+ public java.lang.String getTextPlaceholder() {
+ java.lang.Object ref = textPlaceholder_;
+ 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();
+ textPlaceholder_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return The bytes for textPlaceholder.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getTextPlaceholderBytes() {
+ java.lang.Object ref = textPlaceholder_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ textPlaceholder_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int INPUT_PLACEHOLDER_FIELD_NUMBER = 12;
+ private volatile java.lang.Object inputPlaceholder_;
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return The inputPlaceholder.
+ */
+ @java.lang.Override
+ public java.lang.String getInputPlaceholder() {
+ java.lang.Object ref = inputPlaceholder_;
+ 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();
+ inputPlaceholder_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return The bytes for inputPlaceholder.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getInputPlaceholderBytes() {
+ java.lang.Object ref = inputPlaceholder_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ inputPlaceholder_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int REPORT_FILTER_CONTENT_FIELD_NUMBER = 13;
+ private com.google.protobuf.LazyStringList reportFilterContent_;
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return A list containing the reportFilterContent.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getReportFilterContentList() {
+ return reportFilterContent_;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return The count of reportFilterContent.
+ */
+ public int getReportFilterContentCount() {
+ return reportFilterContent_.size();
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index of the element to return.
+ * @return The reportFilterContent at the given index.
+ */
+ public java.lang.String getReportFilterContent(int index) {
+ return reportFilterContent_.get(index);
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index of the value to return.
+ * @return The bytes of the reportFilterContent at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getReportFilterContentBytes(int index) {
+ return reportFilterContent_.getByteString(index);
+ }
+
+ public static final int EXPO_REPORT_FIELD_NUMBER = 14;
+ private com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport expoReport_;
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ * @return Whether the expoReport field is set.
+ */
+ @java.lang.Override
+ public boolean hasExpoReport() {
+ return expoReport_ != null;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ * @return The expoReport.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport getExpoReport() {
+ return expoReport_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.getDefaultInstance() : expoReport_;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpoReportOrBuilder getExpoReportOrBuilder() {
+ return getExpoReport();
+ }
+
+ public static final int BUZZWORD_CONFIG_FIELD_NUMBER = 15;
+ private com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig buzzwordConfig_;
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ * @return Whether the buzzwordConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasBuzzwordConfig() {
+ return buzzwordConfig_ != null;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ * @return The buzzwordConfig.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig getBuzzwordConfig() {
+ return buzzwordConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.getDefaultInstance() : buzzwordConfig_;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfigOrBuilder getBuzzwordConfigOrBuilder() {
+ return getBuzzwordConfig();
+ }
+
+ public static final int EXPRESSIONS_FIELD_NUMBER = 16;
+ private java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ @java.lang.Override
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder>
+ getExpressionsOrBuilderList() {
+ return expressions_;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ @java.lang.Override
+ public int getExpressionsCount() {
+ return expressions_.size();
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions getExpressions(int index) {
+ return expressions_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder getExpressionsOrBuilder(
+ int index) {
+ return expressions_.get(index);
+ }
+
+ 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 (closed_ != false) {
+ output.writeBool(1, closed_);
+ }
+ if (mask_ != null) {
+ output.writeMessage(2, getMask());
+ }
+ if (subtitle_ != null) {
+ output.writeMessage(3, getSubtitle());
+ }
+ for (int i = 0; i < specialDms_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, specialDms_.getRaw(i));
+ }
+ if (aiFlag_ != null) {
+ output.writeMessage(5, getAiFlag());
+ }
+ if (playerConfig_ != null) {
+ output.writeMessage(6, getPlayerConfig());
+ }
+ if (sendBoxStyle_ != 0) {
+ output.writeInt32(7, sendBoxStyle_);
+ }
+ if (allow_ != false) {
+ output.writeBool(8, allow_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkBox_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, checkBox_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkBoxShowMsg_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, checkBoxShowMsg_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textPlaceholder_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, textPlaceholder_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPlaceholder_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, inputPlaceholder_);
+ }
+ for (int i = 0; i < reportFilterContent_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, reportFilterContent_.getRaw(i));
+ }
+ if (expoReport_ != null) {
+ output.writeMessage(14, getExpoReport());
+ }
+ if (buzzwordConfig_ != null) {
+ output.writeMessage(15, getBuzzwordConfig());
+ }
+ for (int i = 0; i < expressions_.size(); i++) {
+ output.writeMessage(16, expressions_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (closed_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, closed_);
+ }
+ if (mask_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getMask());
+ }
+ if (subtitle_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getSubtitle());
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < specialDms_.size(); i++) {
+ dataSize += computeStringSizeNoTag(specialDms_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getSpecialDmsList().size();
+ }
+ if (aiFlag_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, getAiFlag());
+ }
+ if (playerConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, getPlayerConfig());
+ }
+ if (sendBoxStyle_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(7, sendBoxStyle_);
+ }
+ if (allow_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(8, allow_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkBox_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, checkBox_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkBoxShowMsg_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, checkBoxShowMsg_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textPlaceholder_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, textPlaceholder_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputPlaceholder_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, inputPlaceholder_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < reportFilterContent_.size(); i++) {
+ dataSize += computeStringSizeNoTag(reportFilterContent_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getReportFilterContentList().size();
+ }
+ if (expoReport_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(14, getExpoReport());
+ }
+ if (buzzwordConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(15, getBuzzwordConfig());
+ }
+ for (int i = 0; i < expressions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(16, expressions_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply other = (com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply) obj;
+
+ if (getClosed()
+ != other.getClosed()) return false;
+ if (hasMask() != other.hasMask()) return false;
+ if (hasMask()) {
+ if (!getMask()
+ .equals(other.getMask())) return false;
+ }
+ if (hasSubtitle() != other.hasSubtitle()) return false;
+ if (hasSubtitle()) {
+ if (!getSubtitle()
+ .equals(other.getSubtitle())) return false;
+ }
+ if (!getSpecialDmsList()
+ .equals(other.getSpecialDmsList())) return false;
+ if (hasAiFlag() != other.hasAiFlag()) return false;
+ if (hasAiFlag()) {
+ if (!getAiFlag()
+ .equals(other.getAiFlag())) return false;
+ }
+ if (hasPlayerConfig() != other.hasPlayerConfig()) return false;
+ if (hasPlayerConfig()) {
+ if (!getPlayerConfig()
+ .equals(other.getPlayerConfig())) return false;
+ }
+ if (getSendBoxStyle()
+ != other.getSendBoxStyle()) return false;
+ if (getAllow()
+ != other.getAllow()) return false;
+ if (!getCheckBox()
+ .equals(other.getCheckBox())) return false;
+ if (!getCheckBoxShowMsg()
+ .equals(other.getCheckBoxShowMsg())) return false;
+ if (!getTextPlaceholder()
+ .equals(other.getTextPlaceholder())) return false;
+ if (!getInputPlaceholder()
+ .equals(other.getInputPlaceholder())) return false;
+ if (!getReportFilterContentList()
+ .equals(other.getReportFilterContentList())) return false;
+ if (hasExpoReport() != other.hasExpoReport()) return false;
+ if (hasExpoReport()) {
+ if (!getExpoReport()
+ .equals(other.getExpoReport())) return false;
+ }
+ if (hasBuzzwordConfig() != other.hasBuzzwordConfig()) return false;
+ if (hasBuzzwordConfig()) {
+ if (!getBuzzwordConfig()
+ .equals(other.getBuzzwordConfig())) return false;
+ }
+ if (!getExpressionsList()
+ .equals(other.getExpressionsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + CLOSED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getClosed());
+ if (hasMask()) {
+ hash = (37 * hash) + MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getMask().hashCode();
+ }
+ if (hasSubtitle()) {
+ hash = (37 * hash) + SUBTITLE_FIELD_NUMBER;
+ hash = (53 * hash) + getSubtitle().hashCode();
+ }
+ if (getSpecialDmsCount() > 0) {
+ hash = (37 * hash) + SPECIAL_DMS_FIELD_NUMBER;
+ hash = (53 * hash) + getSpecialDmsList().hashCode();
+ }
+ if (hasAiFlag()) {
+ hash = (37 * hash) + AI_FLAG_FIELD_NUMBER;
+ hash = (53 * hash) + getAiFlag().hashCode();
+ }
+ if (hasPlayerConfig()) {
+ hash = (37 * hash) + PLAYER_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerConfig().hashCode();
+ }
+ hash = (37 * hash) + SEND_BOX_STYLE_FIELD_NUMBER;
+ hash = (53 * hash) + getSendBoxStyle();
+ hash = (37 * hash) + ALLOW_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getAllow());
+ hash = (37 * hash) + CHECK_BOX_FIELD_NUMBER;
+ hash = (53 * hash) + getCheckBox().hashCode();
+ hash = (37 * hash) + CHECK_BOX_SHOW_MSG_FIELD_NUMBER;
+ hash = (53 * hash) + getCheckBoxShowMsg().hashCode();
+ hash = (37 * hash) + TEXT_PLACEHOLDER_FIELD_NUMBER;
+ hash = (53 * hash) + getTextPlaceholder().hashCode();
+ hash = (37 * hash) + INPUT_PLACEHOLDER_FIELD_NUMBER;
+ hash = (53 * hash) + getInputPlaceholder().hashCode();
+ if (getReportFilterContentCount() > 0) {
+ hash = (37 * hash) + REPORT_FILTER_CONTENT_FIELD_NUMBER;
+ hash = (53 * hash) + getReportFilterContentList().hashCode();
+ }
+ if (hasExpoReport()) {
+ hash = (37 * hash) + EXPO_REPORT_FIELD_NUMBER;
+ hash = (53 * hash) + getExpoReport().hashCode();
+ }
+ if (hasBuzzwordConfig()) {
+ hash = (37 * hash) + BUZZWORD_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getBuzzwordConfig().hashCode();
+ }
+ if (getExpressionsCount() > 0) {
+ hash = (37 * hash) + EXPRESSIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExpressionsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply 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(com.yutou.qqbot.bilibili.VideoDanMu.DmViewReply 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 com.yutou.qqbot.bilibili.DmViewReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return The closed.
+ */
+ @java.lang.Override
+ public boolean getClosed() {
+ return closed_;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @param value The closed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClosed(boolean value) {
+
+ closed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
bool closed = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearClosed() {
+
+ closed_ = false;
+ onChanged();
+ return this;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.VideoMask mask_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask, com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.Builder, com.yutou.qqbot.bilibili.VideoDanMu.VideoMaskOrBuilder> maskBuilder_;
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ * @return Whether the mask field is set.
+ */
+ public boolean hasMask() {
+ return maskBuilder_ != null || mask_ != null;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ * @return The mask.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoMask getMask() {
+ if (maskBuilder_ == null) {
+ return mask_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.getDefaultInstance() : mask_;
+ } else {
+ return maskBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ public Builder setMask(com.yutou.qqbot.bilibili.VideoDanMu.VideoMask value) {
+ if (maskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ mask_ = value;
+ onChanged();
+ } else {
+ maskBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ public Builder setMask(
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.Builder builderForValue) {
+ if (maskBuilder_ == null) {
+ mask_ = builderForValue.build();
+ onChanged();
+ } else {
+ maskBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ public Builder mergeMask(com.yutou.qqbot.bilibili.VideoDanMu.VideoMask value) {
+ if (maskBuilder_ == null) {
+ if (mask_ != null) {
+ mask_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.newBuilder(mask_).mergeFrom(value).buildPartial();
+ } else {
+ mask_ = value;
+ }
+ onChanged();
+ } else {
+ maskBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ public Builder clearMask() {
+ if (maskBuilder_ == null) {
+ mask_ = null;
+ onChanged();
+ } else {
+ mask_ = null;
+ maskBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.Builder getMaskBuilder() {
+
+ onChanged();
+ return getMaskFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoMaskOrBuilder getMaskOrBuilder() {
+ if (maskBuilder_ != null) {
+ return maskBuilder_.getMessageOrBuilder();
+ } else {
+ return mask_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.getDefaultInstance() : mask_;
+ }
+ }
+ /**
+ * + * 智能防挡弹幕蒙版信息 + *+ * + *
.com.yutou.qqbot.bilibili.VideoMask mask = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask, com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.Builder, com.yutou.qqbot.bilibili.VideoDanMu.VideoMaskOrBuilder>
+ getMaskFieldBuilder() {
+ if (maskBuilder_ == null) {
+ maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoMask, com.yutou.qqbot.bilibili.VideoDanMu.VideoMask.Builder, com.yutou.qqbot.bilibili.VideoDanMu.VideoMaskOrBuilder>(
+ getMask(),
+ getParentForChildren(),
+ isClean());
+ mask_ = null;
+ }
+ return maskBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle subtitle_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle, com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.Builder, com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitleOrBuilder> subtitleBuilder_;
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ * @return Whether the subtitle field is set.
+ */
+ public boolean hasSubtitle() {
+ return subtitleBuilder_ != null || subtitle_ != null;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ * @return The subtitle.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle getSubtitle() {
+ if (subtitleBuilder_ == null) {
+ return subtitle_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.getDefaultInstance() : subtitle_;
+ } else {
+ return subtitleBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ public Builder setSubtitle(com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle value) {
+ if (subtitleBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ subtitle_ = value;
+ onChanged();
+ } else {
+ subtitleBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ public Builder setSubtitle(
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.Builder builderForValue) {
+ if (subtitleBuilder_ == null) {
+ subtitle_ = builderForValue.build();
+ onChanged();
+ } else {
+ subtitleBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ public Builder mergeSubtitle(com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle value) {
+ if (subtitleBuilder_ == null) {
+ if (subtitle_ != null) {
+ subtitle_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.newBuilder(subtitle_).mergeFrom(value).buildPartial();
+ } else {
+ subtitle_ = value;
+ }
+ onChanged();
+ } else {
+ subtitleBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ public Builder clearSubtitle() {
+ if (subtitleBuilder_ == null) {
+ subtitle_ = null;
+ onChanged();
+ } else {
+ subtitle_ = null;
+ subtitleBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.Builder getSubtitleBuilder() {
+
+ onChanged();
+ return getSubtitleFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitleOrBuilder getSubtitleOrBuilder() {
+ if (subtitleBuilder_ != null) {
+ return subtitleBuilder_.getMessageOrBuilder();
+ } else {
+ return subtitle_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.getDefaultInstance() : subtitle_;
+ }
+ }
+ /**
+ * + * 视频字幕 + *+ * + *
.com.yutou.qqbot.bilibili.VideoSubtitle subtitle = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle, com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.Builder, com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitleOrBuilder>
+ getSubtitleFieldBuilder() {
+ if (subtitleBuilder_ == null) {
+ subtitleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle, com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitle.Builder, com.yutou.qqbot.bilibili.VideoDanMu.VideoSubtitleOrBuilder>(
+ getSubtitle(),
+ getParentForChildren(),
+ isClean());
+ subtitle_ = null;
+ }
+ return subtitleBuilder_;
+ }
+
+ private com.google.protobuf.LazyStringList specialDms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureSpecialDmsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ specialDms_ = new com.google.protobuf.LazyStringArrayList(specialDms_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return A list containing the specialDms.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getSpecialDmsList() {
+ return specialDms_.getUnmodifiableView();
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return The count of specialDms.
+ */
+ public int getSpecialDmsCount() {
+ return specialDms_.size();
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index of the element to return.
+ * @return The specialDms at the given index.
+ */
+ public java.lang.String getSpecialDms(int index) {
+ return specialDms_.get(index);
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index of the value to return.
+ * @return The bytes of the specialDms at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getSpecialDmsBytes(int index) {
+ return specialDms_.getByteString(index);
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param index The index to set the value at.
+ * @param value The specialDms to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpecialDms(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSpecialDmsIsMutable();
+ specialDms_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param value The specialDms to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialDms(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSpecialDmsIsMutable();
+ specialDms_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param values The specialDms to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSpecialDms(
+ java.lang.Iterable+ * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpecialDms() {
+ specialDms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 4;
+ * @param value The bytes of the specialDms to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialDmsBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureSpecialDmsIsMutable();
+ specialDms_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig aiFlag_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder> aiFlagBuilder_;
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ * @return Whether the aiFlag field is set.
+ */
+ public boolean hasAiFlag() {
+ return aiFlagBuilder_ != null || aiFlag_ != null;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ * @return The aiFlag.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getAiFlag() {
+ if (aiFlagBuilder_ == null) {
+ return aiFlag_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.getDefaultInstance() : aiFlag_;
+ } else {
+ return aiFlagBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ public Builder setAiFlag(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig value) {
+ if (aiFlagBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ aiFlag_ = value;
+ onChanged();
+ } else {
+ aiFlagBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ public Builder setAiFlag(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder builderForValue) {
+ if (aiFlagBuilder_ == null) {
+ aiFlag_ = builderForValue.build();
+ onChanged();
+ } else {
+ aiFlagBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ public Builder mergeAiFlag(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig value) {
+ if (aiFlagBuilder_ == null) {
+ if (aiFlag_ != null) {
+ aiFlag_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.newBuilder(aiFlag_).mergeFrom(value).buildPartial();
+ } else {
+ aiFlag_ = value;
+ }
+ onChanged();
+ } else {
+ aiFlagBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ public Builder clearAiFlag() {
+ if (aiFlagBuilder_ == null) {
+ aiFlag_ = null;
+ onChanged();
+ } else {
+ aiFlag_ = null;
+ aiFlagBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder getAiFlagBuilder() {
+
+ onChanged();
+ return getAiFlagFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder getAiFlagOrBuilder() {
+ if (aiFlagBuilder_ != null) {
+ return aiFlagBuilder_.getMessageOrBuilder();
+ } else {
+ return aiFlag_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.getDefaultInstance() : aiFlag_;
+ }
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig ai_flag = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder>
+ getAiFlagFieldBuilder() {
+ if (aiFlagBuilder_ == null) {
+ aiFlagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder>(
+ getAiFlag(),
+ getParentForChildren(),
+ isClean());
+ aiFlag_ = null;
+ }
+ return aiFlagBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig playerConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfigOrBuilder> playerConfigBuilder_;
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ * @return Whether the playerConfig field is set.
+ */
+ public boolean hasPlayerConfig() {
+ return playerConfigBuilder_ != null || playerConfig_ != null;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ * @return The playerConfig.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig getPlayerConfig() {
+ if (playerConfigBuilder_ == null) {
+ return playerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.getDefaultInstance() : playerConfig_;
+ } else {
+ return playerConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ public Builder setPlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig value) {
+ if (playerConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ playerConfig_ = value;
+ onChanged();
+ } else {
+ playerConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ public Builder setPlayerConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.Builder builderForValue) {
+ if (playerConfigBuilder_ == null) {
+ playerConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ playerConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ public Builder mergePlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig value) {
+ if (playerConfigBuilder_ == null) {
+ if (playerConfig_ != null) {
+ playerConfig_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.newBuilder(playerConfig_).mergeFrom(value).buildPartial();
+ } else {
+ playerConfig_ = value;
+ }
+ onChanged();
+ } else {
+ playerConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ public Builder clearPlayerConfig() {
+ if (playerConfigBuilder_ == null) {
+ playerConfig_ = null;
+ onChanged();
+ } else {
+ playerConfig_ = null;
+ playerConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.Builder getPlayerConfigBuilder() {
+
+ onChanged();
+ return getPlayerConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfigOrBuilder getPlayerConfigOrBuilder() {
+ if (playerConfigBuilder_ != null) {
+ return playerConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return playerConfig_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.getDefaultInstance() : playerConfig_;
+ }
+ }
+ /**
+ * + * 弹幕配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuPlayerViewConfig player_config = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfigOrBuilder>
+ getPlayerConfigFieldBuilder() {
+ if (playerConfigBuilder_ == null) {
+ playerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuPlayerViewConfigOrBuilder>(
+ getPlayerConfig(),
+ getParentForChildren(),
+ isClean());
+ playerConfig_ = null;
+ }
+ return playerConfigBuilder_;
+ }
+
+ private int sendBoxStyle_ ;
+ /**
+ * + * 弹幕发送框样式 + *+ * + *
int32 send_box_style = 7;
+ * @return The sendBoxStyle.
+ */
+ @java.lang.Override
+ public int getSendBoxStyle() {
+ return sendBoxStyle_;
+ }
+ /**
+ * + * 弹幕发送框样式 + *+ * + *
int32 send_box_style = 7;
+ * @param value The sendBoxStyle to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSendBoxStyle(int value) {
+
+ sendBoxStyle_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕发送框样式 + *+ * + *
int32 send_box_style = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearSendBoxStyle() {
+
+ sendBoxStyle_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean allow_ ;
+ /**
+ * + * 是否允许 + *+ * + *
bool allow = 8;
+ * @return The allow.
+ */
+ @java.lang.Override
+ public boolean getAllow() {
+ return allow_;
+ }
+ /**
+ * + * 是否允许 + *+ * + *
bool allow = 8;
+ * @param value The allow to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAllow(boolean value) {
+
+ allow_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否允许 + *+ * + *
bool allow = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearAllow() {
+
+ allow_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object checkBox_ = "";
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return The checkBox.
+ */
+ public java.lang.String getCheckBox() {
+ java.lang.Object ref = checkBox_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ checkBox_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return The bytes for checkBox.
+ */
+ public com.google.protobuf.ByteString
+ getCheckBoxBytes() {
+ java.lang.Object ref = checkBox_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ checkBox_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @param value The checkBox to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCheckBox(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ checkBox_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearCheckBox() {
+
+ checkBox_ = getDefaultInstance().getCheckBox();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
string check_box = 9;
+ * @param value The bytes for checkBox to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCheckBoxBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ checkBox_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object checkBoxShowMsg_ = "";
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return The checkBoxShowMsg.
+ */
+ public java.lang.String getCheckBoxShowMsg() {
+ java.lang.Object ref = checkBoxShowMsg_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ checkBoxShowMsg_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return The bytes for checkBoxShowMsg.
+ */
+ public com.google.protobuf.ByteString
+ getCheckBoxShowMsgBytes() {
+ java.lang.Object ref = checkBoxShowMsg_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ checkBoxShowMsg_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @param value The checkBoxShowMsg to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCheckBoxShowMsg(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ checkBoxShowMsg_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearCheckBoxShowMsg() {
+
+ checkBoxShowMsg_ = getDefaultInstance().getCheckBoxShowMsg();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * check box 展示文本 + *+ * + *
string check_box_show_msg = 10;
+ * @param value The bytes for checkBoxShowMsg to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCheckBoxShowMsgBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ checkBoxShowMsg_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object textPlaceholder_ = "";
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return The textPlaceholder.
+ */
+ public java.lang.String getTextPlaceholder() {
+ java.lang.Object ref = textPlaceholder_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ textPlaceholder_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return The bytes for textPlaceholder.
+ */
+ public com.google.protobuf.ByteString
+ getTextPlaceholderBytes() {
+ java.lang.Object ref = textPlaceholder_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ textPlaceholder_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @param value The textPlaceholder to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextPlaceholder(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ textPlaceholder_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearTextPlaceholder() {
+
+ textPlaceholder_ = getDefaultInstance().getTextPlaceholder();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 展示文案 + *+ * + *
string text_placeholder = 11;
+ * @param value The bytes for textPlaceholder to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextPlaceholderBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ textPlaceholder_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object inputPlaceholder_ = "";
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return The inputPlaceholder.
+ */
+ public java.lang.String getInputPlaceholder() {
+ java.lang.Object ref = inputPlaceholder_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ inputPlaceholder_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return The bytes for inputPlaceholder.
+ */
+ public com.google.protobuf.ByteString
+ getInputPlaceholderBytes() {
+ java.lang.Object ref = inputPlaceholder_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ inputPlaceholder_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @param value The inputPlaceholder to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInputPlaceholder(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ inputPlaceholder_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearInputPlaceholder() {
+
+ inputPlaceholder_ = getDefaultInstance().getInputPlaceholder();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕输入框文案 + *+ * + *
string input_placeholder = 12;
+ * @param value The bytes for inputPlaceholder to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInputPlaceholderBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ inputPlaceholder_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList reportFilterContent_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureReportFilterContentIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ reportFilterContent_ = new com.google.protobuf.LazyStringArrayList(reportFilterContent_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return A list containing the reportFilterContent.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getReportFilterContentList() {
+ return reportFilterContent_.getUnmodifiableView();
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return The count of reportFilterContent.
+ */
+ public int getReportFilterContentCount() {
+ return reportFilterContent_.size();
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index of the element to return.
+ * @return The reportFilterContent at the given index.
+ */
+ public java.lang.String getReportFilterContent(int index) {
+ return reportFilterContent_.get(index);
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index of the value to return.
+ * @return The bytes of the reportFilterContent at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getReportFilterContentBytes(int index) {
+ return reportFilterContent_.getByteString(index);
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param index The index to set the value at.
+ * @param value The reportFilterContent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReportFilterContent(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReportFilterContentIsMutable();
+ reportFilterContent_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param value The reportFilterContent to add.
+ * @return This builder for chaining.
+ */
+ public Builder addReportFilterContent(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReportFilterContentIsMutable();
+ reportFilterContent_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param values The reportFilterContent to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllReportFilterContent(
+ java.lang.Iterable+ * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearReportFilterContent() {
+ reportFilterContent_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽的正则规则 + *+ * + *
repeated string report_filter_content = 13;
+ * @param value The bytes of the reportFilterContent to add.
+ * @return This builder for chaining.
+ */
+ public Builder addReportFilterContentBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureReportFilterContentIsMutable();
+ reportFilterContent_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport expoReport_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReportOrBuilder> expoReportBuilder_;
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ * @return Whether the expoReport field is set.
+ */
+ public boolean hasExpoReport() {
+ return expoReportBuilder_ != null || expoReport_ != null;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ * @return The expoReport.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport getExpoReport() {
+ if (expoReportBuilder_ == null) {
+ return expoReport_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.getDefaultInstance() : expoReport_;
+ } else {
+ return expoReportBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ public Builder setExpoReport(com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport value) {
+ if (expoReportBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ expoReport_ = value;
+ onChanged();
+ } else {
+ expoReportBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ public Builder setExpoReport(
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder builderForValue) {
+ if (expoReportBuilder_ == null) {
+ expoReport_ = builderForValue.build();
+ onChanged();
+ } else {
+ expoReportBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ public Builder mergeExpoReport(com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport value) {
+ if (expoReportBuilder_ == null) {
+ if (expoReport_ != null) {
+ expoReport_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.newBuilder(expoReport_).mergeFrom(value).buildPartial();
+ } else {
+ expoReport_ = value;
+ }
+ onChanged();
+ } else {
+ expoReportBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ public Builder clearExpoReport() {
+ if (expoReportBuilder_ == null) {
+ expoReport_ = null;
+ onChanged();
+ } else {
+ expoReport_ = null;
+ expoReportBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder getExpoReportBuilder() {
+
+ onChanged();
+ return getExpoReportFieldBuilder().getBuilder();
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpoReportOrBuilder getExpoReportOrBuilder() {
+ if (expoReportBuilder_ != null) {
+ return expoReportBuilder_.getMessageOrBuilder();
+ } else {
+ return expoReport_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.getDefaultInstance() : expoReport_;
+ }
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.ExpoReport expo_report = 14;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReportOrBuilder>
+ getExpoReportFieldBuilder() {
+ if (expoReportBuilder_ == null) {
+ expoReportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReportOrBuilder>(
+ getExpoReport(),
+ getParentForChildren(),
+ isClean());
+ expoReport_ = null;
+ }
+ return expoReportBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig buzzwordConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfigOrBuilder> buzzwordConfigBuilder_;
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ * @return Whether the buzzwordConfig field is set.
+ */
+ public boolean hasBuzzwordConfig() {
+ return buzzwordConfigBuilder_ != null || buzzwordConfig_ != null;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ * @return The buzzwordConfig.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig getBuzzwordConfig() {
+ if (buzzwordConfigBuilder_ == null) {
+ return buzzwordConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.getDefaultInstance() : buzzwordConfig_;
+ } else {
+ return buzzwordConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ public Builder setBuzzwordConfig(com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig value) {
+ if (buzzwordConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ buzzwordConfig_ = value;
+ onChanged();
+ } else {
+ buzzwordConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ public Builder setBuzzwordConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.Builder builderForValue) {
+ if (buzzwordConfigBuilder_ == null) {
+ buzzwordConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ buzzwordConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ public Builder mergeBuzzwordConfig(com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig value) {
+ if (buzzwordConfigBuilder_ == null) {
+ if (buzzwordConfig_ != null) {
+ buzzwordConfig_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.newBuilder(buzzwordConfig_).mergeFrom(value).buildPartial();
+ } else {
+ buzzwordConfig_ = value;
+ }
+ onChanged();
+ } else {
+ buzzwordConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ public Builder clearBuzzwordConfig() {
+ if (buzzwordConfigBuilder_ == null) {
+ buzzwordConfig_ = null;
+ onChanged();
+ } else {
+ buzzwordConfig_ = null;
+ buzzwordConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.Builder getBuzzwordConfigBuilder() {
+
+ onChanged();
+ return getBuzzwordConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfigOrBuilder getBuzzwordConfigOrBuilder() {
+ if (buzzwordConfigBuilder_ != null) {
+ return buzzwordConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return buzzwordConfig_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.getDefaultInstance() : buzzwordConfig_;
+ }
+ }
+ /**
+ * + *+ * + *
.com.yutou.qqbot.bilibili.BuzzwordConfig buzzword_config = 15;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfigOrBuilder>
+ getBuzzwordConfigFieldBuilder() {
+ if (buzzwordConfigBuilder_ == null) {
+ buzzwordConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.BuzzwordConfigOrBuilder>(
+ getBuzzwordConfig(),
+ getParentForChildren(),
+ isClean());
+ buzzwordConfig_ = null;
+ }
+ return buzzwordConfigBuilder_;
+ }
+
+ private java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public int getExpressionsCount() {
+ if (expressionsBuilder_ == null) {
+ return expressions_.size();
+ } else {
+ return expressionsBuilder_.getCount();
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions getExpressions(int index) {
+ if (expressionsBuilder_ == null) {
+ return expressions_.get(index);
+ } else {
+ return expressionsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder setExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.set(index, value);
+ onChanged();
+ } else {
+ expressionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder setExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder addExpressions(com.yutou.qqbot.bilibili.VideoDanMu.Expressions value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.add(value);
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder addExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.add(index, value);
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder addExpressions(
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder addExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder addAllExpressions(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.Expressions> values) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, expressions_);
+ onChanged();
+ } else {
+ expressionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder clearExpressions() {
+ if (expressionsBuilder_ == null) {
+ expressions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ expressionsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public Builder removeExpressions(int index) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.remove(index);
+ onChanged();
+ } else {
+ expressionsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder getExpressionsBuilder(
+ int index) {
+ return getExpressionsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder getExpressionsOrBuilder(
+ int index) {
+ if (expressionsBuilder_ == null) {
+ return expressions_.get(index); } else {
+ return expressionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder>
+ getExpressionsOrBuilderList() {
+ if (expressionsBuilder_ != null) {
+ return expressionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(expressions_);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder addExpressionsBuilder() {
+ return getExpressionsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder addExpressionsBuilder(
+ int index) {
+ return getExpressionsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 16;
+ */
+ public java.util.List+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ long getPid();
+
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ long getOid();
+
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ int getType();
+
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return The spmid.
+ */
+ java.lang.String getSpmid();
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return The bytes for spmid.
+ */
+ com.google.protobuf.ByteString
+ getSpmidBytes();
+
+ /**
+ * + * 是否冷启 + *+ * + *
int32 is_hard_boot = 5;
+ * @return The isHardBoot.
+ */
+ int getIsHardBoot();
+ }
+ /**
+ * + * 客户端弹幕元数据-请求 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmViewReq} + */ + public static final class DmViewReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmViewReq) + DmViewReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmViewReq.newBuilder() to construct. + private DmViewReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmViewReq() { + spmid_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmViewReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmViewReq( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + pid_ = input.readInt64(); + break; + } + case 16: { + + oid_ = input.readInt64(); + break; + } + case 24: { + + type_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + spmid_ = s; + break; + } + case 40: { + + isHardBoot_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmViewReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_DmViewReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq.class, com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq.Builder.class); + } + + public static final int PID_FIELD_NUMBER = 1; + private long pid_; + /** + *
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+
+ public static final int OID_FIELD_NUMBER = 2;
+ private long oid_;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private int type_;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+
+ public static final int SPMID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object spmid_;
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return The spmid.
+ */
+ @java.lang.Override
+ public java.lang.String getSpmid() {
+ java.lang.Object ref = spmid_;
+ 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();
+ spmid_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return The bytes for spmid.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getSpmidBytes() {
+ java.lang.Object ref = spmid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ spmid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int IS_HARD_BOOT_FIELD_NUMBER = 5;
+ private int isHardBoot_;
+ /**
+ * + * 是否冷启 + *+ * + *
int32 is_hard_boot = 5;
+ * @return The isHardBoot.
+ */
+ @java.lang.Override
+ public int getIsHardBoot() {
+ return isHardBoot_;
+ }
+
+ 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 (pid_ != 0L) {
+ output.writeInt64(1, pid_);
+ }
+ if (oid_ != 0L) {
+ output.writeInt64(2, oid_);
+ }
+ if (type_ != 0) {
+ output.writeInt32(3, type_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spmid_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spmid_);
+ }
+ if (isHardBoot_ != 0) {
+ output.writeInt32(5, isHardBoot_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (pid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, pid_);
+ }
+ if (oid_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, oid_);
+ }
+ if (type_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, type_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spmid_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, spmid_);
+ }
+ if (isHardBoot_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, isHardBoot_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq other = (com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq) obj;
+
+ if (getPid()
+ != other.getPid()) return false;
+ if (getOid()
+ != other.getOid()) return false;
+ if (getType()
+ != other.getType()) return false;
+ if (!getSpmid()
+ .equals(other.getSpmid())) return false;
+ if (getIsHardBoot()
+ != other.getIsHardBoot()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getPid());
+ hash = (37 * hash) + OID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getOid());
+ hash = (37 * hash) + TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getType();
+ hash = (37 * hash) + SPMID_FIELD_NUMBER;
+ hash = (53 * hash) + getSpmid().hashCode();
+ hash = (37 * hash) + IS_HARD_BOOT_FIELD_NUMBER;
+ hash = (53 * hash) + getIsHardBoot();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq 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 com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq 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(com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq 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 com.yutou.qqbot.bilibili.DmViewReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return The pid.
+ */
+ @java.lang.Override
+ public long getPid() {
+ return pid_;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @param value The pid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPid(long value) {
+
+ pid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 稿件avid/漫画epid + *+ * + *
int64 pid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearPid() {
+
+ pid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long oid_ ;
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return The oid.
+ */
+ @java.lang.Override
+ public long getOid() {
+ return oid_;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @param value The oid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOid(long value) {
+
+ oid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 视频cid/漫画cid + *+ * + *
int64 oid = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearOid() {
+
+ oid_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private int type_ ;
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return The type.
+ */
+ @java.lang.Override
+ public int getType() {
+ return type_;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @param value The type to set.
+ * @return This builder for chaining.
+ */
+ public Builder setType(int value) {
+
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕类型 + * 1:视频 2:漫画 + *+ * + *
int32 type = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearType() {
+
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object spmid_ = "";
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return The spmid.
+ */
+ public java.lang.String getSpmid() {
+ java.lang.Object ref = spmid_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ spmid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return The bytes for spmid.
+ */
+ public com.google.protobuf.ByteString
+ getSpmidBytes() {
+ java.lang.Object ref = spmid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ spmid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @param value The spmid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpmid(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ spmid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpmid() {
+
+ spmid_ = getDefaultInstance().getSpmid();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 页面spm + *+ * + *
string spmid = 4;
+ * @param value The bytes for spmid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpmidBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ spmid_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int isHardBoot_ ;
+ /**
+ * + * 是否冷启 + *+ * + *
int32 is_hard_boot = 5;
+ * @return The isHardBoot.
+ */
+ @java.lang.Override
+ public int getIsHardBoot() {
+ return isHardBoot_;
+ }
+ /**
+ * + * 是否冷启 + *+ * + *
int32 is_hard_boot = 5;
+ * @param value The isHardBoot to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsHardBoot(int value) {
+
+ isHardBoot_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否冷启 + *+ * + *
int32 is_hard_boot = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsHardBoot() {
+
+ isHardBoot_ = 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:com.yutou.qqbot.bilibili.DmViewReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.DmViewReq)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmViewReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 1;
+ * @return The state.
+ */
+ int getState();
+
+ /**
+ * + *+ * + *
string text = 2;
+ * @return The text.
+ */
+ java.lang.String getText();
+ /**
+ * + *+ * + *
string text = 2;
+ * @return The bytes for text.
+ */
+ com.google.protobuf.ByteString
+ getTextBytes();
+
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return The textSide.
+ */
+ java.lang.String getTextSide();
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return The bytes for textSide.
+ */
+ com.google.protobuf.ByteString
+ getTextSideBytes();
+
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ * @return Whether the dmSge field is set.
+ */
+ boolean hasDmSge();
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ * @return The dmSge.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig getDmSge();
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfigOrBuilder getDmSgeOrBuilder();
+
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ * @return Whether the flag field is set.
+ */
+ boolean hasFlag();
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ * @return The flag.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getFlag();
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder getFlagOrBuilder();
+
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return A list containing the specialDms.
+ */
+ java.util.List+ * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return The count of specialDms.
+ */
+ int getSpecialDmsCount();
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index of the element to return.
+ * @return The specialDms at the given index.
+ */
+ java.lang.String getSpecialDms(int index);
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index of the value to return.
+ * @return The bytes of the specialDms at the given index.
+ */
+ com.google.protobuf.ByteString
+ getSpecialDmsBytes(int index);
+
+ /**
+ * + * check box 是否展示 + *+ * + *
bool check_box = 7;
+ * @return The checkBox.
+ */
+ boolean getCheckBox();
+
+ /**
+ * + * 弹幕数 + *+ * + *
int64 count = 8;
+ * @return The count.
+ */
+ long getCount();
+
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ java.util.List+ * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.CommandDm getCommandDms(int index);
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ int getCommandDmsCount();
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.CommandDmOrBuilder>
+ getCommandDmsOrBuilderList();
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.CommandDmOrBuilder getCommandDmsOrBuilder(
+ int index);
+
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ * @return Whether the playerConfig field is set.
+ */
+ boolean hasPlayerConfig();
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ * @return The playerConfig.
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig getPlayerConfig();
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfigOrBuilder getPlayerConfigOrBuilder();
+
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return A list containing the reportFilterContent.
+ */
+ java.util.List+ * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return The count of reportFilterContent.
+ */
+ int getReportFilterContentCount();
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index of the element to return.
+ * @return The reportFilterContent at the given index.
+ */
+ java.lang.String getReportFilterContent(int index);
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index of the value to return.
+ * @return The bytes of the reportFilterContent at the given index.
+ */
+ com.google.protobuf.ByteString
+ getReportFilterContentBytes(int index);
+
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions getExpressions(int index);
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ int getExpressionsCount();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder>
+ getExpressionsOrBuilderList();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder getExpressionsOrBuilder(
+ int index);
+ }
+ /**
+ * + * web端弹幕元数据-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmWebViewReply} + */ + public static final class DmWebViewReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.DmWebViewReply) + DmWebViewReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use DmWebViewReply.newBuilder() to construct. + private DmWebViewReply(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private DmWebViewReply() { + text_ = ""; + textSide_ = ""; + specialDms_ = com.google.protobuf.LazyStringArrayList.EMPTY; + commandDms_ = java.util.Collections.emptyList(); + reportFilterContent_ = com.google.protobuf.LazyStringArrayList.EMPTY; + expressions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DmWebViewReply(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DmWebViewReply( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + state_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + text_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + textSide_ = s; + break; + } + case 34: { + com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder subBuilder = null; + if (dmSge_ != null) { + subBuilder = dmSge_.toBuilder(); + } + dmSge_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dmSge_); + dmSge_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder subBuilder = null; + if (flag_ != null) { + subBuilder = flag_.toBuilder(); + } + flag_ = input.readMessage(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(flag_); + flag_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + specialDms_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + specialDms_.add(s); + break; + } + case 56: { + + checkBox_ = input.readBool(); + break; + } + case 64: { + + count_ = input.readInt64(); + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + commandDms_ = new java.util.ArrayList
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 1;
+ * @return The state.
+ */
+ @java.lang.Override
+ public int getState() {
+ return state_;
+ }
+
+ public static final int TEXT_FIELD_NUMBER = 2;
+ private volatile java.lang.Object text_;
+ /**
+ * + *+ * + *
string text = 2;
+ * @return The text.
+ */
+ @java.lang.Override
+ public java.lang.String getText() {
+ java.lang.Object ref = text_;
+ 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();
+ text_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string text = 2;
+ * @return The bytes for text.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getTextBytes() {
+ java.lang.Object ref = text_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ text_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TEXT_SIDE_FIELD_NUMBER = 3;
+ private volatile java.lang.Object textSide_;
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return The textSide.
+ */
+ @java.lang.Override
+ public java.lang.String getTextSide() {
+ java.lang.Object ref = textSide_;
+ 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();
+ textSide_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return The bytes for textSide.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getTextSideBytes() {
+ java.lang.Object ref = textSide_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ textSide_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DM_SGE_FIELD_NUMBER = 4;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig dmSge_;
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ * @return Whether the dmSge field is set.
+ */
+ @java.lang.Override
+ public boolean hasDmSge() {
+ return dmSge_ != null;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ * @return The dmSge.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig getDmSge() {
+ return dmSge_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.getDefaultInstance() : dmSge_;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfigOrBuilder getDmSgeOrBuilder() {
+ return getDmSge();
+ }
+
+ public static final int FLAG_FIELD_NUMBER = 5;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig flag_;
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ * @return Whether the flag field is set.
+ */
+ @java.lang.Override
+ public boolean hasFlag() {
+ return flag_ != null;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ * @return The flag.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getFlag() {
+ return flag_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.getDefaultInstance() : flag_;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder getFlagOrBuilder() {
+ return getFlag();
+ }
+
+ public static final int SPECIAL_DMS_FIELD_NUMBER = 6;
+ private com.google.protobuf.LazyStringList specialDms_;
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return A list containing the specialDms.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getSpecialDmsList() {
+ return specialDms_;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return The count of specialDms.
+ */
+ public int getSpecialDmsCount() {
+ return specialDms_.size();
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index of the element to return.
+ * @return The specialDms at the given index.
+ */
+ public java.lang.String getSpecialDms(int index) {
+ return specialDms_.get(index);
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index of the value to return.
+ * @return The bytes of the specialDms at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getSpecialDmsBytes(int index) {
+ return specialDms_.getByteString(index);
+ }
+
+ public static final int CHECK_BOX_FIELD_NUMBER = 7;
+ private boolean checkBox_;
+ /**
+ * + * check box 是否展示 + *+ * + *
bool check_box = 7;
+ * @return The checkBox.
+ */
+ @java.lang.Override
+ public boolean getCheckBox() {
+ return checkBox_;
+ }
+
+ public static final int COUNT_FIELD_NUMBER = 8;
+ private long count_;
+ /**
+ * + * 弹幕数 + *+ * + *
int64 count = 8;
+ * @return The count.
+ */
+ @java.lang.Override
+ public long getCount() {
+ return count_;
+ }
+
+ public static final int COMMANDDMS_FIELD_NUMBER = 9;
+ private java.util.List+ * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ @java.lang.Override
+ public java.util.List+ * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.CommandDmOrBuilder>
+ getCommandDmsOrBuilderList() {
+ return commandDms_;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ @java.lang.Override
+ public int getCommandDmsCount() {
+ return commandDms_.size();
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDm getCommandDms(int index) {
+ return commandDms_.get(index);
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDmOrBuilder getCommandDmsOrBuilder(
+ int index) {
+ return commandDms_.get(index);
+ }
+
+ public static final int PLAYER_CONFIG_FIELD_NUMBER = 10;
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig playerConfig_;
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ * @return Whether the playerConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasPlayerConfig() {
+ return playerConfig_ != null;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ * @return The playerConfig.
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig getPlayerConfig() {
+ return playerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.getDefaultInstance() : playerConfig_;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfigOrBuilder getPlayerConfigOrBuilder() {
+ return getPlayerConfig();
+ }
+
+ public static final int REPORT_FILTER_CONTENT_FIELD_NUMBER = 11;
+ private com.google.protobuf.LazyStringList reportFilterContent_;
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return A list containing the reportFilterContent.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getReportFilterContentList() {
+ return reportFilterContent_;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return The count of reportFilterContent.
+ */
+ public int getReportFilterContentCount() {
+ return reportFilterContent_.size();
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index of the element to return.
+ * @return The reportFilterContent at the given index.
+ */
+ public java.lang.String getReportFilterContent(int index) {
+ return reportFilterContent_.get(index);
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index of the value to return.
+ * @return The bytes of the reportFilterContent at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getReportFilterContentBytes(int index) {
+ return reportFilterContent_.getByteString(index);
+ }
+
+ public static final int EXPRESSIONS_FIELD_NUMBER = 12;
+ private java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ @java.lang.Override
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder>
+ getExpressionsOrBuilderList() {
+ return expressions_;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ @java.lang.Override
+ public int getExpressionsCount() {
+ return expressions_.size();
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions getExpressions(int index) {
+ return expressions_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder getExpressionsOrBuilder(
+ int index) {
+ return expressions_.get(index);
+ }
+
+ 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 (state_ != 0) {
+ output.writeInt32(1, state_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textSide_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, textSide_);
+ }
+ if (dmSge_ != null) {
+ output.writeMessage(4, getDmSge());
+ }
+ if (flag_ != null) {
+ output.writeMessage(5, getFlag());
+ }
+ for (int i = 0; i < specialDms_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, specialDms_.getRaw(i));
+ }
+ if (checkBox_ != false) {
+ output.writeBool(7, checkBox_);
+ }
+ if (count_ != 0L) {
+ output.writeInt64(8, count_);
+ }
+ for (int i = 0; i < commandDms_.size(); i++) {
+ output.writeMessage(9, commandDms_.get(i));
+ }
+ if (playerConfig_ != null) {
+ output.writeMessage(10, getPlayerConfig());
+ }
+ for (int i = 0; i < reportFilterContent_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, reportFilterContent_.getRaw(i));
+ }
+ for (int i = 0; i < expressions_.size(); i++) {
+ output.writeMessage(12, expressions_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (state_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, state_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, text_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textSide_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, textSide_);
+ }
+ if (dmSge_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getDmSge());
+ }
+ if (flag_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, getFlag());
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < specialDms_.size(); i++) {
+ dataSize += computeStringSizeNoTag(specialDms_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getSpecialDmsList().size();
+ }
+ if (checkBox_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(7, checkBox_);
+ }
+ if (count_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(8, count_);
+ }
+ for (int i = 0; i < commandDms_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(9, commandDms_.get(i));
+ }
+ if (playerConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(10, getPlayerConfig());
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < reportFilterContent_.size(); i++) {
+ dataSize += computeStringSizeNoTag(reportFilterContent_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getReportFilterContentList().size();
+ }
+ for (int i = 0; i < expressions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(12, expressions_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply other = (com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply) obj;
+
+ if (getState()
+ != other.getState()) return false;
+ if (!getText()
+ .equals(other.getText())) return false;
+ if (!getTextSide()
+ .equals(other.getTextSide())) return false;
+ if (hasDmSge() != other.hasDmSge()) return false;
+ if (hasDmSge()) {
+ if (!getDmSge()
+ .equals(other.getDmSge())) return false;
+ }
+ if (hasFlag() != other.hasFlag()) return false;
+ if (hasFlag()) {
+ if (!getFlag()
+ .equals(other.getFlag())) return false;
+ }
+ if (!getSpecialDmsList()
+ .equals(other.getSpecialDmsList())) return false;
+ if (getCheckBox()
+ != other.getCheckBox()) return false;
+ if (getCount()
+ != other.getCount()) return false;
+ if (!getCommandDmsList()
+ .equals(other.getCommandDmsList())) return false;
+ if (hasPlayerConfig() != other.hasPlayerConfig()) return false;
+ if (hasPlayerConfig()) {
+ if (!getPlayerConfig()
+ .equals(other.getPlayerConfig())) return false;
+ }
+ if (!getReportFilterContentList()
+ .equals(other.getReportFilterContentList())) return false;
+ if (!getExpressionsList()
+ .equals(other.getExpressionsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + getState();
+ hash = (37 * hash) + TEXT_FIELD_NUMBER;
+ hash = (53 * hash) + getText().hashCode();
+ hash = (37 * hash) + TEXT_SIDE_FIELD_NUMBER;
+ hash = (53 * hash) + getTextSide().hashCode();
+ if (hasDmSge()) {
+ hash = (37 * hash) + DM_SGE_FIELD_NUMBER;
+ hash = (53 * hash) + getDmSge().hashCode();
+ }
+ if (hasFlag()) {
+ hash = (37 * hash) + FLAG_FIELD_NUMBER;
+ hash = (53 * hash) + getFlag().hashCode();
+ }
+ if (getSpecialDmsCount() > 0) {
+ hash = (37 * hash) + SPECIAL_DMS_FIELD_NUMBER;
+ hash = (53 * hash) + getSpecialDmsList().hashCode();
+ }
+ hash = (37 * hash) + CHECK_BOX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getCheckBox());
+ hash = (37 * hash) + COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getCount());
+ if (getCommandDmsCount() > 0) {
+ hash = (37 * hash) + COMMANDDMS_FIELD_NUMBER;
+ hash = (53 * hash) + getCommandDmsList().hashCode();
+ }
+ if (hasPlayerConfig()) {
+ hash = (37 * hash) + PLAYER_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getPlayerConfig().hashCode();
+ }
+ if (getReportFilterContentCount() > 0) {
+ hash = (37 * hash) + REPORT_FILTER_CONTENT_FIELD_NUMBER;
+ hash = (53 * hash) + getReportFilterContentList().hashCode();
+ }
+ if (getExpressionsCount() > 0) {
+ hash = (37 * hash) + EXPRESSIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExpressionsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply 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 com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply 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(com.yutou.qqbot.bilibili.VideoDanMu.DmWebViewReply 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;
+ }
+ /**
+ * + * web端弹幕元数据-响应 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.DmWebViewReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 1;
+ * @return The state.
+ */
+ @java.lang.Override
+ public int getState() {
+ return state_;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 1;
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否已关闭弹幕 + * 0:未关闭 1:已关闭 + *+ * + *
int32 state = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object text_ = "";
+ /**
+ * + *+ * + *
string text = 2;
+ * @return The text.
+ */
+ public java.lang.String getText() {
+ java.lang.Object ref = text_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ text_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string text = 2;
+ * @return The bytes for text.
+ */
+ public com.google.protobuf.ByteString
+ getTextBytes() {
+ java.lang.Object ref = text_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ text_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string text = 2;
+ * @param value The text to set.
+ * @return This builder for chaining.
+ */
+ public Builder setText(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ text_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string text = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearText() {
+
+ text_ = getDefaultInstance().getText();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string text = 2;
+ * @param value The bytes for text to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ text_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object textSide_ = "";
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return The textSide.
+ */
+ public java.lang.String getTextSide() {
+ java.lang.Object ref = textSide_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ textSide_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return The bytes for textSide.
+ */
+ public com.google.protobuf.ByteString
+ getTextSideBytes() {
+ java.lang.Object ref = textSide_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ textSide_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @param value The textSide to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextSide(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ textSide_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearTextSide() {
+
+ textSide_ = getDefaultInstance().getTextSide();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string text_side = 3;
+ * @param value The bytes for textSide to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTextSideBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ textSide_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig dmSge_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfigOrBuilder> dmSgeBuilder_;
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ * @return Whether the dmSge field is set.
+ */
+ public boolean hasDmSge() {
+ return dmSgeBuilder_ != null || dmSge_ != null;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ * @return The dmSge.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig getDmSge() {
+ if (dmSgeBuilder_ == null) {
+ return dmSge_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.getDefaultInstance() : dmSge_;
+ } else {
+ return dmSgeBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ public Builder setDmSge(com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig value) {
+ if (dmSgeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dmSge_ = value;
+ onChanged();
+ } else {
+ dmSgeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ public Builder setDmSge(
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder builderForValue) {
+ if (dmSgeBuilder_ == null) {
+ dmSge_ = builderForValue.build();
+ onChanged();
+ } else {
+ dmSgeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ public Builder mergeDmSge(com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig value) {
+ if (dmSgeBuilder_ == null) {
+ if (dmSge_ != null) {
+ dmSge_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.newBuilder(dmSge_).mergeFrom(value).buildPartial();
+ } else {
+ dmSge_ = value;
+ }
+ onChanged();
+ } else {
+ dmSgeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ public Builder clearDmSge() {
+ if (dmSgeBuilder_ == null) {
+ dmSge_ = null;
+ onChanged();
+ } else {
+ dmSge_ = null;
+ dmSgeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder getDmSgeBuilder() {
+
+ onChanged();
+ return getDmSgeFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfigOrBuilder getDmSgeOrBuilder() {
+ if (dmSgeBuilder_ != null) {
+ return dmSgeBuilder_.getMessageOrBuilder();
+ } else {
+ return dmSge_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.getDefaultInstance() : dmSge_;
+ }
+ }
+ /**
+ * + * 分段弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DmSegConfig dm_sge = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfigOrBuilder>
+ getDmSgeFieldBuilder() {
+ if (dmSgeBuilder_ == null) {
+ dmSgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DmSegConfigOrBuilder>(
+ getDmSge(),
+ getParentForChildren(),
+ isClean());
+ dmSge_ = null;
+ }
+ return dmSgeBuilder_;
+ }
+
+ private com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig flag_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder> flagBuilder_;
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ * @return Whether the flag field is set.
+ */
+ public boolean hasFlag() {
+ return flagBuilder_ != null || flag_ != null;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ * @return The flag.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig getFlag() {
+ if (flagBuilder_ == null) {
+ return flag_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.getDefaultInstance() : flag_;
+ } else {
+ return flagBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ public Builder setFlag(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig value) {
+ if (flagBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ flag_ = value;
+ onChanged();
+ } else {
+ flagBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ public Builder setFlag(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder builderForValue) {
+ if (flagBuilder_ == null) {
+ flag_ = builderForValue.build();
+ onChanged();
+ } else {
+ flagBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ public Builder mergeFlag(com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig value) {
+ if (flagBuilder_ == null) {
+ if (flag_ != null) {
+ flag_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.newBuilder(flag_).mergeFrom(value).buildPartial();
+ } else {
+ flag_ = value;
+ }
+ onChanged();
+ } else {
+ flagBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ public Builder clearFlag() {
+ if (flagBuilder_ == null) {
+ flag_ = null;
+ onChanged();
+ } else {
+ flag_ = null;
+ flagBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder getFlagBuilder() {
+
+ onChanged();
+ return getFlagFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder getFlagOrBuilder() {
+ if (flagBuilder_ != null) {
+ return flagBuilder_.getMessageOrBuilder();
+ } else {
+ return flag_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.getDefaultInstance() : flag_;
+ }
+ }
+ /**
+ * + * 云屏蔽配置信息 + *+ * + *
.com.yutou.qqbot.bilibili.DanmakuFlagConfig flag = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder>
+ getFlagFieldBuilder() {
+ if (flagBuilder_ == null) {
+ flagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmakuFlagConfigOrBuilder>(
+ getFlag(),
+ getParentForChildren(),
+ isClean());
+ flag_ = null;
+ }
+ return flagBuilder_;
+ }
+
+ private com.google.protobuf.LazyStringList specialDms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureSpecialDmsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ specialDms_ = new com.google.protobuf.LazyStringArrayList(specialDms_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return A list containing the specialDms.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getSpecialDmsList() {
+ return specialDms_.getUnmodifiableView();
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return The count of specialDms.
+ */
+ public int getSpecialDmsCount() {
+ return specialDms_.size();
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index of the element to return.
+ * @return The specialDms at the given index.
+ */
+ public java.lang.String getSpecialDms(int index) {
+ return specialDms_.get(index);
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index of the value to return.
+ * @return The bytes of the specialDms at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getSpecialDmsBytes(int index) {
+ return specialDms_.getByteString(index);
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param index The index to set the value at.
+ * @param value The specialDms to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpecialDms(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSpecialDmsIsMutable();
+ specialDms_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param value The specialDms to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialDms(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSpecialDmsIsMutable();
+ specialDms_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param values The specialDms to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSpecialDms(
+ java.lang.Iterable+ * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpecialDms() {
+ specialDms_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 高级弹幕专包url(bfs) + *+ * + *
repeated string special_dms = 6;
+ * @param value The bytes of the specialDms to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialDmsBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureSpecialDmsIsMutable();
+ specialDms_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private boolean checkBox_ ;
+ /**
+ * + * check box 是否展示 + *+ * + *
bool check_box = 7;
+ * @return The checkBox.
+ */
+ @java.lang.Override
+ public boolean getCheckBox() {
+ return checkBox_;
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
bool check_box = 7;
+ * @param value The checkBox to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCheckBox(boolean value) {
+
+ checkBox_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * check box 是否展示 + *+ * + *
bool check_box = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearCheckBox() {
+
+ checkBox_ = false;
+ onChanged();
+ return this;
+ }
+
+ private long count_ ;
+ /**
+ * + * 弹幕数 + *+ * + *
int64 count = 8;
+ * @return The count.
+ */
+ @java.lang.Override
+ public long getCount() {
+ return count_;
+ }
+ /**
+ * + * 弹幕数 + *+ * + *
int64 count = 8;
+ * @param value The count to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCount(long value) {
+
+ count_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 弹幕数 + *+ * + *
int64 count = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearCount() {
+
+ count_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public java.util.List+ * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public int getCommandDmsCount() {
+ if (commandDmsBuilder_ == null) {
+ return commandDms_.size();
+ } else {
+ return commandDmsBuilder_.getCount();
+ }
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDm getCommandDms(int index) {
+ if (commandDmsBuilder_ == null) {
+ return commandDms_.get(index);
+ } else {
+ return commandDmsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder setCommandDms(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.CommandDm value) {
+ if (commandDmsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCommandDmsIsMutable();
+ commandDms_.set(index, value);
+ onChanged();
+ } else {
+ commandDmsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder setCommandDms(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder builderForValue) {
+ if (commandDmsBuilder_ == null) {
+ ensureCommandDmsIsMutable();
+ commandDms_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ commandDmsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder addCommandDms(com.yutou.qqbot.bilibili.VideoDanMu.CommandDm value) {
+ if (commandDmsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCommandDmsIsMutable();
+ commandDms_.add(value);
+ onChanged();
+ } else {
+ commandDmsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder addCommandDms(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.CommandDm value) {
+ if (commandDmsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCommandDmsIsMutable();
+ commandDms_.add(index, value);
+ onChanged();
+ } else {
+ commandDmsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder addCommandDms(
+ com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder builderForValue) {
+ if (commandDmsBuilder_ == null) {
+ ensureCommandDmsIsMutable();
+ commandDms_.add(builderForValue.build());
+ onChanged();
+ } else {
+ commandDmsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder addCommandDms(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder builderForValue) {
+ if (commandDmsBuilder_ == null) {
+ ensureCommandDmsIsMutable();
+ commandDms_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ commandDmsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder addAllCommandDms(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.CommandDm> values) {
+ if (commandDmsBuilder_ == null) {
+ ensureCommandDmsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, commandDms_);
+ onChanged();
+ } else {
+ commandDmsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder clearCommandDms() {
+ if (commandDmsBuilder_ == null) {
+ commandDms_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ commandDmsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public Builder removeCommandDms(int index) {
+ if (commandDmsBuilder_ == null) {
+ ensureCommandDmsIsMutable();
+ commandDms_.remove(index);
+ onChanged();
+ } else {
+ commandDmsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder getCommandDmsBuilder(
+ int index) {
+ return getCommandDmsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDmOrBuilder getCommandDmsOrBuilder(
+ int index) {
+ if (commandDmsBuilder_ == null) {
+ return commandDms_.get(index); } else {
+ return commandDmsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.CommandDmOrBuilder>
+ getCommandDmsOrBuilderList() {
+ if (commandDmsBuilder_ != null) {
+ return commandDmsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(commandDms_);
+ }
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder addCommandDmsBuilder() {
+ return getCommandDmsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.getDefaultInstance());
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.Builder addCommandDmsBuilder(
+ int index) {
+ return getCommandDmsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.CommandDm.getDefaultInstance());
+ }
+ /**
+ * + * 互动弹幕 + *+ * + *
repeated .com.yutou.qqbot.bilibili.CommandDm commandDms = 9;
+ */
+ public java.util.List+ * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ * @return Whether the playerConfig field is set.
+ */
+ public boolean hasPlayerConfig() {
+ return playerConfigBuilder_ != null || playerConfig_ != null;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ * @return The playerConfig.
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig getPlayerConfig() {
+ if (playerConfigBuilder_ == null) {
+ return playerConfig_ == null ? com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.getDefaultInstance() : playerConfig_;
+ } else {
+ return playerConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ public Builder setPlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig value) {
+ if (playerConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ playerConfig_ = value;
+ onChanged();
+ } else {
+ playerConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ public Builder setPlayerConfig(
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.Builder builderForValue) {
+ if (playerConfigBuilder_ == null) {
+ playerConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ playerConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ public Builder mergePlayerConfig(com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig value) {
+ if (playerConfigBuilder_ == null) {
+ if (playerConfig_ != null) {
+ playerConfig_ =
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.newBuilder(playerConfig_).mergeFrom(value).buildPartial();
+ } else {
+ playerConfig_ = value;
+ }
+ onChanged();
+ } else {
+ playerConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ public Builder clearPlayerConfig() {
+ if (playerConfigBuilder_ == null) {
+ playerConfig_ = null;
+ onChanged();
+ } else {
+ playerConfig_ = null;
+ playerConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.Builder getPlayerConfigBuilder() {
+
+ onChanged();
+ return getPlayerConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfigOrBuilder getPlayerConfigOrBuilder() {
+ if (playerConfigBuilder_ != null) {
+ return playerConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return playerConfig_ == null ?
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.getDefaultInstance() : playerConfig_;
+ }
+ }
+ /**
+ * + * 用户弹幕配置 + *+ * + *
.com.yutou.qqbot.bilibili.DanmuWebPlayerConfig player_config = 10;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfigOrBuilder>
+ getPlayerConfigFieldBuilder() {
+ if (playerConfigBuilder_ == null) {
+ playerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig, com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfig.Builder, com.yutou.qqbot.bilibili.VideoDanMu.DanmuWebPlayerConfigOrBuilder>(
+ getPlayerConfig(),
+ getParentForChildren(),
+ isClean());
+ playerConfig_ = null;
+ }
+ return playerConfigBuilder_;
+ }
+
+ private com.google.protobuf.LazyStringList reportFilterContent_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureReportFilterContentIsMutable() {
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ reportFilterContent_ = new com.google.protobuf.LazyStringArrayList(reportFilterContent_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return A list containing the reportFilterContent.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getReportFilterContentList() {
+ return reportFilterContent_.getUnmodifiableView();
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return The count of reportFilterContent.
+ */
+ public int getReportFilterContentCount() {
+ return reportFilterContent_.size();
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index of the element to return.
+ * @return The reportFilterContent at the given index.
+ */
+ public java.lang.String getReportFilterContent(int index) {
+ return reportFilterContent_.get(index);
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index of the value to return.
+ * @return The bytes of the reportFilterContent at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getReportFilterContentBytes(int index) {
+ return reportFilterContent_.getByteString(index);
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param index The index to set the value at.
+ * @param value The reportFilterContent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReportFilterContent(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReportFilterContentIsMutable();
+ reportFilterContent_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param value The reportFilterContent to add.
+ * @return This builder for chaining.
+ */
+ public Builder addReportFilterContent(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReportFilterContentIsMutable();
+ reportFilterContent_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param values The reportFilterContent to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllReportFilterContent(
+ java.lang.Iterable+ * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearReportFilterContent() {
+ reportFilterContent_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 用户举报弹幕 cid维度屏蔽 + *+ * + *
repeated string report_filter_content = 11;
+ * @param value The bytes of the reportFilterContent to add.
+ * @return This builder for chaining.
+ */
+ public Builder addReportFilterContentBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureReportFilterContentIsMutable();
+ reportFilterContent_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public int getExpressionsCount() {
+ if (expressionsBuilder_ == null) {
+ return expressions_.size();
+ } else {
+ return expressionsBuilder_.getCount();
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions getExpressions(int index) {
+ if (expressionsBuilder_ == null) {
+ return expressions_.get(index);
+ } else {
+ return expressionsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder setExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.set(index, value);
+ onChanged();
+ } else {
+ expressionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder setExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder addExpressions(com.yutou.qqbot.bilibili.VideoDanMu.Expressions value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.add(value);
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder addExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.add(index, value);
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder addExpressions(
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder addExpressions(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder addAllExpressions(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.Expressions> values) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, expressions_);
+ onChanged();
+ } else {
+ expressionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder clearExpressions() {
+ if (expressionsBuilder_ == null) {
+ expressions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ } else {
+ expressionsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public Builder removeExpressions(int index) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.remove(index);
+ onChanged();
+ } else {
+ expressionsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder getExpressionsBuilder(
+ int index) {
+ return getExpressionsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder getExpressionsOrBuilder(
+ int index) {
+ if (expressionsBuilder_ == null) {
+ return expressions_.get(index); } else {
+ return expressionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionsOrBuilder>
+ getExpressionsOrBuilderList() {
+ if (expressionsBuilder_ != null) {
+ return expressionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(expressions_);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder addExpressionsBuilder() {
+ return getExpressionsFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expressions.Builder addExpressionsBuilder(
+ int index) {
+ return getExpressionsFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.Expressions.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expressions expressions = 12;
+ */
+ public java.util.List+ *+ * + *
bool should_report_at_end = 1;
+ * @return The shouldReportAtEnd.
+ */
+ boolean getShouldReportAtEnd();
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.ExpoReport} + */ + public static final class ExpoReport extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.ExpoReport) + ExpoReportOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExpoReport.newBuilder() to construct. + private ExpoReport(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private ExpoReport() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExpoReport(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExpoReport( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + shouldReportAtEnd_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_ExpoReport_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_ExpoReport_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.class, com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport.Builder.class); + } + + public static final int SHOULD_REPORT_AT_END_FIELD_NUMBER = 1; + private boolean shouldReportAtEnd_; + /** + *
+ *+ * + *
bool should_report_at_end = 1;
+ * @return The shouldReportAtEnd.
+ */
+ @java.lang.Override
+ public boolean getShouldReportAtEnd() {
+ return shouldReportAtEnd_;
+ }
+
+ 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 (shouldReportAtEnd_ != false) {
+ output.writeBool(1, shouldReportAtEnd_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (shouldReportAtEnd_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, shouldReportAtEnd_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport other = (com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport) obj;
+
+ if (getShouldReportAtEnd()
+ != other.getShouldReportAtEnd()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SHOULD_REPORT_AT_END_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getShouldReportAtEnd());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport 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 com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport 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 com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport 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(com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport 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 com.yutou.qqbot.bilibili.ExpoReport} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
bool should_report_at_end = 1;
+ * @return The shouldReportAtEnd.
+ */
+ @java.lang.Override
+ public boolean getShouldReportAtEnd() {
+ return shouldReportAtEnd_;
+ }
+ /**
+ * + *+ * + *
bool should_report_at_end = 1;
+ * @param value The shouldReportAtEnd to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShouldReportAtEnd(boolean value) {
+
+ shouldReportAtEnd_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
bool should_report_at_end = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearShouldReportAtEnd() {
+
+ shouldReportAtEnd_ = false;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:com.yutou.qqbot.bilibili.ExpoReport)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.ExpoReport)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.ExpoReport getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ *+ * + *
repeated string keyword = 1;
+ * @return A list containing the keyword.
+ */
+ java.util.List+ *+ * + *
repeated string keyword = 1;
+ * @return The count of keyword.
+ */
+ int getKeywordCount();
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index of the element to return.
+ * @return The keyword at the given index.
+ */
+ java.lang.String getKeyword(int index);
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index of the value to return.
+ * @return The bytes of the keyword at the given index.
+ */
+ com.google.protobuf.ByteString
+ getKeywordBytes(int index);
+
+ /**
+ * + *+ * + *
string url = 2;
+ * @return The url.
+ */
+ java.lang.String getUrl();
+ /**
+ * + *+ * + *
string url = 2;
+ * @return The bytes for url.
+ */
+ com.google.protobuf.ByteString
+ getUrlBytes();
+
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.Period getPeriod(int index);
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ int getPeriodCount();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.PeriodOrBuilder>
+ getPeriodOrBuilderList();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.PeriodOrBuilder getPeriodOrBuilder(
+ int index);
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.Expression} + */ + public static final class Expression extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.Expression) + ExpressionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Expression.newBuilder() to construct. + private Expression(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private Expression() { + keyword_ = com.google.protobuf.LazyStringArrayList.EMPTY; + url_ = ""; + period_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Expression(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Expression( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + keyword_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + keyword_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + url_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + period_ = new java.util.ArrayList
+ *+ * + *
repeated string keyword = 1;
+ * @return A list containing the keyword.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getKeywordList() {
+ return keyword_;
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @return The count of keyword.
+ */
+ public int getKeywordCount() {
+ return keyword_.size();
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index of the element to return.
+ * @return The keyword at the given index.
+ */
+ public java.lang.String getKeyword(int index) {
+ return keyword_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index of the value to return.
+ * @return The bytes of the keyword at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getKeywordBytes(int index) {
+ return keyword_.getByteString(index);
+ }
+
+ public static final int URL_FIELD_NUMBER = 2;
+ private volatile java.lang.Object url_;
+ /**
+ * + *+ * + *
string url = 2;
+ * @return The url.
+ */
+ @java.lang.Override
+ public java.lang.String getUrl() {
+ java.lang.Object ref = url_;
+ 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();
+ url_ = s;
+ return s;
+ }
+ }
+ /**
+ * + *+ * + *
string url = 2;
+ * @return The bytes for url.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getUrlBytes() {
+ java.lang.Object ref = url_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ url_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PERIOD_FIELD_NUMBER = 3;
+ private java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ @java.lang.Override
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.PeriodOrBuilder>
+ getPeriodOrBuilderList() {
+ return period_;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ @java.lang.Override
+ public int getPeriodCount() {
+ return period_.size();
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.Period getPeriod(int index) {
+ return period_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.PeriodOrBuilder getPeriodOrBuilder(
+ int index) {
+ return period_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < keyword_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyword_.getRaw(i));
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, url_);
+ }
+ for (int i = 0; i < period_.size(); i++) {
+ output.writeMessage(3, period_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < keyword_.size(); i++) {
+ dataSize += computeStringSizeNoTag(keyword_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getKeywordList().size();
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, url_);
+ }
+ for (int i = 0; i < period_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, period_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.Expression)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.Expression other = (com.yutou.qqbot.bilibili.VideoDanMu.Expression) obj;
+
+ if (!getKeywordList()
+ .equals(other.getKeywordList())) return false;
+ if (!getUrl()
+ .equals(other.getUrl())) return false;
+ if (!getPeriodList()
+ .equals(other.getPeriodList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getKeywordCount() > 0) {
+ hash = (37 * hash) + KEYWORD_FIELD_NUMBER;
+ hash = (53 * hash) + getKeywordList().hashCode();
+ }
+ hash = (37 * hash) + URL_FIELD_NUMBER;
+ hash = (53 * hash) + getUrl().hashCode();
+ if (getPeriodCount() > 0) {
+ hash = (37 * hash) + PERIOD_FIELD_NUMBER;
+ hash = (53 * hash) + getPeriodList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression 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 com.yutou.qqbot.bilibili.VideoDanMu.Expression parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression 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 com.yutou.qqbot.bilibili.VideoDanMu.Expression parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expression 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(com.yutou.qqbot.bilibili.VideoDanMu.Expression 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 com.yutou.qqbot.bilibili.Expression} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
repeated string keyword = 1;
+ * @return A list containing the keyword.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getKeywordList() {
+ return keyword_.getUnmodifiableView();
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @return The count of keyword.
+ */
+ public int getKeywordCount() {
+ return keyword_.size();
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index of the element to return.
+ * @return The keyword at the given index.
+ */
+ public java.lang.String getKeyword(int index) {
+ return keyword_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index of the value to return.
+ * @return The bytes of the keyword at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getKeywordBytes(int index) {
+ return keyword_.getByteString(index);
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param index The index to set the value at.
+ * @param value The keyword to set.
+ * @return This builder for chaining.
+ */
+ public Builder setKeyword(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureKeywordIsMutable();
+ keyword_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param value The keyword to add.
+ * @return This builder for chaining.
+ */
+ public Builder addKeyword(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureKeywordIsMutable();
+ keyword_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param values The keyword to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllKeyword(
+ java.lang.Iterable+ *+ * + *
repeated string keyword = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearKeyword() {
+ keyword_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated string keyword = 1;
+ * @param value The bytes of the keyword to add.
+ * @return This builder for chaining.
+ */
+ public Builder addKeywordBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureKeywordIsMutable();
+ keyword_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object url_ = "";
+ /**
+ * + *+ * + *
string url = 2;
+ * @return The url.
+ */
+ public java.lang.String getUrl() {
+ java.lang.Object ref = url_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ url_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string url = 2;
+ * @return The bytes for url.
+ */
+ public com.google.protobuf.ByteString
+ getUrlBytes() {
+ java.lang.Object ref = url_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ url_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + *+ * + *
string url = 2;
+ * @param value The url to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUrl(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ url_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string url = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearUrl() {
+
+ url_ = getDefaultInstance().getUrl();
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
string url = 2;
+ * @param value The bytes for url to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUrlBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ url_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public int getPeriodCount() {
+ if (periodBuilder_ == null) {
+ return period_.size();
+ } else {
+ return periodBuilder_.getCount();
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Period getPeriod(int index) {
+ if (periodBuilder_ == null) {
+ return period_.get(index);
+ } else {
+ return periodBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder setPeriod(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Period value) {
+ if (periodBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePeriodIsMutable();
+ period_.set(index, value);
+ onChanged();
+ } else {
+ periodBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder setPeriod(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder builderForValue) {
+ if (periodBuilder_ == null) {
+ ensurePeriodIsMutable();
+ period_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ periodBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder addPeriod(com.yutou.qqbot.bilibili.VideoDanMu.Period value) {
+ if (periodBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePeriodIsMutable();
+ period_.add(value);
+ onChanged();
+ } else {
+ periodBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder addPeriod(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Period value) {
+ if (periodBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePeriodIsMutable();
+ period_.add(index, value);
+ onChanged();
+ } else {
+ periodBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder addPeriod(
+ com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder builderForValue) {
+ if (periodBuilder_ == null) {
+ ensurePeriodIsMutable();
+ period_.add(builderForValue.build());
+ onChanged();
+ } else {
+ periodBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder addPeriod(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder builderForValue) {
+ if (periodBuilder_ == null) {
+ ensurePeriodIsMutable();
+ period_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ periodBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder addAllPeriod(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.Period> values) {
+ if (periodBuilder_ == null) {
+ ensurePeriodIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, period_);
+ onChanged();
+ } else {
+ periodBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder clearPeriod() {
+ if (periodBuilder_ == null) {
+ period_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ periodBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public Builder removePeriod(int index) {
+ if (periodBuilder_ == null) {
+ ensurePeriodIsMutable();
+ period_.remove(index);
+ onChanged();
+ } else {
+ periodBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder getPeriodBuilder(
+ int index) {
+ return getPeriodFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.PeriodOrBuilder getPeriodOrBuilder(
+ int index) {
+ if (periodBuilder_ == null) {
+ return period_.get(index); } else {
+ return periodBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.PeriodOrBuilder>
+ getPeriodOrBuilderList() {
+ if (periodBuilder_ != null) {
+ return periodBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(period_);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder addPeriodBuilder() {
+ return getPeriodFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.Period.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder addPeriodBuilder(
+ int index) {
+ return getPeriodFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.Period.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Period period = 3;
+ */
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.Expression getData(int index);
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ int getDataCount();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionOrBuilder>
+ getDataOrBuilderList();
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ com.yutou.qqbot.bilibili.VideoDanMu.ExpressionOrBuilder getDataOrBuilder(
+ int index);
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.Expressions} + */ + public static final class Expressions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.Expressions) + ExpressionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Expressions.newBuilder() to construct. + private Expressions(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private Expressions() { + data_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Expressions(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Expressions( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + data_ = new java.util.ArrayList
+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ @java.lang.Override
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionOrBuilder>
+ getDataOrBuilderList() {
+ return data_;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ @java.lang.Override
+ public int getDataCount() {
+ return data_.size();
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expression getData(int index) {
+ return data_.get(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ @java.lang.Override
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpressionOrBuilder getDataOrBuilder(
+ int index) {
+ return data_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < data_.size(); i++) {
+ output.writeMessage(1, data_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < data_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, data_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.Expressions)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.Expressions other = (com.yutou.qqbot.bilibili.VideoDanMu.Expressions) obj;
+
+ if (!getDataList()
+ .equals(other.getDataList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getDataCount() > 0) {
+ hash = (37 * hash) + DATA_FIELD_NUMBER;
+ hash = (53 * hash) + getDataList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions 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 com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions 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 com.yutou.qqbot.bilibili.VideoDanMu.Expressions parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Expressions 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(com.yutou.qqbot.bilibili.VideoDanMu.Expressions 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 com.yutou.qqbot.bilibili.Expressions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public java.util.List+ *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public int getDataCount() {
+ if (dataBuilder_ == null) {
+ return data_.size();
+ } else {
+ return dataBuilder_.getCount();
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expression getData(int index) {
+ if (dataBuilder_ == null) {
+ return data_.get(index);
+ } else {
+ return dataBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder setData(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expression value) {
+ if (dataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataIsMutable();
+ data_.set(index, value);
+ onChanged();
+ } else {
+ dataBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder setData(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expression.Builder builderForValue) {
+ if (dataBuilder_ == null) {
+ ensureDataIsMutable();
+ data_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dataBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder addData(com.yutou.qqbot.bilibili.VideoDanMu.Expression value) {
+ if (dataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataIsMutable();
+ data_.add(value);
+ onChanged();
+ } else {
+ dataBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder addData(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expression value) {
+ if (dataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataIsMutable();
+ data_.add(index, value);
+ onChanged();
+ } else {
+ dataBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder addData(
+ com.yutou.qqbot.bilibili.VideoDanMu.Expression.Builder builderForValue) {
+ if (dataBuilder_ == null) {
+ ensureDataIsMutable();
+ data_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dataBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder addData(
+ int index, com.yutou.qqbot.bilibili.VideoDanMu.Expression.Builder builderForValue) {
+ if (dataBuilder_ == null) {
+ ensureDataIsMutable();
+ data_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ dataBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder addAllData(
+ java.lang.Iterable extends com.yutou.qqbot.bilibili.VideoDanMu.Expression> values) {
+ if (dataBuilder_ == null) {
+ ensureDataIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, data_);
+ onChanged();
+ } else {
+ dataBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder clearData() {
+ if (dataBuilder_ == null) {
+ data_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ dataBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public Builder removeData(int index) {
+ if (dataBuilder_ == null) {
+ ensureDataIsMutable();
+ data_.remove(index);
+ onChanged();
+ } else {
+ dataBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expression.Builder getDataBuilder(
+ int index) {
+ return getDataFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.ExpressionOrBuilder getDataOrBuilder(
+ int index) {
+ if (dataBuilder_ == null) {
+ return data_.get(index); } else {
+ return dataBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public java.util.List extends com.yutou.qqbot.bilibili.VideoDanMu.ExpressionOrBuilder>
+ getDataOrBuilderList() {
+ if (dataBuilder_ != null) {
+ return dataBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(data_);
+ }
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expression.Builder addDataBuilder() {
+ return getDataFieldBuilder().addBuilder(
+ com.yutou.qqbot.bilibili.VideoDanMu.Expression.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public com.yutou.qqbot.bilibili.VideoDanMu.Expression.Builder addDataBuilder(
+ int index) {
+ return getDataFieldBuilder().addBuilder(
+ index, com.yutou.qqbot.bilibili.VideoDanMu.Expression.getDefaultInstance());
+ }
+ /**
+ * + *+ * + *
repeated .com.yutou.qqbot.bilibili.Expression data = 1;
+ */
+ public java.util.List+ *+ * + *
int64 start = 1;
+ * @return The start.
+ */
+ long getStart();
+
+ /**
+ * + *+ * + *
int64 end = 2;
+ * @return The end.
+ */
+ long getEnd();
+ }
+ /**
+ * + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.Period} + */ + public static final class Period extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.Period) + PeriodOrBuilder { + private static final long serialVersionUID = 0L; + // Use Period.newBuilder() to construct. + private Period(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private Period() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Period(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Period( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + start_ = input.readInt64(); + break; + } + case 16: { + + end_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_Period_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_Period_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.Period.class, com.yutou.qqbot.bilibili.VideoDanMu.Period.Builder.class); + } + + public static final int START_FIELD_NUMBER = 1; + private long start_; + /** + *
+ *+ * + *
int64 start = 1;
+ * @return The start.
+ */
+ @java.lang.Override
+ public long getStart() {
+ return start_;
+ }
+
+ public static final int END_FIELD_NUMBER = 2;
+ private long end_;
+ /**
+ * + *+ * + *
int64 end = 2;
+ * @return The end.
+ */
+ @java.lang.Override
+ public long getEnd() {
+ return end_;
+ }
+
+ 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 (start_ != 0L) {
+ output.writeInt64(1, start_);
+ }
+ if (end_ != 0L) {
+ output.writeInt64(2, end_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (start_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, start_);
+ }
+ if (end_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(2, end_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.Period)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.Period other = (com.yutou.qqbot.bilibili.VideoDanMu.Period) obj;
+
+ if (getStart()
+ != other.getStart()) return false;
+ if (getEnd()
+ != other.getEnd()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + START_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getStart());
+ hash = (37 * hash) + END_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ getEnd());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period 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 com.yutou.qqbot.bilibili.VideoDanMu.Period parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period 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 com.yutou.qqbot.bilibili.VideoDanMu.Period parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period 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(com.yutou.qqbot.bilibili.VideoDanMu.Period 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 com.yutou.qqbot.bilibili.Period} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
+ *+ * + *
int64 start = 1;
+ * @return The start.
+ */
+ @java.lang.Override
+ public long getStart() {
+ return start_;
+ }
+ /**
+ * + *+ * + *
int64 start = 1;
+ * @param value The start to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStart(long value) {
+
+ start_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 start = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearStart() {
+
+ start_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long end_ ;
+ /**
+ * + *+ * + *
int64 end = 2;
+ * @return The end.
+ */
+ @java.lang.Override
+ public long getEnd() {
+ return end_;
+ }
+ /**
+ * + *+ * + *
int64 end = 2;
+ * @param value The end to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnd(long value) {
+
+ end_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + *+ * + *
int64 end = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearEnd() {
+
+ end_ = 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:com.yutou.qqbot.bilibili.Period)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.Period)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.Period DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.Period();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.Period getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserbool value = 1;
+ * @return The value.
+ */
+ boolean getValue();
+ }
+ /**
+ * + * 是否开启弹幕 + *+ * + * Protobuf type {@code com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch} + */ + public static final class InlinePlayerDanmakuSwitch extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch) + InlinePlayerDanmakuSwitchOrBuilder { + private static final long serialVersionUID = 0L; + // Use InlinePlayerDanmakuSwitch.newBuilder() to construct. + private InlinePlayerDanmakuSwitch(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private InlinePlayerDanmakuSwitch() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InlinePlayerDanmakuSwitch(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private InlinePlayerDanmakuSwitch( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + value_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_InlinePlayerDanmakuSwitch_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yutou.qqbot.bilibili.VideoDanMu.internal_static_com_yutou_qqbot_bilibili_InlinePlayerDanmakuSwitch_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.class, com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + private boolean value_; + /** + *
bool value = 1;
+ * @return The value.
+ */
+ @java.lang.Override
+ public boolean getValue() {
+ return value_;
+ }
+
+ 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 (value_ != false) {
+ output.writeBool(1, value_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (value_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, value_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch)) {
+ return super.equals(obj);
+ }
+ com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch other = (com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch) obj;
+
+ if (getValue()
+ != other.getValue()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getValue());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch 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 com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch 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 com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch 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(com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch 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 com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
bool value = 1;
+ * @return The value.
+ */
+ @java.lang.Override
+ public boolean getValue() {
+ return value_;
+ }
+ /**
+ * bool value = 1;
+ * @param value The value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValue(boolean value) {
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool value = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearValue() {
+
+ value_ = false;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch)
+ }
+
+ // @@protoc_insertion_point(class_scope:com.yutou.qqbot.bilibili.InlinePlayerDanmakuSwitch)
+ private static final com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch();
+ }
+
+ public static com.yutou.qqbot.bilibili.VideoDanMu.InlinePlayerDanmakuSwitch getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser