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

main.java.com.streamlayer.sportsdata.client.bets.Yards 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/sportsdata/client/bets/bets.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.sportsdata.client.bets;

/**
 * Protobuf type {@code streamlayer.sportsdata.client.bets.Yards}
 */
public  final class Yards extends
    com.google.protobuf.GeneratedMessageLite<
        Yards, Yards.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sportsdata.client.bets.Yards)
    YardsOrBuilder {
  private Yards() {
    player_ = "";
    overBetLink_ = "";
    underBetLink_ = "";
  }
  public static final int VALUE_FIELD_NUMBER = 1;
  private double value_;
  /**
   * double value = 1 [json_name = "value"];
   * @return The value.
   */
  @java.lang.Override
  public double getValue() {
    return value_;
  }
  /**
   * double value = 1 [json_name = "value"];
   * @param value The value to set.
   */
  private void setValue(double value) {
    
    value_ = value;
  }
  /**
   * double value = 1 [json_name = "value"];
   */
  private void clearValue() {

    value_ = 0D;
  }

  public static final int OVER_FIELD_NUMBER = 2;
  private int over_;
  /**
   * int32 over = 2 [json_name = "over"];
   * @return The over.
   */
  @java.lang.Override
  public int getOver() {
    return over_;
  }
  /**
   * int32 over = 2 [json_name = "over"];
   * @param value The over to set.
   */
  private void setOver(int value) {
    
    over_ = value;
  }
  /**
   * int32 over = 2 [json_name = "over"];
   */
  private void clearOver() {

    over_ = 0;
  }

  public static final int UNDER_FIELD_NUMBER = 3;
  private int under_;
  /**
   * int32 under = 3 [json_name = "under"];
   * @return The under.
   */
  @java.lang.Override
  public int getUnder() {
    return under_;
  }
  /**
   * int32 under = 3 [json_name = "under"];
   * @param value The under to set.
   */
  private void setUnder(int value) {
    
    under_ = value;
  }
  /**
   * int32 under = 3 [json_name = "under"];
   */
  private void clearUnder() {

    under_ = 0;
  }

  public static final int PLAYER_FIELD_NUMBER = 4;
  private java.lang.String player_;
  /**
   * string player = 4 [json_name = "player"];
   * @return The player.
   */
  @java.lang.Override
  public java.lang.String getPlayer() {
    return player_;
  }
  /**
   * string player = 4 [json_name = "player"];
   * @return The bytes for player.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPlayerBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(player_);
  }
  /**
   * string player = 4 [json_name = "player"];
   * @param value The player to set.
   */
  private void setPlayer(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    player_ = value;
  }
  /**
   * string player = 4 [json_name = "player"];
   */
  private void clearPlayer() {

    player_ = getDefaultInstance().getPlayer();
  }
  /**
   * string player = 4 [json_name = "player"];
   * @param value The bytes for player to set.
   */
  private void setPlayerBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    player_ = value.toStringUtf8();

  }

  public static final int OVER_BET_LINK_FIELD_NUMBER = 5;
  private java.lang.String overBetLink_;
  /**
   * string over_bet_link = 5 [json_name = "overBetLink"];
   * @return The overBetLink.
   */
  @java.lang.Override
  public java.lang.String getOverBetLink() {
    return overBetLink_;
  }
  /**
   * string over_bet_link = 5 [json_name = "overBetLink"];
   * @return The bytes for overBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOverBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(overBetLink_);
  }
  /**
   * string over_bet_link = 5 [json_name = "overBetLink"];
   * @param value The overBetLink to set.
   */
  private void setOverBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    overBetLink_ = value;
  }
  /**
   * string over_bet_link = 5 [json_name = "overBetLink"];
   */
  private void clearOverBetLink() {

    overBetLink_ = getDefaultInstance().getOverBetLink();
  }
  /**
   * string over_bet_link = 5 [json_name = "overBetLink"];
   * @param value The bytes for overBetLink to set.
   */
  private void setOverBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    overBetLink_ = value.toStringUtf8();

  }

  public static final int UNDER_BET_LINK_FIELD_NUMBER = 6;
  private java.lang.String underBetLink_;
  /**
   * string under_bet_link = 6 [json_name = "underBetLink"];
   * @return The underBetLink.
   */
  @java.lang.Override
  public java.lang.String getUnderBetLink() {
    return underBetLink_;
  }
  /**
   * string under_bet_link = 6 [json_name = "underBetLink"];
   * @return The bytes for underBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUnderBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(underBetLink_);
  }
  /**
   * string under_bet_link = 6 [json_name = "underBetLink"];
   * @param value The underBetLink to set.
   */
  private void setUnderBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    underBetLink_ = value;
  }
  /**
   * string under_bet_link = 6 [json_name = "underBetLink"];
   */
  private void clearUnderBetLink() {

    underBetLink_ = getDefaultInstance().getUnderBetLink();
  }
  /**
   * string under_bet_link = 6 [json_name = "underBetLink"];
   * @param value The bytes for underBetLink to set.
   */
  private void setUnderBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    underBetLink_ = value.toStringUtf8();

  }

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

  public static com.streamlayer.sportsdata.client.bets.Yards parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.streamlayer.sportsdata.client.bets.Yards parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sportsdata.client.bets.Yards 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.sportsdata.client.bets.Yards prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

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


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

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

    /**
     * int32 under = 3 [json_name = "under"];
     * @return The under.
     */
    @java.lang.Override
    public int getUnder() {
      return instance.getUnder();
    }
    /**
     * int32 under = 3 [json_name = "under"];
     * @param value The under to set.
     * @return This builder for chaining.
     */
    public Builder setUnder(int value) {
      copyOnWrite();
      instance.setUnder(value);
      return this;
    }
    /**
     * int32 under = 3 [json_name = "under"];
     * @return This builder for chaining.
     */
    public Builder clearUnder() {
      copyOnWrite();
      instance.clearUnder();
      return this;
    }

    /**
     * string player = 4 [json_name = "player"];
     * @return The player.
     */
    @java.lang.Override
    public java.lang.String getPlayer() {
      return instance.getPlayer();
    }
    /**
     * string player = 4 [json_name = "player"];
     * @return The bytes for player.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPlayerBytes() {
      return instance.getPlayerBytes();
    }
    /**
     * string player = 4 [json_name = "player"];
     * @param value The player to set.
     * @return This builder for chaining.
     */
    public Builder setPlayer(
        java.lang.String value) {
      copyOnWrite();
      instance.setPlayer(value);
      return this;
    }
    /**
     * string player = 4 [json_name = "player"];
     * @return This builder for chaining.
     */
    public Builder clearPlayer() {
      copyOnWrite();
      instance.clearPlayer();
      return this;
    }
    /**
     * string player = 4 [json_name = "player"];
     * @param value The bytes for player to set.
     * @return This builder for chaining.
     */
    public Builder setPlayerBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setPlayerBytes(value);
      return this;
    }

    /**
     * string over_bet_link = 5 [json_name = "overBetLink"];
     * @return The overBetLink.
     */
    @java.lang.Override
    public java.lang.String getOverBetLink() {
      return instance.getOverBetLink();
    }
    /**
     * string over_bet_link = 5 [json_name = "overBetLink"];
     * @return The bytes for overBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOverBetLinkBytes() {
      return instance.getOverBetLinkBytes();
    }
    /**
     * string over_bet_link = 5 [json_name = "overBetLink"];
     * @param value The overBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setOverBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setOverBetLink(value);
      return this;
    }
    /**
     * string over_bet_link = 5 [json_name = "overBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearOverBetLink() {
      copyOnWrite();
      instance.clearOverBetLink();
      return this;
    }
    /**
     * string over_bet_link = 5 [json_name = "overBetLink"];
     * @param value The bytes for overBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setOverBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setOverBetLinkBytes(value);
      return this;
    }

    /**
     * string under_bet_link = 6 [json_name = "underBetLink"];
     * @return The underBetLink.
     */
    @java.lang.Override
    public java.lang.String getUnderBetLink() {
      return instance.getUnderBetLink();
    }
    /**
     * string under_bet_link = 6 [json_name = "underBetLink"];
     * @return The bytes for underBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUnderBetLinkBytes() {
      return instance.getUnderBetLinkBytes();
    }
    /**
     * string under_bet_link = 6 [json_name = "underBetLink"];
     * @param value The underBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setUnderBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setUnderBetLink(value);
      return this;
    }
    /**
     * string under_bet_link = 6 [json_name = "underBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearUnderBetLink() {
      copyOnWrite();
      instance.clearUnderBetLink();
      return this;
    }
    /**
     * string under_bet_link = 6 [json_name = "underBetLink"];
     * @param value The bytes for underBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setUnderBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setUnderBetLinkBytes(value);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sportsdata.client.bets.Yards)
  }
  @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.sportsdata.client.bets.Yards();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "value_",
            "over_",
            "under_",
            "player_",
            "overBetLink_",
            "underBetLink_",
          };
          java.lang.String info =
              "\u0000\u0006\u0000\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0000\u0002\u0004" +
              "\u0003\u0004\u0004\u0208\u0005\u0208\u0006\u0208";
          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.sportsdata.client.bets.Yards.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.sportsdata.client.bets.Yards)
  private static final com.streamlayer.sportsdata.client.bets.Yards DEFAULT_INSTANCE;
  static {
    Yards defaultInstance = new Yards();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      Yards.class, defaultInstance);
  }

  public static com.streamlayer.sportsdata.client.bets.Yards 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