All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// 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.BaseballPlayByPlayStatistics}
 */
public  final class BaseballPlayByPlayStatistics extends
    com.google.protobuf.GeneratedMessageLite<
        BaseballPlayByPlayStatistics, BaseballPlayByPlayStatistics.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.baseball.BaseballPlayByPlayStatistics)
    BaseballPlayByPlayStatisticsOrBuilder {
  private BaseballPlayByPlayStatistics() {
    inning_ = "";
    playText_ = "";
    detail_ = emptyProtobufList();
  }
  public interface BaseballPlayByPlayDetailStatisticsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * 
     * pbpDetails.scoreAfter
     * 
* * int32 score_home = 1 [json_name = "scoreHome"]; * @return The scoreHome. */ int getScoreHome(); /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_away = 2 [json_name = "scoreAway"]; * @return The scoreAway. */ int getScoreAway(); /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; * @return The playText. */ java.lang.String getPlayText(); /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; * @return The bytes for playText. */ com.google.protobuf.ByteString getPlayTextBytes(); /** *
     * pbpDetails.scoring flag for define event that changed the score
     * 
* * bool scoring = 4 [json_name = "scoring"]; * @return The scoring. */ boolean getScoring(); /** *
     * sequence
     * 
* * int32 play_id = 7 [json_name = "playId"]; * @return The playId. */ int getPlayId(); } /** * Protobuf type {@code streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics} */ public static final class BaseballPlayByPlayDetailStatistics extends com.google.protobuf.GeneratedMessageLite< BaseballPlayByPlayDetailStatistics, BaseballPlayByPlayDetailStatistics.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics) BaseballPlayByPlayDetailStatisticsOrBuilder { private BaseballPlayByPlayDetailStatistics() { playText_ = ""; } public static final int SCORE_HOME_FIELD_NUMBER = 1; private int scoreHome_; /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_home = 1 [json_name = "scoreHome"]; * @return The scoreHome. */ @java.lang.Override public int getScoreHome() { return scoreHome_; } /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_home = 1 [json_name = "scoreHome"]; * @param value The scoreHome to set. */ private void setScoreHome(int value) { scoreHome_ = value; } /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_home = 1 [json_name = "scoreHome"]; */ private void clearScoreHome() { scoreHome_ = 0; } public static final int SCORE_AWAY_FIELD_NUMBER = 2; private int scoreAway_; /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_away = 2 [json_name = "scoreAway"]; * @return The scoreAway. */ @java.lang.Override public int getScoreAway() { return scoreAway_; } /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_away = 2 [json_name = "scoreAway"]; * @param value The scoreAway to set. */ private void setScoreAway(int value) { scoreAway_ = value; } /** *
     * pbpDetails.scoreAfter
     * 
* * int32 score_away = 2 [json_name = "scoreAway"]; */ private void clearScoreAway() { scoreAway_ = 0; } public static final int PLAY_TEXT_FIELD_NUMBER = 3; private java.lang.String playText_; /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; * @return The playText. */ @java.lang.Override public java.lang.String getPlayText() { return playText_; } /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; * @return The bytes for playText. */ @java.lang.Override public com.google.protobuf.ByteString getPlayTextBytes() { return com.google.protobuf.ByteString.copyFromUtf8(playText_); } /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; * @param value The playText to set. */ private void setPlayText( java.lang.String value) { java.lang.Class valueClass = value.getClass(); playText_ = value; } /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; */ private void clearPlayText() { playText_ = getDefaultInstance().getPlayText(); } /** *
     * pbpDetails.playText
     * 
* * string play_text = 3 [json_name = "playText"]; * @param value The bytes for playText to set. */ private void setPlayTextBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); playText_ = value.toStringUtf8(); } public static final int SCORING_FIELD_NUMBER = 4; private boolean scoring_; /** *
     * pbpDetails.scoring flag for define event that changed the score
     * 
* * bool scoring = 4 [json_name = "scoring"]; * @return The scoring. */ @java.lang.Override public boolean getScoring() { return scoring_; } /** *
     * pbpDetails.scoring flag for define event that changed the score
     * 
* * bool scoring = 4 [json_name = "scoring"]; * @param value The scoring to set. */ private void setScoring(boolean value) { scoring_ = value; } /** *
     * pbpDetails.scoring flag for define event that changed the score
     * 
* * bool scoring = 4 [json_name = "scoring"]; */ private void clearScoring() { scoring_ = false; } public static final int PLAY_ID_FIELD_NUMBER = 7; private int playId_; /** *
     * sequence
     * 
* * int32 play_id = 7 [json_name = "playId"]; * @return The playId. */ @java.lang.Override public int getPlayId() { return playId_; } /** *
     * sequence
     * 
* * int32 play_id = 7 [json_name = "playId"]; * @param value The playId to set. */ private void setPlayId(int value) { playId_ = value; } /** *
     * sequence
     * 
* * int32 play_id = 7 [json_name = "playId"]; */ private void clearPlayId() { playId_ = 0; } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics) com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatisticsOrBuilder { // Construct using com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * pbpDetails.scoreAfter
       * 
* * int32 score_home = 1 [json_name = "scoreHome"]; * @return The scoreHome. */ @java.lang.Override public int getScoreHome() { return instance.getScoreHome(); } /** *
       * pbpDetails.scoreAfter
       * 
* * int32 score_home = 1 [json_name = "scoreHome"]; * @param value The scoreHome to set. * @return This builder for chaining. */ public Builder setScoreHome(int value) { copyOnWrite(); instance.setScoreHome(value); return this; } /** *
       * pbpDetails.scoreAfter
       * 
* * int32 score_home = 1 [json_name = "scoreHome"]; * @return This builder for chaining. */ public Builder clearScoreHome() { copyOnWrite(); instance.clearScoreHome(); return this; } /** *
       * pbpDetails.scoreAfter
       * 
* * int32 score_away = 2 [json_name = "scoreAway"]; * @return The scoreAway. */ @java.lang.Override public int getScoreAway() { return instance.getScoreAway(); } /** *
       * pbpDetails.scoreAfter
       * 
* * int32 score_away = 2 [json_name = "scoreAway"]; * @param value The scoreAway to set. * @return This builder for chaining. */ public Builder setScoreAway(int value) { copyOnWrite(); instance.setScoreAway(value); return this; } /** *
       * pbpDetails.scoreAfter
       * 
* * int32 score_away = 2 [json_name = "scoreAway"]; * @return This builder for chaining. */ public Builder clearScoreAway() { copyOnWrite(); instance.clearScoreAway(); return this; } /** *
       * pbpDetails.playText
       * 
* * string play_text = 3 [json_name = "playText"]; * @return The playText. */ @java.lang.Override public java.lang.String getPlayText() { return instance.getPlayText(); } /** *
       * pbpDetails.playText
       * 
* * string play_text = 3 [json_name = "playText"]; * @return The bytes for playText. */ @java.lang.Override public com.google.protobuf.ByteString getPlayTextBytes() { return instance.getPlayTextBytes(); } /** *
       * pbpDetails.playText
       * 
* * string play_text = 3 [json_name = "playText"]; * @param value The playText to set. * @return This builder for chaining. */ public Builder setPlayText( java.lang.String value) { copyOnWrite(); instance.setPlayText(value); return this; } /** *
       * pbpDetails.playText
       * 
* * string play_text = 3 [json_name = "playText"]; * @return This builder for chaining. */ public Builder clearPlayText() { copyOnWrite(); instance.clearPlayText(); return this; } /** *
       * pbpDetails.playText
       * 
* * string play_text = 3 [json_name = "playText"]; * @param value The bytes for playText to set. * @return This builder for chaining. */ public Builder setPlayTextBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setPlayTextBytes(value); return this; } /** *
       * pbpDetails.scoring flag for define event that changed the score
       * 
* * bool scoring = 4 [json_name = "scoring"]; * @return The scoring. */ @java.lang.Override public boolean getScoring() { return instance.getScoring(); } /** *
       * pbpDetails.scoring flag for define event that changed the score
       * 
* * bool scoring = 4 [json_name = "scoring"]; * @param value The scoring to set. * @return This builder for chaining. */ public Builder setScoring(boolean value) { copyOnWrite(); instance.setScoring(value); return this; } /** *
       * pbpDetails.scoring flag for define event that changed the score
       * 
* * bool scoring = 4 [json_name = "scoring"]; * @return This builder for chaining. */ public Builder clearScoring() { copyOnWrite(); instance.clearScoring(); return this; } /** *
       * sequence
       * 
* * int32 play_id = 7 [json_name = "playId"]; * @return The playId. */ @java.lang.Override public int getPlayId() { return instance.getPlayId(); } /** *
       * sequence
       * 
* * int32 play_id = 7 [json_name = "playId"]; * @param value The playId to set. * @return This builder for chaining. */ public Builder setPlayId(int value) { copyOnWrite(); instance.setPlayId(value); return this; } /** *
       * sequence
       * 
* * int32 play_id = 7 [json_name = "playId"]; * @return This builder for chaining. */ public Builder clearPlayId() { copyOnWrite(); instance.clearPlayId(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics) } @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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "scoreHome_", "scoreAway_", "playText_", "scoring_", "playId_", }; java.lang.String info = "\u0000\u0005\u0000\u0000\u0001\u0007\u0005\u0000\u0000\u0000\u0001\u0004\u0002\u0004" + "\u0003\u0208\u0004\u0007\u0007\u0004"; 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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics.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.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics) private static final com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics DEFAULT_INSTANCE; static { BaseballPlayByPlayDetailStatistics defaultInstance = new BaseballPlayByPlayDetailStatistics(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( BaseballPlayByPlayDetailStatistics.class, defaultInstance); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int TEAM_FIELD_NUMBER = 1; private com.streamlayer.sports.common.EventTeam team_; /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ @java.lang.Override public boolean hasTeam() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ @java.lang.Override public com.streamlayer.sports.common.EventTeam getTeam() { return team_ == null ? com.streamlayer.sports.common.EventTeam.getDefaultInstance() : team_; } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ private void setTeam(com.streamlayer.sports.common.EventTeam value) { value.getClass(); team_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeTeam(com.streamlayer.sports.common.EventTeam value) { value.getClass(); if (team_ != null && team_ != com.streamlayer.sports.common.EventTeam.getDefaultInstance()) { team_ = com.streamlayer.sports.common.EventTeam.newBuilder(team_).mergeFrom(value).buildPartial(); } else { team_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ private void clearTeam() { team_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int INNING_FIELD_NUMBER = 2; private java.lang.String inning_; /** *
   * matched to inningText
   * 
* * string inning = 2 [json_name = "inning"]; * @return The inning. */ @java.lang.Override public java.lang.String getInning() { return inning_; } /** *
   * matched to inningText
   * 
* * string inning = 2 [json_name = "inning"]; * @return The bytes for inning. */ @java.lang.Override public com.google.protobuf.ByteString getInningBytes() { return com.google.protobuf.ByteString.copyFromUtf8(inning_); } /** *
   * matched to inningText
   * 
* * string inning = 2 [json_name = "inning"]; * @param value The inning to set. */ private void setInning( java.lang.String value) { java.lang.Class valueClass = value.getClass(); inning_ = value; } /** *
   * matched to inningText
   * 
* * string inning = 2 [json_name = "inning"]; */ private void clearInning() { inning_ = getDefaultInstance().getInning(); } /** *
   * matched to inningText
   * 
* * string inning = 2 [json_name = "inning"]; * @param value The bytes for inning to set. */ private void setInningBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); inning_ = value.toStringUtf8(); } public static final int PLAY_TEXT_FIELD_NUMBER = 3; private java.lang.String playText_; /** *
   * MISMATCHED!!!!
   * 
* * string play_text = 3 [json_name = "playText"]; * @return The playText. */ @java.lang.Override public java.lang.String getPlayText() { return playText_; } /** *
   * MISMATCHED!!!!
   * 
* * string play_text = 3 [json_name = "playText"]; * @return The bytes for playText. */ @java.lang.Override public com.google.protobuf.ByteString getPlayTextBytes() { return com.google.protobuf.ByteString.copyFromUtf8(playText_); } /** *
   * MISMATCHED!!!!
   * 
* * string play_text = 3 [json_name = "playText"]; * @param value The playText to set. */ private void setPlayText( java.lang.String value) { java.lang.Class valueClass = value.getClass(); playText_ = value; } /** *
   * MISMATCHED!!!!
   * 
* * string play_text = 3 [json_name = "playText"]; */ private void clearPlayText() { playText_ = getDefaultInstance().getPlayText(); } /** *
   * MISMATCHED!!!!
   * 
* * string play_text = 3 [json_name = "playText"]; * @param value The bytes for playText to set. */ private void setPlayTextBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); playText_ = value.toStringUtf8(); } public static final int DETAIL_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList detail_; /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ @java.lang.Override public java.util.List getDetailList() { return detail_; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public java.util.List getDetailOrBuilderList() { return detail_; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ @java.lang.Override public int getDetailCount() { return detail_.size(); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ @java.lang.Override public com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics getDetail(int index) { return detail_.get(index); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatisticsOrBuilder getDetailOrBuilder( int index) { return detail_.get(index); } private void ensureDetailIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = detail_; if (!tmp.isModifiable()) { detail_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ private void setDetail( int index, com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics value) { value.getClass(); ensureDetailIsMutable(); detail_.set(index, value); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ private void addDetail(com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics value) { value.getClass(); ensureDetailIsMutable(); detail_.add(value); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ private void addDetail( int index, com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics value) { value.getClass(); ensureDetailIsMutable(); detail_.add(index, value); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ private void addAllDetail( java.lang.Iterable values) { ensureDetailIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, detail_); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ private void clearDetail() { detail_ = emptyProtobufList(); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ private void removeDetail(int index) { ensureDetailIsMutable(); detail_.remove(index); } public static final int RUNS_FIELD_NUMBER = 5; private int runs_; /** *
   * it is linescore
   * 
* * int32 runs = 5 [json_name = "runs"]; * @return The runs. */ @java.lang.Override public int getRuns() { return runs_; } /** *
   * it is linescore
   * 
* * int32 runs = 5 [json_name = "runs"]; * @param value The runs to set. */ private void setRuns(int value) { runs_ = value; } /** *
   * it is linescore
   * 
* * int32 runs = 5 [json_name = "runs"]; */ private void clearRuns() { runs_ = 0; } public static final int HITS_FIELD_NUMBER = 6; private int hits_; /** * int32 hits = 6 [json_name = "hits"]; * @return The hits. */ @java.lang.Override public int getHits() { return hits_; } /** * int32 hits = 6 [json_name = "hits"]; * @param value The hits to set. */ private void setHits(int value) { hits_ = value; } /** * int32 hits = 6 [json_name = "hits"]; */ private void clearHits() { hits_ = 0; } public static final int ERRORS_FIELD_NUMBER = 7; private int errors_; /** * int32 errors = 7 [json_name = "errors"]; * @return The errors. */ @java.lang.Override public int getErrors() { return errors_; } /** * int32 errors = 7 [json_name = "errors"]; * @param value The errors to set. */ private void setErrors(int value) { errors_ = value; } /** * int32 errors = 7 [json_name = "errors"]; */ private void clearErrors() { errors_ = 0; } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics 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.BaseballPlayByPlayStatistics prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.sports.baseball.BaseballPlayByPlayStatistics} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.sports.baseball.BaseballPlayByPlayStatistics) com.streamlayer.sports.baseball.BaseballPlayByPlayStatisticsOrBuilder { // Construct using com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ @java.lang.Override public boolean hasTeam() { return instance.hasTeam(); } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ @java.lang.Override public com.streamlayer.sports.common.EventTeam getTeam() { return instance.getTeam(); } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ public Builder setTeam(com.streamlayer.sports.common.EventTeam value) { copyOnWrite(); instance.setTeam(value); return this; } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ public Builder setTeam( com.streamlayer.sports.common.EventTeam.Builder builderForValue) { copyOnWrite(); instance.setTeam(builderForValue.build()); return this; } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ public Builder mergeTeam(com.streamlayer.sports.common.EventTeam value) { copyOnWrite(); instance.mergeTeam(value); return this; } /** * .streamlayer.sports.EventTeam team = 1 [json_name = "team"]; */ public Builder clearTeam() { copyOnWrite(); instance.clearTeam(); return this; } /** *
     * matched to inningText
     * 
* * string inning = 2 [json_name = "inning"]; * @return The inning. */ @java.lang.Override public java.lang.String getInning() { return instance.getInning(); } /** *
     * matched to inningText
     * 
* * string inning = 2 [json_name = "inning"]; * @return The bytes for inning. */ @java.lang.Override public com.google.protobuf.ByteString getInningBytes() { return instance.getInningBytes(); } /** *
     * matched to inningText
     * 
* * string inning = 2 [json_name = "inning"]; * @param value The inning to set. * @return This builder for chaining. */ public Builder setInning( java.lang.String value) { copyOnWrite(); instance.setInning(value); return this; } /** *
     * matched to inningText
     * 
* * string inning = 2 [json_name = "inning"]; * @return This builder for chaining. */ public Builder clearInning() { copyOnWrite(); instance.clearInning(); return this; } /** *
     * matched to inningText
     * 
* * string inning = 2 [json_name = "inning"]; * @param value The bytes for inning to set. * @return This builder for chaining. */ public Builder setInningBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setInningBytes(value); return this; } /** *
     * MISMATCHED!!!!
     * 
* * string play_text = 3 [json_name = "playText"]; * @return The playText. */ @java.lang.Override public java.lang.String getPlayText() { return instance.getPlayText(); } /** *
     * MISMATCHED!!!!
     * 
* * string play_text = 3 [json_name = "playText"]; * @return The bytes for playText. */ @java.lang.Override public com.google.protobuf.ByteString getPlayTextBytes() { return instance.getPlayTextBytes(); } /** *
     * MISMATCHED!!!!
     * 
* * string play_text = 3 [json_name = "playText"]; * @param value The playText to set. * @return This builder for chaining. */ public Builder setPlayText( java.lang.String value) { copyOnWrite(); instance.setPlayText(value); return this; } /** *
     * MISMATCHED!!!!
     * 
* * string play_text = 3 [json_name = "playText"]; * @return This builder for chaining. */ public Builder clearPlayText() { copyOnWrite(); instance.clearPlayText(); return this; } /** *
     * MISMATCHED!!!!
     * 
* * string play_text = 3 [json_name = "playText"]; * @param value The bytes for playText to set. * @return This builder for chaining. */ public Builder setPlayTextBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setPlayTextBytes(value); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ @java.lang.Override public java.util.List getDetailList() { return java.util.Collections.unmodifiableList( instance.getDetailList()); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ @java.lang.Override public int getDetailCount() { return instance.getDetailCount(); }/** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ @java.lang.Override public com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics getDetail(int index) { return instance.getDetail(index); } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder setDetail( int index, com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics value) { copyOnWrite(); instance.setDetail(index, value); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder setDetail( int index, com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics.Builder builderForValue) { copyOnWrite(); instance.setDetail(index, builderForValue.build()); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder addDetail(com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics value) { copyOnWrite(); instance.addDetail(value); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder addDetail( int index, com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics value) { copyOnWrite(); instance.addDetail(index, value); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder addDetail( com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics.Builder builderForValue) { copyOnWrite(); instance.addDetail(builderForValue.build()); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder addDetail( int index, com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics.Builder builderForValue) { copyOnWrite(); instance.addDetail(index, builderForValue.build()); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder addAllDetail( java.lang.Iterable values) { copyOnWrite(); instance.addAllDetail(values); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder clearDetail() { copyOnWrite(); instance.clearDetail(); return this; } /** * repeated .streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics detail = 4 [json_name = "detail"]; */ public Builder removeDetail(int index) { copyOnWrite(); instance.removeDetail(index); return this; } /** *
     * it is linescore
     * 
* * int32 runs = 5 [json_name = "runs"]; * @return The runs. */ @java.lang.Override public int getRuns() { return instance.getRuns(); } /** *
     * it is linescore
     * 
* * int32 runs = 5 [json_name = "runs"]; * @param value The runs to set. * @return This builder for chaining. */ public Builder setRuns(int value) { copyOnWrite(); instance.setRuns(value); return this; } /** *
     * it is linescore
     * 
* * int32 runs = 5 [json_name = "runs"]; * @return This builder for chaining. */ public Builder clearRuns() { copyOnWrite(); instance.clearRuns(); return this; } /** * int32 hits = 6 [json_name = "hits"]; * @return The hits. */ @java.lang.Override public int getHits() { return instance.getHits(); } /** * int32 hits = 6 [json_name = "hits"]; * @param value The hits to set. * @return This builder for chaining. */ public Builder setHits(int value) { copyOnWrite(); instance.setHits(value); return this; } /** * int32 hits = 6 [json_name = "hits"]; * @return This builder for chaining. */ public Builder clearHits() { copyOnWrite(); instance.clearHits(); return this; } /** * int32 errors = 7 [json_name = "errors"]; * @return The errors. */ @java.lang.Override public int getErrors() { return instance.getErrors(); } /** * int32 errors = 7 [json_name = "errors"]; * @param value The errors to set. * @return This builder for chaining. */ public Builder setErrors(int value) { copyOnWrite(); instance.setErrors(value); return this; } /** * int32 errors = 7 [json_name = "errors"]; * @return This builder for chaining. */ public Builder clearErrors() { copyOnWrite(); instance.clearErrors(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.sports.baseball.BaseballPlayByPlayStatistics) } @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.BaseballPlayByPlayStatistics(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "team_", "inning_", "playText_", "detail_", com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics.class, "runs_", "hits_", "errors_", }; java.lang.String info = "\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0001\u0000\u0001\u1009\u0000\u0002" + "\u0208\u0003\u0208\u0004\u001b\u0005\u0004\u0006\u0004\u0007\u0004"; 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.BaseballPlayByPlayStatistics.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.BaseballPlayByPlayStatistics) private static final com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics DEFAULT_INSTANCE; static { BaseballPlayByPlayStatistics defaultInstance = new BaseballPlayByPlayStatistics(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( BaseballPlayByPlayStatistics.class, defaultInstance); } public static com.streamlayer.sports.baseball.BaseballPlayByPlayStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy