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

main.java.com.streamlayer.sports.baseball.TeamStanding Maven / Gradle / Ivy

There is a newer version: 5.120.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/sports/baseball/baseball.proto

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

/**
 * Protobuf type {@code streamlayer.sports.baseball.TeamStanding}
 */
public  final class TeamStanding extends
    com.google.protobuf.GeneratedMessageLite<
        TeamStanding, TeamStanding.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.baseball.TeamStanding)
    TeamStandingOrBuilder {
  private TeamStanding() {
    name_ = "";
    alias_ = "";
    logo_ = "";
    colors_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
    division_ = "";
    conference_ = "";
  }
  public interface StreakOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.sports.baseball.TeamStanding.Streak)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * int32 losses = 1 [json_name = "losses"];
     * @return The losses.
     */
    int getLosses();

    /**
     * int32 wins = 2 [json_name = "wins"];
     * @return The wins.
     */
    int getWins();
  }
  /**
   * Protobuf type {@code streamlayer.sports.baseball.TeamStanding.Streak}
   */
  public  static final class Streak extends
      com.google.protobuf.GeneratedMessageLite<
          Streak, Streak.Builder> implements
      // @@protoc_insertion_point(message_implements:streamlayer.sports.baseball.TeamStanding.Streak)
      StreakOrBuilder {
    private Streak() {
    }
    public static final int LOSSES_FIELD_NUMBER = 1;
    private int losses_;
    /**
     * int32 losses = 1 [json_name = "losses"];
     * @return The losses.
     */
    @java.lang.Override
    public int getLosses() {
      return losses_;
    }
    /**
     * int32 losses = 1 [json_name = "losses"];
     * @param value The losses to set.
     */
    private void setLosses(int value) {
      
      losses_ = value;
    }
    /**
     * int32 losses = 1 [json_name = "losses"];
     */
    private void clearLosses() {

      losses_ = 0;
    }

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

      wins_ = 0;
    }

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

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

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


      /**
       * int32 losses = 1 [json_name = "losses"];
       * @return The losses.
       */
      @java.lang.Override
      public int getLosses() {
        return instance.getLosses();
      }
      /**
       * int32 losses = 1 [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 = 1 [json_name = "losses"];
       * @return This builder for chaining.
       */
      public Builder clearLosses() {
        copyOnWrite();
        instance.clearLosses();
        return this;
      }

      /**
       * int32 wins = 2 [json_name = "wins"];
       * @return The wins.
       */
      @java.lang.Override
      public int getWins() {
        return instance.getWins();
      }
      /**
       * int32 wins = 2 [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 = 2 [json_name = "wins"];
       * @return This builder for chaining.
       */
      public Builder clearWins() {
        copyOnWrite();
        instance.clearWins();
        return this;
      }

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

    public static com.streamlayer.sports.baseball.TeamStanding.Streak getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser PARSER;

    public static com.google.protobuf.Parser parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface RankOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.sports.baseball.TeamStanding.Rank)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * int32 division = 1 [json_name = "division"];
     * @return The division.
     */
    int getDivision();

    /**
     * int32 conference = 2 [json_name = "conference"];
     * @return The conference.
     */
    int getConference();
  }
  /**
   * Protobuf type {@code streamlayer.sports.baseball.TeamStanding.Rank}
   */
  public  static final class Rank extends
      com.google.protobuf.GeneratedMessageLite<
          Rank, Rank.Builder> implements
      // @@protoc_insertion_point(message_implements:streamlayer.sports.baseball.TeamStanding.Rank)
      RankOrBuilder {
    private Rank() {
    }
    public static final int DIVISION_FIELD_NUMBER = 1;
    private int division_;
    /**
     * int32 division = 1 [json_name = "division"];
     * @return The division.
     */
    @java.lang.Override
    public int getDivision() {
      return division_;
    }
    /**
     * int32 division = 1 [json_name = "division"];
     * @param value The division to set.
     */
    private void setDivision(int value) {
      
      division_ = value;
    }
    /**
     * int32 division = 1 [json_name = "division"];
     */
    private void clearDivision() {

      division_ = 0;
    }

    public static final int CONFERENCE_FIELD_NUMBER = 2;
    private int conference_;
    /**
     * int32 conference = 2 [json_name = "conference"];
     * @return The conference.
     */
    @java.lang.Override
    public int getConference() {
      return conference_;
    }
    /**
     * int32 conference = 2 [json_name = "conference"];
     * @param value The conference to set.
     */
    private void setConference(int value) {
      
      conference_ = value;
    }
    /**
     * int32 conference = 2 [json_name = "conference"];
     */
    private void clearConference() {

      conference_ = 0;
    }

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

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

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


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

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

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

    public static com.streamlayer.sports.baseball.TeamStanding.Rank 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 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 PCT_FIELD_NUMBER = 8;
  private double pct_;
  /**
   * double pct = 8 [json_name = "pct"];
   * @return The pct.
   */
  @java.lang.Override
  public double getPct() {
    return pct_;
  }
  /**
   * double pct = 8 [json_name = "pct"];
   * @param value The pct to set.
   */
  private void setPct(double value) {
    
    pct_ = value;
  }
  /**
   * double pct = 8 [json_name = "pct"];
   */
  private void clearPct() {

    pct_ = 0D;
  }

  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 STREAK_FIELD_NUMBER = 10;
  private com.streamlayer.sports.baseball.TeamStanding.Streak streak_;
  /**
   * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
   */
  @java.lang.Override
  public boolean hasStreak() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
   */
  @java.lang.Override
  public com.streamlayer.sports.baseball.TeamStanding.Streak getStreak() {
    return streak_ == null ? com.streamlayer.sports.baseball.TeamStanding.Streak.getDefaultInstance() : streak_;
  }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
   */
  private void setStreak(com.streamlayer.sports.baseball.TeamStanding.Streak value) {
    value.getClass();
  streak_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeStreak(com.streamlayer.sports.baseball.TeamStanding.Streak value) {
    value.getClass();
  if (streak_ != null &&
        streak_ != com.streamlayer.sports.baseball.TeamStanding.Streak.getDefaultInstance()) {
      streak_ =
        com.streamlayer.sports.baseball.TeamStanding.Streak.newBuilder(streak_).mergeFrom(value).buildPartial();
    } else {
      streak_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
   */
  private void clearStreak() {  streak_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int RANK_FIELD_NUMBER = 11;
  private com.streamlayer.sports.baseball.TeamStanding.Rank rank_;
  /**
   * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
   */
  @java.lang.Override
  public boolean hasRank() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
   */
  @java.lang.Override
  public com.streamlayer.sports.baseball.TeamStanding.Rank getRank() {
    return rank_ == null ? com.streamlayer.sports.baseball.TeamStanding.Rank.getDefaultInstance() : rank_;
  }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
   */
  private void setRank(com.streamlayer.sports.baseball.TeamStanding.Rank value) {
    value.getClass();
  rank_ = value;
    bitField0_ |= 0x00000002;
    }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeRank(com.streamlayer.sports.baseball.TeamStanding.Rank value) {
    value.getClass();
  if (rank_ != null &&
        rank_ != com.streamlayer.sports.baseball.TeamStanding.Rank.getDefaultInstance()) {
      rank_ =
        com.streamlayer.sports.baseball.TeamStanding.Rank.newBuilder(rank_).mergeFrom(value).buildPartial();
    } else {
      rank_ = value;
    }
    bitField0_ |= 0x00000002;
  }
  /**
   * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
   */
  private void clearRank() {  rank_ = null;
    bitField0_ = (bitField0_ & ~0x00000002);
  }

  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 CONFERENCE_FIELD_NUMBER = 13;
  private java.lang.String conference_;
  /**
   * string conference = 13 [json_name = "conference"];
   * @return The conference.
   */
  @java.lang.Override
  public java.lang.String getConference() {
    return conference_;
  }
  /**
   * string conference = 13 [json_name = "conference"];
   * @return The bytes for conference.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getConferenceBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(conference_);
  }
  /**
   * string conference = 13 [json_name = "conference"];
   * @param value The conference to set.
   */
  private void setConference(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    conference_ = value;
  }
  /**
   * string conference = 13 [json_name = "conference"];
   */
  private void clearConference() {

    conference_ = getDefaultInstance().getConference();
  }
  /**
   * string conference = 13 [json_name = "conference"];
   * @param value The bytes for conference to set.
   */
  private void setConferenceBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    conference_ = value.toStringUtf8();

  }

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

  public static com.streamlayer.sports.baseball.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.baseball.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.baseball.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.baseball.TeamStanding prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.sports.baseball.TeamStanding}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.sports.baseball.TeamStanding, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.sports.baseball.TeamStanding)
      com.streamlayer.sports.baseball.TeamStandingOrBuilder {
    // Construct using com.streamlayer.sports.baseball.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;
    }

    /**
     * double pct = 8 [json_name = "pct"];
     * @return The pct.
     */
    @java.lang.Override
    public double getPct() {
      return instance.getPct();
    }
    /**
     * double pct = 8 [json_name = "pct"];
     * @param value The pct to set.
     * @return This builder for chaining.
     */
    public Builder setPct(double value) {
      copyOnWrite();
      instance.setPct(value);
      return this;
    }
    /**
     * double pct = 8 [json_name = "pct"];
     * @return This builder for chaining.
     */
    public Builder clearPct() {
      copyOnWrite();
      instance.clearPct();
      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;
    }

    /**
     * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
     */
    @java.lang.Override
    public boolean hasStreak() {
      return instance.hasStreak();
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
     */
    @java.lang.Override
    public com.streamlayer.sports.baseball.TeamStanding.Streak getStreak() {
      return instance.getStreak();
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
     */
    public Builder setStreak(com.streamlayer.sports.baseball.TeamStanding.Streak value) {
      copyOnWrite();
      instance.setStreak(value);
      return this;
      }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
     */
    public Builder setStreak(
        com.streamlayer.sports.baseball.TeamStanding.Streak.Builder builderForValue) {
      copyOnWrite();
      instance.setStreak(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
     */
    public Builder mergeStreak(com.streamlayer.sports.baseball.TeamStanding.Streak value) {
      copyOnWrite();
      instance.mergeStreak(value);
      return this;
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
     */
    public Builder clearStreak() {  copyOnWrite();
      instance.clearStreak();
      return this;
    }

    /**
     * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
     */
    @java.lang.Override
    public boolean hasRank() {
      return instance.hasRank();
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
     */
    @java.lang.Override
    public com.streamlayer.sports.baseball.TeamStanding.Rank getRank() {
      return instance.getRank();
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
     */
    public Builder setRank(com.streamlayer.sports.baseball.TeamStanding.Rank value) {
      copyOnWrite();
      instance.setRank(value);
      return this;
      }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
     */
    public Builder setRank(
        com.streamlayer.sports.baseball.TeamStanding.Rank.Builder builderForValue) {
      copyOnWrite();
      instance.setRank(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
     */
    public Builder mergeRank(com.streamlayer.sports.baseball.TeamStanding.Rank value) {
      copyOnWrite();
      instance.mergeRank(value);
      return this;
    }
    /**
     * .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
     */
    public Builder clearRank() {  copyOnWrite();
      instance.clearRank();
      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;
    }

    /**
     * string conference = 13 [json_name = "conference"];
     * @return The conference.
     */
    @java.lang.Override
    public java.lang.String getConference() {
      return instance.getConference();
    }
    /**
     * string conference = 13 [json_name = "conference"];
     * @return The bytes for conference.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getConferenceBytes() {
      return instance.getConferenceBytes();
    }
    /**
     * string conference = 13 [json_name = "conference"];
     * @param value The conference to set.
     * @return This builder for chaining.
     */
    public Builder setConference(
        java.lang.String value) {
      copyOnWrite();
      instance.setConference(value);
      return this;
    }
    /**
     * string conference = 13 [json_name = "conference"];
     * @return This builder for chaining.
     */
    public Builder clearConference() {
      copyOnWrite();
      instance.clearConference();
      return this;
    }
    /**
     * string conference = 13 [json_name = "conference"];
     * @param value The bytes for conference to set.
     * @return This builder for chaining.
     */
    public Builder setConferenceBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setConferenceBytes(value);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sports.baseball.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.baseball.TeamStanding();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "id_",
            "name_",
            "alias_",
            "logo_",
            "colors_",
            "wins_",
            "losses_",
            "pct_",
            "gamesBehind_",
            "streak_",
            "rank_",
            "division_",
            "conference_",
          };
          java.lang.String info =
              "\u0000\r\u0000\u0001\u0001\r\r\u0000\u0001\u0000\u0001\u0003\u0002\u0208\u0003\u0208" +
              "\u0004\u0208\u0005\u021a\u0006\u0004\u0007\u0004\b\u0000\t\u0004\n\u1009\u0000\u000b" +
              "\u1009\u0001\f\u0208\r\u0208";
          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.baseball.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.baseball.TeamStanding)
  private static final com.streamlayer.sports.baseball.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.baseball.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