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

main.java.com.streamlayer.sports.basketball.BasketballLastGames 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/basketball/basketball.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.basketball;

/**
 * Protobuf type {@code streamlayer.sports.basketball.BasketballLastGames}
 */
public  final class BasketballLastGames extends
    com.google.protobuf.GeneratedMessageLite<
        BasketballLastGames, BasketballLastGames.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.basketball.BasketballLastGames)
    BasketballLastGamesOrBuilder {
  private BasketballLastGames() {
    home_ = emptyProtobufList();
    away_ = emptyProtobufList();
    headToHead_ = emptyProtobufList();
  }
  public static final int HOME_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.ProtobufList home_;
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  @java.lang.Override
  public java.util.List getHomeList() {
    return home_;
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  public java.util.List 
      getHomeOrBuilderList() {
    return home_;
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  @java.lang.Override
  public int getHomeCount() {
    return home_.size();
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  @java.lang.Override
  public com.streamlayer.sports.basketball.BasketballLastGame getHome(int index) {
    return home_.get(index);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  public com.streamlayer.sports.basketball.BasketballLastGameOrBuilder getHomeOrBuilder(
      int index) {
    return home_.get(index);
  }
  private void ensureHomeIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = home_;
    if (!tmp.isModifiable()) {
      home_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  private void setHome(
      int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureHomeIsMutable();
    home_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  private void addHome(com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureHomeIsMutable();
    home_.add(value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  private void addHome(
      int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureHomeIsMutable();
    home_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  private void addAllHome(
      java.lang.Iterable values) {
    ensureHomeIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, home_);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  private void clearHome() {
    home_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
   */
  private void removeHome(int index) {
    ensureHomeIsMutable();
    home_.remove(index);
  }

  public static final int AWAY_FIELD_NUMBER = 2;
  private com.google.protobuf.Internal.ProtobufList away_;
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  @java.lang.Override
  public java.util.List getAwayList() {
    return away_;
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  public java.util.List 
      getAwayOrBuilderList() {
    return away_;
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  @java.lang.Override
  public int getAwayCount() {
    return away_.size();
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  @java.lang.Override
  public com.streamlayer.sports.basketball.BasketballLastGame getAway(int index) {
    return away_.get(index);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  public com.streamlayer.sports.basketball.BasketballLastGameOrBuilder getAwayOrBuilder(
      int index) {
    return away_.get(index);
  }
  private void ensureAwayIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = away_;
    if (!tmp.isModifiable()) {
      away_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  private void setAway(
      int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureAwayIsMutable();
    away_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  private void addAway(com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureAwayIsMutable();
    away_.add(value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  private void addAway(
      int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureAwayIsMutable();
    away_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  private void addAllAway(
      java.lang.Iterable values) {
    ensureAwayIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, away_);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  private void clearAway() {
    away_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
   */
  private void removeAway(int index) {
    ensureAwayIsMutable();
    away_.remove(index);
  }

  public static final int HEAD_TO_HEAD_FIELD_NUMBER = 3;
  private com.google.protobuf.Internal.ProtobufList headToHead_;
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  @java.lang.Override
  public java.util.List getHeadToHeadList() {
    return headToHead_;
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  public java.util.List 
      getHeadToHeadOrBuilderList() {
    return headToHead_;
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  @java.lang.Override
  public int getHeadToHeadCount() {
    return headToHead_.size();
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  @java.lang.Override
  public com.streamlayer.sports.basketball.BasketballLastGame getHeadToHead(int index) {
    return headToHead_.get(index);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  public com.streamlayer.sports.basketball.BasketballLastGameOrBuilder getHeadToHeadOrBuilder(
      int index) {
    return headToHead_.get(index);
  }
  private void ensureHeadToHeadIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = headToHead_;
    if (!tmp.isModifiable()) {
      headToHead_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void setHeadToHead(
      int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureHeadToHeadIsMutable();
    headToHead_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void addHeadToHead(com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureHeadToHeadIsMutable();
    headToHead_.add(value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void addHeadToHead(
      int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
    value.getClass();
  ensureHeadToHeadIsMutable();
    headToHead_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void addAllHeadToHead(
      java.lang.Iterable values) {
    ensureHeadToHeadIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, headToHead_);
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void clearHeadToHead() {
    headToHead_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void removeHeadToHead(int index) {
    ensureHeadToHeadIsMutable();
    headToHead_.remove(index);
  }

  public static com.streamlayer.sports.basketball.BasketballLastGames parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sports.basketball.BasketballLastGames 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.basketball.BasketballLastGames 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.basketball.BasketballLastGames 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.basketball.BasketballLastGames parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sports.basketball.BasketballLastGames 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.basketball.BasketballLastGames parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sports.basketball.BasketballLastGames 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.basketball.BasketballLastGames parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.sports.basketball.BasketballLastGames 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.basketball.BasketballLastGames parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sports.basketball.BasketballLastGames 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.basketball.BasketballLastGames prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.sports.basketball.BasketballLastGames}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.sports.basketball.BasketballLastGames, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.sports.basketball.BasketballLastGames)
      com.streamlayer.sports.basketball.BasketballLastGamesOrBuilder {
    // Construct using com.streamlayer.sports.basketball.BasketballLastGames.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    @java.lang.Override
    public java.util.List getHomeList() {
      return java.util.Collections.unmodifiableList(
          instance.getHomeList());
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    @java.lang.Override
    public int getHomeCount() {
      return instance.getHomeCount();
    }/**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    @java.lang.Override
    public com.streamlayer.sports.basketball.BasketballLastGame getHome(int index) {
      return instance.getHome(index);
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder setHome(
        int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.setHome(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder setHome(
        int index, com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.setHome(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder addHome(com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.addHome(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder addHome(
        int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.addHome(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder addHome(
        com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addHome(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder addHome(
        int index, com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addHome(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder addAllHome(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllHome(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder clearHome() {
      copyOnWrite();
      instance.clearHome();
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame home = 1 [json_name = "home"];
     */
    public Builder removeHome(int index) {
      copyOnWrite();
      instance.removeHome(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    @java.lang.Override
    public java.util.List getAwayList() {
      return java.util.Collections.unmodifiableList(
          instance.getAwayList());
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    @java.lang.Override
    public int getAwayCount() {
      return instance.getAwayCount();
    }/**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    @java.lang.Override
    public com.streamlayer.sports.basketball.BasketballLastGame getAway(int index) {
      return instance.getAway(index);
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder setAway(
        int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.setAway(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder setAway(
        int index, com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.setAway(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder addAway(com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.addAway(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder addAway(
        int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.addAway(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder addAway(
        com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addAway(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder addAway(
        int index, com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addAway(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder addAllAway(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllAway(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder clearAway() {
      copyOnWrite();
      instance.clearAway();
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame away = 2 [json_name = "away"];
     */
    public Builder removeAway(int index) {
      copyOnWrite();
      instance.removeAway(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    @java.lang.Override
    public java.util.List getHeadToHeadList() {
      return java.util.Collections.unmodifiableList(
          instance.getHeadToHeadList());
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    @java.lang.Override
    public int getHeadToHeadCount() {
      return instance.getHeadToHeadCount();
    }/**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    @java.lang.Override
    public com.streamlayer.sports.basketball.BasketballLastGame getHeadToHead(int index) {
      return instance.getHeadToHead(index);
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder setHeadToHead(
        int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.setHeadToHead(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder setHeadToHead(
        int index, com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.setHeadToHead(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.addHeadToHead(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(
        int index, com.streamlayer.sports.basketball.BasketballLastGame value) {
      copyOnWrite();
      instance.addHeadToHead(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(
        com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addHeadToHead(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(
        int index, com.streamlayer.sports.basketball.BasketballLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addHeadToHead(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addAllHeadToHead(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllHeadToHead(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder clearHeadToHead() {
      copyOnWrite();
      instance.clearHeadToHead();
      return this;
    }
    /**
     * repeated .streamlayer.sports.basketball.BasketballLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder removeHeadToHead(int index) {
      copyOnWrite();
      instance.removeHeadToHead(index);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sports.basketball.BasketballLastGames)
  }
  @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.basketball.BasketballLastGames();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "home_",
            com.streamlayer.sports.basketball.BasketballLastGame.class,
            "away_",
            com.streamlayer.sports.basketball.BasketballLastGame.class,
            "headToHead_",
            com.streamlayer.sports.basketball.BasketballLastGame.class,
          };
          java.lang.String info =
              "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0003\u0000\u0001\u001b\u0002\u001b" +
              "\u0003\u001b";
          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.basketball.BasketballLastGames.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.basketball.BasketballLastGames)
  private static final com.streamlayer.sports.basketball.BasketballLastGames DEFAULT_INSTANCE;
  static {
    BasketballLastGames defaultInstance = new BasketballLastGames();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      BasketballLastGames.class, defaultInstance);
  }

  public static com.streamlayer.sports.basketball.BasketballLastGames 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