Package com.streamlayer.sports.baseball
Class Pitching.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Pitching,Pitching.Builder>
-
- com.streamlayer.sports.baseball.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 typestreamlayer.sports.baseball.Pitching
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pitching.BuilderclearEarnedRuns()ER is earned runs pitcher allowed.Pitching.BuilderclearHitsByPitch()H is how many hits the pitcher gave up.Pitching.BuilderclearInningsPitched()IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.Pitching.BuilderclearPlayerName()string player_name = 1 [json_name = "playerName"];Pitching.BuilderclearStrikeouts()SO – Strikeout: number of batters who received strike three.Pitching.BuilderclearWalks()MISMATCHED!!!!!! BB is how many walks pitcher allowed.java.lang.StringgetEarnedRuns()ER is earned runs pitcher allowed.com.google.protobuf.ByteStringgetEarnedRunsBytes()ER is earned runs pitcher allowed.java.lang.StringgetHitsByPitch()H is how many hits the pitcher gave up.com.google.protobuf.ByteStringgetHitsByPitchBytes()H is how many hits the pitcher gave up.java.lang.StringgetInningsPitched()IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.com.google.protobuf.ByteStringgetInningsPitchedBytes()IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.java.lang.StringgetPlayerName()string player_name = 1 [json_name = "playerName"];com.google.protobuf.ByteStringgetPlayerNameBytes()string player_name = 1 [json_name = "playerName"];java.lang.StringgetStrikeouts()SO – Strikeout: number of batters who received strike three.com.google.protobuf.ByteStringgetStrikeoutsBytes()SO – Strikeout: number of batters who received strike three.java.lang.StringgetWalks()MISMATCHED!!!!!! BB is how many walks pitcher allowed.com.google.protobuf.ByteStringgetWalksBytes()MISMATCHED!!!!!! BB is how many walks pitcher allowed.Pitching.BuildersetEarnedRuns(java.lang.String value)ER is earned runs pitcher allowed.Pitching.BuildersetEarnedRunsBytes(com.google.protobuf.ByteString value)ER is earned runs pitcher allowed.Pitching.BuildersetHitsByPitch(java.lang.String value)H is how many hits the pitcher gave up.Pitching.BuildersetHitsByPitchBytes(com.google.protobuf.ByteString value)H is how many hits the pitcher gave up.Pitching.BuildersetInningsPitched(java.lang.String value)IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.Pitching.BuildersetInningsPitchedBytes(com.google.protobuf.ByteString value)IP – Innings pitched: the number of outs a team gets while a pitcher is pitching divided by 3.Pitching.BuildersetPlayerName(java.lang.String value)string player_name = 1 [json_name = "playerName"];Pitching.BuildersetPlayerNameBytes(com.google.protobuf.ByteString value)string player_name = 1 [json_name = "playerName"];Pitching.BuildersetStrikeouts(java.lang.String value)SO – Strikeout: number of batters who received strike three.Pitching.BuildersetStrikeoutsBytes(com.google.protobuf.ByteString value)SO – Strikeout: number of batters who received strike three.Pitching.BuildersetWalks(java.lang.String value)MISMATCHED!!!!!! BB is how many walks pitcher allowed.Pitching.BuildersetWalksBytes(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
-
-
-
-
Method Detail
-
getPlayerName
public java.lang.String getPlayerName()
string player_name = 1 [json_name = "playerName"];- Specified by:
getPlayerNamein interfacePitchingOrBuilder- Returns:
- The playerName.
-
getPlayerNameBytes
public com.google.protobuf.ByteString getPlayerNameBytes()
string player_name = 1 [json_name = "playerName"];- Specified by:
getPlayerNameBytesin interfacePitchingOrBuilder- 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:
getInningsPitchedin interfacePitchingOrBuilder- 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:
getInningsPitchedBytesin interfacePitchingOrBuilder- 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:
getHitsByPitchin interfacePitchingOrBuilder- 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:
getHitsByPitchBytesin interfacePitchingOrBuilder- 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:
getEarnedRunsin interfacePitchingOrBuilder- 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:
getEarnedRunsBytesin interfacePitchingOrBuilder- 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:
getWalksin interfacePitchingOrBuilder- 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:
getWalksBytesin interfacePitchingOrBuilder- 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:
getStrikeoutsin interfacePitchingOrBuilder- 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:
getStrikeoutsBytesin interfacePitchingOrBuilder- 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.
-
-