All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.interactive.common.EventModeration Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/interactive/interactive.common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;

/**
 * 
 * live in-play moderation
 * 
* * Protobuf type {@code streamlayer.interactive.EventModeration} */ public final class EventModeration extends com.google.protobuf.GeneratedMessageLite< EventModeration, EventModeration.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.interactive.EventModeration) EventModerationOrBuilder { private EventModeration() { id_ = ""; eventId_ = ""; } public interface QuestionSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.interactive.EventModeration.QuestionSettings) com.google.protobuf.MessageLiteOrBuilder { /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; * @return Whether the appearance field is set. */ boolean hasAppearance(); /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; * @return The appearance. */ com.streamlayer.interactive.common.QuestionAppearance getAppearance(); /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; * @return Whether the trivia field is set. */ boolean hasTrivia(); /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; * @return The trivia. */ com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings getTrivia(); /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; * @return Whether the prediction field is set. */ boolean hasPrediction(); /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; * @return The prediction. */ com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings getPrediction(); /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ java.util.List getCorrectFeedbacksList(); /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedbacks(int index); /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ int getCorrectFeedbacksCount(); /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ java.util.List getIncorrectFeedbacksList(); /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedbacks(int index); /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ int getIncorrectFeedbacksCount(); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.QuestionSettings} */ public static final class QuestionSettings extends com.google.protobuf.GeneratedMessageLite< QuestionSettings, QuestionSettings.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.interactive.EventModeration.QuestionSettings) QuestionSettingsOrBuilder { private QuestionSettings() { correctFeedbacks_ = emptyProtobufList(); incorrectFeedbacks_ = emptyProtobufList(); } public interface TriviaCardSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings) com.google.protobuf.MessageLiteOrBuilder { /** * uint32 points = 1 [json_name = "points"]; * @return The points. */ int getPoints(); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings} */ public static final class TriviaCardSettings extends com.google.protobuf.GeneratedMessageLite< TriviaCardSettings, TriviaCardSettings.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings) TriviaCardSettingsOrBuilder { private TriviaCardSettings() { } public static final int POINTS_FIELD_NUMBER = 1; private int points_; /** * uint32 points = 1 [json_name = "points"]; * @return The points. */ @java.lang.Override public int getPoints() { return points_; } /** * uint32 points = 1 [json_name = "points"]; * @param value The points to set. */ private void setPoints(int value) { points_ = value; } /** * uint32 points = 1 [json_name = "points"]; */ private void clearPoints() { points_ = 0; } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings) com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettingsOrBuilder { // Construct using com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * uint32 points = 1 [json_name = "points"]; * @return The points. */ @java.lang.Override public int getPoints() { return instance.getPoints(); } /** * uint32 points = 1 [json_name = "points"]; * @param value The points to set. * @return This builder for chaining. */ public Builder setPoints(int value) { copyOnWrite(); instance.setPoints(value); return this; } /** * uint32 points = 1 [json_name = "points"]; * @return This builder for chaining. */ public Builder clearPoints() { copyOnWrite(); instance.clearPoints(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "points_", }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings) private static final com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings DEFAULT_INSTANCE; static { TriviaCardSettings defaultInstance = new TriviaCardSettings(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( TriviaCardSettings.class, defaultInstance); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface PredictionCardSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings) com.google.protobuf.MessageLiteOrBuilder { /** * uint32 max_points = 1 [json_name = "maxPoints"]; * @return The maxPoints. */ int getMaxPoints(); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings} */ public static final class PredictionCardSettings extends com.google.protobuf.GeneratedMessageLite< PredictionCardSettings, PredictionCardSettings.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings) PredictionCardSettingsOrBuilder { private PredictionCardSettings() { } public static final int MAX_POINTS_FIELD_NUMBER = 1; private int maxPoints_; /** * uint32 max_points = 1 [json_name = "maxPoints"]; * @return The maxPoints. */ @java.lang.Override public int getMaxPoints() { return maxPoints_; } /** * uint32 max_points = 1 [json_name = "maxPoints"]; * @param value The maxPoints to set. */ private void setMaxPoints(int value) { maxPoints_ = value; } /** * uint32 max_points = 1 [json_name = "maxPoints"]; */ private void clearMaxPoints() { maxPoints_ = 0; } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings) com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettingsOrBuilder { // Construct using com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * uint32 max_points = 1 [json_name = "maxPoints"]; * @return The maxPoints. */ @java.lang.Override public int getMaxPoints() { return instance.getMaxPoints(); } /** * uint32 max_points = 1 [json_name = "maxPoints"]; * @param value The maxPoints to set. * @return This builder for chaining. */ public Builder setMaxPoints(int value) { copyOnWrite(); instance.setMaxPoints(value); return this; } /** * uint32 max_points = 1 [json_name = "maxPoints"]; * @return This builder for chaining. */ public Builder clearMaxPoints() { copyOnWrite(); instance.clearMaxPoints(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "maxPoints_", }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings) private static final com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings DEFAULT_INSTANCE; static { PredictionCardSettings defaultInstance = new PredictionCardSettings(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( PredictionCardSettings.class, defaultInstance); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int APPEARANCE_FIELD_NUMBER = 1; private com.streamlayer.interactive.common.QuestionAppearance appearance_; /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ @java.lang.Override public boolean hasAppearance() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ @java.lang.Override public com.streamlayer.interactive.common.QuestionAppearance getAppearance() { return appearance_ == null ? com.streamlayer.interactive.common.QuestionAppearance.getDefaultInstance() : appearance_; } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ private void setAppearance(com.streamlayer.interactive.common.QuestionAppearance value) { value.getClass(); appearance_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAppearance(com.streamlayer.interactive.common.QuestionAppearance value) { value.getClass(); if (appearance_ != null && appearance_ != com.streamlayer.interactive.common.QuestionAppearance.getDefaultInstance()) { appearance_ = com.streamlayer.interactive.common.QuestionAppearance.newBuilder(appearance_).mergeFrom(value).buildPartial(); } else { appearance_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ private void clearAppearance() { appearance_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int TRIVIA_FIELD_NUMBER = 2; private com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings trivia_; /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ @java.lang.Override public boolean hasTrivia() { return ((bitField0_ & 0x00000002) != 0); } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings getTrivia() { return trivia_ == null ? com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings.getDefaultInstance() : trivia_; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ private void setTrivia(com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings value) { value.getClass(); trivia_ = value; bitField0_ |= 0x00000002; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeTrivia(com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings value) { value.getClass(); if (trivia_ != null && trivia_ != com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings.getDefaultInstance()) { trivia_ = com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings.newBuilder(trivia_).mergeFrom(value).buildPartial(); } else { trivia_ = value; } bitField0_ |= 0x00000002; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ private void clearTrivia() { trivia_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int PREDICTION_FIELD_NUMBER = 3; private com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings prediction_; /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ @java.lang.Override public boolean hasPrediction() { return ((bitField0_ & 0x00000004) != 0); } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings getPrediction() { return prediction_ == null ? com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings.getDefaultInstance() : prediction_; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ private void setPrediction(com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings value) { value.getClass(); prediction_ = value; bitField0_ |= 0x00000004; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergePrediction(com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings value) { value.getClass(); if (prediction_ != null && prediction_ != com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings.getDefaultInstance()) { prediction_ = com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings.newBuilder(prediction_).mergeFrom(value).buildPartial(); } else { prediction_ = value; } bitField0_ |= 0x00000004; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ private void clearPrediction() { prediction_ = null; bitField0_ = (bitField0_ & ~0x00000004); } public static final int CORRECT_FEEDBACKS_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList correctFeedbacks_; /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ @java.lang.Override public java.util.List getCorrectFeedbacksList() { return correctFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public java.util.List getCorrectFeedbacksOrBuilderList() { return correctFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ @java.lang.Override public int getCorrectFeedbacksCount() { return correctFeedbacks_.size(); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ @java.lang.Override public com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedbacks(int index) { return correctFeedbacks_.get(index); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public com.streamlayer.interactive.common.AnswerFeedbackOrBuilder getCorrectFeedbacksOrBuilder( int index) { return correctFeedbacks_.get(index); } private void ensureCorrectFeedbacksIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = correctFeedbacks_; if (!tmp.isModifiable()) { correctFeedbacks_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ private void setCorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureCorrectFeedbacksIsMutable(); correctFeedbacks_.set(index, value); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ private void addCorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureCorrectFeedbacksIsMutable(); correctFeedbacks_.add(value); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ private void addCorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureCorrectFeedbacksIsMutable(); correctFeedbacks_.add(index, value); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ private void addAllCorrectFeedbacks( java.lang.Iterable values) { ensureCorrectFeedbacksIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, correctFeedbacks_); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ private void clearCorrectFeedbacks() { correctFeedbacks_ = emptyProtobufList(); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ private void removeCorrectFeedbacks(int index) { ensureCorrectFeedbacksIsMutable(); correctFeedbacks_.remove(index); } public static final int INCORRECT_FEEDBACKS_FIELD_NUMBER = 5; private com.google.protobuf.Internal.ProtobufList incorrectFeedbacks_; /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public java.util.List getIncorrectFeedbacksList() { return incorrectFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public java.util.List getIncorrectFeedbacksOrBuilderList() { return incorrectFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public int getIncorrectFeedbacksCount() { return incorrectFeedbacks_.size(); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedbacks(int index) { return incorrectFeedbacks_.get(index); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public com.streamlayer.interactive.common.AnswerFeedbackOrBuilder getIncorrectFeedbacksOrBuilder( int index) { return incorrectFeedbacks_.get(index); } private void ensureIncorrectFeedbacksIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = incorrectFeedbacks_; if (!tmp.isModifiable()) { incorrectFeedbacks_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ private void setIncorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureIncorrectFeedbacksIsMutable(); incorrectFeedbacks_.set(index, value); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ private void addIncorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureIncorrectFeedbacksIsMutable(); incorrectFeedbacks_.add(value); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ private void addIncorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureIncorrectFeedbacksIsMutable(); incorrectFeedbacks_.add(index, value); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ private void addAllIncorrectFeedbacks( java.lang.Iterable values) { ensureIncorrectFeedbacksIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, incorrectFeedbacks_); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ private void clearIncorrectFeedbacks() { incorrectFeedbacks_ = emptyProtobufList(); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ private void removeIncorrectFeedbacks(int index) { ensureIncorrectFeedbacksIsMutable(); incorrectFeedbacks_.remove(index); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.EventModeration.QuestionSettings prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.QuestionSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.EventModeration.QuestionSettings, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.EventModeration.QuestionSettings) com.streamlayer.interactive.common.EventModeration.QuestionSettingsOrBuilder { // Construct using com.streamlayer.interactive.common.EventModeration.QuestionSettings.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ @java.lang.Override public boolean hasAppearance() { return instance.hasAppearance(); } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ @java.lang.Override public com.streamlayer.interactive.common.QuestionAppearance getAppearance() { return instance.getAppearance(); } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ public Builder setAppearance(com.streamlayer.interactive.common.QuestionAppearance value) { copyOnWrite(); instance.setAppearance(value); return this; } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ public Builder setAppearance( com.streamlayer.interactive.common.QuestionAppearance.Builder builderForValue) { copyOnWrite(); instance.setAppearance(builderForValue.build()); return this; } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ public Builder mergeAppearance(com.streamlayer.interactive.common.QuestionAppearance value) { copyOnWrite(); instance.mergeAppearance(value); return this; } /** * .streamlayer.interactive.QuestionAppearance appearance = 1 [json_name = "appearance"]; */ public Builder clearAppearance() { copyOnWrite(); instance.clearAppearance(); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ @java.lang.Override public boolean hasTrivia() { return instance.hasTrivia(); } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings getTrivia() { return instance.getTrivia(); } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ public Builder setTrivia(com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings value) { copyOnWrite(); instance.setTrivia(value); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ public Builder setTrivia( com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings.Builder builderForValue) { copyOnWrite(); instance.setTrivia(builderForValue.build()); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ public Builder mergeTrivia(com.streamlayer.interactive.common.EventModeration.QuestionSettings.TriviaCardSettings value) { copyOnWrite(); instance.mergeTrivia(value); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings trivia = 2 [json_name = "trivia"]; */ public Builder clearTrivia() { copyOnWrite(); instance.clearTrivia(); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ @java.lang.Override public boolean hasPrediction() { return instance.hasPrediction(); } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings getPrediction() { return instance.getPrediction(); } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ public Builder setPrediction(com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings value) { copyOnWrite(); instance.setPrediction(value); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ public Builder setPrediction( com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings.Builder builderForValue) { copyOnWrite(); instance.setPrediction(builderForValue.build()); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ public Builder mergePrediction(com.streamlayer.interactive.common.EventModeration.QuestionSettings.PredictionCardSettings value) { copyOnWrite(); instance.mergePrediction(value); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings prediction = 3 [json_name = "prediction"]; */ public Builder clearPrediction() { copyOnWrite(); instance.clearPrediction(); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ @java.lang.Override public java.util.List getCorrectFeedbacksList() { return java.util.Collections.unmodifiableList( instance.getCorrectFeedbacksList()); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ @java.lang.Override public int getCorrectFeedbacksCount() { return instance.getCorrectFeedbacksCount(); }/** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ @java.lang.Override public com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedbacks(int index) { return instance.getCorrectFeedbacks(index); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder setCorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.setCorrectFeedbacks(index, value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder setCorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) { copyOnWrite(); instance.setCorrectFeedbacks(index, builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder addCorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.addCorrectFeedbacks(value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder addCorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.addCorrectFeedbacks(index, value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder addCorrectFeedbacks( com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) { copyOnWrite(); instance.addCorrectFeedbacks(builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder addCorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) { copyOnWrite(); instance.addCorrectFeedbacks(index, builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder addAllCorrectFeedbacks( java.lang.Iterable values) { copyOnWrite(); instance.addAllCorrectFeedbacks(values); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder clearCorrectFeedbacks() { copyOnWrite(); instance.clearCorrectFeedbacks(); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 4 [json_name = "correctFeedbacks"]; */ public Builder removeCorrectFeedbacks(int index) { copyOnWrite(); instance.removeCorrectFeedbacks(index); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public java.util.List getIncorrectFeedbacksList() { return java.util.Collections.unmodifiableList( instance.getIncorrectFeedbacksList()); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public int getIncorrectFeedbacksCount() { return instance.getIncorrectFeedbacksCount(); }/** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedbacks(int index) { return instance.getIncorrectFeedbacks(index); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder setIncorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.setIncorrectFeedbacks(index, value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder setIncorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) { copyOnWrite(); instance.setIncorrectFeedbacks(index, builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder addIncorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.addIncorrectFeedbacks(value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder addIncorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.addIncorrectFeedbacks(index, value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder addIncorrectFeedbacks( com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) { copyOnWrite(); instance.addIncorrectFeedbacks(builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder addIncorrectFeedbacks( int index, com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) { copyOnWrite(); instance.addIncorrectFeedbacks(index, builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder addAllIncorrectFeedbacks( java.lang.Iterable values) { copyOnWrite(); instance.addAllIncorrectFeedbacks(values); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder clearIncorrectFeedbacks() { copyOnWrite(); instance.clearIncorrectFeedbacks(); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 5 [json_name = "incorrectFeedbacks"]; */ public Builder removeIncorrectFeedbacks(int index) { copyOnWrite(); instance.removeIncorrectFeedbacks(index); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.EventModeration.QuestionSettings) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.EventModeration.QuestionSettings(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "appearance_", "trivia_", "prediction_", "correctFeedbacks_", com.streamlayer.interactive.common.AnswerFeedback.class, "incorrectFeedbacks_", com.streamlayer.interactive.common.AnswerFeedback.class, }; java.lang.String info = "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0002\u0000\u0001\u1009\u0000\u0002" + "\u1009\u0001\u0003\u1009\u0002\u0004\u001b\u0005\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.EventModeration.QuestionSettings.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.EventModeration.QuestionSettings) private static final com.streamlayer.interactive.common.EventModeration.QuestionSettings DEFAULT_INSTANCE; static { QuestionSettings defaultInstance = new QuestionSettings(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( QuestionSettings.class, defaultInstance); } public static com.streamlayer.interactive.common.EventModeration.QuestionSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface SponsorshipSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.interactive.EventModeration.SponsorshipSettings) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ java.util.List getSponsorsList(); /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ com.streamlayer.interactive.common.Sponsorship getSponsors(int index); /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ int getSponsorsCount(); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.SponsorshipSettings} */ public static final class SponsorshipSettings extends com.google.protobuf.GeneratedMessageLite< SponsorshipSettings, SponsorshipSettings.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.interactive.EventModeration.SponsorshipSettings) SponsorshipSettingsOrBuilder { private SponsorshipSettings() { sponsors_ = emptyProtobufList(); } public static final int SPONSORS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList sponsors_; /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ @java.lang.Override public java.util.List getSponsorsList() { return sponsors_; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public java.util.List getSponsorsOrBuilderList() { return sponsors_; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ @java.lang.Override public int getSponsorsCount() { return sponsors_.size(); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ @java.lang.Override public com.streamlayer.interactive.common.Sponsorship getSponsors(int index) { return sponsors_.get(index); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public com.streamlayer.interactive.common.SponsorshipOrBuilder getSponsorsOrBuilder( int index) { return sponsors_.get(index); } private void ensureSponsorsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = sponsors_; if (!tmp.isModifiable()) { sponsors_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ private void setSponsors( int index, com.streamlayer.interactive.common.Sponsorship value) { value.getClass(); ensureSponsorsIsMutable(); sponsors_.set(index, value); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ private void addSponsors(com.streamlayer.interactive.common.Sponsorship value) { value.getClass(); ensureSponsorsIsMutable(); sponsors_.add(value); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ private void addSponsors( int index, com.streamlayer.interactive.common.Sponsorship value) { value.getClass(); ensureSponsorsIsMutable(); sponsors_.add(index, value); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ private void addAllSponsors( java.lang.Iterable values) { ensureSponsorsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, sponsors_); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ private void clearSponsors() { sponsors_ = emptyProtobufList(); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ private void removeSponsors(int index) { ensureSponsorsIsMutable(); sponsors_.remove(index); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.EventModeration.SponsorshipSettings prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.SponsorshipSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.EventModeration.SponsorshipSettings, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.EventModeration.SponsorshipSettings) com.streamlayer.interactive.common.EventModeration.SponsorshipSettingsOrBuilder { // Construct using com.streamlayer.interactive.common.EventModeration.SponsorshipSettings.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ @java.lang.Override public java.util.List getSponsorsList() { return java.util.Collections.unmodifiableList( instance.getSponsorsList()); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ @java.lang.Override public int getSponsorsCount() { return instance.getSponsorsCount(); }/** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ @java.lang.Override public com.streamlayer.interactive.common.Sponsorship getSponsors(int index) { return instance.getSponsors(index); } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder setSponsors( int index, com.streamlayer.interactive.common.Sponsorship value) { copyOnWrite(); instance.setSponsors(index, value); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder setSponsors( int index, com.streamlayer.interactive.common.Sponsorship.Builder builderForValue) { copyOnWrite(); instance.setSponsors(index, builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder addSponsors(com.streamlayer.interactive.common.Sponsorship value) { copyOnWrite(); instance.addSponsors(value); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder addSponsors( int index, com.streamlayer.interactive.common.Sponsorship value) { copyOnWrite(); instance.addSponsors(index, value); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder addSponsors( com.streamlayer.interactive.common.Sponsorship.Builder builderForValue) { copyOnWrite(); instance.addSponsors(builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder addSponsors( int index, com.streamlayer.interactive.common.Sponsorship.Builder builderForValue) { copyOnWrite(); instance.addSponsors(index, builderForValue.build()); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder addAllSponsors( java.lang.Iterable values) { copyOnWrite(); instance.addAllSponsors(values); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder clearSponsors() { copyOnWrite(); instance.clearSponsors(); return this; } /** * repeated .streamlayer.interactive.Sponsorship sponsors = 1 [json_name = "sponsors"]; */ public Builder removeSponsors(int index) { copyOnWrite(); instance.removeSponsors(index); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.EventModeration.SponsorshipSettings) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.EventModeration.SponsorshipSettings(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "sponsors_", com.streamlayer.interactive.common.Sponsorship.class, }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.EventModeration.SponsorshipSettings.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.EventModeration.SponsorshipSettings) private static final com.streamlayer.interactive.common.EventModeration.SponsorshipSettings DEFAULT_INSTANCE; static { SponsorshipSettings defaultInstance = new SponsorshipSettings(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SponsorshipSettings.class, defaultInstance); } public static com.streamlayer.interactive.common.EventModeration.SponsorshipSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface NotificationSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:streamlayer.interactive.EventModeration.NotificationSettings) com.google.protobuf.MessageLiteOrBuilder { /** * string image = 1 [json_name = "image"]; * @return The image. */ java.lang.String getImage(); /** * string image = 1 [json_name = "image"]; * @return The bytes for image. */ com.google.protobuf.ByteString getImageBytes(); /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return The indicatorColor. */ java.lang.String getIndicatorColor(); /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return The bytes for indicatorColor. */ com.google.protobuf.ByteString getIndicatorColorBytes(); /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return The enum numeric value on the wire for imagePosition. */ int getImagePositionValue(); /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return The imagePosition. */ com.streamlayer.interactive.common.ImagePosition getImagePosition(); /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return The enum numeric value on the wire for imageMode. */ int getImageModeValue(); /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return The imageMode. */ com.streamlayer.interactive.common.QuestionImages getImageMode(); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.NotificationSettings} */ public static final class NotificationSettings extends com.google.protobuf.GeneratedMessageLite< NotificationSettings, NotificationSettings.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.interactive.EventModeration.NotificationSettings) NotificationSettingsOrBuilder { private NotificationSettings() { image_ = ""; indicatorColor_ = ""; } public static final int IMAGE_FIELD_NUMBER = 1; private java.lang.String image_; /** * string image = 1 [json_name = "image"]; * @return The image. */ @java.lang.Override public java.lang.String getImage() { return image_; } /** * string image = 1 [json_name = "image"]; * @return The bytes for image. */ @java.lang.Override public com.google.protobuf.ByteString getImageBytes() { return com.google.protobuf.ByteString.copyFromUtf8(image_); } /** * string image = 1 [json_name = "image"]; * @param value The image to set. */ private void setImage( java.lang.String value) { java.lang.Class valueClass = value.getClass(); image_ = value; } /** * string image = 1 [json_name = "image"]; */ private void clearImage() { image_ = getDefaultInstance().getImage(); } /** * string image = 1 [json_name = "image"]; * @param value The bytes for image to set. */ private void setImageBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); image_ = value.toStringUtf8(); } public static final int INDICATOR_COLOR_FIELD_NUMBER = 2; private java.lang.String indicatorColor_; /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return The indicatorColor. */ @java.lang.Override public java.lang.String getIndicatorColor() { return indicatorColor_; } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return The bytes for indicatorColor. */ @java.lang.Override public com.google.protobuf.ByteString getIndicatorColorBytes() { return com.google.protobuf.ByteString.copyFromUtf8(indicatorColor_); } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @param value The indicatorColor to set. */ private void setIndicatorColor( java.lang.String value) { java.lang.Class valueClass = value.getClass(); indicatorColor_ = value; } /** * string indicator_color = 2 [json_name = "indicatorColor"]; */ private void clearIndicatorColor() { indicatorColor_ = getDefaultInstance().getIndicatorColor(); } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @param value The bytes for indicatorColor to set. */ private void setIndicatorColorBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); indicatorColor_ = value.toStringUtf8(); } public static final int IMAGE_POSITION_FIELD_NUMBER = 3; private int imagePosition_; /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return The enum numeric value on the wire for imagePosition. */ @java.lang.Override public int getImagePositionValue() { return imagePosition_; } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return The imagePosition. */ @java.lang.Override public com.streamlayer.interactive.common.ImagePosition getImagePosition() { com.streamlayer.interactive.common.ImagePosition result = com.streamlayer.interactive.common.ImagePosition.forNumber(imagePosition_); return result == null ? com.streamlayer.interactive.common.ImagePosition.UNRECOGNIZED : result; } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @param value The enum numeric value on the wire for imagePosition to set. */ private void setImagePositionValue(int value) { imagePosition_ = value; } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @param value The imagePosition to set. */ private void setImagePosition(com.streamlayer.interactive.common.ImagePosition value) { imagePosition_ = value.getNumber(); } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; */ private void clearImagePosition() { imagePosition_ = 0; } public static final int IMAGE_MODE_FIELD_NUMBER = 4; private int imageMode_; /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return The enum numeric value on the wire for imageMode. */ @java.lang.Override public int getImageModeValue() { return imageMode_; } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return The imageMode. */ @java.lang.Override public com.streamlayer.interactive.common.QuestionImages getImageMode() { com.streamlayer.interactive.common.QuestionImages result = com.streamlayer.interactive.common.QuestionImages.forNumber(imageMode_); return result == null ? com.streamlayer.interactive.common.QuestionImages.UNRECOGNIZED : result; } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @param value The enum numeric value on the wire for imageMode to set. */ private void setImageModeValue(int value) { imageMode_ = value; } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @param value The imageMode to set. */ private void setImageMode(com.streamlayer.interactive.common.QuestionImages value) { imageMode_ = value.getNumber(); } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; */ private void clearImageMode() { imageMode_ = 0; } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.EventModeration.NotificationSettings prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.interactive.EventModeration.NotificationSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.EventModeration.NotificationSettings, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.EventModeration.NotificationSettings) com.streamlayer.interactive.common.EventModeration.NotificationSettingsOrBuilder { // Construct using com.streamlayer.interactive.common.EventModeration.NotificationSettings.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * string image = 1 [json_name = "image"]; * @return The image. */ @java.lang.Override public java.lang.String getImage() { return instance.getImage(); } /** * string image = 1 [json_name = "image"]; * @return The bytes for image. */ @java.lang.Override public com.google.protobuf.ByteString getImageBytes() { return instance.getImageBytes(); } /** * string image = 1 [json_name = "image"]; * @param value The image to set. * @return This builder for chaining. */ public Builder setImage( java.lang.String value) { copyOnWrite(); instance.setImage(value); return this; } /** * string image = 1 [json_name = "image"]; * @return This builder for chaining. */ public Builder clearImage() { copyOnWrite(); instance.clearImage(); return this; } /** * string image = 1 [json_name = "image"]; * @param value The bytes for image to set. * @return This builder for chaining. */ public Builder setImageBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setImageBytes(value); return this; } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return The indicatorColor. */ @java.lang.Override public java.lang.String getIndicatorColor() { return instance.getIndicatorColor(); } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return The bytes for indicatorColor. */ @java.lang.Override public com.google.protobuf.ByteString getIndicatorColorBytes() { return instance.getIndicatorColorBytes(); } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @param value The indicatorColor to set. * @return This builder for chaining. */ public Builder setIndicatorColor( java.lang.String value) { copyOnWrite(); instance.setIndicatorColor(value); return this; } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @return This builder for chaining. */ public Builder clearIndicatorColor() { copyOnWrite(); instance.clearIndicatorColor(); return this; } /** * string indicator_color = 2 [json_name = "indicatorColor"]; * @param value The bytes for indicatorColor to set. * @return This builder for chaining. */ public Builder setIndicatorColorBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setIndicatorColorBytes(value); return this; } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return The enum numeric value on the wire for imagePosition. */ @java.lang.Override public int getImagePositionValue() { return instance.getImagePositionValue(); } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @param value The imagePosition to set. * @return This builder for chaining. */ public Builder setImagePositionValue(int value) { copyOnWrite(); instance.setImagePositionValue(value); return this; } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return The imagePosition. */ @java.lang.Override public com.streamlayer.interactive.common.ImagePosition getImagePosition() { return instance.getImagePosition(); } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @param value The enum numeric value on the wire for imagePosition to set. * @return This builder for chaining. */ public Builder setImagePosition(com.streamlayer.interactive.common.ImagePosition value) { copyOnWrite(); instance.setImagePosition(value); return this; } /** * .streamlayer.interactive.ImagePosition image_position = 3 [json_name = "imagePosition"]; * @return This builder for chaining. */ public Builder clearImagePosition() { copyOnWrite(); instance.clearImagePosition(); return this; } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return The enum numeric value on the wire for imageMode. */ @java.lang.Override public int getImageModeValue() { return instance.getImageModeValue(); } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @param value The imageMode to set. * @return This builder for chaining. */ public Builder setImageModeValue(int value) { copyOnWrite(); instance.setImageModeValue(value); return this; } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return The imageMode. */ @java.lang.Override public com.streamlayer.interactive.common.QuestionImages getImageMode() { return instance.getImageMode(); } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @param value The enum numeric value on the wire for imageMode to set. * @return This builder for chaining. */ public Builder setImageMode(com.streamlayer.interactive.common.QuestionImages value) { copyOnWrite(); instance.setImageMode(value); return this; } /** * .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"]; * @return This builder for chaining. */ public Builder clearImageMode() { copyOnWrite(); instance.clearImageMode(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.EventModeration.NotificationSettings) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.EventModeration.NotificationSettings(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "image_", "indicatorColor_", "imagePosition_", "imageMode_", }; java.lang.String info = "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + "\u0003\f\u0004\f"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.EventModeration.NotificationSettings.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.EventModeration.NotificationSettings) private static final com.streamlayer.interactive.common.EventModeration.NotificationSettings DEFAULT_INSTANCE; static { NotificationSettings defaultInstance = new NotificationSettings(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( NotificationSettings.class, defaultInstance); } public static com.streamlayer.interactive.common.EventModeration.NotificationSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private java.lang.String id_; /** * string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return id_; } /** * string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(id_); } /** * string id = 1 [json_name = "id"]; * @param value The id to set. */ private void setId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); id_ = value; } /** * string id = 1 [json_name = "id"]; */ private void clearId() { id_ = getDefaultInstance().getId(); } /** * string id = 1 [json_name = "id"]; * @param value The bytes for id to set. */ private void setIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); id_ = value.toStringUtf8(); } public static final int EVENT_ID_FIELD_NUMBER = 2; private java.lang.String eventId_; /** * string event_id = 2 [json_name = "eventId"]; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { return eventId_; } /** * string event_id = 2 [json_name = "eventId"]; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(eventId_); } /** * string event_id = 2 [json_name = "eventId"]; * @param value The eventId to set. */ private void setEventId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); eventId_ = value; } /** * string event_id = 2 [json_name = "eventId"]; */ private void clearEventId() { eventId_ = getDefaultInstance().getEventId(); } /** * string event_id = 2 [json_name = "eventId"]; * @param value The bytes for eventId to set. */ private void setEventIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); eventId_ = value.toStringUtf8(); } public static final int SPONSORSHIP_FIELD_NUMBER = 3; private com.streamlayer.interactive.common.Sponsorship sponsorship_; /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasSponsorship() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.streamlayer.interactive.common.Sponsorship getSponsorship() { return sponsorship_ == null ? com.streamlayer.interactive.common.Sponsorship.getDefaultInstance() : sponsorship_; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ private void setSponsorship(com.streamlayer.interactive.common.Sponsorship value) { value.getClass(); sponsorship_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeSponsorship(com.streamlayer.interactive.common.Sponsorship value) { value.getClass(); if (sponsorship_ != null && sponsorship_ != com.streamlayer.interactive.common.Sponsorship.getDefaultInstance()) { sponsorship_ = com.streamlayer.interactive.common.Sponsorship.newBuilder(sponsorship_).mergeFrom(value).buildPartial(); } else { sponsorship_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ private void clearSponsorship() { sponsorship_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int ONBOARDING_ENABLED_FIELD_NUMBER = 4; private boolean onboardingEnabled_; /** * bool onboarding_enabled = 4 [json_name = "onboardingEnabled"]; * @return The onboardingEnabled. */ @java.lang.Override public boolean getOnboardingEnabled() { return onboardingEnabled_; } /** * bool onboarding_enabled = 4 [json_name = "onboardingEnabled"]; * @param value The onboardingEnabled to set. */ private void setOnboardingEnabled(boolean value) { onboardingEnabled_ = value; } /** * bool onboarding_enabled = 4 [json_name = "onboardingEnabled"]; */ private void clearOnboardingEnabled() { onboardingEnabled_ = false; } public static final int QUESTION_FIELD_NUMBER = 5; private com.streamlayer.interactive.common.EventModeration.QuestionSettings question_; /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ @java.lang.Override public boolean hasQuestion() { return ((bitField0_ & 0x00000002) != 0); } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.QuestionSettings getQuestion() { return question_ == null ? com.streamlayer.interactive.common.EventModeration.QuestionSettings.getDefaultInstance() : question_; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ private void setQuestion(com.streamlayer.interactive.common.EventModeration.QuestionSettings value) { value.getClass(); question_ = value; bitField0_ |= 0x00000002; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeQuestion(com.streamlayer.interactive.common.EventModeration.QuestionSettings value) { value.getClass(); if (question_ != null && question_ != com.streamlayer.interactive.common.EventModeration.QuestionSettings.getDefaultInstance()) { question_ = com.streamlayer.interactive.common.EventModeration.QuestionSettings.newBuilder(question_).mergeFrom(value).buildPartial(); } else { question_ = value; } bitField0_ |= 0x00000002; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ private void clearQuestion() { question_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int SPONSORS_FIELD_NUMBER = 6; private com.streamlayer.interactive.common.EventModeration.SponsorshipSettings sponsors_; /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ @java.lang.Override public boolean hasSponsors() { return ((bitField0_ & 0x00000004) != 0); } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.SponsorshipSettings getSponsors() { return sponsors_ == null ? com.streamlayer.interactive.common.EventModeration.SponsorshipSettings.getDefaultInstance() : sponsors_; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ private void setSponsors(com.streamlayer.interactive.common.EventModeration.SponsorshipSettings value) { value.getClass(); sponsors_ = value; bitField0_ |= 0x00000004; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeSponsors(com.streamlayer.interactive.common.EventModeration.SponsorshipSettings value) { value.getClass(); if (sponsors_ != null && sponsors_ != com.streamlayer.interactive.common.EventModeration.SponsorshipSettings.getDefaultInstance()) { sponsors_ = com.streamlayer.interactive.common.EventModeration.SponsorshipSettings.newBuilder(sponsors_).mergeFrom(value).buildPartial(); } else { sponsors_ = value; } bitField0_ |= 0x00000004; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ private void clearSponsors() { sponsors_ = null; bitField0_ = (bitField0_ & ~0x00000004); } public static final int NOTIFICATION_FIELD_NUMBER = 7; private com.streamlayer.interactive.common.EventModeration.NotificationSettings notification_; /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ @java.lang.Override public boolean hasNotification() { return ((bitField0_ & 0x00000008) != 0); } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.NotificationSettings getNotification() { return notification_ == null ? com.streamlayer.interactive.common.EventModeration.NotificationSettings.getDefaultInstance() : notification_; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ private void setNotification(com.streamlayer.interactive.common.EventModeration.NotificationSettings value) { value.getClass(); notification_ = value; bitField0_ |= 0x00000008; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeNotification(com.streamlayer.interactive.common.EventModeration.NotificationSettings value) { value.getClass(); if (notification_ != null && notification_ != com.streamlayer.interactive.common.EventModeration.NotificationSettings.getDefaultInstance()) { notification_ = com.streamlayer.interactive.common.EventModeration.NotificationSettings.newBuilder(notification_).mergeFrom(value).buildPartial(); } else { notification_ = value; } bitField0_ |= 0x00000008; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ private void clearNotification() { notification_ = null; bitField0_ = (bitField0_ & ~0x00000008); } public static final int ACTIVATED_AT_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp activatedAt_; /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ @java.lang.Override public boolean hasActivatedAt() { return ((bitField0_ & 0x00000010) != 0); } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ @java.lang.Override public com.google.protobuf.Timestamp getActivatedAt() { return activatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : activatedAt_; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ private void setActivatedAt(com.google.protobuf.Timestamp value) { value.getClass(); activatedAt_ = value; bitField0_ |= 0x00000010; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeActivatedAt(com.google.protobuf.Timestamp value) { value.getClass(); if (activatedAt_ != null && activatedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { activatedAt_ = com.google.protobuf.Timestamp.newBuilder(activatedAt_).mergeFrom(value).buildPartial(); } else { activatedAt_ = value; } bitField0_ |= 0x00000010; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ private void clearActivatedAt() { activatedAt_ = null; bitField0_ = (bitField0_ & ~0x00000010); } public static final int DEACTIVATED_AT_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deactivatedAt_; /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ @java.lang.Override public boolean hasDeactivatedAt() { return ((bitField0_ & 0x00000020) != 0); } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ @java.lang.Override public com.google.protobuf.Timestamp getDeactivatedAt() { return deactivatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deactivatedAt_; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ private void setDeactivatedAt(com.google.protobuf.Timestamp value) { value.getClass(); deactivatedAt_ = value; bitField0_ |= 0x00000020; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeDeactivatedAt(com.google.protobuf.Timestamp value) { value.getClass(); if (deactivatedAt_ != null && deactivatedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { deactivatedAt_ = com.google.protobuf.Timestamp.newBuilder(deactivatedAt_).mergeFrom(value).buildPartial(); } else { deactivatedAt_ = value; } bitField0_ |= 0x00000020; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ private void clearDeactivatedAt() { deactivatedAt_ = null; bitField0_ = (bitField0_ & ~0x00000020); } public static final int QUESTION_AUTO_POST_FIELD_NUMBER = 10; private com.streamlayer.interactive.common.QuestionAutoPost questionAutoPost_; /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ @java.lang.Override public boolean hasQuestionAutoPost() { return ((bitField0_ & 0x00000040) != 0); } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ @java.lang.Override public com.streamlayer.interactive.common.QuestionAutoPost getQuestionAutoPost() { return questionAutoPost_ == null ? com.streamlayer.interactive.common.QuestionAutoPost.getDefaultInstance() : questionAutoPost_; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ private void setQuestionAutoPost(com.streamlayer.interactive.common.QuestionAutoPost value) { value.getClass(); questionAutoPost_ = value; bitField0_ |= 0x00000040; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeQuestionAutoPost(com.streamlayer.interactive.common.QuestionAutoPost value) { value.getClass(); if (questionAutoPost_ != null && questionAutoPost_ != com.streamlayer.interactive.common.QuestionAutoPost.getDefaultInstance()) { questionAutoPost_ = com.streamlayer.interactive.common.QuestionAutoPost.newBuilder(questionAutoPost_).mergeFrom(value).buildPartial(); } else { questionAutoPost_ = value; } bitField0_ |= 0x00000040; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ private void clearQuestionAutoPost() { questionAutoPost_ = null; bitField0_ = (bitField0_ & ~0x00000040); } public static final int BYPASS_NOTIFICATIONS_FIELD_NUMBER = 11; private com.streamlayer.interactive.common.BypassNotifications bypassNotifications_; /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ @java.lang.Override public boolean hasBypassNotifications() { return ((bitField0_ & 0x00000080) != 0); } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ @java.lang.Override public com.streamlayer.interactive.common.BypassNotifications getBypassNotifications() { return bypassNotifications_ == null ? com.streamlayer.interactive.common.BypassNotifications.getDefaultInstance() : bypassNotifications_; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ private void setBypassNotifications(com.streamlayer.interactive.common.BypassNotifications value) { value.getClass(); bypassNotifications_ = value; bitField0_ |= 0x00000080; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeBypassNotifications(com.streamlayer.interactive.common.BypassNotifications value) { value.getClass(); if (bypassNotifications_ != null && bypassNotifications_ != com.streamlayer.interactive.common.BypassNotifications.getDefaultInstance()) { bypassNotifications_ = com.streamlayer.interactive.common.BypassNotifications.newBuilder(bypassNotifications_).mergeFrom(value).buildPartial(); } else { bypassNotifications_ = value; } bitField0_ |= 0x00000080; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ private void clearBypassNotifications() { bypassNotifications_ = null; bitField0_ = (bitField0_ & ~0x00000080); } public static final int IMPORTER_COLLABORATION_FIELD_NUMBER = 12; private com.streamlayer.interactive.common.ImporterCollaboration importerCollaboration_; /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ @java.lang.Override public boolean hasImporterCollaboration() { return ((bitField0_ & 0x00000100) != 0); } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ @java.lang.Override public com.streamlayer.interactive.common.ImporterCollaboration getImporterCollaboration() { return importerCollaboration_ == null ? com.streamlayer.interactive.common.ImporterCollaboration.getDefaultInstance() : importerCollaboration_; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ private void setImporterCollaboration(com.streamlayer.interactive.common.ImporterCollaboration value) { value.getClass(); importerCollaboration_ = value; bitField0_ |= 0x00000100; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeImporterCollaboration(com.streamlayer.interactive.common.ImporterCollaboration value) { value.getClass(); if (importerCollaboration_ != null && importerCollaboration_ != com.streamlayer.interactive.common.ImporterCollaboration.getDefaultInstance()) { importerCollaboration_ = com.streamlayer.interactive.common.ImporterCollaboration.newBuilder(importerCollaboration_).mergeFrom(value).buildPartial(); } else { importerCollaboration_ = value; } bitField0_ |= 0x00000100; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ private void clearImporterCollaboration() { importerCollaboration_ = null; bitField0_ = (bitField0_ & ~0x00000100); } public static com.streamlayer.interactive.common.EventModeration parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.EventModeration parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.EventModeration parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.EventModeration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.EventModeration prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   * live in-play moderation
   * 
* * Protobuf type {@code streamlayer.interactive.EventModeration} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.EventModeration, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.EventModeration) com.streamlayer.interactive.common.EventModerationOrBuilder { // Construct using com.streamlayer.interactive.common.EventModeration.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return instance.getId(); } /** * string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return instance.getIdBytes(); } /** * string id = 1 [json_name = "id"]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { copyOnWrite(); instance.setId(value); return this; } /** * string id = 1 [json_name = "id"]; * @return This builder for chaining. */ public Builder clearId() { copyOnWrite(); instance.clearId(); return this; } /** * string id = 1 [json_name = "id"]; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setIdBytes(value); return this; } /** * string event_id = 2 [json_name = "eventId"]; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { return instance.getEventId(); } /** * string event_id = 2 [json_name = "eventId"]; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { return instance.getEventIdBytes(); } /** * string event_id = 2 [json_name = "eventId"]; * @param value The eventId to set. * @return This builder for chaining. */ public Builder setEventId( java.lang.String value) { copyOnWrite(); instance.setEventId(value); return this; } /** * string event_id = 2 [json_name = "eventId"]; * @return This builder for chaining. */ public Builder clearEventId() { copyOnWrite(); instance.clearEventId(); return this; } /** * string event_id = 2 [json_name = "eventId"]; * @param value The bytes for eventId to set. * @return This builder for chaining. */ public Builder setEventIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEventIdBytes(value); return this; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public boolean hasSponsorship() { return instance.hasSponsorship(); } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.streamlayer.interactive.common.Sponsorship getSponsorship() { return instance.getSponsorship(); } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Deprecated public Builder setSponsorship(com.streamlayer.interactive.common.Sponsorship value) { copyOnWrite(); instance.setSponsorship(value); return this; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Deprecated public Builder setSponsorship( com.streamlayer.interactive.common.Sponsorship.Builder builderForValue) { copyOnWrite(); instance.setSponsorship(builderForValue.build()); return this; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Deprecated public Builder mergeSponsorship(com.streamlayer.interactive.common.Sponsorship value) { copyOnWrite(); instance.mergeSponsorship(value); return this; } /** * .streamlayer.interactive.Sponsorship sponsorship = 3 [json_name = "sponsorship", deprecated = true]; */ @java.lang.Deprecated public Builder clearSponsorship() { copyOnWrite(); instance.clearSponsorship(); return this; } /** * bool onboarding_enabled = 4 [json_name = "onboardingEnabled"]; * @return The onboardingEnabled. */ @java.lang.Override public boolean getOnboardingEnabled() { return instance.getOnboardingEnabled(); } /** * bool onboarding_enabled = 4 [json_name = "onboardingEnabled"]; * @param value The onboardingEnabled to set. * @return This builder for chaining. */ public Builder setOnboardingEnabled(boolean value) { copyOnWrite(); instance.setOnboardingEnabled(value); return this; } /** * bool onboarding_enabled = 4 [json_name = "onboardingEnabled"]; * @return This builder for chaining. */ public Builder clearOnboardingEnabled() { copyOnWrite(); instance.clearOnboardingEnabled(); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ @java.lang.Override public boolean hasQuestion() { return instance.hasQuestion(); } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.QuestionSettings getQuestion() { return instance.getQuestion(); } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ public Builder setQuestion(com.streamlayer.interactive.common.EventModeration.QuestionSettings value) { copyOnWrite(); instance.setQuestion(value); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ public Builder setQuestion( com.streamlayer.interactive.common.EventModeration.QuestionSettings.Builder builderForValue) { copyOnWrite(); instance.setQuestion(builderForValue.build()); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ public Builder mergeQuestion(com.streamlayer.interactive.common.EventModeration.QuestionSettings value) { copyOnWrite(); instance.mergeQuestion(value); return this; } /** * .streamlayer.interactive.EventModeration.QuestionSettings question = 5 [json_name = "question"]; */ public Builder clearQuestion() { copyOnWrite(); instance.clearQuestion(); return this; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ @java.lang.Override public boolean hasSponsors() { return instance.hasSponsors(); } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.SponsorshipSettings getSponsors() { return instance.getSponsors(); } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ public Builder setSponsors(com.streamlayer.interactive.common.EventModeration.SponsorshipSettings value) { copyOnWrite(); instance.setSponsors(value); return this; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ public Builder setSponsors( com.streamlayer.interactive.common.EventModeration.SponsorshipSettings.Builder builderForValue) { copyOnWrite(); instance.setSponsors(builderForValue.build()); return this; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ public Builder mergeSponsors(com.streamlayer.interactive.common.EventModeration.SponsorshipSettings value) { copyOnWrite(); instance.mergeSponsors(value); return this; } /** * .streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6 [json_name = "sponsors"]; */ public Builder clearSponsors() { copyOnWrite(); instance.clearSponsors(); return this; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ @java.lang.Override public boolean hasNotification() { return instance.hasNotification(); } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ @java.lang.Override public com.streamlayer.interactive.common.EventModeration.NotificationSettings getNotification() { return instance.getNotification(); } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ public Builder setNotification(com.streamlayer.interactive.common.EventModeration.NotificationSettings value) { copyOnWrite(); instance.setNotification(value); return this; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ public Builder setNotification( com.streamlayer.interactive.common.EventModeration.NotificationSettings.Builder builderForValue) { copyOnWrite(); instance.setNotification(builderForValue.build()); return this; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ public Builder mergeNotification(com.streamlayer.interactive.common.EventModeration.NotificationSettings value) { copyOnWrite(); instance.mergeNotification(value); return this; } /** * .streamlayer.interactive.EventModeration.NotificationSettings notification = 7 [json_name = "notification"]; */ public Builder clearNotification() { copyOnWrite(); instance.clearNotification(); return this; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ @java.lang.Override public boolean hasActivatedAt() { return instance.hasActivatedAt(); } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ @java.lang.Override public com.google.protobuf.Timestamp getActivatedAt() { return instance.getActivatedAt(); } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ public Builder setActivatedAt(com.google.protobuf.Timestamp value) { copyOnWrite(); instance.setActivatedAt(value); return this; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ public Builder setActivatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { copyOnWrite(); instance.setActivatedAt(builderForValue.build()); return this; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ public Builder mergeActivatedAt(com.google.protobuf.Timestamp value) { copyOnWrite(); instance.mergeActivatedAt(value); return this; } /** * .google.protobuf.Timestamp activated_at = 8 [json_name = "activatedAt"]; */ public Builder clearActivatedAt() { copyOnWrite(); instance.clearActivatedAt(); return this; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ @java.lang.Override public boolean hasDeactivatedAt() { return instance.hasDeactivatedAt(); } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ @java.lang.Override public com.google.protobuf.Timestamp getDeactivatedAt() { return instance.getDeactivatedAt(); } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ public Builder setDeactivatedAt(com.google.protobuf.Timestamp value) { copyOnWrite(); instance.setDeactivatedAt(value); return this; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ public Builder setDeactivatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { copyOnWrite(); instance.setDeactivatedAt(builderForValue.build()); return this; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ public Builder mergeDeactivatedAt(com.google.protobuf.Timestamp value) { copyOnWrite(); instance.mergeDeactivatedAt(value); return this; } /** * .google.protobuf.Timestamp deactivated_at = 9 [json_name = "deactivatedAt"]; */ public Builder clearDeactivatedAt() { copyOnWrite(); instance.clearDeactivatedAt(); return this; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ @java.lang.Override public boolean hasQuestionAutoPost() { return instance.hasQuestionAutoPost(); } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ @java.lang.Override public com.streamlayer.interactive.common.QuestionAutoPost getQuestionAutoPost() { return instance.getQuestionAutoPost(); } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ public Builder setQuestionAutoPost(com.streamlayer.interactive.common.QuestionAutoPost value) { copyOnWrite(); instance.setQuestionAutoPost(value); return this; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ public Builder setQuestionAutoPost( com.streamlayer.interactive.common.QuestionAutoPost.Builder builderForValue) { copyOnWrite(); instance.setQuestionAutoPost(builderForValue.build()); return this; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ public Builder mergeQuestionAutoPost(com.streamlayer.interactive.common.QuestionAutoPost value) { copyOnWrite(); instance.mergeQuestionAutoPost(value); return this; } /** * .streamlayer.interactive.QuestionAutoPost question_auto_post = 10 [json_name = "questionAutoPost"]; */ public Builder clearQuestionAutoPost() { copyOnWrite(); instance.clearQuestionAutoPost(); return this; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ @java.lang.Override public boolean hasBypassNotifications() { return instance.hasBypassNotifications(); } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ @java.lang.Override public com.streamlayer.interactive.common.BypassNotifications getBypassNotifications() { return instance.getBypassNotifications(); } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ public Builder setBypassNotifications(com.streamlayer.interactive.common.BypassNotifications value) { copyOnWrite(); instance.setBypassNotifications(value); return this; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ public Builder setBypassNotifications( com.streamlayer.interactive.common.BypassNotifications.Builder builderForValue) { copyOnWrite(); instance.setBypassNotifications(builderForValue.build()); return this; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ public Builder mergeBypassNotifications(com.streamlayer.interactive.common.BypassNotifications value) { copyOnWrite(); instance.mergeBypassNotifications(value); return this; } /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"]; */ public Builder clearBypassNotifications() { copyOnWrite(); instance.clearBypassNotifications(); return this; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ @java.lang.Override public boolean hasImporterCollaboration() { return instance.hasImporterCollaboration(); } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ @java.lang.Override public com.streamlayer.interactive.common.ImporterCollaboration getImporterCollaboration() { return instance.getImporterCollaboration(); } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ public Builder setImporterCollaboration(com.streamlayer.interactive.common.ImporterCollaboration value) { copyOnWrite(); instance.setImporterCollaboration(value); return this; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ public Builder setImporterCollaboration( com.streamlayer.interactive.common.ImporterCollaboration.Builder builderForValue) { copyOnWrite(); instance.setImporterCollaboration(builderForValue.build()); return this; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ public Builder mergeImporterCollaboration(com.streamlayer.interactive.common.ImporterCollaboration value) { copyOnWrite(); instance.mergeImporterCollaboration(value); return this; } /** * .streamlayer.interactive.ImporterCollaboration importer_collaboration = 12 [json_name = "importerCollaboration"]; */ public Builder clearImporterCollaboration() { copyOnWrite(); instance.clearImporterCollaboration(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.EventModeration) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.EventModeration(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "id_", "eventId_", "sponsorship_", "onboardingEnabled_", "question_", "sponsors_", "notification_", "activatedAt_", "deactivatedAt_", "questionAutoPost_", "bypassNotifications_", "importerCollaboration_", }; java.lang.String info = "\u0000\f\u0000\u0001\u0001\f\f\u0000\u0000\u0000\u0001\u0208\u0002\u0208\u0003\u1009" + "\u0000\u0004\u0007\u0005\u1009\u0001\u0006\u1009\u0002\u0007\u1009\u0003\b\u1009" + "\u0004\t\u1009\u0005\n\u1009\u0006\u000b\u1009\u0007\f\u1009\b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.EventModeration.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.EventModeration) private static final com.streamlayer.interactive.common.EventModeration DEFAULT_INSTANCE; static { EventModeration defaultInstance = new EventModeration(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( EventModeration.class, defaultInstance); } public static com.streamlayer.interactive.common.EventModeration getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy