Package com.streamlayer.sports.baseball
Class Hitting
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Hitting,Hitting.Builder>
-
- com.streamlayer.sports.baseball.Hitting
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,HittingOrBuilder
public final class Hitting extends com.google.protobuf.GeneratedMessageLite<Hitting,Hitting.Builder> implements HittingOrBuilder
Protobuf typestreamlayer.sports.baseball.Hitting
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHitting.BuilderProtobuf typestreamlayer.sports.baseball.Hitting-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intBATTING_AVERAGE_FIELD_NUMBERstatic intHITS_PER_BAT_FIELD_NUMBERstatic intPLAYER_NAME_FIELD_NUMBERstatic intRUN_BATTED_IN_FIELD_NUMBERstatic intRUNS_FIELD_NUMBERstatic intWALKS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)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)static HittinggetDefaultInstance()java.lang.StringgetHitsPerBat()H-AB is hits per at bat (First number is hits and second is at bats.).com.google.protobuf.ByteStringgetHitsPerBatBytes()H-AB is hits per at bat (First number is hits and second is at bats.).java.lang.StringgetPlayerName()string player_name = 1 [json_name = "playerName"];com.google.protobuf.ByteStringgetPlayerNameBytes()string player_name = 1 [json_name = "playerName"];java.lang.StringgetRunBattedIn()RBI – Run batted in: number of runners who score due to a batters' action, except when batter grounded into double play or reached on an error.com.google.protobuf.ByteStringgetRunBattedInBytes()RBI – Run batted in: number of runners who score due to a batters' action, except when batter grounded into double play or reached on an error.java.lang.StringgetRuns()R is runs scored by that player.com.google.protobuf.ByteStringgetRunsBytes()R is runs scored by that player.java.lang.StringgetWalks()Base on balls (also called a "walk"): hitter not swinging at four pitches called out of the strike zone and awarded first base.com.google.protobuf.ByteStringgetWalksBytes()Base on balls (also called a "walk"): hitter not swinging at four pitches called out of the strike zone and awarded first base.static Hitting.BuildernewBuilder()static Hitting.BuildernewBuilder(Hitting prototype)static HittingparseDelimitedFrom(java.io.InputStream input)static HittingparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HittingparseFrom(byte[] data)static HittingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HittingparseFrom(com.google.protobuf.ByteString data)static HittingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HittingparseFrom(com.google.protobuf.CodedInputStream input)static HittingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HittingparseFrom(java.io.InputStream input)static HittingparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HittingparseFrom(java.nio.ByteBuffer data)static HittingparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Hitting>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
PLAYER_NAME_FIELD_NUMBER
public static final int PLAYER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HITS_PER_BAT_FIELD_NUMBER
public static final int HITS_PER_BAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNS_FIELD_NUMBER
public static final int RUNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_BATTED_IN_FIELD_NUMBER
public static final int RUN_BATTED_IN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WALKS_FIELD_NUMBER
public static final int WALKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATTING_AVERAGE_FIELD_NUMBER
public static final int BATTING_AVERAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPlayerName
public java.lang.String getPlayerName()
string player_name = 1 [json_name = "playerName"];- Specified by:
getPlayerNamein interfaceHittingOrBuilder- Returns:
- The playerName.
-
getPlayerNameBytes
public com.google.protobuf.ByteString getPlayerNameBytes()
string player_name = 1 [json_name = "playerName"];- Specified by:
getPlayerNameBytesin interfaceHittingOrBuilder- Returns:
- The bytes for playerName.
-
getHitsPerBat
public java.lang.String getHitsPerBat()
H-AB is hits per at bat (First number is hits and second is at bats.).
string hits_per_bat = 2 [json_name = "hitsPerBat"];- Specified by:
getHitsPerBatin interfaceHittingOrBuilder- Returns:
- The hitsPerBat.
-
getHitsPerBatBytes
public com.google.protobuf.ByteString getHitsPerBatBytes()
H-AB is hits per at bat (First number is hits and second is at bats.).
string hits_per_bat = 2 [json_name = "hitsPerBat"];- Specified by:
getHitsPerBatBytesin interfaceHittingOrBuilder- Returns:
- The bytes for hitsPerBat.
-
getRuns
public java.lang.String getRuns()
R is runs scored by that player.
string runs = 3 [json_name = "runs"];- Specified by:
getRunsin interfaceHittingOrBuilder- Returns:
- The runs.
-
getRunsBytes
public com.google.protobuf.ByteString getRunsBytes()
R is runs scored by that player.
string runs = 3 [json_name = "runs"];- Specified by:
getRunsBytesin interfaceHittingOrBuilder- Returns:
- The bytes for runs.
-
getRunBattedIn
public java.lang.String getRunBattedIn()
RBI – Run batted in: number of runners who score due to a batters' action, except when batter grounded into double play or reached on an error.
string run_batted_in = 4 [json_name = "runBattedIn"];- Specified by:
getRunBattedInin interfaceHittingOrBuilder- Returns:
- The runBattedIn.
-
getRunBattedInBytes
public com.google.protobuf.ByteString getRunBattedInBytes()
RBI – Run batted in: number of runners who score due to a batters' action, except when batter grounded into double play or reached on an error.
string run_batted_in = 4 [json_name = "runBattedIn"];- Specified by:
getRunBattedInBytesin interfaceHittingOrBuilder- Returns:
- The bytes for runBattedIn.
-
getWalks
public java.lang.String getWalks()
Base on balls (also called a "walk"): hitter not swinging at four pitches called out of the strike zone and awarded first base.
string walks = 5 [json_name = "walks"];- Specified by:
getWalksin interfaceHittingOrBuilder- Returns:
- The walks.
-
getWalksBytes
public com.google.protobuf.ByteString getWalksBytes()
Base on balls (also called a "walk"): hitter not swinging at four pitches called out of the strike zone and awarded first base.
string walks = 5 [json_name = "walks"];- Specified by:
getWalksBytesin interfaceHittingOrBuilder- Returns:
- The bytes for walks.
-
getBattingAverage
public java.lang.String getBattingAverage()
Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
string batting_average = 6 [json_name = "battingAverage"];- Specified by:
getBattingAveragein interfaceHittingOrBuilder- Returns:
- The battingAverage.
-
getBattingAverageBytes
public com.google.protobuf.ByteString getBattingAverageBytes()
Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
string batting_average = 6 [json_name = "battingAverage"];- Specified by:
getBattingAverageBytesin interfaceHittingOrBuilder- Returns:
- The bytes for battingAverage.
-
parseFrom
public static Hitting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Hitting parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Hitting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Hitting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Hitting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Hitting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Hitting parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Hitting parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Hitting parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Hitting parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Hitting parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Hitting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Hitting.Builder newBuilder()
-
newBuilder
public static Hitting.Builder newBuilder(Hitting prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Hitting,Hitting.Builder>
-
getDefaultInstance
public static Hitting getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Hitting> parser()
-
-