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

main.java.com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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/sdkSettings/moderation/common/moderation_common.proto

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

/**
 * Protobuf type {@code streamlayer.sdkSettings.moderation.common.ModerationGeneral}
 */
public  final class ModerationGeneral extends
    com.google.protobuf.GeneratedMessageLite<
        ModerationGeneral, ModerationGeneral.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.moderation.common.ModerationGeneral)
    ModerationGeneralOrBuilder {
  private ModerationGeneral() {
    defaultColor_ = "";
    correctFeedbacks_ = emptyProtobufList();
    incorrectFeedbacks_ = emptyProtobufList();
  }
  public static final int DEFAULT_COLOR_FIELD_NUMBER = 1;
  private java.lang.String defaultColor_;
  /**
   * string default_color = 1 [json_name = "defaultColor"];
   * @return The defaultColor.
   */
  @java.lang.Override
  public java.lang.String getDefaultColor() {
    return defaultColor_;
  }
  /**
   * string default_color = 1 [json_name = "defaultColor"];
   * @return The bytes for defaultColor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDefaultColorBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(defaultColor_);
  }
  /**
   * string default_color = 1 [json_name = "defaultColor"];
   * @param value The defaultColor to set.
   */
  private void setDefaultColor(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    defaultColor_ = value;
  }
  /**
   * string default_color = 1 [json_name = "defaultColor"];
   */
  private void clearDefaultColor() {

    defaultColor_ = getDefaultInstance().getDefaultColor();
  }
  /**
   * string default_color = 1 [json_name = "defaultColor"];
   * @param value The bytes for defaultColor to set.
   */
  private void setDefaultColorBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    defaultColor_ = value.toStringUtf8();

  }

  public static final int POINTS_FIELD_NUMBER = 2;
  private int points_;
  /**
   * 
   * used for trivia by defaults
   * 
* * uint32 points = 2 [json_name = "points"]; * @return The points. */ @java.lang.Override public int getPoints() { return points_; } /** *
   * used for trivia by defaults
   * 
* * uint32 points = 2 [json_name = "points"]; * @param value The points to set. */ private void setPoints(int value) { points_ = value; } /** *
   * used for trivia by defaults
   * 
* * uint32 points = 2 [json_name = "points"]; */ private void clearPoints() { points_ = 0; } public static final int AUTO_HIDE_INTERVAL_FIELD_NUMBER = 3; private long autoHideInterval_; /** * uint64 auto_hide_interval = 3 [json_name = "autoHideInterval"]; * @return The autoHideInterval. */ @java.lang.Override public long getAutoHideInterval() { return autoHideInterval_; } /** * uint64 auto_hide_interval = 3 [json_name = "autoHideInterval"]; * @param value The autoHideInterval to set. */ private void setAutoHideInterval(long value) { autoHideInterval_ = value; } /** * uint64 auto_hide_interval = 3 [json_name = "autoHideInterval"]; */ private void clearAutoHideInterval() { autoHideInterval_ = 0L; } public static final int INSIGHTS_HISTORY_ENABLED_FIELD_NUMBER = 4; private boolean insightsHistoryEnabled_; /** * bool insights_history_enabled = 4 [json_name = "insightsHistoryEnabled"]; * @return The insightsHistoryEnabled. */ @java.lang.Override public boolean getInsightsHistoryEnabled() { return insightsHistoryEnabled_; } /** * bool insights_history_enabled = 4 [json_name = "insightsHistoryEnabled"]; * @param value The insightsHistoryEnabled to set. */ private void setInsightsHistoryEnabled(boolean value) { insightsHistoryEnabled_ = value; } /** * bool insights_history_enabled = 4 [json_name = "insightsHistoryEnabled"]; */ private void clearInsightsHistoryEnabled() { insightsHistoryEnabled_ = false; } public static final int PICK_HISTORY_ENABLED_FIELD_NUMBER = 5; private boolean pickHistoryEnabled_; /** *
   * points/no points
   * 
* * bool pick_history_enabled = 5 [json_name = "pickHistoryEnabled"]; * @return The pickHistoryEnabled. */ @java.lang.Override public boolean getPickHistoryEnabled() { return pickHistoryEnabled_; } /** *
   * points/no points
   * 
* * bool pick_history_enabled = 5 [json_name = "pickHistoryEnabled"]; * @param value The pickHistoryEnabled to set. */ private void setPickHistoryEnabled(boolean value) { pickHistoryEnabled_ = value; } /** *
   * points/no points
   * 
* * bool pick_history_enabled = 5 [json_name = "pickHistoryEnabled"]; */ private void clearPickHistoryEnabled() { pickHistoryEnabled_ = false; } public static final int CORRECT_FEEDBACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.ProtobufList correctFeedbacks_; /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ @java.lang.Override public java.util.List getCorrectFeedbacksList() { return correctFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ public java.util.List getCorrectFeedbacksOrBuilderList() { return correctFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ @java.lang.Override public int getCorrectFeedbacksCount() { return correctFeedbacks_.size(); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [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 = 6 [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 = 6 [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 = 6 [json_name = "correctFeedbacks"]; */ private void addCorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureCorrectFeedbacksIsMutable(); correctFeedbacks_.add(value); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [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 = 6 [json_name = "correctFeedbacks"]; */ private void addAllCorrectFeedbacks( java.lang.Iterable values) { ensureCorrectFeedbacksIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, correctFeedbacks_); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ private void clearCorrectFeedbacks() { correctFeedbacks_ = emptyProtobufList(); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ private void removeCorrectFeedbacks(int index) { ensureCorrectFeedbacksIsMutable(); correctFeedbacks_.remove(index); } public static final int INCORRECT_FEEDBACKS_FIELD_NUMBER = 7; private com.google.protobuf.Internal.ProtobufList incorrectFeedbacks_; /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public java.util.List getIncorrectFeedbacksList() { return incorrectFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ public java.util.List getIncorrectFeedbacksOrBuilderList() { return incorrectFeedbacks_; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public int getIncorrectFeedbacksCount() { return incorrectFeedbacks_.size(); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [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 = 7 [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 = 7 [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 = 7 [json_name = "incorrectFeedbacks"]; */ private void addIncorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { value.getClass(); ensureIncorrectFeedbacksIsMutable(); incorrectFeedbacks_.add(value); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [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 = 7 [json_name = "incorrectFeedbacks"]; */ private void addAllIncorrectFeedbacks( java.lang.Iterable values) { ensureIncorrectFeedbacksIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, incorrectFeedbacks_); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ private void clearIncorrectFeedbacks() { incorrectFeedbacks_ = emptyProtobufList(); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ private void removeIncorrectFeedbacks(int index) { ensureIncorrectFeedbacksIsMutable(); incorrectFeedbacks_.remove(index); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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.sdkSettings.moderation.common.ModerationGeneral parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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.sdkSettings.moderation.common.ModerationGeneral parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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.sdkSettings.moderation.common.ModerationGeneral parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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.sdkSettings.moderation.common.ModerationGeneral parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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.sdkSettings.moderation.common.ModerationGeneral prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.sdkSettings.moderation.common.ModerationGeneral} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.sdkSettings.moderation.common.ModerationGeneral, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.moderation.common.ModerationGeneral) com.streamlayer.sdkSettings.moderation.common.ModerationGeneralOrBuilder { // Construct using com.streamlayer.sdkSettings.moderation.common.ModerationGeneral.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * string default_color = 1 [json_name = "defaultColor"]; * @return The defaultColor. */ @java.lang.Override public java.lang.String getDefaultColor() { return instance.getDefaultColor(); } /** * string default_color = 1 [json_name = "defaultColor"]; * @return The bytes for defaultColor. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultColorBytes() { return instance.getDefaultColorBytes(); } /** * string default_color = 1 [json_name = "defaultColor"]; * @param value The defaultColor to set. * @return This builder for chaining. */ public Builder setDefaultColor( java.lang.String value) { copyOnWrite(); instance.setDefaultColor(value); return this; } /** * string default_color = 1 [json_name = "defaultColor"]; * @return This builder for chaining. */ public Builder clearDefaultColor() { copyOnWrite(); instance.clearDefaultColor(); return this; } /** * string default_color = 1 [json_name = "defaultColor"]; * @param value The bytes for defaultColor to set. * @return This builder for chaining. */ public Builder setDefaultColorBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setDefaultColorBytes(value); return this; } /** *
     * used for trivia by defaults
     * 
* * uint32 points = 2 [json_name = "points"]; * @return The points. */ @java.lang.Override public int getPoints() { return instance.getPoints(); } /** *
     * used for trivia by defaults
     * 
* * uint32 points = 2 [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; } /** *
     * used for trivia by defaults
     * 
* * uint32 points = 2 [json_name = "points"]; * @return This builder for chaining. */ public Builder clearPoints() { copyOnWrite(); instance.clearPoints(); return this; } /** * uint64 auto_hide_interval = 3 [json_name = "autoHideInterval"]; * @return The autoHideInterval. */ @java.lang.Override public long getAutoHideInterval() { return instance.getAutoHideInterval(); } /** * uint64 auto_hide_interval = 3 [json_name = "autoHideInterval"]; * @param value The autoHideInterval to set. * @return This builder for chaining. */ public Builder setAutoHideInterval(long value) { copyOnWrite(); instance.setAutoHideInterval(value); return this; } /** * uint64 auto_hide_interval = 3 [json_name = "autoHideInterval"]; * @return This builder for chaining. */ public Builder clearAutoHideInterval() { copyOnWrite(); instance.clearAutoHideInterval(); return this; } /** * bool insights_history_enabled = 4 [json_name = "insightsHistoryEnabled"]; * @return The insightsHistoryEnabled. */ @java.lang.Override public boolean getInsightsHistoryEnabled() { return instance.getInsightsHistoryEnabled(); } /** * bool insights_history_enabled = 4 [json_name = "insightsHistoryEnabled"]; * @param value The insightsHistoryEnabled to set. * @return This builder for chaining. */ public Builder setInsightsHistoryEnabled(boolean value) { copyOnWrite(); instance.setInsightsHistoryEnabled(value); return this; } /** * bool insights_history_enabled = 4 [json_name = "insightsHistoryEnabled"]; * @return This builder for chaining. */ public Builder clearInsightsHistoryEnabled() { copyOnWrite(); instance.clearInsightsHistoryEnabled(); return this; } /** *
     * points/no points
     * 
* * bool pick_history_enabled = 5 [json_name = "pickHistoryEnabled"]; * @return The pickHistoryEnabled. */ @java.lang.Override public boolean getPickHistoryEnabled() { return instance.getPickHistoryEnabled(); } /** *
     * points/no points
     * 
* * bool pick_history_enabled = 5 [json_name = "pickHistoryEnabled"]; * @param value The pickHistoryEnabled to set. * @return This builder for chaining. */ public Builder setPickHistoryEnabled(boolean value) { copyOnWrite(); instance.setPickHistoryEnabled(value); return this; } /** *
     * points/no points
     * 
* * bool pick_history_enabled = 5 [json_name = "pickHistoryEnabled"]; * @return This builder for chaining. */ public Builder clearPickHistoryEnabled() { copyOnWrite(); instance.clearPickHistoryEnabled(); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ @java.lang.Override public java.util.List getCorrectFeedbacksList() { return java.util.Collections.unmodifiableList( instance.getCorrectFeedbacksList()); } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ @java.lang.Override public int getCorrectFeedbacksCount() { return instance.getCorrectFeedbacksCount(); }/** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [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 = 6 [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 = 6 [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 = 6 [json_name = "correctFeedbacks"]; */ public Builder addCorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.addCorrectFeedbacks(value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [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 = 6 [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 = 6 [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 = 6 [json_name = "correctFeedbacks"]; */ public Builder addAllCorrectFeedbacks( java.lang.Iterable values) { copyOnWrite(); instance.addAllCorrectFeedbacks(values); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ public Builder clearCorrectFeedbacks() { copyOnWrite(); instance.clearCorrectFeedbacks(); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback correct_feedbacks = 6 [json_name = "correctFeedbacks"]; */ public Builder removeCorrectFeedbacks(int index) { copyOnWrite(); instance.removeCorrectFeedbacks(index); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public java.util.List getIncorrectFeedbacksList() { return java.util.Collections.unmodifiableList( instance.getIncorrectFeedbacksList()); } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ @java.lang.Override public int getIncorrectFeedbacksCount() { return instance.getIncorrectFeedbacksCount(); }/** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [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 = 7 [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 = 7 [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 = 7 [json_name = "incorrectFeedbacks"]; */ public Builder addIncorrectFeedbacks(com.streamlayer.interactive.common.AnswerFeedback value) { copyOnWrite(); instance.addIncorrectFeedbacks(value); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [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 = 7 [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 = 7 [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 = 7 [json_name = "incorrectFeedbacks"]; */ public Builder addAllIncorrectFeedbacks( java.lang.Iterable values) { copyOnWrite(); instance.addAllIncorrectFeedbacks(values); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ public Builder clearIncorrectFeedbacks() { copyOnWrite(); instance.clearIncorrectFeedbacks(); return this; } /** * repeated .streamlayer.interactive.AnswerFeedback incorrect_feedbacks = 7 [json_name = "incorrectFeedbacks"]; */ public Builder removeIncorrectFeedbacks(int index) { copyOnWrite(); instance.removeIncorrectFeedbacks(index); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.moderation.common.ModerationGeneral) } @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.sdkSettings.moderation.common.ModerationGeneral(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "defaultColor_", "points_", "autoHideInterval_", "insightsHistoryEnabled_", "pickHistoryEnabled_", "correctFeedbacks_", com.streamlayer.interactive.common.AnswerFeedback.class, "incorrectFeedbacks_", com.streamlayer.interactive.common.AnswerFeedback.class, }; java.lang.String info = "\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0002\u0000\u0001\u0208\u0002\u000b" + "\u0003\u0003\u0004\u0007\u0005\u0007\u0006\u001b\u0007\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.sdkSettings.moderation.common.ModerationGeneral.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.sdkSettings.moderation.common.ModerationGeneral) private static final com.streamlayer.sdkSettings.moderation.common.ModerationGeneral DEFAULT_INSTANCE; static { ModerationGeneral defaultInstance = new ModerationGeneral(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( ModerationGeneral.class, defaultInstance); } public static com.streamlayer.sdkSettings.moderation.common.ModerationGeneral 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