Package com.streamlayer.sports.baseball
Interface BattingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Batting,Batting.Builder
public interface BattingOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAtBat()AB - At bat: Plate appearances, not including bases on balls, being hit by pitch, sacrifices, interference, or obstruction.com.google.protobuf.ByteStringgetAtBatBytes()AB - At bat: Plate appearances, not including bases on balls, being hit by pitch, sacrifices, interference, or obstruction.java.lang.StringgetBattingAverage()Batting average (also abbreviated AVG): hits divided by at bats (H/AB)com.google.protobuf.ByteStringgetBattingAverageBytes()Batting average (also abbreviated AVG): hits divided by at bats (H/AB)java.lang.StringgetHits()H – Hits: times reached base because of a batted, fair ball without error by the defensecom.google.protobuf.ByteStringgetHitsBytes()H – Hits: times reached base because of a batted, fair ball without error by the defensejava.lang.StringgetPlayerName()string player_name = 1 [json_name = "playerName"];com.google.protobuf.ByteStringgetPlayerNameBytes()string player_name = 1 [json_name = "playerName"];java.lang.StringgetRuns()R – Runs scored: number of times a player crosses home platecom.google.protobuf.ByteStringgetRunsBytes()R – Runs scored: number of times a player crosses home plate
-
-
-
Method Detail
-
getPlayerName
java.lang.String getPlayerName()
string player_name = 1 [json_name = "playerName"];- Returns:
- The playerName.
-
getPlayerNameBytes
com.google.protobuf.ByteString getPlayerNameBytes()
string player_name = 1 [json_name = "playerName"];- Returns:
- The bytes for playerName.
-
getAtBat
java.lang.String getAtBat()
AB - At bat: Plate appearances, not including bases on balls, being hit by pitch, sacrifices, interference, or obstruction.
string at_bat = 2 [json_name = "atBat"];- Returns:
- The atBat.
-
getAtBatBytes
com.google.protobuf.ByteString getAtBatBytes()
AB - At bat: Plate appearances, not including bases on balls, being hit by pitch, sacrifices, interference, or obstruction.
string at_bat = 2 [json_name = "atBat"];- Returns:
- The bytes for atBat.
-
getRuns
java.lang.String getRuns()
R – Runs scored: number of times a player crosses home plate
string runs = 3 [json_name = "runs"];- Returns:
- The runs.
-
getRunsBytes
com.google.protobuf.ByteString getRunsBytes()
R – Runs scored: number of times a player crosses home plate
string runs = 3 [json_name = "runs"];- Returns:
- The bytes for runs.
-
getHits
java.lang.String getHits()
H – Hits: times reached base because of a batted, fair ball without error by the defense
string hits = 4 [json_name = "hits"];- Returns:
- The hits.
-
getHitsBytes
com.google.protobuf.ByteString getHitsBytes()
H – Hits: times reached base because of a batted, fair ball without error by the defense
string hits = 4 [json_name = "hits"];- Returns:
- The bytes for hits.
-
getBattingAverage
java.lang.String getBattingAverage()
Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
string batting_average = 5 [json_name = "battingAverage"];- Returns:
- The battingAverage.
-
getBattingAverageBytes
com.google.protobuf.ByteString getBattingAverageBytes()
Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
string batting_average = 5 [json_name = "battingAverage"];- Returns:
- The bytes for battingAverage.
-
-