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

main.java.com.streamlayer.sports.basketball.BasketballTeamSummary 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.BasketballTeamSummary}
 */
public  final class BasketballTeamSummary extends
    com.google.protobuf.GeneratedMessageLite<
        BasketballTeamSummary, BasketballTeamSummary.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.basketball.BasketballTeamSummary)
    BasketballTeamSummaryOrBuilder {
  private BasketballTeamSummary() {
  }
  public static final int FIELD_GOAL_PERCENTAGE_FIELD_NUMBER = 1;
  private double fieldGoalPercentage_;
  /**
   * double field_goal_percentage = 1 [json_name = "fieldGoalPercentage"];
   * @return The fieldGoalPercentage.
   */
  @java.lang.Override
  public double getFieldGoalPercentage() {
    return fieldGoalPercentage_;
  }
  /**
   * double field_goal_percentage = 1 [json_name = "fieldGoalPercentage"];
   * @param value The fieldGoalPercentage to set.
   */
  private void setFieldGoalPercentage(double value) {
    
    fieldGoalPercentage_ = value;
  }
  /**
   * double field_goal_percentage = 1 [json_name = "fieldGoalPercentage"];
   */
  private void clearFieldGoalPercentage() {

    fieldGoalPercentage_ = 0D;
  }

  public static final int THREE_PTS_PERCENTAGE_FIELD_NUMBER = 2;
  private double threePtsPercentage_;
  /**
   * double three_pts_percentage = 2 [json_name = "threePtsPercentage"];
   * @return The threePtsPercentage.
   */
  @java.lang.Override
  public double getThreePtsPercentage() {
    return threePtsPercentage_;
  }
  /**
   * double three_pts_percentage = 2 [json_name = "threePtsPercentage"];
   * @param value The threePtsPercentage to set.
   */
  private void setThreePtsPercentage(double value) {
    
    threePtsPercentage_ = value;
  }
  /**
   * double three_pts_percentage = 2 [json_name = "threePtsPercentage"];
   */
  private void clearThreePtsPercentage() {

    threePtsPercentage_ = 0D;
  }

  public static final int FREE_THROW_PERCENTAGE_FIELD_NUMBER = 3;
  private double freeThrowPercentage_;
  /**
   * double free_throw_percentage = 3 [json_name = "freeThrowPercentage"];
   * @return The freeThrowPercentage.
   */
  @java.lang.Override
  public double getFreeThrowPercentage() {
    return freeThrowPercentage_;
  }
  /**
   * double free_throw_percentage = 3 [json_name = "freeThrowPercentage"];
   * @param value The freeThrowPercentage to set.
   */
  private void setFreeThrowPercentage(double value) {
    
    freeThrowPercentage_ = value;
  }
  /**
   * double free_throw_percentage = 3 [json_name = "freeThrowPercentage"];
   */
  private void clearFreeThrowPercentage() {

    freeThrowPercentage_ = 0D;
  }

  public static final int ASSISTS_FIELD_NUMBER = 4;
  private int assists_;
  /**
   * int32 assists = 4 [json_name = "assists"];
   * @return The assists.
   */
  @java.lang.Override
  public int getAssists() {
    return assists_;
  }
  /**
   * int32 assists = 4 [json_name = "assists"];
   * @param value The assists to set.
   */
  private void setAssists(int value) {
    
    assists_ = value;
  }
  /**
   * int32 assists = 4 [json_name = "assists"];
   */
  private void clearAssists() {

    assists_ = 0;
  }

  public static final int REBOUNDS_FIELD_NUMBER = 5;
  private int rebounds_;
  /**
   * int32 rebounds = 5 [json_name = "rebounds"];
   * @return The rebounds.
   */
  @java.lang.Override
  public int getRebounds() {
    return rebounds_;
  }
  /**
   * int32 rebounds = 5 [json_name = "rebounds"];
   * @param value The rebounds to set.
   */
  private void setRebounds(int value) {
    
    rebounds_ = value;
  }
  /**
   * int32 rebounds = 5 [json_name = "rebounds"];
   */
  private void clearRebounds() {

    rebounds_ = 0;
  }

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

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

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


    /**
     * double field_goal_percentage = 1 [json_name = "fieldGoalPercentage"];
     * @return The fieldGoalPercentage.
     */
    @java.lang.Override
    public double getFieldGoalPercentage() {
      return instance.getFieldGoalPercentage();
    }
    /**
     * double field_goal_percentage = 1 [json_name = "fieldGoalPercentage"];
     * @param value The fieldGoalPercentage to set.
     * @return This builder for chaining.
     */
    public Builder setFieldGoalPercentage(double value) {
      copyOnWrite();
      instance.setFieldGoalPercentage(value);
      return this;
    }
    /**
     * double field_goal_percentage = 1 [json_name = "fieldGoalPercentage"];
     * @return This builder for chaining.
     */
    public Builder clearFieldGoalPercentage() {
      copyOnWrite();
      instance.clearFieldGoalPercentage();
      return this;
    }

    /**
     * double three_pts_percentage = 2 [json_name = "threePtsPercentage"];
     * @return The threePtsPercentage.
     */
    @java.lang.Override
    public double getThreePtsPercentage() {
      return instance.getThreePtsPercentage();
    }
    /**
     * double three_pts_percentage = 2 [json_name = "threePtsPercentage"];
     * @param value The threePtsPercentage to set.
     * @return This builder for chaining.
     */
    public Builder setThreePtsPercentage(double value) {
      copyOnWrite();
      instance.setThreePtsPercentage(value);
      return this;
    }
    /**
     * double three_pts_percentage = 2 [json_name = "threePtsPercentage"];
     * @return This builder for chaining.
     */
    public Builder clearThreePtsPercentage() {
      copyOnWrite();
      instance.clearThreePtsPercentage();
      return this;
    }

    /**
     * double free_throw_percentage = 3 [json_name = "freeThrowPercentage"];
     * @return The freeThrowPercentage.
     */
    @java.lang.Override
    public double getFreeThrowPercentage() {
      return instance.getFreeThrowPercentage();
    }
    /**
     * double free_throw_percentage = 3 [json_name = "freeThrowPercentage"];
     * @param value The freeThrowPercentage to set.
     * @return This builder for chaining.
     */
    public Builder setFreeThrowPercentage(double value) {
      copyOnWrite();
      instance.setFreeThrowPercentage(value);
      return this;
    }
    /**
     * double free_throw_percentage = 3 [json_name = "freeThrowPercentage"];
     * @return This builder for chaining.
     */
    public Builder clearFreeThrowPercentage() {
      copyOnWrite();
      instance.clearFreeThrowPercentage();
      return this;
    }

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

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

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

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