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

main.java.com.streamlayer.sports.common.Query 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/sports_common.proto

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

/**
 * Protobuf type {@code streamlayer.sports.Query}
 */
public  final class Query extends
    com.google.protobuf.GeneratedMessageLite<
        Query, Query.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.Query)
    QueryOrBuilder {
  private Query() {
    provider_ = "";
    match_ = emptyProtobufList();
    ne_ = emptyProtobufList();
    eq_ = emptyProtobufList();
    between_ = emptyProtobufList();
    includes_ = emptyProtobufList();
    is_ = emptyProtobufList();
  }
  public static final int PROVIDER_FIELD_NUMBER = 1;
  private java.lang.String provider_;
  /**
   * string provider = 1 [json_name = "provider"];
   * @return The provider.
   */
  @java.lang.Override
  public java.lang.String getProvider() {
    return provider_;
  }
  /**
   * string provider = 1 [json_name = "provider"];
   * @return The bytes for provider.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getProviderBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(provider_);
  }
  /**
   * string provider = 1 [json_name = "provider"];
   * @param value The provider to set.
   */
  private void setProvider(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    provider_ = value;
  }
  /**
   * string provider = 1 [json_name = "provider"];
   */
  private void clearProvider() {

    provider_ = getDefaultInstance().getProvider();
  }
  /**
   * string provider = 1 [json_name = "provider"];
   * @param value The bytes for provider to set.
   */
  private void setProviderBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    provider_ = value.toStringUtf8();

  }

  public static final int MATCH_FIELD_NUMBER = 2;
  private com.google.protobuf.Internal.ProtobufList match_;
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  @java.lang.Override
  public java.util.List getMatchList() {
    return match_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  public java.util.List 
      getMatchOrBuilderList() {
    return match_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  @java.lang.Override
  public int getMatchCount() {
    return match_.size();
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  @java.lang.Override
  public com.streamlayer.sports.common.QueryOption getMatch(int index) {
    return match_.get(index);
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  public com.streamlayer.sports.common.QueryOptionOrBuilder getMatchOrBuilder(
      int index) {
    return match_.get(index);
  }
  private void ensureMatchIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = match_;
    if (!tmp.isModifiable()) {
      match_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  private void setMatch(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureMatchIsMutable();
    match_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  private void addMatch(com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureMatchIsMutable();
    match_.add(value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  private void addMatch(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureMatchIsMutable();
    match_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  private void addAllMatch(
      java.lang.Iterable values) {
    ensureMatchIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, match_);
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  private void clearMatch() {
    match_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
   */
  private void removeMatch(int index) {
    ensureMatchIsMutable();
    match_.remove(index);
  }

  public static final int NE_FIELD_NUMBER = 3;
  private com.google.protobuf.Internal.ProtobufList ne_;
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  @java.lang.Override
  public java.util.List getNeList() {
    return ne_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  public java.util.List 
      getNeOrBuilderList() {
    return ne_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  @java.lang.Override
  public int getNeCount() {
    return ne_.size();
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  @java.lang.Override
  public com.streamlayer.sports.common.QueryOption getNe(int index) {
    return ne_.get(index);
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  public com.streamlayer.sports.common.QueryOptionOrBuilder getNeOrBuilder(
      int index) {
    return ne_.get(index);
  }
  private void ensureNeIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = ne_;
    if (!tmp.isModifiable()) {
      ne_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  private void setNe(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureNeIsMutable();
    ne_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  private void addNe(com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureNeIsMutable();
    ne_.add(value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  private void addNe(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureNeIsMutable();
    ne_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  private void addAllNe(
      java.lang.Iterable values) {
    ensureNeIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, ne_);
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  private void clearNe() {
    ne_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
   */
  private void removeNe(int index) {
    ensureNeIsMutable();
    ne_.remove(index);
  }

  public static final int EQ_FIELD_NUMBER = 4;
  private com.google.protobuf.Internal.ProtobufList eq_;
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  @java.lang.Override
  public java.util.List getEqList() {
    return eq_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  public java.util.List 
      getEqOrBuilderList() {
    return eq_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  @java.lang.Override
  public int getEqCount() {
    return eq_.size();
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  @java.lang.Override
  public com.streamlayer.sports.common.QueryOption getEq(int index) {
    return eq_.get(index);
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  public com.streamlayer.sports.common.QueryOptionOrBuilder getEqOrBuilder(
      int index) {
    return eq_.get(index);
  }
  private void ensureEqIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = eq_;
    if (!tmp.isModifiable()) {
      eq_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  private void setEq(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureEqIsMutable();
    eq_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  private void addEq(com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureEqIsMutable();
    eq_.add(value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  private void addEq(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureEqIsMutable();
    eq_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  private void addAllEq(
      java.lang.Iterable values) {
    ensureEqIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, eq_);
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  private void clearEq() {
    eq_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
   */
  private void removeEq(int index) {
    ensureEqIsMutable();
    eq_.remove(index);
  }

  public static final int BETWEEN_FIELD_NUMBER = 5;
  private com.google.protobuf.Internal.ProtobufList between_;
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  @java.lang.Override
  public java.util.List getBetweenList() {
    return between_;
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  public java.util.List 
      getBetweenOrBuilderList() {
    return between_;
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  @java.lang.Override
  public int getBetweenCount() {
    return between_.size();
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  @java.lang.Override
  public com.streamlayer.sports.common.ArrayQueryOption getBetween(int index) {
    return between_.get(index);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  public com.streamlayer.sports.common.ArrayQueryOptionOrBuilder getBetweenOrBuilder(
      int index) {
    return between_.get(index);
  }
  private void ensureBetweenIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = between_;
    if (!tmp.isModifiable()) {
      between_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  private void setBetween(
      int index, com.streamlayer.sports.common.ArrayQueryOption value) {
    value.getClass();
  ensureBetweenIsMutable();
    between_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  private void addBetween(com.streamlayer.sports.common.ArrayQueryOption value) {
    value.getClass();
  ensureBetweenIsMutable();
    between_.add(value);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  private void addBetween(
      int index, com.streamlayer.sports.common.ArrayQueryOption value) {
    value.getClass();
  ensureBetweenIsMutable();
    between_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  private void addAllBetween(
      java.lang.Iterable values) {
    ensureBetweenIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, between_);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  private void clearBetween() {
    between_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
   */
  private void removeBetween(int index) {
    ensureBetweenIsMutable();
    between_.remove(index);
  }

  public static final int INCLUDES_FIELD_NUMBER = 6;
  private com.google.protobuf.Internal.ProtobufList includes_;
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  @java.lang.Override
  public java.util.List getIncludesList() {
    return includes_;
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  public java.util.List 
      getIncludesOrBuilderList() {
    return includes_;
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  @java.lang.Override
  public int getIncludesCount() {
    return includes_.size();
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  @java.lang.Override
  public com.streamlayer.sports.common.ArrayQueryOption getIncludes(int index) {
    return includes_.get(index);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  public com.streamlayer.sports.common.ArrayQueryOptionOrBuilder getIncludesOrBuilder(
      int index) {
    return includes_.get(index);
  }
  private void ensureIncludesIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = includes_;
    if (!tmp.isModifiable()) {
      includes_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  private void setIncludes(
      int index, com.streamlayer.sports.common.ArrayQueryOption value) {
    value.getClass();
  ensureIncludesIsMutable();
    includes_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  private void addIncludes(com.streamlayer.sports.common.ArrayQueryOption value) {
    value.getClass();
  ensureIncludesIsMutable();
    includes_.add(value);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  private void addIncludes(
      int index, com.streamlayer.sports.common.ArrayQueryOption value) {
    value.getClass();
  ensureIncludesIsMutable();
    includes_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  private void addAllIncludes(
      java.lang.Iterable values) {
    ensureIncludesIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, includes_);
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  private void clearIncludes() {
    includes_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
   */
  private void removeIncludes(int index) {
    ensureIncludesIsMutable();
    includes_.remove(index);
  }

  public static final int IS_FIELD_NUMBER = 7;
  private com.google.protobuf.Internal.ProtobufList is_;
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  @java.lang.Override
  public java.util.List getIsList() {
    return is_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  public java.util.List 
      getIsOrBuilderList() {
    return is_;
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  @java.lang.Override
  public int getIsCount() {
    return is_.size();
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  @java.lang.Override
  public com.streamlayer.sports.common.QueryOption getIs(int index) {
    return is_.get(index);
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  public com.streamlayer.sports.common.QueryOptionOrBuilder getIsOrBuilder(
      int index) {
    return is_.get(index);
  }
  private void ensureIsIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = is_;
    if (!tmp.isModifiable()) {
      is_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  private void setIs(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureIsIsMutable();
    is_.set(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  private void addIs(com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureIsIsMutable();
    is_.add(value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  private void addIs(
      int index, com.streamlayer.sports.common.QueryOption value) {
    value.getClass();
  ensureIsIsMutable();
    is_.add(index, value);
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  private void addAllIs(
      java.lang.Iterable values) {
    ensureIsIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, is_);
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  private void clearIs() {
    is_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
   */
  private void removeIs(int index) {
    ensureIsIsMutable();
    is_.remove(index);
  }

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

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

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


    /**
     * string provider = 1 [json_name = "provider"];
     * @return The provider.
     */
    @java.lang.Override
    public java.lang.String getProvider() {
      return instance.getProvider();
    }
    /**
     * string provider = 1 [json_name = "provider"];
     * @return The bytes for provider.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getProviderBytes() {
      return instance.getProviderBytes();
    }
    /**
     * string provider = 1 [json_name = "provider"];
     * @param value The provider to set.
     * @return This builder for chaining.
     */
    public Builder setProvider(
        java.lang.String value) {
      copyOnWrite();
      instance.setProvider(value);
      return this;
    }
    /**
     * string provider = 1 [json_name = "provider"];
     * @return This builder for chaining.
     */
    public Builder clearProvider() {
      copyOnWrite();
      instance.clearProvider();
      return this;
    }
    /**
     * string provider = 1 [json_name = "provider"];
     * @param value The bytes for provider to set.
     * @return This builder for chaining.
     */
    public Builder setProviderBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setProviderBytes(value);
      return this;
    }

    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    @java.lang.Override
    public java.util.List getMatchList() {
      return java.util.Collections.unmodifiableList(
          instance.getMatchList());
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    @java.lang.Override
    public int getMatchCount() {
      return instance.getMatchCount();
    }/**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    @java.lang.Override
    public com.streamlayer.sports.common.QueryOption getMatch(int index) {
      return instance.getMatch(index);
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder setMatch(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.setMatch(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder setMatch(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.setMatch(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder addMatch(com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addMatch(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder addMatch(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addMatch(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder addMatch(
        com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addMatch(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder addMatch(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addMatch(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder addAllMatch(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllMatch(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder clearMatch() {
      copyOnWrite();
      instance.clearMatch();
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption match = 2 [json_name = "match"];
     */
    public Builder removeMatch(int index) {
      copyOnWrite();
      instance.removeMatch(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    @java.lang.Override
    public java.util.List getNeList() {
      return java.util.Collections.unmodifiableList(
          instance.getNeList());
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    @java.lang.Override
    public int getNeCount() {
      return instance.getNeCount();
    }/**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    @java.lang.Override
    public com.streamlayer.sports.common.QueryOption getNe(int index) {
      return instance.getNe(index);
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder setNe(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.setNe(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder setNe(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.setNe(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder addNe(com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addNe(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder addNe(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addNe(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder addNe(
        com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addNe(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder addNe(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addNe(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder addAllNe(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllNe(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder clearNe() {
      copyOnWrite();
      instance.clearNe();
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption ne = 3 [json_name = "ne"];
     */
    public Builder removeNe(int index) {
      copyOnWrite();
      instance.removeNe(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    @java.lang.Override
    public java.util.List getEqList() {
      return java.util.Collections.unmodifiableList(
          instance.getEqList());
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    @java.lang.Override
    public int getEqCount() {
      return instance.getEqCount();
    }/**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    @java.lang.Override
    public com.streamlayer.sports.common.QueryOption getEq(int index) {
      return instance.getEq(index);
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder setEq(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.setEq(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder setEq(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.setEq(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder addEq(com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addEq(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder addEq(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addEq(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder addEq(
        com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addEq(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder addEq(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addEq(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder addAllEq(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllEq(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder clearEq() {
      copyOnWrite();
      instance.clearEq();
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption eq = 4 [json_name = "eq"];
     */
    public Builder removeEq(int index) {
      copyOnWrite();
      instance.removeEq(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    @java.lang.Override
    public java.util.List getBetweenList() {
      return java.util.Collections.unmodifiableList(
          instance.getBetweenList());
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    @java.lang.Override
    public int getBetweenCount() {
      return instance.getBetweenCount();
    }/**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    @java.lang.Override
    public com.streamlayer.sports.common.ArrayQueryOption getBetween(int index) {
      return instance.getBetween(index);
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder setBetween(
        int index, com.streamlayer.sports.common.ArrayQueryOption value) {
      copyOnWrite();
      instance.setBetween(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder setBetween(
        int index, com.streamlayer.sports.common.ArrayQueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.setBetween(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder addBetween(com.streamlayer.sports.common.ArrayQueryOption value) {
      copyOnWrite();
      instance.addBetween(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder addBetween(
        int index, com.streamlayer.sports.common.ArrayQueryOption value) {
      copyOnWrite();
      instance.addBetween(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder addBetween(
        com.streamlayer.sports.common.ArrayQueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addBetween(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder addBetween(
        int index, com.streamlayer.sports.common.ArrayQueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addBetween(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder addAllBetween(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllBetween(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder clearBetween() {
      copyOnWrite();
      instance.clearBetween();
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption between = 5 [json_name = "between"];
     */
    public Builder removeBetween(int index) {
      copyOnWrite();
      instance.removeBetween(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    @java.lang.Override
    public java.util.List getIncludesList() {
      return java.util.Collections.unmodifiableList(
          instance.getIncludesList());
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    @java.lang.Override
    public int getIncludesCount() {
      return instance.getIncludesCount();
    }/**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    @java.lang.Override
    public com.streamlayer.sports.common.ArrayQueryOption getIncludes(int index) {
      return instance.getIncludes(index);
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder setIncludes(
        int index, com.streamlayer.sports.common.ArrayQueryOption value) {
      copyOnWrite();
      instance.setIncludes(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder setIncludes(
        int index, com.streamlayer.sports.common.ArrayQueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.setIncludes(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder addIncludes(com.streamlayer.sports.common.ArrayQueryOption value) {
      copyOnWrite();
      instance.addIncludes(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder addIncludes(
        int index, com.streamlayer.sports.common.ArrayQueryOption value) {
      copyOnWrite();
      instance.addIncludes(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder addIncludes(
        com.streamlayer.sports.common.ArrayQueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addIncludes(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder addIncludes(
        int index, com.streamlayer.sports.common.ArrayQueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addIncludes(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder addAllIncludes(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllIncludes(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder clearIncludes() {
      copyOnWrite();
      instance.clearIncludes();
      return this;
    }
    /**
     * repeated .streamlayer.sports.ArrayQueryOption includes = 6 [json_name = "includes"];
     */
    public Builder removeIncludes(int index) {
      copyOnWrite();
      instance.removeIncludes(index);
      return this;
    }

    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    @java.lang.Override
    public java.util.List getIsList() {
      return java.util.Collections.unmodifiableList(
          instance.getIsList());
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    @java.lang.Override
    public int getIsCount() {
      return instance.getIsCount();
    }/**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    @java.lang.Override
    public com.streamlayer.sports.common.QueryOption getIs(int index) {
      return instance.getIs(index);
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder setIs(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.setIs(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder setIs(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.setIs(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder addIs(com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addIs(value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder addIs(
        int index, com.streamlayer.sports.common.QueryOption value) {
      copyOnWrite();
      instance.addIs(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder addIs(
        com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addIs(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder addIs(
        int index, com.streamlayer.sports.common.QueryOption.Builder builderForValue) {
      copyOnWrite();
      instance.addIs(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder addAllIs(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllIs(values);
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder clearIs() {
      copyOnWrite();
      instance.clearIs();
      return this;
    }
    /**
     * repeated .streamlayer.sports.QueryOption is = 7 [json_name = "is"];
     */
    public Builder removeIs(int index) {
      copyOnWrite();
      instance.removeIs(index);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sports.Query)
  }
  @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.common.Query();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "provider_",
            "match_",
            com.streamlayer.sports.common.QueryOption.class,
            "ne_",
            com.streamlayer.sports.common.QueryOption.class,
            "eq_",
            com.streamlayer.sports.common.QueryOption.class,
            "between_",
            com.streamlayer.sports.common.ArrayQueryOption.class,
            "includes_",
            com.streamlayer.sports.common.ArrayQueryOption.class,
            "is_",
            com.streamlayer.sports.common.QueryOption.class,
          };
          java.lang.String info =
              "\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0006\u0000\u0001\u0208\u0002\u001b" +
              "\u0003\u001b\u0004\u001b\u0005\u001b\u0006\u001b\u0007\u001b";
          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.common.Query.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.Query)
  private static final com.streamlayer.sports.common.Query DEFAULT_INSTANCE;
  static {
    Query defaultInstance = new Query();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      Query.class, defaultInstance);
  }

  public static com.streamlayer.sports.common.Query 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