Package com.streamlayer.sports.baseball
Class PitcherSummary
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<PitcherSummary,PitcherSummary.Builder>
-
- com.streamlayer.sports.baseball.PitcherSummary
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,PitcherSummaryOrBuilder
public final class PitcherSummary extends com.google.protobuf.GeneratedMessageLite<PitcherSummary,PitcherSummary.Builder> implements PitcherSummaryOrBuilder
Protobuf typestreamlayer.sports.baseball.PitcherSummary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPitcherSummary.BuilderProtobuf typestreamlayer.sports.baseball.PitcherSummary-
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 intLOSS_RATE_FIELD_NUMBERstatic intSTATISTICS_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intWIN_RATE_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)static PitcherSummarygetDefaultInstance()intgetLossRate()int32 loss_rate = 4 [json_name = "lossRate"];PitchinggetStatistics().streamlayer.sports.baseball.Pitching statistics = 1 [json_name = "statistics"];PitcherStatusgetStatus().streamlayer.sports.baseball.PitcherStatus status = 2 [json_name = "status"];intgetStatusValue().streamlayer.sports.baseball.PitcherStatus status = 2 [json_name = "status"];intgetWinRate()int32 win_rate = 3 [json_name = "winRate"];booleanhasStatistics().streamlayer.sports.baseball.Pitching statistics = 1 [json_name = "statistics"];static PitcherSummary.BuildernewBuilder()static PitcherSummary.BuildernewBuilder(PitcherSummary prototype)static PitcherSummaryparseDelimitedFrom(java.io.InputStream input)static PitcherSummaryparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PitcherSummaryparseFrom(byte[] data)static PitcherSummaryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PitcherSummaryparseFrom(com.google.protobuf.ByteString data)static PitcherSummaryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PitcherSummaryparseFrom(com.google.protobuf.CodedInputStream input)static PitcherSummaryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PitcherSummaryparseFrom(java.io.InputStream input)static PitcherSummaryparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PitcherSummaryparseFrom(java.nio.ByteBuffer data)static PitcherSummaryparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PitcherSummary>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
-
STATISTICS_FIELD_NUMBER
public static final int STATISTICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WIN_RATE_FIELD_NUMBER
public static final int WIN_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOSS_RATE_FIELD_NUMBER
public static final int LOSS_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasStatistics
public boolean hasStatistics()
.streamlayer.sports.baseball.Pitching statistics = 1 [json_name = "statistics"];- Specified by:
hasStatisticsin interfacePitcherSummaryOrBuilder- Returns:
- Whether the statistics field is set.
-
getStatistics
public Pitching getStatistics()
.streamlayer.sports.baseball.Pitching statistics = 1 [json_name = "statistics"];- Specified by:
getStatisticsin interfacePitcherSummaryOrBuilder- Returns:
- The statistics.
-
getStatusValue
public int getStatusValue()
.streamlayer.sports.baseball.PitcherStatus status = 2 [json_name = "status"];- Specified by:
getStatusValuein interfacePitcherSummaryOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public PitcherStatus getStatus()
.streamlayer.sports.baseball.PitcherStatus status = 2 [json_name = "status"];- Specified by:
getStatusin interfacePitcherSummaryOrBuilder- Returns:
- The status.
-
getWinRate
public int getWinRate()
int32 win_rate = 3 [json_name = "winRate"];- Specified by:
getWinRatein interfacePitcherSummaryOrBuilder- Returns:
- The winRate.
-
getLossRate
public int getLossRate()
int32 loss_rate = 4 [json_name = "lossRate"];- Specified by:
getLossRatein interfacePitcherSummaryOrBuilder- Returns:
- The lossRate.
-
parseFrom
public static PitcherSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PitcherSummary parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PitcherSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PitcherSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PitcherSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PitcherSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PitcherSummary parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PitcherSummary parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PitcherSummary parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PitcherSummary parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PitcherSummary parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PitcherSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static PitcherSummary.Builder newBuilder()
-
newBuilder
public static PitcherSummary.Builder newBuilder(PitcherSummary 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<PitcherSummary,PitcherSummary.Builder>
-
getDefaultInstance
public static PitcherSummary getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PitcherSummary> parser()
-
-