Class NhlStatsPlay.Play.Builder

    • Method Detail

      • setPlayId

        public NhlStatsPlay.Play.Builder setPlayId​(int value)
        int32 play_id = 291273876;
        Parameters:
        value - The playId to set.
        Returns:
        This builder for chaining.
      • clearPlayId

        public NhlStatsPlay.Play.Builder clearPlayId()
        int32 play_id = 291273876;
        Returns:
        This builder for chaining.
      • setPeriodId

        public NhlStatsPlay.Play.Builder setPeriodId​(int value)
        int32 period_id = 498562748;
        Parameters:
        value - The periodId to set.
        Returns:
        This builder for chaining.
      • clearPeriodId

        public NhlStatsPlay.Play.Builder clearPeriodId()
        int32 period_id = 498562748;
        Returns:
        This builder for chaining.
      • getPeriodNameBytes

        public com.google.protobuf.ByteString getPeriodNameBytes()
        string period_name = 306743287;
        Specified by:
        getPeriodNameBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for periodName.
      • setPeriodName

        public NhlStatsPlay.Play.Builder setPeriodName​(java.lang.String value)
        string period_name = 306743287;
        Parameters:
        value - The periodName to set.
        Returns:
        This builder for chaining.
      • clearPeriodName

        public NhlStatsPlay.Play.Builder clearPeriodName()
        string period_name = 306743287;
        Returns:
        This builder for chaining.
      • setPeriodNameBytes

        public NhlStatsPlay.Play.Builder setPeriodNameBytes​(com.google.protobuf.ByteString value)
        string period_name = 306743287;
        Parameters:
        value - The bytes for periodName to set.
        Returns:
        This builder for chaining.
      • setSequence

        public NhlStatsPlay.Play.Builder setSequence​(int value)
        int32 sequence = 340450275;
        Parameters:
        value - The sequence to set.
        Returns:
        This builder for chaining.
      • clearSequence

        public NhlStatsPlay.Play.Builder clearSequence()
        int32 sequence = 340450275;
        Returns:
        This builder for chaining.
      • setClockMinutes

        public NhlStatsPlay.Play.Builder setClockMinutes​(int value)
        int32 clock_minutes = 68690194;
        Parameters:
        value - The clockMinutes to set.
        Returns:
        This builder for chaining.
      • clearClockMinutes

        public NhlStatsPlay.Play.Builder clearClockMinutes()
        int32 clock_minutes = 68690194;
        Returns:
        This builder for chaining.
      • setClockSeconds

        public NhlStatsPlay.Play.Builder setClockSeconds​(int value)
        int32 clock_seconds = 437014195;
        Parameters:
        value - The clockSeconds to set.
        Returns:
        This builder for chaining.
      • clearClockSeconds

        public NhlStatsPlay.Play.Builder clearClockSeconds()
        int32 clock_seconds = 437014195;
        Returns:
        This builder for chaining.
      • setAwayTeamScore

        public NhlStatsPlay.Play.Builder setAwayTeamScore​(int value)
        int32 away_team_score = 276747978;
        Parameters:
        value - The awayTeamScore to set.
        Returns:
        This builder for chaining.
      • clearAwayTeamScore

        public NhlStatsPlay.Play.Builder clearAwayTeamScore()
        int32 away_team_score = 276747978;
        Returns:
        This builder for chaining.
      • setHomeTeamScore

        public NhlStatsPlay.Play.Builder setHomeTeamScore​(int value)
        int32 home_team_score = 41786381;
        Parameters:
        value - The homeTeamScore to set.
        Returns:
        This builder for chaining.
      • clearHomeTeamScore

        public NhlStatsPlay.Play.Builder clearHomeTeamScore()
        int32 home_team_score = 41786381;
        Returns:
        This builder for chaining.
      • setTeamId

        public NhlStatsPlay.Play.Builder setTeamId​(int value)
        int32 team_id = 183233451;
        Parameters:
        value - The teamId to set.
        Returns:
        This builder for chaining.
      • clearTeamId

        public NhlStatsPlay.Play.Builder clearTeamId()
        int32 team_id = 183233451;
        Returns:
        This builder for chaining.
      • getTeamBytes

        public com.google.protobuf.ByteString getTeamBytes()
        string team = 2602621;
        Specified by:
        getTeamBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for team.
      • setTeam

        public NhlStatsPlay.Play.Builder setTeam​(java.lang.String value)
        string team = 2602621;
        Parameters:
        value - The team to set.
        Returns:
        This builder for chaining.
      • setTeamBytes

        public NhlStatsPlay.Play.Builder setTeamBytes​(com.google.protobuf.ByteString value)
        string team = 2602621;
        Parameters:
        value - The bytes for team to set.
        Returns:
        This builder for chaining.
      • setOpponentId

        public NhlStatsPlay.Play.Builder setOpponentId​(int value)
        int32 opponent_id = 74048347;
        Parameters:
        value - The opponentId to set.
        Returns:
        This builder for chaining.
      • clearOpponentId

        public NhlStatsPlay.Play.Builder clearOpponentId()
        int32 opponent_id = 74048347;
        Returns:
        This builder for chaining.
      • getOpponentBytes

        public com.google.protobuf.ByteString getOpponentBytes()
        string opponent = 123386499;
        Specified by:
        getOpponentBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for opponent.
      • setOpponent

        public NhlStatsPlay.Play.Builder setOpponent​(java.lang.String value)
        string opponent = 123386499;
        Parameters:
        value - The opponent to set.
        Returns:
        This builder for chaining.
      • clearOpponent

        public NhlStatsPlay.Play.Builder clearOpponent()
        string opponent = 123386499;
        Returns:
        This builder for chaining.
      • setOpponentBytes

        public NhlStatsPlay.Play.Builder setOpponentBytes​(com.google.protobuf.ByteString value)
        string opponent = 123386499;
        Parameters:
        value - The bytes for opponent to set.
        Returns:
        This builder for chaining.
      • getCategoryBytes

        public com.google.protobuf.ByteString getCategoryBytes()
        string category = 115155230;
        Specified by:
        getCategoryBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for category.
      • setCategory

        public NhlStatsPlay.Play.Builder setCategory​(java.lang.String value)
        string category = 115155230;
        Parameters:
        value - The category to set.
        Returns:
        This builder for chaining.
      • clearCategory

        public NhlStatsPlay.Play.Builder clearCategory()
        string category = 115155230;
        Returns:
        This builder for chaining.
      • setCategoryBytes

        public NhlStatsPlay.Play.Builder setCategoryBytes​(com.google.protobuf.ByteString value)
        string category = 115155230;
        Parameters:
        value - The bytes for category to set.
        Returns:
        This builder for chaining.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        string type = 2622298;
        Specified by:
        getTypeBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for type.
      • setType

        public NhlStatsPlay.Play.Builder setType​(java.lang.String value)
        string type = 2622298;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • setTypeBytes

        public NhlStatsPlay.Play.Builder setTypeBytes​(com.google.protobuf.ByteString value)
        string type = 2622298;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
        string description = 56677412;
        Specified by:
        getDescriptionBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public NhlStatsPlay.Play.Builder setDescription​(java.lang.String value)
        string description = 56677412;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public NhlStatsPlay.Play.Builder clearDescription()
        string description = 56677412;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public NhlStatsPlay.Play.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
        string description = 56677412;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • setPlayerId

        public NhlStatsPlay.Play.Builder setPlayerId​(int value)
        int32 player_id = 333304799;
        Parameters:
        value - The playerId to set.
        Returns:
        This builder for chaining.
      • clearPlayerId

        public NhlStatsPlay.Play.Builder clearPlayerId()
        int32 player_id = 333304799;
        Returns:
        This builder for chaining.
      • getUpdatedBytes

        public com.google.protobuf.ByteString getUpdatedBytes()
        string updated = 356481181;
        Specified by:
        getUpdatedBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for updated.
      • setUpdated

        public NhlStatsPlay.Play.Builder setUpdated​(java.lang.String value)
        string updated = 356481181;
        Parameters:
        value - The updated to set.
        Returns:
        This builder for chaining.
      • clearUpdated

        public NhlStatsPlay.Play.Builder clearUpdated()
        string updated = 356481181;
        Returns:
        This builder for chaining.
      • setUpdatedBytes

        public NhlStatsPlay.Play.Builder setUpdatedBytes​(com.google.protobuf.ByteString value)
        string updated = 356481181;
        Parameters:
        value - The bytes for updated to set.
        Returns:
        This builder for chaining.
      • getCreatedBytes

        public com.google.protobuf.ByteString getCreatedBytes()
        string created = 528017722;
        Specified by:
        getCreatedBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for created.
      • setCreated

        public NhlStatsPlay.Play.Builder setCreated​(java.lang.String value)
        string created = 528017722;
        Parameters:
        value - The created to set.
        Returns:
        This builder for chaining.
      • clearCreated

        public NhlStatsPlay.Play.Builder clearCreated()
        string created = 528017722;
        Returns:
        This builder for chaining.
      • setCreatedBytes

        public NhlStatsPlay.Play.Builder setCreatedBytes​(com.google.protobuf.ByteString value)
        string created = 528017722;
        Parameters:
        value - The bytes for created to set.
        Returns:
        This builder for chaining.
      • setFirstAssistedByPlayerId

        public NhlStatsPlay.Play.Builder setFirstAssistedByPlayerId​(int value)
        int32 first_assisted_by_player_id = 438382901;
        Parameters:
        value - The firstAssistedByPlayerId to set.
        Returns:
        This builder for chaining.
      • clearFirstAssistedByPlayerId

        public NhlStatsPlay.Play.Builder clearFirstAssistedByPlayerId()
        int32 first_assisted_by_player_id = 438382901;
        Returns:
        This builder for chaining.
      • setSecondAssistedByPlayerId

        public NhlStatsPlay.Play.Builder setSecondAssistedByPlayerId​(int value)
        int32 second_assisted_by_player_id = 391830577;
        Parameters:
        value - The secondAssistedByPlayerId to set.
        Returns:
        This builder for chaining.
      • clearSecondAssistedByPlayerId

        public NhlStatsPlay.Play.Builder clearSecondAssistedByPlayerId()
        int32 second_assisted_by_player_id = 391830577;
        Returns:
        This builder for chaining.
      • setPowerPlayTeamId

        public NhlStatsPlay.Play.Builder setPowerPlayTeamId​(int value)
        int32 power_play_team_id = 261866321;
        Parameters:
        value - The powerPlayTeamId to set.
        Returns:
        This builder for chaining.
      • clearPowerPlayTeamId

        public NhlStatsPlay.Play.Builder clearPowerPlayTeamId()
        int32 power_play_team_id = 261866321;
        Returns:
        This builder for chaining.
      • getPowerPlayTeamBytes

        public com.google.protobuf.ByteString getPowerPlayTeamBytes()
        string power_play_team = 258945098;
        Specified by:
        getPowerPlayTeamBytes in interface NhlStatsPlay.PlayOrBuilder
        Returns:
        The bytes for powerPlayTeam.
      • setPowerPlayTeam

        public NhlStatsPlay.Play.Builder setPowerPlayTeam​(java.lang.String value)
        string power_play_team = 258945098;
        Parameters:
        value - The powerPlayTeam to set.
        Returns:
        This builder for chaining.
      • clearPowerPlayTeam

        public NhlStatsPlay.Play.Builder clearPowerPlayTeam()
        string power_play_team = 258945098;
        Returns:
        This builder for chaining.
      • setPowerPlayTeamBytes

        public NhlStatsPlay.Play.Builder setPowerPlayTeamBytes​(com.google.protobuf.ByteString value)
        string power_play_team = 258945098;
        Parameters:
        value - The bytes for powerPlayTeam to set.
        Returns:
        This builder for chaining.
      • setOpposingPlayerId

        public NhlStatsPlay.Play.Builder setOpposingPlayerId​(int value)
        int32 opposing_player_id = 513167574;
        Parameters:
        value - The opposingPlayerId to set.
        Returns:
        This builder for chaining.
      • clearOpposingPlayerId

        public NhlStatsPlay.Play.Builder clearOpposingPlayerId()
        int32 opposing_player_id = 513167574;
        Returns:
        This builder for chaining.