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

main.java.com.streamlayer.sports.soccer.TeamStanding 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/sports/soccer/soccer.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.soccer;

/**
 * Protobuf type {@code streamlayer.sports.soccer.TeamStanding}
 */
public  final class TeamStanding extends
    com.google.protobuf.GeneratedMessageLite<
        TeamStanding, TeamStanding.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.TeamStanding)
    TeamStandingOrBuilder {
  private TeamStanding() {
    name_ = "";
    alias_ = "";
    logo_ = "";
    colors_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
    division_ = "";
  }
  public static final int ID_FIELD_NUMBER = 1;
  private long id_;
  /**
   * uint64 id = 1 [json_name = "id"];
   * @return The id.
   */
  @java.lang.Override
  public long getId() {
    return id_;
  }
  /**
   * uint64 id = 1 [json_name = "id"];
   * @param value The id to set.
   */
  private void setId(long value) {
    
    id_ = value;
  }
  /**
   * uint64 id = 1 [json_name = "id"];
   */
  private void clearId() {

    id_ = 0L;
  }

  public static final int NAME_FIELD_NUMBER = 2;
  private java.lang.String name_;
  /**
   * string name = 2 [json_name = "name"];
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    return name_;
  }
  /**
   * string name = 2 [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 = 2 [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 = 2 [json_name = "name"];
   */
  private void clearName() {

    name_ = getDefaultInstance().getName();
  }
  /**
   * string name = 2 [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 ALIAS_FIELD_NUMBER = 3;
  private java.lang.String alias_;
  /**
   * string alias = 3 [json_name = "alias"];
   * @return The alias.
   */
  @java.lang.Override
  public java.lang.String getAlias() {
    return alias_;
  }
  /**
   * string alias = 3 [json_name = "alias"];
   * @return The bytes for alias.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAliasBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(alias_);
  }
  /**
   * string alias = 3 [json_name = "alias"];
   * @param value The alias to set.
   */
  private void setAlias(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    alias_ = value;
  }
  /**
   * string alias = 3 [json_name = "alias"];
   */
  private void clearAlias() {

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

  }

  public static final int LOGO_FIELD_NUMBER = 4;
  private java.lang.String logo_;
  /**
   * string logo = 4 [json_name = "logo"];
   * @return The logo.
   */
  @java.lang.Override
  public java.lang.String getLogo() {
    return logo_;
  }
  /**
   * string logo = 4 [json_name = "logo"];
   * @return The bytes for logo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLogoBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(logo_);
  }
  /**
   * string logo = 4 [json_name = "logo"];
   * @param value The logo to set.
   */
  private void setLogo(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    logo_ = value;
  }
  /**
   * string logo = 4 [json_name = "logo"];
   */
  private void clearLogo() {

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

  }

  public static final int COLORS_FIELD_NUMBER = 5;
  private com.google.protobuf.Internal.ProtobufList colors_;
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @return A list containing the colors.
   */
  @java.lang.Override
  public java.util.List getColorsList() {
    return colors_;
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @return The count of colors.
   */
  @java.lang.Override
  public int getColorsCount() {
    return colors_.size();
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @param index The index of the element to return.
   * @return The colors at the given index.
   */
  @java.lang.Override
  public java.lang.String getColors(int index) {
    return colors_.get(index);
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @param index The index of the value to return.
   * @return The bytes of the colors at the given index.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getColorsBytes(int index) {
    return com.google.protobuf.ByteString.copyFromUtf8(
        colors_.get(index));
  }
  private void ensureColorsIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp =
        colors_;  if (!tmp.isModifiable()) {
      colors_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @param index The index to set the value at.
   * @param value The colors to set.
   */
  private void setColors(
      int index, java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  ensureColorsIsMutable();
    colors_.set(index, value);
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @param value The colors to add.
   */
  private void addColors(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  ensureColorsIsMutable();
    colors_.add(value);
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @param values The colors to add.
   */
  private void addAllColors(
      java.lang.Iterable values) {
    ensureColorsIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, colors_);
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   */
  private void clearColors() {
    colors_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
  }
  /**
   * repeated string colors = 5 [json_name = "colors"];
   * @param value The bytes of the colors to add.
   */
  private void addColorsBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    ensureColorsIsMutable();
    colors_.add(value.toStringUtf8());
  }

  public static final int WINS_FIELD_NUMBER = 6;
  private int wins_;
  /**
   * int32 wins = 6 [json_name = "wins"];
   * @return The wins.
   */
  @java.lang.Override
  public int getWins() {
    return wins_;
  }
  /**
   * int32 wins = 6 [json_name = "wins"];
   * @param value The wins to set.
   */
  private void setWins(int value) {
    
    wins_ = value;
  }
  /**
   * int32 wins = 6 [json_name = "wins"];
   */
  private void clearWins() {

    wins_ = 0;
  }

  public static final int LOSSES_FIELD_NUMBER = 7;
  private int losses_;
  /**
   * int32 losses = 7 [json_name = "losses"];
   * @return The losses.
   */
  @java.lang.Override
  public int getLosses() {
    return losses_;
  }
  /**
   * int32 losses = 7 [json_name = "losses"];
   * @param value The losses to set.
   */
  private void setLosses(int value) {
    
    losses_ = value;
  }
  /**
   * int32 losses = 7 [json_name = "losses"];
   */
  private void clearLosses() {

    losses_ = 0;
  }

  public static final int DRAWS_FIELD_NUMBER = 8;
  private int draws_;
  /**
   * int32 draws = 8 [json_name = "draws"];
   * @return The draws.
   */
  @java.lang.Override
  public int getDraws() {
    return draws_;
  }
  /**
   * int32 draws = 8 [json_name = "draws"];
   * @param value The draws to set.
   */
  private void setDraws(int value) {
    
    draws_ = value;
  }
  /**
   * int32 draws = 8 [json_name = "draws"];
   */
  private void clearDraws() {

    draws_ = 0;
  }

  public static final int GAMES_BEHIND_FIELD_NUMBER = 9;
  private int gamesBehind_;
  /**
   * int32 games_behind = 9 [json_name = "gamesBehind"];
   * @return The gamesBehind.
   */
  @java.lang.Override
  public int getGamesBehind() {
    return gamesBehind_;
  }
  /**
   * int32 games_behind = 9 [json_name = "gamesBehind"];
   * @param value The gamesBehind to set.
   */
  private void setGamesBehind(int value) {
    
    gamesBehind_ = value;
  }
  /**
   * int32 games_behind = 9 [json_name = "gamesBehind"];
   */
  private void clearGamesBehind() {

    gamesBehind_ = 0;
  }

  public static final int DIVISION_FIELD_NUMBER = 12;
  private java.lang.String division_;
  /**
   * string division = 12 [json_name = "division"];
   * @return The division.
   */
  @java.lang.Override
  public java.lang.String getDivision() {
    return division_;
  }
  /**
   * string division = 12 [json_name = "division"];
   * @return The bytes for division.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDivisionBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(division_);
  }
  /**
   * string division = 12 [json_name = "division"];
   * @param value The division to set.
   */
  private void setDivision(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    division_ = value;
  }
  /**
   * string division = 12 [json_name = "division"];
   */
  private void clearDivision() {

    division_ = getDefaultInstance().getDivision();
  }
  /**
   * string division = 12 [json_name = "division"];
   * @param value The bytes for division to set.
   */
  private void setDivisionBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    division_ = value.toStringUtf8();

  }

  public static final int POINTS_FIELD_NUMBER = 13;
  private int points_;
  /**
   * int32 points = 13 [json_name = "points"];
   * @return The points.
   */
  @java.lang.Override
  public int getPoints() {
    return points_;
  }
  /**
   * int32 points = 13 [json_name = "points"];
   * @param value The points to set.
   */
  private void setPoints(int value) {
    
    points_ = value;
  }
  /**
   * int32 points = 13 [json_name = "points"];
   */
  private void clearPoints() {

    points_ = 0;
  }

  public static final int POSITION_FIELD_NUMBER = 14;
  private int position_;
  /**
   * int32 position = 14 [json_name = "position"];
   * @return The position.
   */
  @java.lang.Override
  public int getPosition() {
    return position_;
  }
  /**
   * int32 position = 14 [json_name = "position"];
   * @param value The position to set.
   */
  private void setPosition(int value) {
    
    position_ = value;
  }
  /**
   * int32 position = 14 [json_name = "position"];
   */
  private void clearPosition() {

    position_ = 0;
  }

  public static final int TOTAL_GOALS_FIELD_NUMBER = 15;
  private int totalGoals_;
  /**
   * int32 total_goals = 15 [json_name = "totalGoals"];
   * @return The totalGoals.
   */
  @java.lang.Override
  public int getTotalGoals() {
    return totalGoals_;
  }
  /**
   * int32 total_goals = 15 [json_name = "totalGoals"];
   * @param value The totalGoals to set.
   */
  private void setTotalGoals(int value) {
    
    totalGoals_ = value;
  }
  /**
   * int32 total_goals = 15 [json_name = "totalGoals"];
   */
  private void clearTotalGoals() {

    totalGoals_ = 0;
  }

  public static final int TOTAL_GOALS_RECEIVED_FIELD_NUMBER = 16;
  private int totalGoalsReceived_;
  /**
   * int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];
   * @return The totalGoalsReceived.
   */
  @java.lang.Override
  public int getTotalGoalsReceived() {
    return totalGoalsReceived_;
  }
  /**
   * int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];
   * @param value The totalGoalsReceived to set.
   */
  private void setTotalGoalsReceived(int value) {
    
    totalGoalsReceived_ = value;
  }
  /**
   * int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];
   */
  private void clearTotalGoalsReceived() {

    totalGoalsReceived_ = 0;
  }

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

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

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


    /**
     * uint64 id = 1 [json_name = "id"];
     * @return The id.
     */
    @java.lang.Override
    public long getId() {
      return instance.getId();
    }
    /**
     * uint64 id = 1 [json_name = "id"];
     * @param value The id to set.
     * @return This builder for chaining.
     */
    public Builder setId(long value) {
      copyOnWrite();
      instance.setId(value);
      return this;
    }
    /**
     * uint64 id = 1 [json_name = "id"];
     * @return This builder for chaining.
     */
    public Builder clearId() {
      copyOnWrite();
      instance.clearId();
      return this;
    }

    /**
     * string name = 2 [json_name = "name"];
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      return instance.getName();
    }
    /**
     * string name = 2 [json_name = "name"];
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      return instance.getNameBytes();
    }
    /**
     * string name = 2 [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 = 2 [json_name = "name"];
     * @return This builder for chaining.
     */
    public Builder clearName() {
      copyOnWrite();
      instance.clearName();
      return this;
    }
    /**
     * string name = 2 [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;
    }

    /**
     * string alias = 3 [json_name = "alias"];
     * @return The alias.
     */
    @java.lang.Override
    public java.lang.String getAlias() {
      return instance.getAlias();
    }
    /**
     * string alias = 3 [json_name = "alias"];
     * @return The bytes for alias.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAliasBytes() {
      return instance.getAliasBytes();
    }
    /**
     * string alias = 3 [json_name = "alias"];
     * @param value The alias to set.
     * @return This builder for chaining.
     */
    public Builder setAlias(
        java.lang.String value) {
      copyOnWrite();
      instance.setAlias(value);
      return this;
    }
    /**
     * string alias = 3 [json_name = "alias"];
     * @return This builder for chaining.
     */
    public Builder clearAlias() {
      copyOnWrite();
      instance.clearAlias();
      return this;
    }
    /**
     * string alias = 3 [json_name = "alias"];
     * @param value The bytes for alias to set.
     * @return This builder for chaining.
     */
    public Builder setAliasBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setAliasBytes(value);
      return this;
    }

    /**
     * string logo = 4 [json_name = "logo"];
     * @return The logo.
     */
    @java.lang.Override
    public java.lang.String getLogo() {
      return instance.getLogo();
    }
    /**
     * string logo = 4 [json_name = "logo"];
     * @return The bytes for logo.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLogoBytes() {
      return instance.getLogoBytes();
    }
    /**
     * string logo = 4 [json_name = "logo"];
     * @param value The logo to set.
     * @return This builder for chaining.
     */
    public Builder setLogo(
        java.lang.String value) {
      copyOnWrite();
      instance.setLogo(value);
      return this;
    }
    /**
     * string logo = 4 [json_name = "logo"];
     * @return This builder for chaining.
     */
    public Builder clearLogo() {
      copyOnWrite();
      instance.clearLogo();
      return this;
    }
    /**
     * string logo = 4 [json_name = "logo"];
     * @param value The bytes for logo to set.
     * @return This builder for chaining.
     */
    public Builder setLogoBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setLogoBytes(value);
      return this;
    }

    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @return A list containing the colors.
     */
    @java.lang.Override
    public java.util.List
        getColorsList() {
      return java.util.Collections.unmodifiableList(
          instance.getColorsList());
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @return The count of colors.
     */
    @java.lang.Override
    public int getColorsCount() {
      return instance.getColorsCount();
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @param index The index of the element to return.
     * @return The colors at the given index.
     */
    @java.lang.Override
    public java.lang.String getColors(int index) {
      return instance.getColors(index);
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @param index The index of the value to return.
     * @return The bytes of the colors at the given index.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getColorsBytes(int index) {
      return instance.getColorsBytes(index);
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @param index The index to set the value at.
     * @param value The colors to set.
     * @return This builder for chaining.
     */
    public Builder setColors(
        int index, java.lang.String value) {
      copyOnWrite();
      instance.setColors(index, value);
      return this;
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @param value The colors to add.
     * @return This builder for chaining.
     */
    public Builder addColors(
        java.lang.String value) {
      copyOnWrite();
      instance.addColors(value);
      return this;
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @param values The colors to add.
     * @return This builder for chaining.
     */
    public Builder addAllColors(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllColors(values);
      return this;
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @return This builder for chaining.
     */
    public Builder clearColors() {
      copyOnWrite();
      instance.clearColors();
      return this;
    }
    /**
     * repeated string colors = 5 [json_name = "colors"];
     * @param value The bytes of the colors to add.
     * @return This builder for chaining.
     */
    public Builder addColorsBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.addColorsBytes(value);
      return this;
    }

    /**
     * int32 wins = 6 [json_name = "wins"];
     * @return The wins.
     */
    @java.lang.Override
    public int getWins() {
      return instance.getWins();
    }
    /**
     * int32 wins = 6 [json_name = "wins"];
     * @param value The wins to set.
     * @return This builder for chaining.
     */
    public Builder setWins(int value) {
      copyOnWrite();
      instance.setWins(value);
      return this;
    }
    /**
     * int32 wins = 6 [json_name = "wins"];
     * @return This builder for chaining.
     */
    public Builder clearWins() {
      copyOnWrite();
      instance.clearWins();
      return this;
    }

    /**
     * int32 losses = 7 [json_name = "losses"];
     * @return The losses.
     */
    @java.lang.Override
    public int getLosses() {
      return instance.getLosses();
    }
    /**
     * int32 losses = 7 [json_name = "losses"];
     * @param value The losses to set.
     * @return This builder for chaining.
     */
    public Builder setLosses(int value) {
      copyOnWrite();
      instance.setLosses(value);
      return this;
    }
    /**
     * int32 losses = 7 [json_name = "losses"];
     * @return This builder for chaining.
     */
    public Builder clearLosses() {
      copyOnWrite();
      instance.clearLosses();
      return this;
    }

    /**
     * int32 draws = 8 [json_name = "draws"];
     * @return The draws.
     */
    @java.lang.Override
    public int getDraws() {
      return instance.getDraws();
    }
    /**
     * int32 draws = 8 [json_name = "draws"];
     * @param value The draws to set.
     * @return This builder for chaining.
     */
    public Builder setDraws(int value) {
      copyOnWrite();
      instance.setDraws(value);
      return this;
    }
    /**
     * int32 draws = 8 [json_name = "draws"];
     * @return This builder for chaining.
     */
    public Builder clearDraws() {
      copyOnWrite();
      instance.clearDraws();
      return this;
    }

    /**
     * int32 games_behind = 9 [json_name = "gamesBehind"];
     * @return The gamesBehind.
     */
    @java.lang.Override
    public int getGamesBehind() {
      return instance.getGamesBehind();
    }
    /**
     * int32 games_behind = 9 [json_name = "gamesBehind"];
     * @param value The gamesBehind to set.
     * @return This builder for chaining.
     */
    public Builder setGamesBehind(int value) {
      copyOnWrite();
      instance.setGamesBehind(value);
      return this;
    }
    /**
     * int32 games_behind = 9 [json_name = "gamesBehind"];
     * @return This builder for chaining.
     */
    public Builder clearGamesBehind() {
      copyOnWrite();
      instance.clearGamesBehind();
      return this;
    }

    /**
     * string division = 12 [json_name = "division"];
     * @return The division.
     */
    @java.lang.Override
    public java.lang.String getDivision() {
      return instance.getDivision();
    }
    /**
     * string division = 12 [json_name = "division"];
     * @return The bytes for division.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDivisionBytes() {
      return instance.getDivisionBytes();
    }
    /**
     * string division = 12 [json_name = "division"];
     * @param value The division to set.
     * @return This builder for chaining.
     */
    public Builder setDivision(
        java.lang.String value) {
      copyOnWrite();
      instance.setDivision(value);
      return this;
    }
    /**
     * string division = 12 [json_name = "division"];
     * @return This builder for chaining.
     */
    public Builder clearDivision() {
      copyOnWrite();
      instance.clearDivision();
      return this;
    }
    /**
     * string division = 12 [json_name = "division"];
     * @param value The bytes for division to set.
     * @return This builder for chaining.
     */
    public Builder setDivisionBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setDivisionBytes(value);
      return this;
    }

    /**
     * int32 points = 13 [json_name = "points"];
     * @return The points.
     */
    @java.lang.Override
    public int getPoints() {
      return instance.getPoints();
    }
    /**
     * int32 points = 13 [json_name = "points"];
     * @param value The points to set.
     * @return This builder for chaining.
     */
    public Builder setPoints(int value) {
      copyOnWrite();
      instance.setPoints(value);
      return this;
    }
    /**
     * int32 points = 13 [json_name = "points"];
     * @return This builder for chaining.
     */
    public Builder clearPoints() {
      copyOnWrite();
      instance.clearPoints();
      return this;
    }

    /**
     * int32 position = 14 [json_name = "position"];
     * @return The position.
     */
    @java.lang.Override
    public int getPosition() {
      return instance.getPosition();
    }
    /**
     * int32 position = 14 [json_name = "position"];
     * @param value The position to set.
     * @return This builder for chaining.
     */
    public Builder setPosition(int value) {
      copyOnWrite();
      instance.setPosition(value);
      return this;
    }
    /**
     * int32 position = 14 [json_name = "position"];
     * @return This builder for chaining.
     */
    public Builder clearPosition() {
      copyOnWrite();
      instance.clearPosition();
      return this;
    }

    /**
     * int32 total_goals = 15 [json_name = "totalGoals"];
     * @return The totalGoals.
     */
    @java.lang.Override
    public int getTotalGoals() {
      return instance.getTotalGoals();
    }
    /**
     * int32 total_goals = 15 [json_name = "totalGoals"];
     * @param value The totalGoals to set.
     * @return This builder for chaining.
     */
    public Builder setTotalGoals(int value) {
      copyOnWrite();
      instance.setTotalGoals(value);
      return this;
    }
    /**
     * int32 total_goals = 15 [json_name = "totalGoals"];
     * @return This builder for chaining.
     */
    public Builder clearTotalGoals() {
      copyOnWrite();
      instance.clearTotalGoals();
      return this;
    }

    /**
     * int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];
     * @return The totalGoalsReceived.
     */
    @java.lang.Override
    public int getTotalGoalsReceived() {
      return instance.getTotalGoalsReceived();
    }
    /**
     * int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];
     * @param value The totalGoalsReceived to set.
     * @return This builder for chaining.
     */
    public Builder setTotalGoalsReceived(int value) {
      copyOnWrite();
      instance.setTotalGoalsReceived(value);
      return this;
    }
    /**
     * int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];
     * @return This builder for chaining.
     */
    public Builder clearTotalGoalsReceived() {
      copyOnWrite();
      instance.clearTotalGoalsReceived();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.TeamStanding)
  }
  @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.sports.soccer.TeamStanding();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "id_",
            "name_",
            "alias_",
            "logo_",
            "colors_",
            "wins_",
            "losses_",
            "draws_",
            "gamesBehind_",
            "division_",
            "points_",
            "position_",
            "totalGoals_",
            "totalGoalsReceived_",
          };
          java.lang.String info =
              "\u0000\u000e\u0000\u0000\u0001\u0010\u000e\u0000\u0001\u0000\u0001\u0003\u0002\u0208" +
              "\u0003\u0208\u0004\u0208\u0005\u021a\u0006\u0004\u0007\u0004\b\u0004\t\u0004\f\u0208" +
              "\r\u0004\u000e\u0004\u000f\u0004\u0010\u0004";
          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.sports.soccer.TeamStanding.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.sports.soccer.TeamStanding)
  private static final com.streamlayer.sports.soccer.TeamStanding DEFAULT_INSTANCE;
  static {
    TeamStanding defaultInstance = new TeamStanding();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      TeamStanding.class, defaultInstance);
  }

  public static com.streamlayer.sports.soccer.TeamStanding 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