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

main.java.com.streamlayer.interactive.feed.FeedListRequest 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/feed/interactive.feed.proto

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

/**
 * Protobuf type {@code streamlayer.interactive.feed.FeedListRequest}
 */
public  final class FeedListRequest extends
    com.google.protobuf.GeneratedMessageLite<
        FeedListRequest, FeedListRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.interactive.feed.FeedListRequest)
    FeedListRequestOrBuilder {
  private FeedListRequest() {
    eventId_ = "";
  }
  public interface FeedListFilterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.interactive.feed.FeedListRequest.FeedListFilter)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @return A list containing the types.
     */
    java.util.List getTypesList();
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @return The count of types.
     */
    int getTypesCount();
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param index The index of the element to return.
     * @return The types at the given index.
     */
    com.streamlayer.interactive.common.QuestionType getTypes(int index);
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @return A list containing the enum numeric values on the wire for types.
     */
    java.util.List
    getTypesValueList();
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of types at the given index.
     */
    int getTypesValue(int index);

    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @return A list containing the statuses.
     */
    java.util.List getStatusesList();
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @return The count of statuses.
     */
    int getStatusesCount();
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param index The index of the element to return.
     * @return The statuses at the given index.
     */
    com.streamlayer.interactive.common.QuestionStatus getStatuses(int index);
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @return A list containing the enum numeric values on the wire for statuses.
     */
    java.util.List
    getStatusesValueList();
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of statuses at the given index.
     */
    int getStatusesValue(int index);
  }
  /**
   * Protobuf type {@code streamlayer.interactive.feed.FeedListRequest.FeedListFilter}
   */
  public  static final class FeedListFilter extends
      com.google.protobuf.GeneratedMessageLite<
          FeedListFilter, FeedListFilter.Builder> implements
      // @@protoc_insertion_point(message_implements:streamlayer.interactive.feed.FeedListRequest.FeedListFilter)
      FeedListFilterOrBuilder {
    private FeedListFilter() {
      types_ = emptyIntList();
      statuses_ = emptyIntList();
    }
    public static final int TYPES_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList types_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, com.streamlayer.interactive.common.QuestionType> types_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, com.streamlayer.interactive.common.QuestionType>() {
              @java.lang.Override
              public com.streamlayer.interactive.common.QuestionType convert(java.lang.Integer from) {
                com.streamlayer.interactive.common.QuestionType result = com.streamlayer.interactive.common.QuestionType.forNumber(from);
                return result == null ? com.streamlayer.interactive.common.QuestionType.UNRECOGNIZED : result;
              }
            };
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @return A list containing the types.
     */
    @java.lang.Override
    public java.util.List getTypesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.streamlayer.interactive.common.QuestionType>(types_, types_converter_);
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @return The count of types.
     */
    @java.lang.Override
    public int getTypesCount() {
      return types_.size();
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param index The index of the element to return.
     * @return The types at the given index.
     */
    @java.lang.Override
    public com.streamlayer.interactive.common.QuestionType getTypes(int index) {
      com.streamlayer.interactive.common.QuestionType result = com.streamlayer.interactive.common.QuestionType.forNumber(types_.getInt(index));
      return result == null ? com.streamlayer.interactive.common.QuestionType.UNRECOGNIZED : result;
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @return A list containing the enum numeric values on the wire for types.
     */
    @java.lang.Override
    public java.util.List
    getTypesValueList() {
      return types_;
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of types at the given index.
     */
    @java.lang.Override
    public int getTypesValue(int index) {
      return types_.getInt(index);
    }
    private int typesMemoizedSerializedSize;
    private void ensureTypesIsMutable() {
      com.google.protobuf.Internal.IntList tmp = types_;
      if (!tmp.isModifiable()) {
        types_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
      }
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param index The index to set the value at.
     * @param value The types to set.
     */
    private void setTypes(
        int index, com.streamlayer.interactive.common.QuestionType value) {
      value.getClass();
  ensureTypesIsMutable();
      types_.setInt(index, value.getNumber());
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param value The types to add.
     */
    private void addTypes(com.streamlayer.interactive.common.QuestionType value) {
      value.getClass();
  ensureTypesIsMutable();
      types_.addInt(value.getNumber());
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param values The types to add.
     */
    private void addAllTypes(
        java.lang.Iterable values) {
      ensureTypesIsMutable();
      for (com.streamlayer.interactive.common.QuestionType value : values) {
        types_.addInt(value.getNumber());
      }
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     */
    private void clearTypes() {
      types_ = emptyIntList();
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param value The enum numeric value on the wire for types to set.
     */
    private void setTypesValue(
        int index, int value) {
      ensureTypesIsMutable();
      types_.setInt(index, value);
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param value The enum numeric value on the wire for types to add.
     */
    private void addTypesValue(int value) {
      ensureTypesIsMutable();
      types_.addInt(value);
    }
    /**
     * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
     * @param values The enum numeric values on the wire for types to add.
     */
    private void addAllTypesValue(
        java.lang.Iterable values) {
      ensureTypesIsMutable();
      for (int value : values) {
        types_.addInt(value);
      }
    }

    public static final int STATUSES_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.IntList statuses_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, com.streamlayer.interactive.common.QuestionStatus> statuses_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, com.streamlayer.interactive.common.QuestionStatus>() {
              @java.lang.Override
              public com.streamlayer.interactive.common.QuestionStatus convert(java.lang.Integer from) {
                com.streamlayer.interactive.common.QuestionStatus result = com.streamlayer.interactive.common.QuestionStatus.forNumber(from);
                return result == null ? com.streamlayer.interactive.common.QuestionStatus.UNRECOGNIZED : result;
              }
            };
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @return A list containing the statuses.
     */
    @java.lang.Override
    public java.util.List getStatusesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.streamlayer.interactive.common.QuestionStatus>(statuses_, statuses_converter_);
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @return The count of statuses.
     */
    @java.lang.Override
    public int getStatusesCount() {
      return statuses_.size();
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param index The index of the element to return.
     * @return The statuses at the given index.
     */
    @java.lang.Override
    public com.streamlayer.interactive.common.QuestionStatus getStatuses(int index) {
      com.streamlayer.interactive.common.QuestionStatus result = com.streamlayer.interactive.common.QuestionStatus.forNumber(statuses_.getInt(index));
      return result == null ? com.streamlayer.interactive.common.QuestionStatus.UNRECOGNIZED : result;
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @return A list containing the enum numeric values on the wire for statuses.
     */
    @java.lang.Override
    public java.util.List
    getStatusesValueList() {
      return statuses_;
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of statuses at the given index.
     */
    @java.lang.Override
    public int getStatusesValue(int index) {
      return statuses_.getInt(index);
    }
    private int statusesMemoizedSerializedSize;
    private void ensureStatusesIsMutable() {
      com.google.protobuf.Internal.IntList tmp = statuses_;
      if (!tmp.isModifiable()) {
        statuses_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
      }
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param index The index to set the value at.
     * @param value The statuses to set.
     */
    private void setStatuses(
        int index, com.streamlayer.interactive.common.QuestionStatus value) {
      value.getClass();
  ensureStatusesIsMutable();
      statuses_.setInt(index, value.getNumber());
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param value The statuses to add.
     */
    private void addStatuses(com.streamlayer.interactive.common.QuestionStatus value) {
      value.getClass();
  ensureStatusesIsMutable();
      statuses_.addInt(value.getNumber());
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param values The statuses to add.
     */
    private void addAllStatuses(
        java.lang.Iterable values) {
      ensureStatusesIsMutable();
      for (com.streamlayer.interactive.common.QuestionStatus value : values) {
        statuses_.addInt(value.getNumber());
      }
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     */
    private void clearStatuses() {
      statuses_ = emptyIntList();
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param value The enum numeric value on the wire for statuses to set.
     */
    private void setStatusesValue(
        int index, int value) {
      ensureStatusesIsMutable();
      statuses_.setInt(index, value);
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param value The enum numeric value on the wire for statuses to add.
     */
    private void addStatusesValue(int value) {
      ensureStatusesIsMutable();
      statuses_.addInt(value);
    }
    /**
     * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
     * @param values The enum numeric values on the wire for statuses to add.
     */
    private void addAllStatusesValue(
        java.lang.Iterable values) {
      ensureStatusesIsMutable();
      for (int value : values) {
        statuses_.addInt(value);
      }
    }

    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter 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.feed.FeedListRequest.FeedListFilter prototype) {
      return DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code streamlayer.interactive.feed.FeedListRequest.FeedListFilter}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter, Builder> implements
        // @@protoc_insertion_point(builder_implements:streamlayer.interactive.feed.FeedListRequest.FeedListFilter)
        com.streamlayer.interactive.feed.FeedListRequest.FeedListFilterOrBuilder {
      // Construct using com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @return A list containing the types.
       */
      @java.lang.Override
      public java.util.List getTypesList() {
        return instance.getTypesList();
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @return The count of types.
       */
      @java.lang.Override
      public int getTypesCount() {
        return instance.getTypesCount();
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param index The index of the element to return.
       * @return The types at the given index.
       */
      @java.lang.Override
      public com.streamlayer.interactive.common.QuestionType getTypes(int index) {
        return instance.getTypes(index);
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param index The index to set the value at.
       * @param value The types to set.
       * @return This builder for chaining.
       */
      public Builder setTypes(
          int index, com.streamlayer.interactive.common.QuestionType value) {
        copyOnWrite();
        instance.setTypes(index, value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param value The types to add.
       * @return This builder for chaining.
       */
      public Builder addTypes(com.streamlayer.interactive.common.QuestionType value) {
        copyOnWrite();
        instance.addTypes(value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param values The types to add.
       * @return This builder for chaining.
       */
      public Builder addAllTypes(
          java.lang.Iterable values) {
        copyOnWrite();
        instance.addAllTypes(values);  return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @return This builder for chaining.
       */
      public Builder clearTypes() {
        copyOnWrite();
        instance.clearTypes();
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @return A list containing the enum numeric values on the wire for types.
       */
      @java.lang.Override
      public java.util.List
      getTypesValueList() {
        return java.util.Collections.unmodifiableList(
            instance.getTypesValueList());
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of types at the given index.
       */
      @java.lang.Override
      public int getTypesValue(int index) {
        return instance.getTypesValue(index);
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param index The index to set the value at.
       * @param value The enum numeric value on the wire for types to set.
       * @return This builder for chaining.
       */
      public Builder setTypesValue(
          int index, int value) {
        copyOnWrite();
        instance.setTypesValue(index, value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param value The enum numeric value on the wire for types to add.
       * @return This builder for chaining.
       */
      public Builder addTypesValue(int value) {
        copyOnWrite();
        instance.addTypesValue(value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionType types = 1 [json_name = "types"];
       * @param values The enum numeric values on the wire for types to add.
       * @return This builder for chaining.
       */
      public Builder addAllTypesValue(
          java.lang.Iterable values) {
        copyOnWrite();
        instance.addAllTypesValue(values);
        return this;
      }

      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @return A list containing the statuses.
       */
      @java.lang.Override
      public java.util.List getStatusesList() {
        return instance.getStatusesList();
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @return The count of statuses.
       */
      @java.lang.Override
      public int getStatusesCount() {
        return instance.getStatusesCount();
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param index The index of the element to return.
       * @return The statuses at the given index.
       */
      @java.lang.Override
      public com.streamlayer.interactive.common.QuestionStatus getStatuses(int index) {
        return instance.getStatuses(index);
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param index The index to set the value at.
       * @param value The statuses to set.
       * @return This builder for chaining.
       */
      public Builder setStatuses(
          int index, com.streamlayer.interactive.common.QuestionStatus value) {
        copyOnWrite();
        instance.setStatuses(index, value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param value The statuses to add.
       * @return This builder for chaining.
       */
      public Builder addStatuses(com.streamlayer.interactive.common.QuestionStatus value) {
        copyOnWrite();
        instance.addStatuses(value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param values The statuses to add.
       * @return This builder for chaining.
       */
      public Builder addAllStatuses(
          java.lang.Iterable values) {
        copyOnWrite();
        instance.addAllStatuses(values);  return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @return This builder for chaining.
       */
      public Builder clearStatuses() {
        copyOnWrite();
        instance.clearStatuses();
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @return A list containing the enum numeric values on the wire for statuses.
       */
      @java.lang.Override
      public java.util.List
      getStatusesValueList() {
        return java.util.Collections.unmodifiableList(
            instance.getStatusesValueList());
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of statuses at the given index.
       */
      @java.lang.Override
      public int getStatusesValue(int index) {
        return instance.getStatusesValue(index);
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param index The index to set the value at.
       * @param value The enum numeric value on the wire for statuses to set.
       * @return This builder for chaining.
       */
      public Builder setStatusesValue(
          int index, int value) {
        copyOnWrite();
        instance.setStatusesValue(index, value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param value The enum numeric value on the wire for statuses to add.
       * @return This builder for chaining.
       */
      public Builder addStatusesValue(int value) {
        copyOnWrite();
        instance.addStatusesValue(value);
        return this;
      }
      /**
       * repeated .streamlayer.interactive.QuestionStatus statuses = 2 [json_name = "statuses"];
       * @param values The enum numeric values on the wire for statuses to add.
       * @return This builder for chaining.
       */
      public Builder addAllStatusesValue(
          java.lang.Iterable values) {
        copyOnWrite();
        instance.addAllStatusesValue(values);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:streamlayer.interactive.feed.FeedListRequest.FeedListFilter)
    }
    @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.feed.FeedListRequest.FeedListFilter();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "types_",
              "statuses_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0002\u0000\u0001,\u0002,";
            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.feed.FeedListRequest.FeedListFilter.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.feed.FeedListRequest.FeedListFilter)
    private static final com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter DEFAULT_INSTANCE;
    static {
      FeedListFilter defaultInstance = new FeedListFilter();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        FeedListFilter.class, defaultInstance);
    }

    public static com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter 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 EVENT_ID_FIELD_NUMBER = 1;
  private java.lang.String eventId_;
  /**
   * string event_id = 1 [json_name = "eventId"];
   * @return The eventId.
   */
  @java.lang.Override
  public java.lang.String getEventId() {
    return eventId_;
  }
  /**
   * string event_id = 1 [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 = 1 [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 = 1 [json_name = "eventId"];
   */
  private void clearEventId() {

    eventId_ = getDefaultInstance().getEventId();
  }
  /**
   * string event_id = 1 [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 FILTER_FIELD_NUMBER = 2;
  private com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter_;
  /**
   * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
   */
  @java.lang.Override
  public boolean hasFilter() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
   */
  @java.lang.Override
  public com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter getFilter() {
    return filter_ == null ? com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter.getDefaultInstance() : filter_;
  }
  /**
   * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
   */
  private void setFilter(com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter value) {
    value.getClass();
  filter_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeFilter(com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter value) {
    value.getClass();
  if (filter_ != null &&
        filter_ != com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter.getDefaultInstance()) {
      filter_ =
        com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
    } else {
      filter_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
   */
  private void clearFilter() {  filter_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int PAGINATION_FIELD_NUMBER = 3;
  private com.streamlayer.interactive.common.Pagination pagination_;
  /**
   * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
   */
  @java.lang.Override
  public boolean hasPagination() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
   */
  @java.lang.Override
  public com.streamlayer.interactive.common.Pagination getPagination() {
    return pagination_ == null ? com.streamlayer.interactive.common.Pagination.getDefaultInstance() : pagination_;
  }
  /**
   * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
   */
  private void setPagination(com.streamlayer.interactive.common.Pagination value) {
    value.getClass();
  pagination_ = value;
    bitField0_ |= 0x00000002;
    }
  /**
   * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergePagination(com.streamlayer.interactive.common.Pagination value) {
    value.getClass();
  if (pagination_ != null &&
        pagination_ != com.streamlayer.interactive.common.Pagination.getDefaultInstance()) {
      pagination_ =
        com.streamlayer.interactive.common.Pagination.newBuilder(pagination_).mergeFrom(value).buildPartial();
    } else {
      pagination_ = value;
    }
    bitField0_ |= 0x00000002;
  }
  /**
   * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
   */
  private void clearPagination() {  pagination_ = null;
    bitField0_ = (bitField0_ & ~0x00000002);
  }

  public static com.streamlayer.interactive.feed.FeedListRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.interactive.feed.FeedListRequest 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.feed.FeedListRequest 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.feed.FeedListRequest 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.feed.FeedListRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.interactive.feed.FeedListRequest 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.feed.FeedListRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.interactive.feed.FeedListRequest 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.feed.FeedListRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.interactive.feed.FeedListRequest 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.feed.FeedListRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.interactive.feed.FeedListRequest 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.feed.FeedListRequest prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.interactive.feed.FeedListRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.interactive.feed.FeedListRequest, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.interactive.feed.FeedListRequest)
      com.streamlayer.interactive.feed.FeedListRequestOrBuilder {
    // Construct using com.streamlayer.interactive.feed.FeedListRequest.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * string event_id = 1 [json_name = "eventId"];
     * @return The eventId.
     */
    @java.lang.Override
    public java.lang.String getEventId() {
      return instance.getEventId();
    }
    /**
     * string event_id = 1 [json_name = "eventId"];
     * @return The bytes for eventId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getEventIdBytes() {
      return instance.getEventIdBytes();
    }
    /**
     * string event_id = 1 [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 = 1 [json_name = "eventId"];
     * @return This builder for chaining.
     */
    public Builder clearEventId() {
      copyOnWrite();
      instance.clearEventId();
      return this;
    }
    /**
     * string event_id = 1 [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.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
     */
    @java.lang.Override
    public boolean hasFilter() {
      return instance.hasFilter();
    }
    /**
     * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
     */
    @java.lang.Override
    public com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter getFilter() {
      return instance.getFilter();
    }
    /**
     * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
     */
    public Builder setFilter(com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter value) {
      copyOnWrite();
      instance.setFilter(value);
      return this;
      }
    /**
     * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
     */
    public Builder setFilter(
        com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter.Builder builderForValue) {
      copyOnWrite();
      instance.setFilter(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
     */
    public Builder mergeFilter(com.streamlayer.interactive.feed.FeedListRequest.FeedListFilter value) {
      copyOnWrite();
      instance.mergeFilter(value);
      return this;
    }
    /**
     * .streamlayer.interactive.feed.FeedListRequest.FeedListFilter filter = 2 [json_name = "filter"];
     */
    public Builder clearFilter() {  copyOnWrite();
      instance.clearFilter();
      return this;
    }

    /**
     * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
     */
    @java.lang.Override
    public boolean hasPagination() {
      return instance.hasPagination();
    }
    /**
     * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
     */
    @java.lang.Override
    public com.streamlayer.interactive.common.Pagination getPagination() {
      return instance.getPagination();
    }
    /**
     * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
     */
    public Builder setPagination(com.streamlayer.interactive.common.Pagination value) {
      copyOnWrite();
      instance.setPagination(value);
      return this;
      }
    /**
     * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
     */
    public Builder setPagination(
        com.streamlayer.interactive.common.Pagination.Builder builderForValue) {
      copyOnWrite();
      instance.setPagination(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
     */
    public Builder mergePagination(com.streamlayer.interactive.common.Pagination value) {
      copyOnWrite();
      instance.mergePagination(value);
      return this;
    }
    /**
     * .streamlayer.interactive.Pagination pagination = 3 [json_name = "pagination"];
     */
    public Builder clearPagination() {  copyOnWrite();
      instance.clearPagination();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.interactive.feed.FeedListRequest)
  }
  @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.feed.FeedListRequest();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "eventId_",
            "filter_",
            "pagination_",
          };
          java.lang.String info =
              "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
              "\u0000\u0003\u1009\u0001";
          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.feed.FeedListRequest.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.feed.FeedListRequest)
  private static final com.streamlayer.interactive.feed.FeedListRequest DEFAULT_INSTANCE;
  static {
    FeedListRequest defaultInstance = new FeedListRequest();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      FeedListRequest.class, defaultInstance);
  }

  public static com.streamlayer.interactive.feed.FeedListRequest 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