Class 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 type streamlayer.sports.baseball.Batting
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Batting.Builder
      Protobuf type streamlayer.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      java.lang.String getAtBat()
      AB - At bat: Plate appearances, not including bases on balls, being hit by pitch, sacrifices, interference, or obstruction.
      com.google.protobuf.ByteString getAtBatBytes()
      AB - At bat: Plate appearances, not including bases on balls, being hit by pitch, sacrifices, interference, or obstruction.
      java.lang.String getBattingAverage()
      Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
      com.google.protobuf.ByteString getBattingAverageBytes()
      Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
      static Batting getDefaultInstance()  
      java.lang.String getHits()
      H – Hits: times reached base because of a batted, fair ball without error by the defense
      com.google.protobuf.ByteString getHitsBytes()
      H – Hits: times reached base because of a batted, fair ball without error by the defense
      java.lang.String getPlayerName()
      string player_name = 1 [json_name = "playerName"];
      com.google.protobuf.ByteString getPlayerNameBytes()
      string player_name = 1 [json_name = "playerName"];
      java.lang.String getRuns()
      R – Runs scored: number of times a player crosses home plate
      com.google.protobuf.ByteString getRunsBytes()
      R – Runs scored: number of times a player crosses home plate
      static Batting.Builder newBuilder()  
      static Batting.Builder newBuilder​(Batting prototype)  
      static Batting parseDelimitedFrom​(java.io.InputStream input)  
      static Batting parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Batting parseFrom​(byte[] data)  
      static Batting parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Batting parseFrom​(com.google.protobuf.ByteString data)  
      static Batting parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Batting parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Batting parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Batting parseFrom​(java.io.InputStream input)  
      static Batting parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Batting parseFrom​(java.nio.ByteBuffer data)  
      static Batting parseFrom​(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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getPlayerName

        public java.lang.String getPlayerName()
        string player_name = 1 [json_name = "playerName"];
        Specified by:
        getPlayerName in interface BattingOrBuilder
        Returns:
        The playerName.
      • getPlayerNameBytes

        public com.google.protobuf.ByteString getPlayerNameBytes()
        string player_name = 1 [json_name = "playerName"];
        Specified by:
        getPlayerNameBytes in interface BattingOrBuilder
        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:
        getAtBat in interface BattingOrBuilder
        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:
        getAtBatBytes in interface BattingOrBuilder
        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:
        getRuns in interface BattingOrBuilder
        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:
        getRunsBytes in interface BattingOrBuilder
        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:
        getHits in interface BattingOrBuilder
        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:
        getHitsBytes in interface BattingOrBuilder
        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:
        getBattingAverage in interface BattingOrBuilder
        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:
        getBattingAverageBytes in interface BattingOrBuilder
        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
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Batting,​Batting.Builder>
      • getDefaultInstance

        public static Batting getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Batting> parser()