Package com.streamlayer.sports.baseball
Class Batting
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Batting,Batting.Builder>
-
- com.streamlayer.sports.baseball.Batting
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,BattingOrBuilder
public final class Batting extends com.google.protobuf.GeneratedMessageLite<Batting,Batting.Builder> implements BattingOrBuilder
Protobuf typestreamlayer.sports.baseball.Batting
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatting.BuilderProtobuf typestreamlayer.sports.baseball.Batting-
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 intAT_BAT_FIELD_NUMBERstatic intBATTING_AVERAGE_FIELD_NUMBERstatic intHITS_FIELD_NUMBERstatic intPLAYER_NAME_FIELD_NUMBERstatic intRUNS_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.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)static BattinggetDefaultInstance()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 platestatic Batting.BuildernewBuilder()static Batting.BuildernewBuilder(Batting prototype)static BattingparseDelimitedFrom(java.io.InputStream input)static BattingparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BattingparseFrom(byte[] data)static BattingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BattingparseFrom(com.google.protobuf.ByteString data)static BattingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BattingparseFrom(com.google.protobuf.CodedInputStream input)static BattingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BattingparseFrom(java.io.InputStream input)static BattingparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BattingparseFrom(java.nio.ByteBuffer data)static BattingparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Batting>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
-
AT_BAT_FIELD_NUMBER
public static final int AT_BAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNS_FIELD_NUMBER
public static final int RUNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HITS_FIELD_NUMBER
public static final int HITS_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 interfaceBattingOrBuilder- Returns:
- The playerName.
-
getPlayerNameBytes
public com.google.protobuf.ByteString getPlayerNameBytes()
string player_name = 1 [json_name = "playerName"];- Specified by:
getPlayerNameBytesin interfaceBattingOrBuilder- Returns:
- The bytes for playerName.
-
getAtBat
public 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"];- Specified by:
getAtBatin interfaceBattingOrBuilder- Returns:
- The atBat.
-
getAtBatBytes
public 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"];- Specified by:
getAtBatBytesin interfaceBattingOrBuilder- Returns:
- The bytes for atBat.
-
getRuns
public java.lang.String getRuns()
R – Runs scored: number of times a player crosses home plate
string runs = 3 [json_name = "runs"];- Specified by:
getRunsin interfaceBattingOrBuilder- Returns:
- The runs.
-
getRunsBytes
public com.google.protobuf.ByteString getRunsBytes()
R – Runs scored: number of times a player crosses home plate
string runs = 3 [json_name = "runs"];- Specified by:
getRunsBytesin interfaceBattingOrBuilder- Returns:
- The bytes for runs.
-
getHits
public 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"];- Specified by:
getHitsin interfaceBattingOrBuilder- Returns:
- The hits.
-
getHitsBytes
public 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"];- Specified by:
getHitsBytesin interfaceBattingOrBuilder- Returns:
- The bytes for hits.
-
getBattingAverage
public java.lang.String getBattingAverage()
Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
string batting_average = 5 [json_name = "battingAverage"];- Specified by:
getBattingAveragein interfaceBattingOrBuilder- 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 = 5 [json_name = "battingAverage"];- Specified by:
getBattingAverageBytesin interfaceBattingOrBuilder- Returns:
- The bytes for battingAverage.
-
parseFrom
public static Batting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batting parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Batting parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Batting parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Batting parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Batting parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Batting parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Batting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Batting.Builder newBuilder()
-
newBuilder
public static Batting.Builder newBuilder(Batting 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<Batting,Batting.Builder>
-
getDefaultInstance
public static Batting getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Batting> parser()
-
-