Class PlayerScore.Builder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, PlayerScoreOrBuilder, java.lang.Cloneable
    Enclosing class:
    PlayerScore

    public static final class PlayerScore.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<PlayerScore,​PlayerScore.Builder>
    implements PlayerScoreOrBuilder
    Protobuf type streamlayer.sports.hockey.PlayerScore
    • Method Detail

      • getJersey

        public int getJersey()
        int32 jersey = 1 [json_name = "jersey"];
        Specified by:
        getJersey in interface PlayerScoreOrBuilder
        Returns:
        The jersey.
      • setJersey

        public PlayerScore.Builder setJersey​(int value)
        int32 jersey = 1 [json_name = "jersey"];
        Parameters:
        value - The jersey to set.
        Returns:
        This builder for chaining.
      • clearJersey

        public PlayerScore.Builder clearJersey()
        int32 jersey = 1 [json_name = "jersey"];
        Returns:
        This builder for chaining.
      • getFullName

        public java.lang.String getFullName()
        string full_name = 2 [json_name = "fullName"];
        Specified by:
        getFullName in interface PlayerScoreOrBuilder
        Returns:
        The fullName.
      • getFullNameBytes

        public com.google.protobuf.ByteString getFullNameBytes()
        string full_name = 2 [json_name = "fullName"];
        Specified by:
        getFullNameBytes in interface PlayerScoreOrBuilder
        Returns:
        The bytes for fullName.
      • setFullName

        public PlayerScore.Builder setFullName​(java.lang.String value)
        string full_name = 2 [json_name = "fullName"];
        Parameters:
        value - The fullName to set.
        Returns:
        This builder for chaining.
      • clearFullName

        public PlayerScore.Builder clearFullName()
        string full_name = 2 [json_name = "fullName"];
        Returns:
        This builder for chaining.
      • setFullNameBytes

        public PlayerScore.Builder setFullNameBytes​(com.google.protobuf.ByteString value)
        string full_name = 2 [json_name = "fullName"];
        Parameters:
        value - The bytes for fullName to set.
        Returns:
        This builder for chaining.
      • getGoals

        public int getGoals()
        int32 goals = 3 [json_name = "goals"];
        Specified by:
        getGoals in interface PlayerScoreOrBuilder
        Returns:
        The goals.
      • setGoals

        public PlayerScore.Builder setGoals​(int value)
        int32 goals = 3 [json_name = "goals"];
        Parameters:
        value - The goals to set.
        Returns:
        This builder for chaining.
      • clearGoals

        public PlayerScore.Builder clearGoals()
        int32 goals = 3 [json_name = "goals"];
        Returns:
        This builder for chaining.
      • getAssists

        public int getAssists()
        int32 assists = 4 [json_name = "assists"];
        Specified by:
        getAssists in interface PlayerScoreOrBuilder
        Returns:
        The assists.
      • setAssists

        public PlayerScore.Builder setAssists​(int value)
        int32 assists = 4 [json_name = "assists"];
        Parameters:
        value - The assists to set.
        Returns:
        This builder for chaining.
      • clearAssists

        public PlayerScore.Builder clearAssists()
        int32 assists = 4 [json_name = "assists"];
        Returns:
        This builder for chaining.
      • getShots

        public int getShots()
        int32 shots = 5 [json_name = "shots"];
        Specified by:
        getShots in interface PlayerScoreOrBuilder
        Returns:
        The shots.
      • setShots

        public PlayerScore.Builder setShots​(int value)
        int32 shots = 5 [json_name = "shots"];
        Parameters:
        value - The shots to set.
        Returns:
        This builder for chaining.
      • clearShots

        public PlayerScore.Builder clearShots()
        int32 shots = 5 [json_name = "shots"];
        Returns:
        This builder for chaining.
      • getPenaltyMinutes

        public double getPenaltyMinutes()
        double penalty_minutes = 6 [json_name = "penaltyMinutes"];
        Specified by:
        getPenaltyMinutes in interface PlayerScoreOrBuilder
        Returns:
        The penaltyMinutes.
      • setPenaltyMinutes

        public PlayerScore.Builder setPenaltyMinutes​(double value)
        double penalty_minutes = 6 [json_name = "penaltyMinutes"];
        Parameters:
        value - The penaltyMinutes to set.
        Returns:
        This builder for chaining.
      • clearPenaltyMinutes

        public PlayerScore.Builder clearPenaltyMinutes()
        double penalty_minutes = 6 [json_name = "penaltyMinutes"];
        Returns:
        This builder for chaining.
      • getMinutes

        public java.lang.String getMinutes()
        string minutes = 7 [json_name = "minutes"];
        Specified by:
        getMinutes in interface PlayerScoreOrBuilder
        Returns:
        The minutes.
      • getMinutesBytes

        public com.google.protobuf.ByteString getMinutesBytes()
        string minutes = 7 [json_name = "minutes"];
        Specified by:
        getMinutesBytes in interface PlayerScoreOrBuilder
        Returns:
        The bytes for minutes.
      • setMinutes

        public PlayerScore.Builder setMinutes​(java.lang.String value)
        string minutes = 7 [json_name = "minutes"];
        Parameters:
        value - The minutes to set.
        Returns:
        This builder for chaining.
      • clearMinutes

        public PlayerScore.Builder clearMinutes()
        string minutes = 7 [json_name = "minutes"];
        Returns:
        This builder for chaining.
      • setMinutesBytes

        public PlayerScore.Builder setMinutesBytes​(com.google.protobuf.ByteString value)
        string minutes = 7 [json_name = "minutes"];
        Parameters:
        value - The bytes for minutes to set.
        Returns:
        This builder for chaining.
      • getPositionValue

        public int getPositionValue()
        .streamlayer.sports.hockey.HockeyPlayerPosition position = 8 [json_name = "position"];
        Specified by:
        getPositionValue in interface PlayerScoreOrBuilder
        Returns:
        The enum numeric value on the wire for position.
      • setPositionValue

        public PlayerScore.Builder setPositionValue​(int value)
        .streamlayer.sports.hockey.HockeyPlayerPosition position = 8 [json_name = "position"];
        Parameters:
        value - The position to set.
        Returns:
        This builder for chaining.
      • setPosition

        public PlayerScore.Builder setPosition​(HockeyPlayerPosition value)
        .streamlayer.sports.hockey.HockeyPlayerPosition position = 8 [json_name = "position"];
        Parameters:
        value - The enum numeric value on the wire for position to set.
        Returns:
        This builder for chaining.
      • clearPosition

        public PlayerScore.Builder clearPosition()
        .streamlayer.sports.hockey.HockeyPlayerPosition position = 8 [json_name = "position"];
        Returns:
        This builder for chaining.