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

main.java.com.streamlayer.sportsdata.client.bets.OverUnder 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.OverUnder}
 */
public  final class OverUnder extends
    com.google.protobuf.GeneratedMessageLite<
        OverUnder, OverUnder.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sportsdata.client.bets.OverUnder)
    OverUnderOrBuilder {
  private OverUnder() {
    name_ = "";
    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 NAME_FIELD_NUMBER = 4;
  private java.lang.String name_;
  /**
   * string name = 4 [json_name = "name"];
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    return name_;
  }
  /**
   * string name = 4 [json_name = "name"];
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNameBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(name_);
  }
  /**
   * string name = 4 [json_name = "name"];
   * @param value The name to set.
   */
  private void setName(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    name_ = value;
  }
  /**
   * string name = 4 [json_name = "name"];
   */
  private void clearName() {

    name_ = getDefaultInstance().getName();
  }
  /**
   * string name = 4 [json_name = "name"];
   * @param value The bytes for name to set.
   */
  private void setNameBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    name_ = 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.OverUnder 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.OverUnder 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.OverUnder 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.OverUnder 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.OverUnder parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sportsdata.client.bets.OverUnder 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.OverUnder 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.OverUnder 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.OverUnder parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.sportsdata.client.bets.OverUnder 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.OverUnder 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.OverUnder 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.OverUnder prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.sportsdata.client.bets.OverUnder}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.sportsdata.client.bets.OverUnder, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.sportsdata.client.bets.OverUnder)
      com.streamlayer.sportsdata.client.bets.OverUnderOrBuilder {
    // Construct using com.streamlayer.sportsdata.client.bets.OverUnder.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 name = 4 [json_name = "name"];
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      return instance.getName();
    }
    /**
     * string name = 4 [json_name = "name"];
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      return instance.getNameBytes();
    }
    /**
     * string name = 4 [json_name = "name"];
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(
        java.lang.String value) {
      copyOnWrite();
      instance.setName(value);
      return this;
    }
    /**
     * string name = 4 [json_name = "name"];
     * @return This builder for chaining.
     */
    public Builder clearName() {
      copyOnWrite();
      instance.clearName();
      return this;
    }
    /**
     * string name = 4 [json_name = "name"];
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setNameBytes(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.OverUnder)
  }
  @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.OverUnder();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "value_",
            "over_",
            "under_",
            "name_",
            "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.OverUnder.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.OverUnder)
  private static final com.streamlayer.sportsdata.client.bets.OverUnder DEFAULT_INSTANCE;
  static {
    OverUnder defaultInstance = new OverUnder();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      OverUnder.class, defaultInstance);
  }

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