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

      Nested Classes 
      Modifier and Type Class Description
      static class  Hitting.Builder
      Protobuf type streamlayer.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
      • 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 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 Hitting getDefaultInstance()  
      java.lang.String getHitsPerBat()
      H-AB is hits per at bat (First number is hits and second is at bats.).
      com.google.protobuf.ByteString getHitsPerBatBytes()
      H-AB is hits per at bat (First number is hits and second is at bats.).
      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 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.
      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.
      java.lang.String getRuns()
      R is runs scored by that player.
      com.google.protobuf.ByteString getRunsBytes()
      R is runs scored by that player.
      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.
      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.
      static Hitting.Builder newBuilder()  
      static Hitting.Builder newBuilder​(Hitting prototype)  
      static Hitting parseDelimitedFrom​(java.io.InputStream input)  
      static Hitting parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Hitting parseFrom​(byte[] data)  
      static Hitting parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Hitting parseFrom​(com.google.protobuf.ByteString data)  
      static Hitting parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Hitting parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Hitting parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Hitting parseFrom​(java.io.InputStream input)  
      static Hitting parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Hitting parseFrom​(java.nio.ByteBuffer data)  
      static Hitting parseFrom​(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
      • 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 HittingOrBuilder
        Returns:
        The playerName.
      • getPlayerNameBytes

        public com.google.protobuf.ByteString getPlayerNameBytes()
        string player_name = 1 [json_name = "playerName"];
        Specified by:
        getPlayerNameBytes in interface HittingOrBuilder
        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:
        getHitsPerBat in interface HittingOrBuilder
        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:
        getHitsPerBatBytes in interface HittingOrBuilder
        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:
        getRuns in interface HittingOrBuilder
        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:
        getRunsBytes in interface HittingOrBuilder
        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:
        getRunBattedIn in interface HittingOrBuilder
        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:
        getRunBattedInBytes in interface HittingOrBuilder
        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:
        getWalks in interface HittingOrBuilder
        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:
        getWalksBytes in interface HittingOrBuilder
        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:
        getBattingAverage in interface HittingOrBuilder
        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:
        getBattingAverageBytes in interface HittingOrBuilder
        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
      • 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<Hitting,​Hitting.Builder>
      • getDefaultInstance

        public static Hitting getDefaultInstance()
      • parser

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