main.java.com.streamlayer.sports.baseball.Hitting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sports/baseball/baseball.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.baseball;
/**
* Protobuf type {@code streamlayer.sports.baseball.Hitting}
*/
public final class Hitting extends
com.google.protobuf.GeneratedMessageLite<
Hitting, Hitting.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.baseball.Hitting)
HittingOrBuilder {
private Hitting() {
playerName_ = "";
hitsPerBat_ = "";
runs_ = "";
runBattedIn_ = "";
walks_ = "";
battingAverage_ = "";
}
public static final int PLAYER_NAME_FIELD_NUMBER = 1;
private java.lang.String playerName_;
/**
* string player_name = 1 [json_name = "playerName"];
* @return The playerName.
*/
@java.lang.Override
public java.lang.String getPlayerName() {
return playerName_;
}
/**
* string player_name = 1 [json_name = "playerName"];
* @return The bytes for playerName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlayerNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(playerName_);
}
/**
* string player_name = 1 [json_name = "playerName"];
* @param value The playerName to set.
*/
private void setPlayerName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
playerName_ = value;
}
/**
* string player_name = 1 [json_name = "playerName"];
*/
private void clearPlayerName() {
playerName_ = getDefaultInstance().getPlayerName();
}
/**
* string player_name = 1 [json_name = "playerName"];
* @param value The bytes for playerName to set.
*/
private void setPlayerNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
playerName_ = value.toStringUtf8();
}
public static final int HITS_PER_BAT_FIELD_NUMBER = 2;
private java.lang.String hitsPerBat_;
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
* @return The hitsPerBat.
*/
@java.lang.Override
public java.lang.String getHitsPerBat() {
return hitsPerBat_;
}
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
* @return The bytes for hitsPerBat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHitsPerBatBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(hitsPerBat_);
}
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
* @param value The hitsPerBat to set.
*/
private void setHitsPerBat(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
hitsPerBat_ = value;
}
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
*/
private void clearHitsPerBat() {
hitsPerBat_ = getDefaultInstance().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"];
* @param value The bytes for hitsPerBat to set.
*/
private void setHitsPerBatBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
hitsPerBat_ = value.toStringUtf8();
}
public static final int RUNS_FIELD_NUMBER = 3;
private java.lang.String runs_;
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @return The runs.
*/
@java.lang.Override
public java.lang.String getRuns() {
return runs_;
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @return The bytes for runs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRunsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(runs_);
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @param value The runs to set.
*/
private void setRuns(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
runs_ = value;
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
*/
private void clearRuns() {
runs_ = getDefaultInstance().getRuns();
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @param value The bytes for runs to set.
*/
private void setRunsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
runs_ = value.toStringUtf8();
}
public static final int RUN_BATTED_IN_FIELD_NUMBER = 4;
private java.lang.String runBattedIn_;
/**
*
* 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"];
* @return The runBattedIn.
*/
@java.lang.Override
public java.lang.String getRunBattedIn() {
return runBattedIn_;
}
/**
*
* 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"];
* @return The bytes for runBattedIn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRunBattedInBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(runBattedIn_);
}
/**
*
* 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"];
* @param value The runBattedIn to set.
*/
private void setRunBattedIn(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
runBattedIn_ = value;
}
/**
*
* 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"];
*/
private void clearRunBattedIn() {
runBattedIn_ = getDefaultInstance().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"];
* @param value The bytes for runBattedIn to set.
*/
private void setRunBattedInBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
runBattedIn_ = value.toStringUtf8();
}
public static final int WALKS_FIELD_NUMBER = 5;
private java.lang.String walks_;
/**
*
* 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"];
* @return The walks.
*/
@java.lang.Override
public java.lang.String getWalks() {
return walks_;
}
/**
*
* 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"];
* @return The bytes for walks.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWalksBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(walks_);
}
/**
*
* 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"];
* @param value The walks to set.
*/
private void setWalks(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
walks_ = value;
}
/**
*
* 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"];
*/
private void clearWalks() {
walks_ = getDefaultInstance().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"];
* @param value The bytes for walks to set.
*/
private void setWalksBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
walks_ = value.toStringUtf8();
}
public static final int BATTING_AVERAGE_FIELD_NUMBER = 6;
private java.lang.String battingAverage_;
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @return The battingAverage.
*/
@java.lang.Override
public java.lang.String getBattingAverage() {
return battingAverage_;
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @return The bytes for battingAverage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBattingAverageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(battingAverage_);
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @param value The battingAverage to set.
*/
private void setBattingAverage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
battingAverage_ = value;
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
*/
private void clearBattingAverage() {
battingAverage_ = getDefaultInstance().getBattingAverage();
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @param value The bytes for battingAverage to set.
*/
private void setBattingAverageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
battingAverage_ = value.toStringUtf8();
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.baseball.Hitting parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.baseball.Hitting parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.baseball.Hitting parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.sports.baseball.Hitting prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.baseball.Hitting}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.baseball.Hitting, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.baseball.Hitting)
com.streamlayer.sports.baseball.HittingOrBuilder {
// Construct using com.streamlayer.sports.baseball.Hitting.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string player_name = 1 [json_name = "playerName"];
* @return The playerName.
*/
@java.lang.Override
public java.lang.String getPlayerName() {
return instance.getPlayerName();
}
/**
* string player_name = 1 [json_name = "playerName"];
* @return The bytes for playerName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlayerNameBytes() {
return instance.getPlayerNameBytes();
}
/**
* string player_name = 1 [json_name = "playerName"];
* @param value The playerName to set.
* @return This builder for chaining.
*/
public Builder setPlayerName(
java.lang.String value) {
copyOnWrite();
instance.setPlayerName(value);
return this;
}
/**
* string player_name = 1 [json_name = "playerName"];
* @return This builder for chaining.
*/
public Builder clearPlayerName() {
copyOnWrite();
instance.clearPlayerName();
return this;
}
/**
* string player_name = 1 [json_name = "playerName"];
* @param value The bytes for playerName to set.
* @return This builder for chaining.
*/
public Builder setPlayerNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPlayerNameBytes(value);
return this;
}
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
* @return The hitsPerBat.
*/
@java.lang.Override
public java.lang.String getHitsPerBat() {
return instance.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"];
* @return The bytes for hitsPerBat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHitsPerBatBytes() {
return instance.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"];
* @param value The hitsPerBat to set.
* @return This builder for chaining.
*/
public Builder setHitsPerBat(
java.lang.String value) {
copyOnWrite();
instance.setHitsPerBat(value);
return this;
}
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
* @return This builder for chaining.
*/
public Builder clearHitsPerBat() {
copyOnWrite();
instance.clearHitsPerBat();
return this;
}
/**
*
* H-AB is hits per at bat (First number is hits and second is at bats.).
*
*
* string hits_per_bat = 2 [json_name = "hitsPerBat"];
* @param value The bytes for hitsPerBat to set.
* @return This builder for chaining.
*/
public Builder setHitsPerBatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHitsPerBatBytes(value);
return this;
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @return The runs.
*/
@java.lang.Override
public java.lang.String getRuns() {
return instance.getRuns();
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @return The bytes for runs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRunsBytes() {
return instance.getRunsBytes();
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @param value The runs to set.
* @return This builder for chaining.
*/
public Builder setRuns(
java.lang.String value) {
copyOnWrite();
instance.setRuns(value);
return this;
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @return This builder for chaining.
*/
public Builder clearRuns() {
copyOnWrite();
instance.clearRuns();
return this;
}
/**
*
* R is runs scored by that player.
*
*
* string runs = 3 [json_name = "runs"];
* @param value The bytes for runs to set.
* @return This builder for chaining.
*/
public Builder setRunsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRunsBytes(value);
return this;
}
/**
*
* 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"];
* @return The runBattedIn.
*/
@java.lang.Override
public java.lang.String getRunBattedIn() {
return instance.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"];
* @return The bytes for runBattedIn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRunBattedInBytes() {
return instance.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"];
* @param value The runBattedIn to set.
* @return This builder for chaining.
*/
public Builder setRunBattedIn(
java.lang.String value) {
copyOnWrite();
instance.setRunBattedIn(value);
return this;
}
/**
*
* 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"];
* @return This builder for chaining.
*/
public Builder clearRunBattedIn() {
copyOnWrite();
instance.clearRunBattedIn();
return this;
}
/**
*
* 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"];
* @param value The bytes for runBattedIn to set.
* @return This builder for chaining.
*/
public Builder setRunBattedInBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRunBattedInBytes(value);
return this;
}
/**
*
* 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"];
* @return The walks.
*/
@java.lang.Override
public java.lang.String getWalks() {
return instance.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"];
* @return The bytes for walks.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWalksBytes() {
return instance.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"];
* @param value The walks to set.
* @return This builder for chaining.
*/
public Builder setWalks(
java.lang.String value) {
copyOnWrite();
instance.setWalks(value);
return this;
}
/**
*
* 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"];
* @return This builder for chaining.
*/
public Builder clearWalks() {
copyOnWrite();
instance.clearWalks();
return this;
}
/**
*
* 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"];
* @param value The bytes for walks to set.
* @return This builder for chaining.
*/
public Builder setWalksBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setWalksBytes(value);
return this;
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @return The battingAverage.
*/
@java.lang.Override
public java.lang.String getBattingAverage() {
return instance.getBattingAverage();
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @return The bytes for battingAverage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBattingAverageBytes() {
return instance.getBattingAverageBytes();
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @param value The battingAverage to set.
* @return This builder for chaining.
*/
public Builder setBattingAverage(
java.lang.String value) {
copyOnWrite();
instance.setBattingAverage(value);
return this;
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @return This builder for chaining.
*/
public Builder clearBattingAverage() {
copyOnWrite();
instance.clearBattingAverage();
return this;
}
/**
*
* Batting average (also abbreviated AVG): hits divided by at bats (H/AB)
*
*
* string batting_average = 6 [json_name = "battingAverage"];
* @param value The bytes for battingAverage to set.
* @return This builder for chaining.
*/
public Builder setBattingAverageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBattingAverageBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.baseball.Hitting)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.sports.baseball.Hitting();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"playerName_",
"hitsPerBat_",
"runs_",
"runBattedIn_",
"walks_",
"battingAverage_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0004\u0208\u0005\u0208\u0006\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.sports.baseball.Hitting.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.sports.baseball.Hitting)
private static final com.streamlayer.sports.baseball.Hitting DEFAULT_INSTANCE;
static {
Hitting defaultInstance = new Hitting();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Hitting.class, defaultInstance);
}
public static com.streamlayer.sports.baseball.Hitting getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}