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

main.java.com.streamlayer.interactive.leaderboard.admin.LeaderboardItem 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/leaderboard/admin/interactive.leaderboard.admin.proto

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

/**
 * Protobuf type {@code streamlayer.interactive.leaderboard.admin.LeaderboardItem}
 */
public  final class LeaderboardItem extends
    com.google.protobuf.GeneratedMessageLite<
        LeaderboardItem, LeaderboardItem.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.interactive.leaderboard.admin.LeaderboardItem)
    LeaderboardItemOrBuilder {
  private LeaderboardItem() {
    id_ = "";
    name_ = "";
    eventIds_ = emptyLongList();
    leaderboards_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
  }
  public static final int ID_FIELD_NUMBER = 1;
  private java.lang.String id_;
  /**
   * string id = 1 [json_name = "id"];
   * @return The id.
   */
  @java.lang.Override
  public java.lang.String getId() {
    return id_;
  }
  /**
   * string id = 1 [json_name = "id"];
   * @return The bytes for id.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getIdBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(id_);
  }
  /**
   * string id = 1 [json_name = "id"];
   * @param value The id to set.
   */
  private void setId(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    id_ = value;
  }
  /**
   * string id = 1 [json_name = "id"];
   */
  private void clearId() {

    id_ = getDefaultInstance().getId();
  }
  /**
   * string id = 1 [json_name = "id"];
   * @param value The bytes for id to set.
   */
  private void setIdBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    id_ = value.toStringUtf8();

  }

  public static final int TYPE_FIELD_NUMBER = 2;
  private int type_;
  /**
   * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
   * @return The enum numeric value on the wire for type.
   */
  @java.lang.Override
  public int getTypeValue() {
    return type_;
  }
  /**
   * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
   * @return The type.
   */
  @java.lang.Override
  public com.streamlayer.interactive.leaderboard.LeaderboardType getType() {
    com.streamlayer.interactive.leaderboard.LeaderboardType result = com.streamlayer.interactive.leaderboard.LeaderboardType.forNumber(type_);
    return result == null ? com.streamlayer.interactive.leaderboard.LeaderboardType.UNRECOGNIZED : result;
  }
  /**
   * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
   * @param value The enum numeric value on the wire for type to set.
   */
  private void setTypeValue(int value) {
      type_ = value;
  }
  /**
   * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
   * @param value The type to set.
   */
  private void setType(com.streamlayer.interactive.leaderboard.LeaderboardType value) {
    type_ = value.getNumber();

  }
  /**
   * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
   */
  private void clearType() {

    type_ = 0;
  }

  public static final int NAME_FIELD_NUMBER = 3;
  private java.lang.String name_;
  /**
   * string name = 3 [json_name = "name"];
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    return name_;
  }
  /**
   * string name = 3 [json_name = "name"];
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNameBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(name_);
  }
  /**
   * string name = 3 [json_name = "name"];
   * @param value The name to set.
   */
  private void setName(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    name_ = value;
  }
  /**
   * string name = 3 [json_name = "name"];
   */
  private void clearName() {

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

  }

  public static final int EVENT_IDS_FIELD_NUMBER = 4;
  private com.google.protobuf.Internal.LongList eventIds_;
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   * @return A list containing the eventIds.
   */
  @java.lang.Override
  public java.util.List
      getEventIdsList() {
    return eventIds_;
  }
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   * @return The count of eventIds.
   */
  @java.lang.Override
  public int getEventIdsCount() {
    return eventIds_.size();
  }
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   * @param index The index of the element to return.
   * @return The eventIds at the given index.
   */
  @java.lang.Override
  public long getEventIds(int index) {
    return eventIds_.getLong(index);
  }
  private int eventIdsMemoizedSerializedSize = -1;
  private void ensureEventIdsIsMutable() {
    com.google.protobuf.Internal.LongList tmp = eventIds_;
    if (!tmp.isModifiable()) {
      eventIds_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   * @param index The index to set the value at.
   * @param value The eventIds to set.
   */
  private void setEventIds(
      int index, long value) {
    ensureEventIdsIsMutable();
    eventIds_.setLong(index, value);
  }
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   * @param value The eventIds to add.
   */
  private void addEventIds(long value) {
    ensureEventIdsIsMutable();
    eventIds_.addLong(value);
  }
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   * @param values The eventIds to add.
   */
  private void addAllEventIds(
      java.lang.Iterable values) {
    ensureEventIdsIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, eventIds_);
  }
  /**
   * repeated int64 event_ids = 4 [json_name = "eventIds"];
   */
  private void clearEventIds() {
    eventIds_ = emptyLongList();
  }

  public static final int CREATED_AT_FIELD_NUMBER = 5;
  private long createdAt_;
  /**
   * int64 created_at = 5 [json_name = "createdAt"];
   * @return The createdAt.
   */
  @java.lang.Override
  public long getCreatedAt() {
    return createdAt_;
  }
  /**
   * int64 created_at = 5 [json_name = "createdAt"];
   * @param value The createdAt to set.
   */
  private void setCreatedAt(long value) {
    
    createdAt_ = value;
  }
  /**
   * int64 created_at = 5 [json_name = "createdAt"];
   */
  private void clearCreatedAt() {

    createdAt_ = 0L;
  }

  public static final int UPDATED_AT_FIELD_NUMBER = 6;
  private long updatedAt_;
  /**
   * int64 updated_at = 6 [json_name = "updatedAt"];
   * @return The updatedAt.
   */
  @java.lang.Override
  public long getUpdatedAt() {
    return updatedAt_;
  }
  /**
   * int64 updated_at = 6 [json_name = "updatedAt"];
   * @param value The updatedAt to set.
   */
  private void setUpdatedAt(long value) {
    
    updatedAt_ = value;
  }
  /**
   * int64 updated_at = 6 [json_name = "updatedAt"];
   */
  private void clearUpdatedAt() {

    updatedAt_ = 0L;
  }

  public static final int LEADERBOARDS_FIELD_NUMBER = 8;
  private com.google.protobuf.Internal.ProtobufList leaderboards_;
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @return A list containing the leaderboards.
   */
  @java.lang.Override
  public java.util.List getLeaderboardsList() {
    return leaderboards_;
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @return The count of leaderboards.
   */
  @java.lang.Override
  public int getLeaderboardsCount() {
    return leaderboards_.size();
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @param index The index of the element to return.
   * @return The leaderboards at the given index.
   */
  @java.lang.Override
  public java.lang.String getLeaderboards(int index) {
    return leaderboards_.get(index);
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @param index The index of the value to return.
   * @return The bytes of the leaderboards at the given index.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLeaderboardsBytes(int index) {
    return com.google.protobuf.ByteString.copyFromUtf8(
        leaderboards_.get(index));
  }
  private void ensureLeaderboardsIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp =
        leaderboards_;  if (!tmp.isModifiable()) {
      leaderboards_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @param index The index to set the value at.
   * @param value The leaderboards to set.
   */
  private void setLeaderboards(
      int index, java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  ensureLeaderboardsIsMutable();
    leaderboards_.set(index, value);
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @param value The leaderboards to add.
   */
  private void addLeaderboards(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  ensureLeaderboardsIsMutable();
    leaderboards_.add(value);
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @param values The leaderboards to add.
   */
  private void addAllLeaderboards(
      java.lang.Iterable values) {
    ensureLeaderboardsIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, leaderboards_);
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   */
  private void clearLeaderboards() {
    leaderboards_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
  }
  /**
   * repeated string leaderboards = 8 [json_name = "leaderboards"];
   * @param value The bytes of the leaderboards to add.
   */
  private void addLeaderboardsBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    ensureLeaderboardsIsMutable();
    leaderboards_.add(value.toStringUtf8());
  }

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

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

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


    /**
     * string id = 1 [json_name = "id"];
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      return instance.getId();
    }
    /**
     * string id = 1 [json_name = "id"];
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      return instance.getIdBytes();
    }
    /**
     * string id = 1 [json_name = "id"];
     * @param value The id to set.
     * @return This builder for chaining.
     */
    public Builder setId(
        java.lang.String value) {
      copyOnWrite();
      instance.setId(value);
      return this;
    }
    /**
     * string id = 1 [json_name = "id"];
     * @return This builder for chaining.
     */
    public Builder clearId() {
      copyOnWrite();
      instance.clearId();
      return this;
    }
    /**
     * string id = 1 [json_name = "id"];
     * @param value The bytes for id to set.
     * @return This builder for chaining.
     */
    public Builder setIdBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setIdBytes(value);
      return this;
    }

    /**
     * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
     * @return The enum numeric value on the wire for type.
     */
    @java.lang.Override
    public int getTypeValue() {
      return instance.getTypeValue();
    }
    /**
     * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
     * @param value The type to set.
     * @return This builder for chaining.
     */
    public Builder setTypeValue(int value) {
      copyOnWrite();
      instance.setTypeValue(value);
      return this;
    }
    /**
     * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
     * @return The type.
     */
    @java.lang.Override
    public com.streamlayer.interactive.leaderboard.LeaderboardType getType() {
      return instance.getType();
    }
    /**
     * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
     * @param value The enum numeric value on the wire for type to set.
     * @return This builder for chaining.
     */
    public Builder setType(com.streamlayer.interactive.leaderboard.LeaderboardType value) {
      copyOnWrite();
      instance.setType(value);
      return this;
    }
    /**
     * .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
     * @return This builder for chaining.
     */
    public Builder clearType() {
      copyOnWrite();
      instance.clearType();
      return this;
    }

    /**
     * string name = 3 [json_name = "name"];
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      return instance.getName();
    }
    /**
     * string name = 3 [json_name = "name"];
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      return instance.getNameBytes();
    }
    /**
     * string name = 3 [json_name = "name"];
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(
        java.lang.String value) {
      copyOnWrite();
      instance.setName(value);
      return this;
    }
    /**
     * string name = 3 [json_name = "name"];
     * @return This builder for chaining.
     */
    public Builder clearName() {
      copyOnWrite();
      instance.clearName();
      return this;
    }
    /**
     * string name = 3 [json_name = "name"];
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setNameBytes(value);
      return this;
    }

    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @return A list containing the eventIds.
     */
    @java.lang.Override
    public java.util.List
        getEventIdsList() {
      return java.util.Collections.unmodifiableList(
          instance.getEventIdsList());
    }
    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @return The count of eventIds.
     */
    @java.lang.Override
    public int getEventIdsCount() {
      return instance.getEventIdsCount();
    }
    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @param index The index of the element to return.
     * @return The eventIds at the given index.
     */
    @java.lang.Override
    public long getEventIds(int index) {
      return instance.getEventIds(index);
    }
    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @param value The eventIds to set.
     * @return This builder for chaining.
     */
    public Builder setEventIds(
        int index, long value) {
      copyOnWrite();
      instance.setEventIds(index, value);
      return this;
    }
    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @param value The eventIds to add.
     * @return This builder for chaining.
     */
    public Builder addEventIds(long value) {
      copyOnWrite();
      instance.addEventIds(value);
      return this;
    }
    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @param values The eventIds to add.
     * @return This builder for chaining.
     */
    public Builder addAllEventIds(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllEventIds(values);
      return this;
    }
    /**
     * repeated int64 event_ids = 4 [json_name = "eventIds"];
     * @return This builder for chaining.
     */
    public Builder clearEventIds() {
      copyOnWrite();
      instance.clearEventIds();
      return this;
    }

    /**
     * int64 created_at = 5 [json_name = "createdAt"];
     * @return The createdAt.
     */
    @java.lang.Override
    public long getCreatedAt() {
      return instance.getCreatedAt();
    }
    /**
     * int64 created_at = 5 [json_name = "createdAt"];
     * @param value The createdAt to set.
     * @return This builder for chaining.
     */
    public Builder setCreatedAt(long value) {
      copyOnWrite();
      instance.setCreatedAt(value);
      return this;
    }
    /**
     * int64 created_at = 5 [json_name = "createdAt"];
     * @return This builder for chaining.
     */
    public Builder clearCreatedAt() {
      copyOnWrite();
      instance.clearCreatedAt();
      return this;
    }

    /**
     * int64 updated_at = 6 [json_name = "updatedAt"];
     * @return The updatedAt.
     */
    @java.lang.Override
    public long getUpdatedAt() {
      return instance.getUpdatedAt();
    }
    /**
     * int64 updated_at = 6 [json_name = "updatedAt"];
     * @param value The updatedAt to set.
     * @return This builder for chaining.
     */
    public Builder setUpdatedAt(long value) {
      copyOnWrite();
      instance.setUpdatedAt(value);
      return this;
    }
    /**
     * int64 updated_at = 6 [json_name = "updatedAt"];
     * @return This builder for chaining.
     */
    public Builder clearUpdatedAt() {
      copyOnWrite();
      instance.clearUpdatedAt();
      return this;
    }

    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @return A list containing the leaderboards.
     */
    @java.lang.Override
    public java.util.List
        getLeaderboardsList() {
      return java.util.Collections.unmodifiableList(
          instance.getLeaderboardsList());
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @return The count of leaderboards.
     */
    @java.lang.Override
    public int getLeaderboardsCount() {
      return instance.getLeaderboardsCount();
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @param index The index of the element to return.
     * @return The leaderboards at the given index.
     */
    @java.lang.Override
    public java.lang.String getLeaderboards(int index) {
      return instance.getLeaderboards(index);
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @param index The index of the value to return.
     * @return The bytes of the leaderboards at the given index.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLeaderboardsBytes(int index) {
      return instance.getLeaderboardsBytes(index);
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @param index The index to set the value at.
     * @param value The leaderboards to set.
     * @return This builder for chaining.
     */
    public Builder setLeaderboards(
        int index, java.lang.String value) {
      copyOnWrite();
      instance.setLeaderboards(index, value);
      return this;
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @param value The leaderboards to add.
     * @return This builder for chaining.
     */
    public Builder addLeaderboards(
        java.lang.String value) {
      copyOnWrite();
      instance.addLeaderboards(value);
      return this;
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @param values The leaderboards to add.
     * @return This builder for chaining.
     */
    public Builder addAllLeaderboards(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllLeaderboards(values);
      return this;
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @return This builder for chaining.
     */
    public Builder clearLeaderboards() {
      copyOnWrite();
      instance.clearLeaderboards();
      return this;
    }
    /**
     * repeated string leaderboards = 8 [json_name = "leaderboards"];
     * @param value The bytes of the leaderboards to add.
     * @return This builder for chaining.
     */
    public Builder addLeaderboardsBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.addLeaderboardsBytes(value);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.interactive.leaderboard.admin.LeaderboardItem)
  }
  @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.leaderboard.admin.LeaderboardItem();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "id_",
            "type_",
            "name_",
            "eventIds_",
            "createdAt_",
            "updatedAt_",
            "leaderboards_",
          };
          java.lang.String info =
              "\u0000\u0007\u0000\u0000\u0001\b\u0007\u0000\u0002\u0000\u0001\u0208\u0002\f\u0003" +
              "\u0208\u0004%\u0005\u0002\u0006\u0002\b\u021a";
          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.leaderboard.admin.LeaderboardItem.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.leaderboard.admin.LeaderboardItem)
  private static final com.streamlayer.interactive.leaderboard.admin.LeaderboardItem DEFAULT_INSTANCE;
  static {
    LeaderboardItem defaultInstance = new LeaderboardItem();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      LeaderboardItem.class, defaultInstance);
  }

  public static com.streamlayer.interactive.leaderboard.admin.LeaderboardItem 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