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

main.java.com.streamlayer.users.admin.ListRequest 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/users/admin/admin_users.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.users.admin;

/**
 * Protobuf type {@code streamlayer.users.admin.ListRequest}
 */
public  final class ListRequest extends
    com.google.protobuf.GeneratedMessageLite<
        ListRequest, ListRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.users.admin.ListRequest)
    ListRequestOrBuilder {
  private ListRequest() {
    order_ = "";
    criteria_ = "";
    filter_ = "";
  }
  public static final int OFFSET_FIELD_NUMBER = 1;
  private int offset_;
  /**
   * int32 offset = 1 [json_name = "offset"];
   * @return The offset.
   */
  @java.lang.Override
  public int getOffset() {
    return offset_;
  }
  /**
   * int32 offset = 1 [json_name = "offset"];
   * @param value The offset to set.
   */
  private void setOffset(int value) {
    
    offset_ = value;
  }
  /**
   * int32 offset = 1 [json_name = "offset"];
   */
  private void clearOffset() {

    offset_ = 0;
  }

  public static final int LIMIT_FIELD_NUMBER = 2;
  private int limit_;
  /**
   * int32 limit = 2 [json_name = "limit"];
   * @return The limit.
   */
  @java.lang.Override
  public int getLimit() {
    return limit_;
  }
  /**
   * int32 limit = 2 [json_name = "limit"];
   * @param value The limit to set.
   */
  private void setLimit(int value) {
    
    limit_ = value;
  }
  /**
   * int32 limit = 2 [json_name = "limit"];
   */
  private void clearLimit() {

    limit_ = 0;
  }

  public static final int ORDER_FIELD_NUMBER = 3;
  private java.lang.String order_;
  /**
   * string order = 3 [json_name = "order"];
   * @return The order.
   */
  @java.lang.Override
  public java.lang.String getOrder() {
    return order_;
  }
  /**
   * string order = 3 [json_name = "order"];
   * @return The bytes for order.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(order_);
  }
  /**
   * string order = 3 [json_name = "order"];
   * @param value The order to set.
   */
  private void setOrder(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    order_ = value;
  }
  /**
   * string order = 3 [json_name = "order"];
   */
  private void clearOrder() {

    order_ = getDefaultInstance().getOrder();
  }
  /**
   * string order = 3 [json_name = "order"];
   * @param value The bytes for order to set.
   */
  private void setOrderBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    order_ = value.toStringUtf8();

  }

  public static final int CRITERIA_FIELD_NUMBER = 4;
  private java.lang.String criteria_;
  /**
   * string criteria = 4 [json_name = "criteria"];
   * @return The criteria.
   */
  @java.lang.Override
  public java.lang.String getCriteria() {
    return criteria_;
  }
  /**
   * string criteria = 4 [json_name = "criteria"];
   * @return The bytes for criteria.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCriteriaBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(criteria_);
  }
  /**
   * string criteria = 4 [json_name = "criteria"];
   * @param value The criteria to set.
   */
  private void setCriteria(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    criteria_ = value;
  }
  /**
   * string criteria = 4 [json_name = "criteria"];
   */
  private void clearCriteria() {

    criteria_ = getDefaultInstance().getCriteria();
  }
  /**
   * string criteria = 4 [json_name = "criteria"];
   * @param value The bytes for criteria to set.
   */
  private void setCriteriaBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    criteria_ = value.toStringUtf8();

  }

  public static final int PUBLIC_FIELD_NUMBER = 5;
  private boolean public_;
  /**
   * bool public = 5 [json_name = "public"];
   * @return The public.
   */
  @java.lang.Override
  public boolean getPublic() {
    return public_;
  }
  /**
   * bool public = 5 [json_name = "public"];
   * @param value The public to set.
   */
  private void setPublic(boolean value) {
    
    public_ = value;
  }
  /**
   * bool public = 5 [json_name = "public"];
   */
  private void clearPublic() {

    public_ = false;
  }

  public static final int FILTER_FIELD_NUMBER = 6;
  private java.lang.String filter_;
  /**
   * string filter = 6 [json_name = "filter"];
   * @return The filter.
   */
  @java.lang.Override
  public java.lang.String getFilter() {
    return filter_;
  }
  /**
   * string filter = 6 [json_name = "filter"];
   * @return The bytes for filter.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFilterBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(filter_);
  }
  /**
   * string filter = 6 [json_name = "filter"];
   * @param value The filter to set.
   */
  private void setFilter(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    filter_ = value;
  }
  /**
   * string filter = 6 [json_name = "filter"];
   */
  private void clearFilter() {

    filter_ = getDefaultInstance().getFilter();
  }
  /**
   * string filter = 6 [json_name = "filter"];
   * @param value The bytes for filter to set.
   */
  private void setFilterBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    filter_ = value.toStringUtf8();

  }

  public static final int USER_IDS_ONLY_FIELD_NUMBER = 7;
  private boolean userIdsOnly_;
  /**
   * bool user_ids_only = 7 [json_name = "userIdsOnly"];
   * @return The userIdsOnly.
   */
  @java.lang.Override
  public boolean getUserIdsOnly() {
    return userIdsOnly_;
  }
  /**
   * bool user_ids_only = 7 [json_name = "userIdsOnly"];
   * @param value The userIdsOnly to set.
   */
  private void setUserIdsOnly(boolean value) {
    
    userIdsOnly_ = value;
  }
  /**
   * bool user_ids_only = 7 [json_name = "userIdsOnly"];
   */
  private void clearUserIdsOnly() {

    userIdsOnly_ = false;
  }

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

  public static com.streamlayer.users.admin.ListRequest parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.streamlayer.users.admin.ListRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.users.admin.ListRequest 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.users.admin.ListRequest prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

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


    /**
     * int32 offset = 1 [json_name = "offset"];
     * @return The offset.
     */
    @java.lang.Override
    public int getOffset() {
      return instance.getOffset();
    }
    /**
     * int32 offset = 1 [json_name = "offset"];
     * @param value The offset to set.
     * @return This builder for chaining.
     */
    public Builder setOffset(int value) {
      copyOnWrite();
      instance.setOffset(value);
      return this;
    }
    /**
     * int32 offset = 1 [json_name = "offset"];
     * @return This builder for chaining.
     */
    public Builder clearOffset() {
      copyOnWrite();
      instance.clearOffset();
      return this;
    }

    /**
     * int32 limit = 2 [json_name = "limit"];
     * @return The limit.
     */
    @java.lang.Override
    public int getLimit() {
      return instance.getLimit();
    }
    /**
     * int32 limit = 2 [json_name = "limit"];
     * @param value The limit to set.
     * @return This builder for chaining.
     */
    public Builder setLimit(int value) {
      copyOnWrite();
      instance.setLimit(value);
      return this;
    }
    /**
     * int32 limit = 2 [json_name = "limit"];
     * @return This builder for chaining.
     */
    public Builder clearLimit() {
      copyOnWrite();
      instance.clearLimit();
      return this;
    }

    /**
     * string order = 3 [json_name = "order"];
     * @return The order.
     */
    @java.lang.Override
    public java.lang.String getOrder() {
      return instance.getOrder();
    }
    /**
     * string order = 3 [json_name = "order"];
     * @return The bytes for order.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOrderBytes() {
      return instance.getOrderBytes();
    }
    /**
     * string order = 3 [json_name = "order"];
     * @param value The order to set.
     * @return This builder for chaining.
     */
    public Builder setOrder(
        java.lang.String value) {
      copyOnWrite();
      instance.setOrder(value);
      return this;
    }
    /**
     * string order = 3 [json_name = "order"];
     * @return This builder for chaining.
     */
    public Builder clearOrder() {
      copyOnWrite();
      instance.clearOrder();
      return this;
    }
    /**
     * string order = 3 [json_name = "order"];
     * @param value The bytes for order to set.
     * @return This builder for chaining.
     */
    public Builder setOrderBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setOrderBytes(value);
      return this;
    }

    /**
     * string criteria = 4 [json_name = "criteria"];
     * @return The criteria.
     */
    @java.lang.Override
    public java.lang.String getCriteria() {
      return instance.getCriteria();
    }
    /**
     * string criteria = 4 [json_name = "criteria"];
     * @return The bytes for criteria.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCriteriaBytes() {
      return instance.getCriteriaBytes();
    }
    /**
     * string criteria = 4 [json_name = "criteria"];
     * @param value The criteria to set.
     * @return This builder for chaining.
     */
    public Builder setCriteria(
        java.lang.String value) {
      copyOnWrite();
      instance.setCriteria(value);
      return this;
    }
    /**
     * string criteria = 4 [json_name = "criteria"];
     * @return This builder for chaining.
     */
    public Builder clearCriteria() {
      copyOnWrite();
      instance.clearCriteria();
      return this;
    }
    /**
     * string criteria = 4 [json_name = "criteria"];
     * @param value The bytes for criteria to set.
     * @return This builder for chaining.
     */
    public Builder setCriteriaBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setCriteriaBytes(value);
      return this;
    }

    /**
     * bool public = 5 [json_name = "public"];
     * @return The public.
     */
    @java.lang.Override
    public boolean getPublic() {
      return instance.getPublic();
    }
    /**
     * bool public = 5 [json_name = "public"];
     * @param value The public to set.
     * @return This builder for chaining.
     */
    public Builder setPublic(boolean value) {
      copyOnWrite();
      instance.setPublic(value);
      return this;
    }
    /**
     * bool public = 5 [json_name = "public"];
     * @return This builder for chaining.
     */
    public Builder clearPublic() {
      copyOnWrite();
      instance.clearPublic();
      return this;
    }

    /**
     * string filter = 6 [json_name = "filter"];
     * @return The filter.
     */
    @java.lang.Override
    public java.lang.String getFilter() {
      return instance.getFilter();
    }
    /**
     * string filter = 6 [json_name = "filter"];
     * @return The bytes for filter.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getFilterBytes() {
      return instance.getFilterBytes();
    }
    /**
     * string filter = 6 [json_name = "filter"];
     * @param value The filter to set.
     * @return This builder for chaining.
     */
    public Builder setFilter(
        java.lang.String value) {
      copyOnWrite();
      instance.setFilter(value);
      return this;
    }
    /**
     * string filter = 6 [json_name = "filter"];
     * @return This builder for chaining.
     */
    public Builder clearFilter() {
      copyOnWrite();
      instance.clearFilter();
      return this;
    }
    /**
     * string filter = 6 [json_name = "filter"];
     * @param value The bytes for filter to set.
     * @return This builder for chaining.
     */
    public Builder setFilterBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setFilterBytes(value);
      return this;
    }

    /**
     * bool user_ids_only = 7 [json_name = "userIdsOnly"];
     * @return The userIdsOnly.
     */
    @java.lang.Override
    public boolean getUserIdsOnly() {
      return instance.getUserIdsOnly();
    }
    /**
     * bool user_ids_only = 7 [json_name = "userIdsOnly"];
     * @param value The userIdsOnly to set.
     * @return This builder for chaining.
     */
    public Builder setUserIdsOnly(boolean value) {
      copyOnWrite();
      instance.setUserIdsOnly(value);
      return this;
    }
    /**
     * bool user_ids_only = 7 [json_name = "userIdsOnly"];
     * @return This builder for chaining.
     */
    public Builder clearUserIdsOnly() {
      copyOnWrite();
      instance.clearUserIdsOnly();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.users.admin.ListRequest)
  }
  @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.users.admin.ListRequest();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "offset_",
            "limit_",
            "order_",
            "criteria_",
            "public_",
            "filter_",
            "userIdsOnly_",
          };
          java.lang.String info =
              "\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0004\u0002\u0004" +
              "\u0003\u0208\u0004\u0208\u0005\u0007\u0006\u0208\u0007\u0007";
          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.users.admin.ListRequest.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.users.admin.ListRequest)
  private static final com.streamlayer.users.admin.ListRequest DEFAULT_INSTANCE;
  static {
    ListRequest defaultInstance = new ListRequest();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      ListRequest.class, defaultInstance);
  }

  public static com.streamlayer.users.admin.ListRequest 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