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

main.java.com.streamlayer.sportsdata.common.GameOdds 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/sportsdata_common.proto

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

/**
 * Protobuf type {@code streamlayer.sportsdata.GameOdds}
 */
public  final class GameOdds extends
    com.google.protobuf.GeneratedMessageLite<
        GameOdds, GameOdds.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sportsdata.GameOdds)
    GameOddsOrBuilder {
  private GameOdds() {
    odd_ = "";
    homeSpreadBetLink_ = "";
    awaySpreadBetLink_ = "";
    homeMoneyLineBetLink_ = "";
    awayMoneyLineBetLink_ = "";
    drawMoneyLineBetLink_ = "";
    overBetLink_ = "";
    underBetLink_ = "";
  }
  public static final int ODD_FIELD_NUMBER = 8;
  private java.lang.String odd_;
  /**
   * string odd = 8 [json_name = "odd"];
   * @return The odd.
   */
  @java.lang.Override
  public java.lang.String getOdd() {
    return odd_;
  }
  /**
   * string odd = 8 [json_name = "odd"];
   * @return The bytes for odd.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOddBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(odd_);
  }
  /**
   * string odd = 8 [json_name = "odd"];
   * @param value The odd to set.
   */
  private void setOdd(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    odd_ = value;
  }
  /**
   * string odd = 8 [json_name = "odd"];
   */
  private void clearOdd() {

    odd_ = getDefaultInstance().getOdd();
  }
  /**
   * string odd = 8 [json_name = "odd"];
   * @param value The bytes for odd to set.
   */
  private void setOddBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    odd_ = value.toStringUtf8();

  }

  public static final int TOTAL_FIELD_NUMBER = 3;
  private double total_;
  /**
   * double total = 3 [json_name = "total"];
   * @return The total.
   */
  @java.lang.Override
  public double getTotal() {
    return total_;
  }
  /**
   * double total = 3 [json_name = "total"];
   * @param value The total to set.
   */
  private void setTotal(double value) {
    
    total_ = value;
  }
  /**
   * double total = 3 [json_name = "total"];
   */
  private void clearTotal() {

    total_ = 0D;
  }

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

    over_ = 0;
  }

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

    under_ = 0;
  }

  public static final int HOME_MONEY_LINE_FIELD_NUMBER = 6;
  private int homeMoneyLine_;
  /**
   * int32 home_money_line = 6 [json_name = "homeMoneyLine"];
   * @return The homeMoneyLine.
   */
  @java.lang.Override
  public int getHomeMoneyLine() {
    return homeMoneyLine_;
  }
  /**
   * int32 home_money_line = 6 [json_name = "homeMoneyLine"];
   * @param value The homeMoneyLine to set.
   */
  private void setHomeMoneyLine(int value) {
    
    homeMoneyLine_ = value;
  }
  /**
   * int32 home_money_line = 6 [json_name = "homeMoneyLine"];
   */
  private void clearHomeMoneyLine() {

    homeMoneyLine_ = 0;
  }

  public static final int AWAY_MONEY_LINE_FIELD_NUMBER = 7;
  private int awayMoneyLine_;
  /**
   * int32 away_money_line = 7 [json_name = "awayMoneyLine"];
   * @return The awayMoneyLine.
   */
  @java.lang.Override
  public int getAwayMoneyLine() {
    return awayMoneyLine_;
  }
  /**
   * int32 away_money_line = 7 [json_name = "awayMoneyLine"];
   * @param value The awayMoneyLine to set.
   */
  private void setAwayMoneyLine(int value) {
    
    awayMoneyLine_ = value;
  }
  /**
   * int32 away_money_line = 7 [json_name = "awayMoneyLine"];
   */
  private void clearAwayMoneyLine() {

    awayMoneyLine_ = 0;
  }

  public static final int DRAW_MONEY_LINE_FIELD_NUMBER = 11;
  private int drawMoneyLine_;
  /**
   * int32 draw_money_line = 11 [json_name = "drawMoneyLine"];
   * @return The drawMoneyLine.
   */
  @java.lang.Override
  public int getDrawMoneyLine() {
    return drawMoneyLine_;
  }
  /**
   * int32 draw_money_line = 11 [json_name = "drawMoneyLine"];
   * @param value The drawMoneyLine to set.
   */
  private void setDrawMoneyLine(int value) {
    
    drawMoneyLine_ = value;
  }
  /**
   * int32 draw_money_line = 11 [json_name = "drawMoneyLine"];
   */
  private void clearDrawMoneyLine() {

    drawMoneyLine_ = 0;
  }

  public static final int HOME_SPREAD_FIELD_NUMBER = 1;
  private double homeSpread_;
  /**
   * double home_spread = 1 [json_name = "homeSpread"];
   * @return The homeSpread.
   */
  @java.lang.Override
  public double getHomeSpread() {
    return homeSpread_;
  }
  /**
   * double home_spread = 1 [json_name = "homeSpread"];
   * @param value The homeSpread to set.
   */
  private void setHomeSpread(double value) {
    
    homeSpread_ = value;
  }
  /**
   * double home_spread = 1 [json_name = "homeSpread"];
   */
  private void clearHomeSpread() {

    homeSpread_ = 0D;
  }

  public static final int AWAY_SPREAD_FIELD_NUMBER = 2;
  private double awaySpread_;
  /**
   * double away_spread = 2 [json_name = "awaySpread"];
   * @return The awaySpread.
   */
  @java.lang.Override
  public double getAwaySpread() {
    return awaySpread_;
  }
  /**
   * double away_spread = 2 [json_name = "awaySpread"];
   * @param value The awaySpread to set.
   */
  private void setAwaySpread(double value) {
    
    awaySpread_ = value;
  }
  /**
   * double away_spread = 2 [json_name = "awaySpread"];
   */
  private void clearAwaySpread() {

    awaySpread_ = 0D;
  }

  public static final int HOME_SPREAD_PAYOUT_FIELD_NUMBER = 9;
  private int homeSpreadPayout_;
  /**
   * int32 home_spread_payout = 9 [json_name = "homeSpreadPayout"];
   * @return The homeSpreadPayout.
   */
  @java.lang.Override
  public int getHomeSpreadPayout() {
    return homeSpreadPayout_;
  }
  /**
   * int32 home_spread_payout = 9 [json_name = "homeSpreadPayout"];
   * @param value The homeSpreadPayout to set.
   */
  private void setHomeSpreadPayout(int value) {
    
    homeSpreadPayout_ = value;
  }
  /**
   * int32 home_spread_payout = 9 [json_name = "homeSpreadPayout"];
   */
  private void clearHomeSpreadPayout() {

    homeSpreadPayout_ = 0;
  }

  public static final int AWAY_SPREAD_PAYOUT_FIELD_NUMBER = 10;
  private int awaySpreadPayout_;
  /**
   * int32 away_spread_payout = 10 [json_name = "awaySpreadPayout"];
   * @return The awaySpreadPayout.
   */
  @java.lang.Override
  public int getAwaySpreadPayout() {
    return awaySpreadPayout_;
  }
  /**
   * int32 away_spread_payout = 10 [json_name = "awaySpreadPayout"];
   * @param value The awaySpreadPayout to set.
   */
  private void setAwaySpreadPayout(int value) {
    
    awaySpreadPayout_ = value;
  }
  /**
   * int32 away_spread_payout = 10 [json_name = "awaySpreadPayout"];
   */
  private void clearAwaySpreadPayout() {

    awaySpreadPayout_ = 0;
  }

  public static final int HOME_SPREAD_BET_LINK_FIELD_NUMBER = 12;
  private java.lang.String homeSpreadBetLink_;
  /**
   * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
   * @return The homeSpreadBetLink.
   */
  @java.lang.Override
  public java.lang.String getHomeSpreadBetLink() {
    return homeSpreadBetLink_;
  }
  /**
   * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
   * @return The bytes for homeSpreadBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getHomeSpreadBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(homeSpreadBetLink_);
  }
  /**
   * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
   * @param value The homeSpreadBetLink to set.
   */
  private void setHomeSpreadBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    homeSpreadBetLink_ = value;
  }
  /**
   * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
   */
  private void clearHomeSpreadBetLink() {

    homeSpreadBetLink_ = getDefaultInstance().getHomeSpreadBetLink();
  }
  /**
   * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
   * @param value The bytes for homeSpreadBetLink to set.
   */
  private void setHomeSpreadBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    homeSpreadBetLink_ = value.toStringUtf8();

  }

  public static final int AWAY_SPREAD_BET_LINK_FIELD_NUMBER = 13;
  private java.lang.String awaySpreadBetLink_;
  /**
   * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
   * @return The awaySpreadBetLink.
   */
  @java.lang.Override
  public java.lang.String getAwaySpreadBetLink() {
    return awaySpreadBetLink_;
  }
  /**
   * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
   * @return The bytes for awaySpreadBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAwaySpreadBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(awaySpreadBetLink_);
  }
  /**
   * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
   * @param value The awaySpreadBetLink to set.
   */
  private void setAwaySpreadBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    awaySpreadBetLink_ = value;
  }
  /**
   * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
   */
  private void clearAwaySpreadBetLink() {

    awaySpreadBetLink_ = getDefaultInstance().getAwaySpreadBetLink();
  }
  /**
   * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
   * @param value The bytes for awaySpreadBetLink to set.
   */
  private void setAwaySpreadBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    awaySpreadBetLink_ = value.toStringUtf8();

  }

  public static final int HOME_MONEY_LINE_BET_LINK_FIELD_NUMBER = 14;
  private java.lang.String homeMoneyLineBetLink_;
  /**
   * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
   * @return The homeMoneyLineBetLink.
   */
  @java.lang.Override
  public java.lang.String getHomeMoneyLineBetLink() {
    return homeMoneyLineBetLink_;
  }
  /**
   * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
   * @return The bytes for homeMoneyLineBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getHomeMoneyLineBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(homeMoneyLineBetLink_);
  }
  /**
   * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
   * @param value The homeMoneyLineBetLink to set.
   */
  private void setHomeMoneyLineBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    homeMoneyLineBetLink_ = value;
  }
  /**
   * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
   */
  private void clearHomeMoneyLineBetLink() {

    homeMoneyLineBetLink_ = getDefaultInstance().getHomeMoneyLineBetLink();
  }
  /**
   * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
   * @param value The bytes for homeMoneyLineBetLink to set.
   */
  private void setHomeMoneyLineBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    homeMoneyLineBetLink_ = value.toStringUtf8();

  }

  public static final int AWAY_MONEY_LINE_BET_LINK_FIELD_NUMBER = 15;
  private java.lang.String awayMoneyLineBetLink_;
  /**
   * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
   * @return The awayMoneyLineBetLink.
   */
  @java.lang.Override
  public java.lang.String getAwayMoneyLineBetLink() {
    return awayMoneyLineBetLink_;
  }
  /**
   * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
   * @return The bytes for awayMoneyLineBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAwayMoneyLineBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(awayMoneyLineBetLink_);
  }
  /**
   * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
   * @param value The awayMoneyLineBetLink to set.
   */
  private void setAwayMoneyLineBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    awayMoneyLineBetLink_ = value;
  }
  /**
   * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
   */
  private void clearAwayMoneyLineBetLink() {

    awayMoneyLineBetLink_ = getDefaultInstance().getAwayMoneyLineBetLink();
  }
  /**
   * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
   * @param value The bytes for awayMoneyLineBetLink to set.
   */
  private void setAwayMoneyLineBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    awayMoneyLineBetLink_ = value.toStringUtf8();

  }

  public static final int DRAW_MONEY_LINE_BET_LINK_FIELD_NUMBER = 16;
  private java.lang.String drawMoneyLineBetLink_;
  /**
   * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
   * @return The drawMoneyLineBetLink.
   */
  @java.lang.Override
  public java.lang.String getDrawMoneyLineBetLink() {
    return drawMoneyLineBetLink_;
  }
  /**
   * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
   * @return The bytes for drawMoneyLineBetLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDrawMoneyLineBetLinkBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(drawMoneyLineBetLink_);
  }
  /**
   * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
   * @param value The drawMoneyLineBetLink to set.
   */
  private void setDrawMoneyLineBetLink(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    drawMoneyLineBetLink_ = value;
  }
  /**
   * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
   */
  private void clearDrawMoneyLineBetLink() {

    drawMoneyLineBetLink_ = getDefaultInstance().getDrawMoneyLineBetLink();
  }
  /**
   * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
   * @param value The bytes for drawMoneyLineBetLink to set.
   */
  private void setDrawMoneyLineBetLinkBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    drawMoneyLineBetLink_ = value.toStringUtf8();

  }

  public static final int OVER_BET_LINK_FIELD_NUMBER = 17;
  private java.lang.String overBetLink_;
  /**
   * string over_bet_link = 17 [json_name = "overBetLink"];
   * @return The overBetLink.
   */
  @java.lang.Override
  public java.lang.String getOverBetLink() {
    return overBetLink_;
  }
  /**
   * string over_bet_link = 17 [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 = 17 [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 = 17 [json_name = "overBetLink"];
   */
  private void clearOverBetLink() {

    overBetLink_ = getDefaultInstance().getOverBetLink();
  }
  /**
   * string over_bet_link = 17 [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 = 18;
  private java.lang.String underBetLink_;
  /**
   * string under_bet_link = 18 [json_name = "underBetLink"];
   * @return The underBetLink.
   */
  @java.lang.Override
  public java.lang.String getUnderBetLink() {
    return underBetLink_;
  }
  /**
   * string under_bet_link = 18 [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 = 18 [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 = 18 [json_name = "underBetLink"];
   */
  private void clearUnderBetLink() {

    underBetLink_ = getDefaultInstance().getUnderBetLink();
  }
  /**
   * string under_bet_link = 18 [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.common.GameOdds parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sportsdata.common.GameOdds 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.common.GameOdds 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.common.GameOdds 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.common.GameOdds parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sportsdata.common.GameOdds 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.common.GameOdds parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sportsdata.common.GameOdds 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.common.GameOdds parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

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

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


    /**
     * string odd = 8 [json_name = "odd"];
     * @return The odd.
     */
    @java.lang.Override
    public java.lang.String getOdd() {
      return instance.getOdd();
    }
    /**
     * string odd = 8 [json_name = "odd"];
     * @return The bytes for odd.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOddBytes() {
      return instance.getOddBytes();
    }
    /**
     * string odd = 8 [json_name = "odd"];
     * @param value The odd to set.
     * @return This builder for chaining.
     */
    public Builder setOdd(
        java.lang.String value) {
      copyOnWrite();
      instance.setOdd(value);
      return this;
    }
    /**
     * string odd = 8 [json_name = "odd"];
     * @return This builder for chaining.
     */
    public Builder clearOdd() {
      copyOnWrite();
      instance.clearOdd();
      return this;
    }
    /**
     * string odd = 8 [json_name = "odd"];
     * @param value The bytes for odd to set.
     * @return This builder for chaining.
     */
    public Builder setOddBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setOddBytes(value);
      return this;
    }

    /**
     * double total = 3 [json_name = "total"];
     * @return The total.
     */
    @java.lang.Override
    public double getTotal() {
      return instance.getTotal();
    }
    /**
     * double total = 3 [json_name = "total"];
     * @param value The total to set.
     * @return This builder for chaining.
     */
    public Builder setTotal(double value) {
      copyOnWrite();
      instance.setTotal(value);
      return this;
    }
    /**
     * double total = 3 [json_name = "total"];
     * @return This builder for chaining.
     */
    public Builder clearTotal() {
      copyOnWrite();
      instance.clearTotal();
      return this;
    }

    /**
     * int32 over = 4 [json_name = "over"];
     * @return The over.
     */
    @java.lang.Override
    public int getOver() {
      return instance.getOver();
    }
    /**
     * int32 over = 4 [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 = 4 [json_name = "over"];
     * @return This builder for chaining.
     */
    public Builder clearOver() {
      copyOnWrite();
      instance.clearOver();
      return this;
    }

    /**
     * int32 under = 5 [json_name = "under"];
     * @return The under.
     */
    @java.lang.Override
    public int getUnder() {
      return instance.getUnder();
    }
    /**
     * int32 under = 5 [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 = 5 [json_name = "under"];
     * @return This builder for chaining.
     */
    public Builder clearUnder() {
      copyOnWrite();
      instance.clearUnder();
      return this;
    }

    /**
     * int32 home_money_line = 6 [json_name = "homeMoneyLine"];
     * @return The homeMoneyLine.
     */
    @java.lang.Override
    public int getHomeMoneyLine() {
      return instance.getHomeMoneyLine();
    }
    /**
     * int32 home_money_line = 6 [json_name = "homeMoneyLine"];
     * @param value The homeMoneyLine to set.
     * @return This builder for chaining.
     */
    public Builder setHomeMoneyLine(int value) {
      copyOnWrite();
      instance.setHomeMoneyLine(value);
      return this;
    }
    /**
     * int32 home_money_line = 6 [json_name = "homeMoneyLine"];
     * @return This builder for chaining.
     */
    public Builder clearHomeMoneyLine() {
      copyOnWrite();
      instance.clearHomeMoneyLine();
      return this;
    }

    /**
     * int32 away_money_line = 7 [json_name = "awayMoneyLine"];
     * @return The awayMoneyLine.
     */
    @java.lang.Override
    public int getAwayMoneyLine() {
      return instance.getAwayMoneyLine();
    }
    /**
     * int32 away_money_line = 7 [json_name = "awayMoneyLine"];
     * @param value The awayMoneyLine to set.
     * @return This builder for chaining.
     */
    public Builder setAwayMoneyLine(int value) {
      copyOnWrite();
      instance.setAwayMoneyLine(value);
      return this;
    }
    /**
     * int32 away_money_line = 7 [json_name = "awayMoneyLine"];
     * @return This builder for chaining.
     */
    public Builder clearAwayMoneyLine() {
      copyOnWrite();
      instance.clearAwayMoneyLine();
      return this;
    }

    /**
     * int32 draw_money_line = 11 [json_name = "drawMoneyLine"];
     * @return The drawMoneyLine.
     */
    @java.lang.Override
    public int getDrawMoneyLine() {
      return instance.getDrawMoneyLine();
    }
    /**
     * int32 draw_money_line = 11 [json_name = "drawMoneyLine"];
     * @param value The drawMoneyLine to set.
     * @return This builder for chaining.
     */
    public Builder setDrawMoneyLine(int value) {
      copyOnWrite();
      instance.setDrawMoneyLine(value);
      return this;
    }
    /**
     * int32 draw_money_line = 11 [json_name = "drawMoneyLine"];
     * @return This builder for chaining.
     */
    public Builder clearDrawMoneyLine() {
      copyOnWrite();
      instance.clearDrawMoneyLine();
      return this;
    }

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

    /**
     * double away_spread = 2 [json_name = "awaySpread"];
     * @return The awaySpread.
     */
    @java.lang.Override
    public double getAwaySpread() {
      return instance.getAwaySpread();
    }
    /**
     * double away_spread = 2 [json_name = "awaySpread"];
     * @param value The awaySpread to set.
     * @return This builder for chaining.
     */
    public Builder setAwaySpread(double value) {
      copyOnWrite();
      instance.setAwaySpread(value);
      return this;
    }
    /**
     * double away_spread = 2 [json_name = "awaySpread"];
     * @return This builder for chaining.
     */
    public Builder clearAwaySpread() {
      copyOnWrite();
      instance.clearAwaySpread();
      return this;
    }

    /**
     * int32 home_spread_payout = 9 [json_name = "homeSpreadPayout"];
     * @return The homeSpreadPayout.
     */
    @java.lang.Override
    public int getHomeSpreadPayout() {
      return instance.getHomeSpreadPayout();
    }
    /**
     * int32 home_spread_payout = 9 [json_name = "homeSpreadPayout"];
     * @param value The homeSpreadPayout to set.
     * @return This builder for chaining.
     */
    public Builder setHomeSpreadPayout(int value) {
      copyOnWrite();
      instance.setHomeSpreadPayout(value);
      return this;
    }
    /**
     * int32 home_spread_payout = 9 [json_name = "homeSpreadPayout"];
     * @return This builder for chaining.
     */
    public Builder clearHomeSpreadPayout() {
      copyOnWrite();
      instance.clearHomeSpreadPayout();
      return this;
    }

    /**
     * int32 away_spread_payout = 10 [json_name = "awaySpreadPayout"];
     * @return The awaySpreadPayout.
     */
    @java.lang.Override
    public int getAwaySpreadPayout() {
      return instance.getAwaySpreadPayout();
    }
    /**
     * int32 away_spread_payout = 10 [json_name = "awaySpreadPayout"];
     * @param value The awaySpreadPayout to set.
     * @return This builder for chaining.
     */
    public Builder setAwaySpreadPayout(int value) {
      copyOnWrite();
      instance.setAwaySpreadPayout(value);
      return this;
    }
    /**
     * int32 away_spread_payout = 10 [json_name = "awaySpreadPayout"];
     * @return This builder for chaining.
     */
    public Builder clearAwaySpreadPayout() {
      copyOnWrite();
      instance.clearAwaySpreadPayout();
      return this;
    }

    /**
     * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
     * @return The homeSpreadBetLink.
     */
    @java.lang.Override
    public java.lang.String getHomeSpreadBetLink() {
      return instance.getHomeSpreadBetLink();
    }
    /**
     * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
     * @return The bytes for homeSpreadBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getHomeSpreadBetLinkBytes() {
      return instance.getHomeSpreadBetLinkBytes();
    }
    /**
     * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
     * @param value The homeSpreadBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setHomeSpreadBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setHomeSpreadBetLink(value);
      return this;
    }
    /**
     * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearHomeSpreadBetLink() {
      copyOnWrite();
      instance.clearHomeSpreadBetLink();
      return this;
    }
    /**
     * string home_spread_bet_link = 12 [json_name = "homeSpreadBetLink"];
     * @param value The bytes for homeSpreadBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setHomeSpreadBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setHomeSpreadBetLinkBytes(value);
      return this;
    }

    /**
     * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
     * @return The awaySpreadBetLink.
     */
    @java.lang.Override
    public java.lang.String getAwaySpreadBetLink() {
      return instance.getAwaySpreadBetLink();
    }
    /**
     * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
     * @return The bytes for awaySpreadBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAwaySpreadBetLinkBytes() {
      return instance.getAwaySpreadBetLinkBytes();
    }
    /**
     * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
     * @param value The awaySpreadBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setAwaySpreadBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setAwaySpreadBetLink(value);
      return this;
    }
    /**
     * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearAwaySpreadBetLink() {
      copyOnWrite();
      instance.clearAwaySpreadBetLink();
      return this;
    }
    /**
     * string away_spread_bet_link = 13 [json_name = "awaySpreadBetLink"];
     * @param value The bytes for awaySpreadBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setAwaySpreadBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setAwaySpreadBetLinkBytes(value);
      return this;
    }

    /**
     * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
     * @return The homeMoneyLineBetLink.
     */
    @java.lang.Override
    public java.lang.String getHomeMoneyLineBetLink() {
      return instance.getHomeMoneyLineBetLink();
    }
    /**
     * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
     * @return The bytes for homeMoneyLineBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getHomeMoneyLineBetLinkBytes() {
      return instance.getHomeMoneyLineBetLinkBytes();
    }
    /**
     * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
     * @param value The homeMoneyLineBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setHomeMoneyLineBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setHomeMoneyLineBetLink(value);
      return this;
    }
    /**
     * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearHomeMoneyLineBetLink() {
      copyOnWrite();
      instance.clearHomeMoneyLineBetLink();
      return this;
    }
    /**
     * string home_money_line_bet_link = 14 [json_name = "homeMoneyLineBetLink"];
     * @param value The bytes for homeMoneyLineBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setHomeMoneyLineBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setHomeMoneyLineBetLinkBytes(value);
      return this;
    }

    /**
     * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
     * @return The awayMoneyLineBetLink.
     */
    @java.lang.Override
    public java.lang.String getAwayMoneyLineBetLink() {
      return instance.getAwayMoneyLineBetLink();
    }
    /**
     * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
     * @return The bytes for awayMoneyLineBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAwayMoneyLineBetLinkBytes() {
      return instance.getAwayMoneyLineBetLinkBytes();
    }
    /**
     * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
     * @param value The awayMoneyLineBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setAwayMoneyLineBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setAwayMoneyLineBetLink(value);
      return this;
    }
    /**
     * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearAwayMoneyLineBetLink() {
      copyOnWrite();
      instance.clearAwayMoneyLineBetLink();
      return this;
    }
    /**
     * string away_money_line_bet_link = 15 [json_name = "awayMoneyLineBetLink"];
     * @param value The bytes for awayMoneyLineBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setAwayMoneyLineBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setAwayMoneyLineBetLinkBytes(value);
      return this;
    }

    /**
     * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
     * @return The drawMoneyLineBetLink.
     */
    @java.lang.Override
    public java.lang.String getDrawMoneyLineBetLink() {
      return instance.getDrawMoneyLineBetLink();
    }
    /**
     * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
     * @return The bytes for drawMoneyLineBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDrawMoneyLineBetLinkBytes() {
      return instance.getDrawMoneyLineBetLinkBytes();
    }
    /**
     * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
     * @param value The drawMoneyLineBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setDrawMoneyLineBetLink(
        java.lang.String value) {
      copyOnWrite();
      instance.setDrawMoneyLineBetLink(value);
      return this;
    }
    /**
     * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearDrawMoneyLineBetLink() {
      copyOnWrite();
      instance.clearDrawMoneyLineBetLink();
      return this;
    }
    /**
     * string draw_money_line_bet_link = 16 [json_name = "drawMoneyLineBetLink"];
     * @param value The bytes for drawMoneyLineBetLink to set.
     * @return This builder for chaining.
     */
    public Builder setDrawMoneyLineBetLinkBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setDrawMoneyLineBetLinkBytes(value);
      return this;
    }

    /**
     * string over_bet_link = 17 [json_name = "overBetLink"];
     * @return The overBetLink.
     */
    @java.lang.Override
    public java.lang.String getOverBetLink() {
      return instance.getOverBetLink();
    }
    /**
     * string over_bet_link = 17 [json_name = "overBetLink"];
     * @return The bytes for overBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getOverBetLinkBytes() {
      return instance.getOverBetLinkBytes();
    }
    /**
     * string over_bet_link = 17 [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 = 17 [json_name = "overBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearOverBetLink() {
      copyOnWrite();
      instance.clearOverBetLink();
      return this;
    }
    /**
     * string over_bet_link = 17 [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 = 18 [json_name = "underBetLink"];
     * @return The underBetLink.
     */
    @java.lang.Override
    public java.lang.String getUnderBetLink() {
      return instance.getUnderBetLink();
    }
    /**
     * string under_bet_link = 18 [json_name = "underBetLink"];
     * @return The bytes for underBetLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUnderBetLinkBytes() {
      return instance.getUnderBetLinkBytes();
    }
    /**
     * string under_bet_link = 18 [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 = 18 [json_name = "underBetLink"];
     * @return This builder for chaining.
     */
    public Builder clearUnderBetLink() {
      copyOnWrite();
      instance.clearUnderBetLink();
      return this;
    }
    /**
     * string under_bet_link = 18 [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.GameOdds)
  }
  @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.common.GameOdds();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "homeSpread_",
            "awaySpread_",
            "total_",
            "over_",
            "under_",
            "homeMoneyLine_",
            "awayMoneyLine_",
            "odd_",
            "homeSpreadPayout_",
            "awaySpreadPayout_",
            "drawMoneyLine_",
            "homeSpreadBetLink_",
            "awaySpreadBetLink_",
            "homeMoneyLineBetLink_",
            "awayMoneyLineBetLink_",
            "drawMoneyLineBetLink_",
            "overBetLink_",
            "underBetLink_",
          };
          java.lang.String info =
              "\u0000\u0012\u0000\u0000\u0001\u0012\u0012\u0000\u0000\u0000\u0001\u0000\u0002\u0000" +
              "\u0003\u0000\u0004\u0004\u0005\u0004\u0006\u0004\u0007\u0004\b\u0208\t\u0004\n\u0004" +
              "\u000b\u0004\f\u0208\r\u0208\u000e\u0208\u000f\u0208\u0010\u0208\u0011\u0208\u0012" +
              "\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.common.GameOdds.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.GameOdds)
  private static final com.streamlayer.sportsdata.common.GameOdds DEFAULT_INSTANCE;
  static {
    GameOdds defaultInstance = new GameOdds();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      GameOdds.class, defaultInstance);
  }

  public static com.streamlayer.sportsdata.common.GameOdds 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