Class Pitching.Builder

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

    public static final class Pitching.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<Pitching,​Pitching.Builder>
    implements PitchingOrBuilder
    Protobuf type streamlayer.sports.baseball.Pitching
    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Pitching.Builder clearEarnedRuns()
      ER is earned runs pitcher allowed.
      Pitching.Builder clearHitsByPitch()
      H is how many hits the pitcher gave up.
      Pitching.Builder clearInningsPitched()
      IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
      Pitching.Builder clearPlayerName()
      string player_name = 1 [json_name = "playerName"];
      Pitching.Builder clearStrikeouts()
      SO – Strikeout: number of batters who received strike three.
      Pitching.Builder clearWalks()
      MISMATCHED!!!!!! BB is how many walks pitcher allowed.
      java.lang.String getEarnedRuns()
      ER is earned runs pitcher allowed.
      com.google.protobuf.ByteString getEarnedRunsBytes()
      ER is earned runs pitcher allowed.
      java.lang.String getHitsByPitch()
      H is how many hits the pitcher gave up.
      com.google.protobuf.ByteString getHitsByPitchBytes()
      H is how many hits the pitcher gave up.
      java.lang.String getInningsPitched()
      IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
      com.google.protobuf.ByteString getInningsPitchedBytes()
      IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
      java.lang.String getPlayerName()
      string player_name = 1 [json_name = "playerName"];
      com.google.protobuf.ByteString getPlayerNameBytes()
      string player_name = 1 [json_name = "playerName"];
      java.lang.String getStrikeouts()
      SO – Strikeout: number of batters who received strike three.
      com.google.protobuf.ByteString getStrikeoutsBytes()
      SO – Strikeout: number of batters who received strike three.
      java.lang.String getWalks()
      MISMATCHED!!!!!! BB is how many walks pitcher allowed.
      com.google.protobuf.ByteString getWalksBytes()
      MISMATCHED!!!!!! BB is how many walks pitcher allowed.
      Pitching.Builder setEarnedRuns​(java.lang.String value)
      ER is earned runs pitcher allowed.
      Pitching.Builder setEarnedRunsBytes​(com.google.protobuf.ByteString value)
      ER is earned runs pitcher allowed.
      Pitching.Builder setHitsByPitch​(java.lang.String value)
      H is how many hits the pitcher gave up.
      Pitching.Builder setHitsByPitchBytes​(com.google.protobuf.ByteString value)
      H is how many hits the pitcher gave up.
      Pitching.Builder setInningsPitched​(java.lang.String value)
      IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
      Pitching.Builder setInningsPitchedBytes​(com.google.protobuf.ByteString value)
      IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
      Pitching.Builder setPlayerName​(java.lang.String value)
      string player_name = 1 [json_name = "playerName"];
      Pitching.Builder setPlayerNameBytes​(com.google.protobuf.ByteString value)
      string player_name = 1 [json_name = "playerName"];
      Pitching.Builder setStrikeouts​(java.lang.String value)
      SO – Strikeout: number of batters who received strike three.
      Pitching.Builder setStrikeoutsBytes​(com.google.protobuf.ByteString value)
      SO – Strikeout: number of batters who received strike three.
      Pitching.Builder setWalks​(java.lang.String value)
      MISMATCHED!!!!!! BB is how many walks pitcher allowed.
      Pitching.Builder setWalksBytes​(com.google.protobuf.ByteString value)
      MISMATCHED!!!!!! BB is how many walks pitcher allowed.
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getPlayerName

        public java.lang.String getPlayerName()
        string player_name = 1 [json_name = "playerName"];
        Specified by:
        getPlayerName in interface PitchingOrBuilder
        Returns:
        The playerName.
      • getPlayerNameBytes

        public com.google.protobuf.ByteString getPlayerNameBytes()
        string player_name = 1 [json_name = "playerName"];
        Specified by:
        getPlayerNameBytes in interface PitchingOrBuilder
        Returns:
        The bytes for playerName.
      • setPlayerName

        public Pitching.Builder setPlayerName​(java.lang.String value)
        string player_name = 1 [json_name = "playerName"];
        Parameters:
        value - The playerName to set.
        Returns:
        This builder for chaining.
      • clearPlayerName

        public Pitching.Builder clearPlayerName()
        string player_name = 1 [json_name = "playerName"];
        Returns:
        This builder for chaining.
      • setPlayerNameBytes

        public Pitching.Builder setPlayerNameBytes​(com.google.protobuf.ByteString value)
        string player_name = 1 [json_name = "playerName"];
        Parameters:
        value - The bytes for playerName to set.
        Returns:
        This builder for chaining.
      • getInningsPitched

        public java.lang.String getInningsPitched()
         IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
         
        string innings_pitched = 2 [json_name = "inningsPitched"];
        Specified by:
        getInningsPitched in interface PitchingOrBuilder
        Returns:
        The inningsPitched.
      • getInningsPitchedBytes

        public com.google.protobuf.ByteString getInningsPitchedBytes()
         IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
         
        string innings_pitched = 2 [json_name = "inningsPitched"];
        Specified by:
        getInningsPitchedBytes in interface PitchingOrBuilder
        Returns:
        The bytes for inningsPitched.
      • setInningsPitched

        public Pitching.Builder setInningsPitched​(java.lang.String value)
         IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
         
        string innings_pitched = 2 [json_name = "inningsPitched"];
        Parameters:
        value - The inningsPitched to set.
        Returns:
        This builder for chaining.
      • clearInningsPitched

        public Pitching.Builder clearInningsPitched()
         IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
         
        string innings_pitched = 2 [json_name = "inningsPitched"];
        Returns:
        This builder for chaining.
      • setInningsPitchedBytes

        public Pitching.Builder setInningsPitchedBytes​(com.google.protobuf.ByteString value)
         IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.
         
        string innings_pitched = 2 [json_name = "inningsPitched"];
        Parameters:
        value - The bytes for inningsPitched to set.
        Returns:
        This builder for chaining.
      • getHitsByPitch

        public java.lang.String getHitsByPitch()
         H is how many hits the pitcher gave up.
         
        string hits_by_pitch = 3 [json_name = "hitsByPitch"];
        Specified by:
        getHitsByPitch in interface PitchingOrBuilder
        Returns:
        The hitsByPitch.
      • getHitsByPitchBytes

        public com.google.protobuf.ByteString getHitsByPitchBytes()
         H is how many hits the pitcher gave up.
         
        string hits_by_pitch = 3 [json_name = "hitsByPitch"];
        Specified by:
        getHitsByPitchBytes in interface PitchingOrBuilder
        Returns:
        The bytes for hitsByPitch.
      • setHitsByPitch

        public Pitching.Builder setHitsByPitch​(java.lang.String value)
         H is how many hits the pitcher gave up.
         
        string hits_by_pitch = 3 [json_name = "hitsByPitch"];
        Parameters:
        value - The hitsByPitch to set.
        Returns:
        This builder for chaining.
      • clearHitsByPitch

        public Pitching.Builder clearHitsByPitch()
         H is how many hits the pitcher gave up.
         
        string hits_by_pitch = 3 [json_name = "hitsByPitch"];
        Returns:
        This builder for chaining.
      • setHitsByPitchBytes

        public Pitching.Builder setHitsByPitchBytes​(com.google.protobuf.ByteString value)
         H is how many hits the pitcher gave up.
         
        string hits_by_pitch = 3 [json_name = "hitsByPitch"];
        Parameters:
        value - The bytes for hitsByPitch to set.
        Returns:
        This builder for chaining.
      • getEarnedRuns

        public java.lang.String getEarnedRuns()
         ER is earned runs pitcher allowed.
         
        string earned_runs = 4 [json_name = "earnedRuns"];
        Specified by:
        getEarnedRuns in interface PitchingOrBuilder
        Returns:
        The earnedRuns.
      • getEarnedRunsBytes

        public com.google.protobuf.ByteString getEarnedRunsBytes()
         ER is earned runs pitcher allowed.
         
        string earned_runs = 4 [json_name = "earnedRuns"];
        Specified by:
        getEarnedRunsBytes in interface PitchingOrBuilder
        Returns:
        The bytes for earnedRuns.
      • setEarnedRuns

        public Pitching.Builder setEarnedRuns​(java.lang.String value)
         ER is earned runs pitcher allowed.
         
        string earned_runs = 4 [json_name = "earnedRuns"];
        Parameters:
        value - The earnedRuns to set.
        Returns:
        This builder for chaining.
      • clearEarnedRuns

        public Pitching.Builder clearEarnedRuns()
         ER is earned runs pitcher allowed.
         
        string earned_runs = 4 [json_name = "earnedRuns"];
        Returns:
        This builder for chaining.
      • setEarnedRunsBytes

        public Pitching.Builder setEarnedRunsBytes​(com.google.protobuf.ByteString value)
         ER is earned runs pitcher allowed.
         
        string earned_runs = 4 [json_name = "earnedRuns"];
        Parameters:
        value - The bytes for earnedRuns to set.
        Returns:
        This builder for chaining.
      • getWalks

        public java.lang.String getWalks()
         MISMATCHED!!!!!! BB is how many walks pitcher allowed.
         
        string walks = 5 [json_name = "walks"];
        Specified by:
        getWalks in interface PitchingOrBuilder
        Returns:
        The walks.
      • getWalksBytes

        public com.google.protobuf.ByteString getWalksBytes()
         MISMATCHED!!!!!! BB is how many walks pitcher allowed.
         
        string walks = 5 [json_name = "walks"];
        Specified by:
        getWalksBytes in interface PitchingOrBuilder
        Returns:
        The bytes for walks.
      • setWalks

        public Pitching.Builder setWalks​(java.lang.String value)
         MISMATCHED!!!!!! BB is how many walks pitcher allowed.
         
        string walks = 5 [json_name = "walks"];
        Parameters:
        value - The walks to set.
        Returns:
        This builder for chaining.
      • clearWalks

        public Pitching.Builder clearWalks()
         MISMATCHED!!!!!! BB is how many walks pitcher allowed.
         
        string walks = 5 [json_name = "walks"];
        Returns:
        This builder for chaining.
      • setWalksBytes

        public Pitching.Builder setWalksBytes​(com.google.protobuf.ByteString value)
         MISMATCHED!!!!!! BB is how many walks pitcher allowed.
         
        string walks = 5 [json_name = "walks"];
        Parameters:
        value - The bytes for walks to set.
        Returns:
        This builder for chaining.
      • getStrikeouts

        public java.lang.String getStrikeouts()
         SO – Strikeout: number of batters who received strike three.
         
        string strikeouts = 6 [json_name = "strikeouts"];
        Specified by:
        getStrikeouts in interface PitchingOrBuilder
        Returns:
        The strikeouts.
      • getStrikeoutsBytes

        public com.google.protobuf.ByteString getStrikeoutsBytes()
         SO – Strikeout: number of batters who received strike three.
         
        string strikeouts = 6 [json_name = "strikeouts"];
        Specified by:
        getStrikeoutsBytes in interface PitchingOrBuilder
        Returns:
        The bytes for strikeouts.
      • setStrikeouts

        public Pitching.Builder setStrikeouts​(java.lang.String value)
         SO – Strikeout: number of batters who received strike three.
         
        string strikeouts = 6 [json_name = "strikeouts"];
        Parameters:
        value - The strikeouts to set.
        Returns:
        This builder for chaining.
      • clearStrikeouts

        public Pitching.Builder clearStrikeouts()
         SO – Strikeout: number of batters who received strike three.
         
        string strikeouts = 6 [json_name = "strikeouts"];
        Returns:
        This builder for chaining.
      • setStrikeoutsBytes

        public Pitching.Builder setStrikeoutsBytes​(com.google.protobuf.ByteString value)
         SO – Strikeout: number of batters who received strike three.
         
        string strikeouts = 6 [json_name = "strikeouts"];
        Parameters:
        value - The bytes for strikeouts to set.
        Returns:
        This builder for chaining.