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

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

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

/**
 * Protobuf type {@code streamlayer.sports.soccer.SoccerLastGames}
 */
public  final class SoccerLastGames extends
    com.google.protobuf.GeneratedMessageLite<
        SoccerLastGames, SoccerLastGames.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerLastGames)
    SoccerLastGamesOrBuilder {
  private SoccerLastGames() {
    home_ = emptyProtobufList();
    away_ = emptyProtobufList();
    headToHead_ = emptyProtobufList();
  }
  public static final int HOME_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.ProtobufList home_;
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  @java.lang.Override
  public java.util.List getHomeList() {
    return home_;
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  public java.util.List 
      getHomeOrBuilderList() {
    return home_;
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  @java.lang.Override
  public int getHomeCount() {
    return home_.size();
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerLastGame getHome(int index) {
    return home_.get(index);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  public com.streamlayer.sports.soccer.SoccerLastGameOrBuilder 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.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  private void setHome(
      int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureHomeIsMutable();
    home_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  private void addHome(com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureHomeIsMutable();
    home_.add(value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  private void addHome(
      int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureHomeIsMutable();
    home_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  private void addAllHome(
      java.lang.Iterable values) {
    ensureHomeIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, home_);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame home = 1 [json_name = "home"];
   */
  private void clearHome() {
    home_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame 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.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  @java.lang.Override
  public java.util.List getAwayList() {
    return away_;
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  public java.util.List 
      getAwayOrBuilderList() {
    return away_;
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  @java.lang.Override
  public int getAwayCount() {
    return away_.size();
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerLastGame getAway(int index) {
    return away_.get(index);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  public com.streamlayer.sports.soccer.SoccerLastGameOrBuilder 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.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  private void setAway(
      int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureAwayIsMutable();
    away_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  private void addAway(com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureAwayIsMutable();
    away_.add(value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  private void addAway(
      int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureAwayIsMutable();
    away_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  private void addAllAway(
      java.lang.Iterable values) {
    ensureAwayIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, away_);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame away = 2 [json_name = "away"];
   */
  private void clearAway() {
    away_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame 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.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  @java.lang.Override
  public java.util.List getHeadToHeadList() {
    return headToHead_;
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  public java.util.List 
      getHeadToHeadOrBuilderList() {
    return headToHead_;
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  @java.lang.Override
  public int getHeadToHeadCount() {
    return headToHead_.size();
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerLastGame getHeadToHead(int index) {
    return headToHead_.get(index);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  public com.streamlayer.sports.soccer.SoccerLastGameOrBuilder 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.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void setHeadToHead(
      int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureHeadToHeadIsMutable();
    headToHead_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void addHeadToHead(com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureHeadToHeadIsMutable();
    headToHead_.add(value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void addHeadToHead(
      int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
    value.getClass();
  ensureHeadToHeadIsMutable();
    headToHead_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame 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.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void clearHeadToHead() {
    headToHead_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
   */
  private void removeHeadToHead(int index) {
    ensureHeadToHeadIsMutable();
    headToHead_.remove(index);
  }

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

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

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


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

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

    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame 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.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    @java.lang.Override
    public int getHeadToHeadCount() {
      return instance.getHeadToHeadCount();
    }/**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    @java.lang.Override
    public com.streamlayer.sports.soccer.SoccerLastGame getHeadToHead(int index) {
      return instance.getHeadToHead(index);
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder setHeadToHead(
        int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
      copyOnWrite();
      instance.setHeadToHead(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder setHeadToHead(
        int index, com.streamlayer.sports.soccer.SoccerLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.setHeadToHead(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(com.streamlayer.sports.soccer.SoccerLastGame value) {
      copyOnWrite();
      instance.addHeadToHead(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(
        int index, com.streamlayer.sports.soccer.SoccerLastGame value) {
      copyOnWrite();
      instance.addHeadToHead(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(
        com.streamlayer.sports.soccer.SoccerLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addHeadToHead(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addHeadToHead(
        int index, com.streamlayer.sports.soccer.SoccerLastGame.Builder builderForValue) {
      copyOnWrite();
      instance.addHeadToHead(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder addAllHeadToHead(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllHeadToHead(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame head_to_head = 3 [json_name = "headToHead"];
     */
    public Builder clearHeadToHead() {
      copyOnWrite();
      instance.clearHeadToHead();
      return this;
    }
    /**
     * repeated .streamlayer.sports.soccer.SoccerLastGame 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.soccer.SoccerLastGames)
  }
  @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.soccer.SoccerLastGames();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "home_",
            com.streamlayer.sports.soccer.SoccerLastGame.class,
            "away_",
            com.streamlayer.sports.soccer.SoccerLastGame.class,
            "headToHead_",
            com.streamlayer.sports.soccer.SoccerLastGame.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.soccer.SoccerLastGames.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.soccer.SoccerLastGames)
  private static final com.streamlayer.sports.soccer.SoccerLastGames DEFAULT_INSTANCE;
  static {
    SoccerLastGames defaultInstance = new SoccerLastGames();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      SoccerLastGames.class, defaultInstance);
  }

  public static com.streamlayer.sports.soccer.SoccerLastGames 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