Class TeamStanding.Builder

    • Method Detail

      • getId

        public long getId()
        uint64 id = 1 [json_name = "id"];
        Specified by:
        getId in interface TeamStandingOrBuilder
        Returns:
        The id.
      • setId

        public TeamStanding.Builder setId​(long value)
        uint64 id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public TeamStanding.Builder clearId()
        uint64 id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • getName

        public java.lang.String getName()
        string name = 2 [json_name = "name"];
        Specified by:
        getName in interface TeamStandingOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 2 [json_name = "name"];
        Specified by:
        getNameBytes in interface TeamStandingOrBuilder
        Returns:
        The bytes for name.
      • setName

        public TeamStanding.Builder setName​(java.lang.String value)
        string name = 2 [json_name = "name"];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public TeamStanding.Builder clearName()
        string name = 2 [json_name = "name"];
        Returns:
        This builder for chaining.
      • setNameBytes

        public TeamStanding.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 2 [json_name = "name"];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getAlias

        public java.lang.String getAlias()
        string alias = 3 [json_name = "alias"];
        Specified by:
        getAlias in interface TeamStandingOrBuilder
        Returns:
        The alias.
      • getAliasBytes

        public com.google.protobuf.ByteString getAliasBytes()
        string alias = 3 [json_name = "alias"];
        Specified by:
        getAliasBytes in interface TeamStandingOrBuilder
        Returns:
        The bytes for alias.
      • setAlias

        public TeamStanding.Builder setAlias​(java.lang.String value)
        string alias = 3 [json_name = "alias"];
        Parameters:
        value - The alias to set.
        Returns:
        This builder for chaining.
      • clearAlias

        public TeamStanding.Builder clearAlias()
        string alias = 3 [json_name = "alias"];
        Returns:
        This builder for chaining.
      • setAliasBytes

        public TeamStanding.Builder setAliasBytes​(com.google.protobuf.ByteString value)
        string alias = 3 [json_name = "alias"];
        Parameters:
        value - The bytes for alias to set.
        Returns:
        This builder for chaining.
      • getLogo

        public java.lang.String getLogo()
        string logo = 4 [json_name = "logo"];
        Specified by:
        getLogo in interface TeamStandingOrBuilder
        Returns:
        The logo.
      • getLogoBytes

        public com.google.protobuf.ByteString getLogoBytes()
        string logo = 4 [json_name = "logo"];
        Specified by:
        getLogoBytes in interface TeamStandingOrBuilder
        Returns:
        The bytes for logo.
      • setLogo

        public TeamStanding.Builder setLogo​(java.lang.String value)
        string logo = 4 [json_name = "logo"];
        Parameters:
        value - The logo to set.
        Returns:
        This builder for chaining.
      • clearLogo

        public TeamStanding.Builder clearLogo()
        string logo = 4 [json_name = "logo"];
        Returns:
        This builder for chaining.
      • setLogoBytes

        public TeamStanding.Builder setLogoBytes​(com.google.protobuf.ByteString value)
        string logo = 4 [json_name = "logo"];
        Parameters:
        value - The bytes for logo to set.
        Returns:
        This builder for chaining.
      • getColorsList

        public java.util.List<java.lang.String> getColorsList()
        repeated string colors = 5 [json_name = "colors"];
        Specified by:
        getColorsList in interface TeamStandingOrBuilder
        Returns:
        A list containing the colors.
      • getColorsCount

        public int getColorsCount()
        repeated string colors = 5 [json_name = "colors"];
        Specified by:
        getColorsCount in interface TeamStandingOrBuilder
        Returns:
        The count of colors.
      • getColors

        public java.lang.String getColors​(int index)
        repeated string colors = 5 [json_name = "colors"];
        Specified by:
        getColors in interface TeamStandingOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The colors at the given index.
      • getColorsBytes

        public com.google.protobuf.ByteString getColorsBytes​(int index)
        repeated string colors = 5 [json_name = "colors"];
        Specified by:
        getColorsBytes in interface TeamStandingOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the colors at the given index.
      • setColors

        public TeamStanding.Builder setColors​(int index,
                                              java.lang.String value)
        repeated string colors = 5 [json_name = "colors"];
        Parameters:
        index - The index to set the value at.
        value - The colors to set.
        Returns:
        This builder for chaining.
      • addColors

        public TeamStanding.Builder addColors​(java.lang.String value)
        repeated string colors = 5 [json_name = "colors"];
        Parameters:
        value - The colors to add.
        Returns:
        This builder for chaining.
      • addAllColors

        public TeamStanding.Builder addAllColors​(java.lang.Iterable<java.lang.String> values)
        repeated string colors = 5 [json_name = "colors"];
        Parameters:
        values - The colors to add.
        Returns:
        This builder for chaining.
      • clearColors

        public TeamStanding.Builder clearColors()
        repeated string colors = 5 [json_name = "colors"];
        Returns:
        This builder for chaining.
      • addColorsBytes

        public TeamStanding.Builder addColorsBytes​(com.google.protobuf.ByteString value)
        repeated string colors = 5 [json_name = "colors"];
        Parameters:
        value - The bytes of the colors to add.
        Returns:
        This builder for chaining.
      • getWins

        public int getWins()
        int32 wins = 6 [json_name = "wins"];
        Specified by:
        getWins in interface TeamStandingOrBuilder
        Returns:
        The wins.
      • setWins

        public TeamStanding.Builder setWins​(int value)
        int32 wins = 6 [json_name = "wins"];
        Parameters:
        value - The wins to set.
        Returns:
        This builder for chaining.
      • clearWins

        public TeamStanding.Builder clearWins()
        int32 wins = 6 [json_name = "wins"];
        Returns:
        This builder for chaining.
      • getLosses

        public int getLosses()
        int32 losses = 7 [json_name = "losses"];
        Specified by:
        getLosses in interface TeamStandingOrBuilder
        Returns:
        The losses.
      • setLosses

        public TeamStanding.Builder setLosses​(int value)
        int32 losses = 7 [json_name = "losses"];
        Parameters:
        value - The losses to set.
        Returns:
        This builder for chaining.
      • clearLosses

        public TeamStanding.Builder clearLosses()
        int32 losses = 7 [json_name = "losses"];
        Returns:
        This builder for chaining.
      • getPct

        public double getPct()
        double pct = 8 [json_name = "pct"];
        Specified by:
        getPct in interface TeamStandingOrBuilder
        Returns:
        The pct.
      • setPct

        public TeamStanding.Builder setPct​(double value)
        double pct = 8 [json_name = "pct"];
        Parameters:
        value - The pct to set.
        Returns:
        This builder for chaining.
      • clearPct

        public TeamStanding.Builder clearPct()
        double pct = 8 [json_name = "pct"];
        Returns:
        This builder for chaining.
      • getGamesBehind

        public int getGamesBehind()
        int32 games_behind = 9 [json_name = "gamesBehind"];
        Specified by:
        getGamesBehind in interface TeamStandingOrBuilder
        Returns:
        The gamesBehind.
      • setGamesBehind

        public TeamStanding.Builder setGamesBehind​(int value)
        int32 games_behind = 9 [json_name = "gamesBehind"];
        Parameters:
        value - The gamesBehind to set.
        Returns:
        This builder for chaining.
      • clearGamesBehind

        public TeamStanding.Builder clearGamesBehind()
        int32 games_behind = 9 [json_name = "gamesBehind"];
        Returns:
        This builder for chaining.
      • hasStreak

        public boolean hasStreak()
        .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
        Specified by:
        hasStreak in interface TeamStandingOrBuilder
        Returns:
        Whether the streak field is set.
      • clearStreak

        public TeamStanding.Builder clearStreak()
        .streamlayer.sports.baseball.TeamStanding.Streak streak = 10 [json_name = "streak"];
      • hasRank

        public boolean hasRank()
        .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
        Specified by:
        hasRank in interface TeamStandingOrBuilder
        Returns:
        Whether the rank field is set.
      • clearRank

        public TeamStanding.Builder clearRank()
        .streamlayer.sports.baseball.TeamStanding.Rank rank = 11 [json_name = "rank"];
      • getDivision

        public java.lang.String getDivision()
        string division = 12 [json_name = "division"];
        Specified by:
        getDivision in interface TeamStandingOrBuilder
        Returns:
        The division.
      • getDivisionBytes

        public com.google.protobuf.ByteString getDivisionBytes()
        string division = 12 [json_name = "division"];
        Specified by:
        getDivisionBytes in interface TeamStandingOrBuilder
        Returns:
        The bytes for division.
      • setDivision

        public TeamStanding.Builder setDivision​(java.lang.String value)
        string division = 12 [json_name = "division"];
        Parameters:
        value - The division to set.
        Returns:
        This builder for chaining.
      • clearDivision

        public TeamStanding.Builder clearDivision()
        string division = 12 [json_name = "division"];
        Returns:
        This builder for chaining.
      • setDivisionBytes

        public TeamStanding.Builder setDivisionBytes​(com.google.protobuf.ByteString value)
        string division = 12 [json_name = "division"];
        Parameters:
        value - The bytes for division to set.
        Returns:
        This builder for chaining.
      • getConference

        public java.lang.String getConference()
        string conference = 13 [json_name = "conference"];
        Specified by:
        getConference in interface TeamStandingOrBuilder
        Returns:
        The conference.
      • getConferenceBytes

        public com.google.protobuf.ByteString getConferenceBytes()
        string conference = 13 [json_name = "conference"];
        Specified by:
        getConferenceBytes in interface TeamStandingOrBuilder
        Returns:
        The bytes for conference.
      • setConference

        public TeamStanding.Builder setConference​(java.lang.String value)
        string conference = 13 [json_name = "conference"];
        Parameters:
        value - The conference to set.
        Returns:
        This builder for chaining.
      • clearConference

        public TeamStanding.Builder clearConference()
        string conference = 13 [json_name = "conference"];
        Returns:
        This builder for chaining.
      • setConferenceBytes

        public TeamStanding.Builder setConferenceBytes​(com.google.protobuf.ByteString value)
        string conference = 13 [json_name = "conference"];
        Parameters:
        value - The bytes for conference to set.
        Returns:
        This builder for chaining.