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

main.java.com.streamlayer.sports.soccer.SoccerTeamTopMatchStats 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.SoccerTeamTopMatchStats}
 */
public  final class SoccerTeamTopMatchStats extends
    com.google.protobuf.GeneratedMessageLite<
        SoccerTeamTopMatchStats, SoccerTeamTopMatchStats.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerTeamTopMatchStats)
    SoccerTeamTopMatchStatsOrBuilder {
  private SoccerTeamTopMatchStats() {
  }
  public static final int POSSESSION_FIELD_NUMBER = 1;
  private double possession_;
  /**
   * double possession = 1 [json_name = "possession"];
   * @return The possession.
   */
  @java.lang.Override
  public double getPossession() {
    return possession_;
  }
  /**
   * double possession = 1 [json_name = "possession"];
   * @param value The possession to set.
   */
  private void setPossession(double value) {
    
    possession_ = value;
  }
  /**
   * double possession = 1 [json_name = "possession"];
   */
  private void clearPossession() {

    possession_ = 0D;
  }

  public static final int SHOTS_FIELD_NUMBER = 2;
  private int shots_;
  /**
   * int32 shots = 2 [json_name = "shots"];
   * @return The shots.
   */
  @java.lang.Override
  public int getShots() {
    return shots_;
  }
  /**
   * int32 shots = 2 [json_name = "shots"];
   * @param value The shots to set.
   */
  private void setShots(int value) {
    
    shots_ = value;
  }
  /**
   * int32 shots = 2 [json_name = "shots"];
   */
  private void clearShots() {

    shots_ = 0;
  }

  public static final int SHOTS_ON_TARGET_FIELD_NUMBER = 3;
  private int shotsOnTarget_;
  /**
   * int32 shots_on_target = 3 [json_name = "shotsOnTarget"];
   * @return The shotsOnTarget.
   */
  @java.lang.Override
  public int getShotsOnTarget() {
    return shotsOnTarget_;
  }
  /**
   * int32 shots_on_target = 3 [json_name = "shotsOnTarget"];
   * @param value The shotsOnTarget to set.
   */
  private void setShotsOnTarget(int value) {
    
    shotsOnTarget_ = value;
  }
  /**
   * int32 shots_on_target = 3 [json_name = "shotsOnTarget"];
   */
  private void clearShotsOnTarget() {

    shotsOnTarget_ = 0;
  }

  public static final int PASSES_FIELD_NUMBER = 4;
  private int passes_;
  /**
   * int32 passes = 4 [json_name = "passes"];
   * @return The passes.
   */
  @java.lang.Override
  public int getPasses() {
    return passes_;
  }
  /**
   * int32 passes = 4 [json_name = "passes"];
   * @param value The passes to set.
   */
  private void setPasses(int value) {
    
    passes_ = value;
  }
  /**
   * int32 passes = 4 [json_name = "passes"];
   */
  private void clearPasses() {

    passes_ = 0;
  }

  public static final int OFFSIDES_FIELD_NUMBER = 5;
  private int offsides_;
  /**
   * int32 offsides = 5 [json_name = "offsides"];
   * @return The offsides.
   */
  @java.lang.Override
  public int getOffsides() {
    return offsides_;
  }
  /**
   * int32 offsides = 5 [json_name = "offsides"];
   * @param value The offsides to set.
   */
  private void setOffsides(int value) {
    
    offsides_ = value;
  }
  /**
   * int32 offsides = 5 [json_name = "offsides"];
   */
  private void clearOffsides() {

    offsides_ = 0;
  }

  public static final int YELLOW_CARDS_FIELD_NUMBER = 6;
  private int yellowCards_;
  /**
   * int32 yellow_cards = 6 [json_name = "yellowCards"];
   * @return The yellowCards.
   */
  @java.lang.Override
  public int getYellowCards() {
    return yellowCards_;
  }
  /**
   * int32 yellow_cards = 6 [json_name = "yellowCards"];
   * @param value The yellowCards to set.
   */
  private void setYellowCards(int value) {
    
    yellowCards_ = value;
  }
  /**
   * int32 yellow_cards = 6 [json_name = "yellowCards"];
   */
  private void clearYellowCards() {

    yellowCards_ = 0;
  }

  public static final int CORNER_KICKS_FIELD_NUMBER = 7;
  private int cornerKicks_;
  /**
   * int32 corner_kicks = 7 [json_name = "cornerKicks"];
   * @return The cornerKicks.
   */
  @java.lang.Override
  public int getCornerKicks() {
    return cornerKicks_;
  }
  /**
   * int32 corner_kicks = 7 [json_name = "cornerKicks"];
   * @param value The cornerKicks to set.
   */
  private void setCornerKicks(int value) {
    
    cornerKicks_ = value;
  }
  /**
   * int32 corner_kicks = 7 [json_name = "cornerKicks"];
   */
  private void clearCornerKicks() {

    cornerKicks_ = 0;
  }

  public static final int FREE_KICKS_FIELD_NUMBER = 8;
  private int freeKicks_;
  /**
   * int32 free_kicks = 8 [json_name = "freeKicks"];
   * @return The freeKicks.
   */
  @java.lang.Override
  public int getFreeKicks() {
    return freeKicks_;
  }
  /**
   * int32 free_kicks = 8 [json_name = "freeKicks"];
   * @param value The freeKicks to set.
   */
  private void setFreeKicks(int value) {
    
    freeKicks_ = value;
  }
  /**
   * int32 free_kicks = 8 [json_name = "freeKicks"];
   */
  private void clearFreeKicks() {

    freeKicks_ = 0;
  }

  public static final int RED_CARDS_FIELD_NUMBER = 9;
  private int redCards_;
  /**
   * int32 red_cards = 9 [json_name = "redCards"];
   * @return The redCards.
   */
  @java.lang.Override
  public int getRedCards() {
    return redCards_;
  }
  /**
   * int32 red_cards = 9 [json_name = "redCards"];
   * @param value The redCards to set.
   */
  private void setRedCards(int value) {
    
    redCards_ = value;
  }
  /**
   * int32 red_cards = 9 [json_name = "redCards"];
   */
  private void clearRedCards() {

    redCards_ = 0;
  }

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

  public static com.streamlayer.sports.soccer.SoccerTeamTopMatchStats 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.SoccerTeamTopMatchStats 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.SoccerTeamTopMatchStats 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.SoccerTeamTopMatchStats prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

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


    /**
     * double possession = 1 [json_name = "possession"];
     * @return The possession.
     */
    @java.lang.Override
    public double getPossession() {
      return instance.getPossession();
    }
    /**
     * double possession = 1 [json_name = "possession"];
     * @param value The possession to set.
     * @return This builder for chaining.
     */
    public Builder setPossession(double value) {
      copyOnWrite();
      instance.setPossession(value);
      return this;
    }
    /**
     * double possession = 1 [json_name = "possession"];
     * @return This builder for chaining.
     */
    public Builder clearPossession() {
      copyOnWrite();
      instance.clearPossession();
      return this;
    }

    /**
     * int32 shots = 2 [json_name = "shots"];
     * @return The shots.
     */
    @java.lang.Override
    public int getShots() {
      return instance.getShots();
    }
    /**
     * int32 shots = 2 [json_name = "shots"];
     * @param value The shots to set.
     * @return This builder for chaining.
     */
    public Builder setShots(int value) {
      copyOnWrite();
      instance.setShots(value);
      return this;
    }
    /**
     * int32 shots = 2 [json_name = "shots"];
     * @return This builder for chaining.
     */
    public Builder clearShots() {
      copyOnWrite();
      instance.clearShots();
      return this;
    }

    /**
     * int32 shots_on_target = 3 [json_name = "shotsOnTarget"];
     * @return The shotsOnTarget.
     */
    @java.lang.Override
    public int getShotsOnTarget() {
      return instance.getShotsOnTarget();
    }
    /**
     * int32 shots_on_target = 3 [json_name = "shotsOnTarget"];
     * @param value The shotsOnTarget to set.
     * @return This builder for chaining.
     */
    public Builder setShotsOnTarget(int value) {
      copyOnWrite();
      instance.setShotsOnTarget(value);
      return this;
    }
    /**
     * int32 shots_on_target = 3 [json_name = "shotsOnTarget"];
     * @return This builder for chaining.
     */
    public Builder clearShotsOnTarget() {
      copyOnWrite();
      instance.clearShotsOnTarget();
      return this;
    }

    /**
     * int32 passes = 4 [json_name = "passes"];
     * @return The passes.
     */
    @java.lang.Override
    public int getPasses() {
      return instance.getPasses();
    }
    /**
     * int32 passes = 4 [json_name = "passes"];
     * @param value The passes to set.
     * @return This builder for chaining.
     */
    public Builder setPasses(int value) {
      copyOnWrite();
      instance.setPasses(value);
      return this;
    }
    /**
     * int32 passes = 4 [json_name = "passes"];
     * @return This builder for chaining.
     */
    public Builder clearPasses() {
      copyOnWrite();
      instance.clearPasses();
      return this;
    }

    /**
     * int32 offsides = 5 [json_name = "offsides"];
     * @return The offsides.
     */
    @java.lang.Override
    public int getOffsides() {
      return instance.getOffsides();
    }
    /**
     * int32 offsides = 5 [json_name = "offsides"];
     * @param value The offsides to set.
     * @return This builder for chaining.
     */
    public Builder setOffsides(int value) {
      copyOnWrite();
      instance.setOffsides(value);
      return this;
    }
    /**
     * int32 offsides = 5 [json_name = "offsides"];
     * @return This builder for chaining.
     */
    public Builder clearOffsides() {
      copyOnWrite();
      instance.clearOffsides();
      return this;
    }

    /**
     * int32 yellow_cards = 6 [json_name = "yellowCards"];
     * @return The yellowCards.
     */
    @java.lang.Override
    public int getYellowCards() {
      return instance.getYellowCards();
    }
    /**
     * int32 yellow_cards = 6 [json_name = "yellowCards"];
     * @param value The yellowCards to set.
     * @return This builder for chaining.
     */
    public Builder setYellowCards(int value) {
      copyOnWrite();
      instance.setYellowCards(value);
      return this;
    }
    /**
     * int32 yellow_cards = 6 [json_name = "yellowCards"];
     * @return This builder for chaining.
     */
    public Builder clearYellowCards() {
      copyOnWrite();
      instance.clearYellowCards();
      return this;
    }

    /**
     * int32 corner_kicks = 7 [json_name = "cornerKicks"];
     * @return The cornerKicks.
     */
    @java.lang.Override
    public int getCornerKicks() {
      return instance.getCornerKicks();
    }
    /**
     * int32 corner_kicks = 7 [json_name = "cornerKicks"];
     * @param value The cornerKicks to set.
     * @return This builder for chaining.
     */
    public Builder setCornerKicks(int value) {
      copyOnWrite();
      instance.setCornerKicks(value);
      return this;
    }
    /**
     * int32 corner_kicks = 7 [json_name = "cornerKicks"];
     * @return This builder for chaining.
     */
    public Builder clearCornerKicks() {
      copyOnWrite();
      instance.clearCornerKicks();
      return this;
    }

    /**
     * int32 free_kicks = 8 [json_name = "freeKicks"];
     * @return The freeKicks.
     */
    @java.lang.Override
    public int getFreeKicks() {
      return instance.getFreeKicks();
    }
    /**
     * int32 free_kicks = 8 [json_name = "freeKicks"];
     * @param value The freeKicks to set.
     * @return This builder for chaining.
     */
    public Builder setFreeKicks(int value) {
      copyOnWrite();
      instance.setFreeKicks(value);
      return this;
    }
    /**
     * int32 free_kicks = 8 [json_name = "freeKicks"];
     * @return This builder for chaining.
     */
    public Builder clearFreeKicks() {
      copyOnWrite();
      instance.clearFreeKicks();
      return this;
    }

    /**
     * int32 red_cards = 9 [json_name = "redCards"];
     * @return The redCards.
     */
    @java.lang.Override
    public int getRedCards() {
      return instance.getRedCards();
    }
    /**
     * int32 red_cards = 9 [json_name = "redCards"];
     * @param value The redCards to set.
     * @return This builder for chaining.
     */
    public Builder setRedCards(int value) {
      copyOnWrite();
      instance.setRedCards(value);
      return this;
    }
    /**
     * int32 red_cards = 9 [json_name = "redCards"];
     * @return This builder for chaining.
     */
    public Builder clearRedCards() {
      copyOnWrite();
      instance.clearRedCards();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.SoccerTeamTopMatchStats)
  }
  @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.SoccerTeamTopMatchStats();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "possession_",
            "shots_",
            "shotsOnTarget_",
            "passes_",
            "offsides_",
            "yellowCards_",
            "cornerKicks_",
            "freeKicks_",
            "redCards_",
          };
          java.lang.String info =
              "\u0000\t\u0000\u0000\u0001\t\t\u0000\u0000\u0000\u0001\u0000\u0002\u0004\u0003\u0004" +
              "\u0004\u0004\u0005\u0004\u0006\u0004\u0007\u0004\b\u0004\t\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.soccer.SoccerTeamTopMatchStats.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.SoccerTeamTopMatchStats)
  private static final com.streamlayer.sports.soccer.SoccerTeamTopMatchStats DEFAULT_INSTANCE;
  static {
    SoccerTeamTopMatchStats defaultInstance = new SoccerTeamTopMatchStats();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      SoccerTeamTopMatchStats.class, defaultInstance);
  }

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