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

com.salesforce.hyperdb.grpc.QueryParam Maven / Gradle / Ivy

There is a newer version: 0.22.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: hyper_service.proto

// Protobuf Java Version: 3.25.5
package com.salesforce.hyperdb.grpc;

/**
 * Protobuf type {@code salesforce.hyperdb.grpc.v1.QueryParam}
 */
public final class QueryParam extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:salesforce.hyperdb.grpc.v1.QueryParam)
    QueryParamOrBuilder {
private static final long serialVersionUID = 0L;
  // Use QueryParam.newBuilder() to construct.
  private QueryParam(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private QueryParam() {
    query_ = "";
    database_ = java.util.Collections.emptyList();
    outputFormat_ = 0;
    transferMode_ = 0;
    paramStyle_ = 0;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new QueryParam();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryParam_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
      int number) {
    switch (number) {
      case 4:
        return internalGetSettings();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryParam_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.salesforce.hyperdb.grpc.QueryParam.class, com.salesforce.hyperdb.grpc.QueryParam.Builder.class);
  }

  /**
   * Protobuf enum {@code salesforce.hyperdb.grpc.v1.QueryParam.TransferMode}
   */
  public enum TransferMode
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * ADAPTIVE = 0;
     */
    ADAPTIVE(0),
    /**
     * ASYNC = 1;
     */
    ASYNC(1),
    /**
     * SYNC = 2;
     */
    SYNC(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * ADAPTIVE = 0;
     */
    public static final int ADAPTIVE_VALUE = 0;
    /**
     * ASYNC = 1;
     */
    public static final int ASYNC_VALUE = 1;
    /**
     * SYNC = 2;
     */
    public static final int SYNC_VALUE = 2;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static TransferMode valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static TransferMode forNumber(int value) {
      switch (value) {
        case 0: return ADAPTIVE;
        case 1: return ASYNC;
        case 2: return SYNC;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        TransferMode> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public TransferMode findValueByNumber(int number) {
              return TransferMode.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.salesforce.hyperdb.grpc.QueryParam.getDescriptor().getEnumTypes().get(0);
    }

    private static final TransferMode[] VALUES = values();

    public static TransferMode valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private TransferMode(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:salesforce.hyperdb.grpc.v1.QueryParam.TransferMode)
  }

  /**
   * Protobuf enum {@code salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle}
   */
  public enum ParameterStyle
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * QUESTION_MARK = 0;
     */
    QUESTION_MARK(0),
    /**
     * DOLLAR_NUMBERED = 1;
     */
    DOLLAR_NUMBERED(1),
    /**
     * NAMED = 2;
     */
    NAMED(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * QUESTION_MARK = 0;
     */
    public static final int QUESTION_MARK_VALUE = 0;
    /**
     * DOLLAR_NUMBERED = 1;
     */
    public static final int DOLLAR_NUMBERED_VALUE = 1;
    /**
     * NAMED = 2;
     */
    public static final int NAMED_VALUE = 2;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ParameterStyle valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ParameterStyle forNumber(int value) {
      switch (value) {
        case 0: return QUESTION_MARK;
        case 1: return DOLLAR_NUMBERED;
        case 2: return NAMED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ParameterStyle> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ParameterStyle findValueByNumber(int number) {
              return ParameterStyle.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.salesforce.hyperdb.grpc.QueryParam.getDescriptor().getEnumTypes().get(1);
    }

    private static final ParameterStyle[] VALUES = values();

    public static ParameterStyle valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ParameterStyle(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle)
  }

  private int parametersCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object parameters_;
  public enum ParametersCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    ARROW_PARAMETERS(7),
    JSON_PARAMETERS(8),
    PARAMETERS_NOT_SET(0);
    private final int value;
    private ParametersCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ParametersCase valueOf(int value) {
      return forNumber(value);
    }

    public static ParametersCase forNumber(int value) {
      switch (value) {
        case 7: return ARROW_PARAMETERS;
        case 8: return JSON_PARAMETERS;
        case 0: return PARAMETERS_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ParametersCase
  getParametersCase() {
    return ParametersCase.forNumber(
        parametersCase_);
  }

  public static final int QUERY_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object query_ = "";
  /**
   * string query = 1;
   * @return The query.
   */
  @java.lang.Override
  public java.lang.String getQuery() {
    java.lang.Object ref = query_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      query_ = s;
      return s;
    }
  }
  /**
   * string query = 1;
   * @return The bytes for query.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getQueryBytes() {
    java.lang.Object ref = query_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      query_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DATABASE_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private java.util.List database_;
  /**
   * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
   */
  @java.lang.Override
  public java.util.List getDatabaseList() {
    return database_;
  }
  /**
   * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
   */
  @java.lang.Override
  public java.util.List 
      getDatabaseOrBuilderList() {
    return database_;
  }
  /**
   * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
   */
  @java.lang.Override
  public int getDatabaseCount() {
    return database_.size();
  }
  /**
   * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
   */
  @java.lang.Override
  public com.salesforce.hyperdb.grpc.AttachedDatabase getDatabase(int index) {
    return database_.get(index);
  }
  /**
   * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
   */
  @java.lang.Override
  public com.salesforce.hyperdb.grpc.AttachedDatabaseOrBuilder getDatabaseOrBuilder(
      int index) {
    return database_.get(index);
  }

  public static final int OUTPUT_FORMAT_FIELD_NUMBER = 3;
  private int outputFormat_ = 0;
  /**
   * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
   * @return The enum numeric value on the wire for outputFormat.
   */
  @java.lang.Override public int getOutputFormatValue() {
    return outputFormat_;
  }
  /**
   * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
   * @return The outputFormat.
   */
  @java.lang.Override public com.salesforce.hyperdb.grpc.OutputFormat getOutputFormat() {
    com.salesforce.hyperdb.grpc.OutputFormat result = com.salesforce.hyperdb.grpc.OutputFormat.forNumber(outputFormat_);
    return result == null ? com.salesforce.hyperdb.grpc.OutputFormat.UNRECOGNIZED : result;
  }

  public static final int SETTINGS_FIELD_NUMBER = 4;
  private static final class SettingsDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, java.lang.String> defaultEntry =
            com.google.protobuf.MapEntry
            .newDefaultInstance(
                com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryParam_SettingsEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.STRING,
                "");
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.String, java.lang.String> settings_;
  private com.google.protobuf.MapField
  internalGetSettings() {
    if (settings_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          SettingsDefaultEntryHolder.defaultEntry);
    }
    return settings_;
  }
  public int getSettingsCount() {
    return internalGetSettings().getMap().size();
  }
  /**
   * map<string, string> settings = 4;
   */
  @java.lang.Override
  public boolean containsSettings(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    return internalGetSettings().getMap().containsKey(key);
  }
  /**
   * Use {@link #getSettingsMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map getSettings() {
    return getSettingsMap();
  }
  /**
   * map<string, string> settings = 4;
   */
  @java.lang.Override
  public java.util.Map getSettingsMap() {
    return internalGetSettings().getMap();
  }
  /**
   * map<string, string> settings = 4;
   */
  @java.lang.Override
  public /* nullable */
java.lang.String getSettingsOrDefault(
      java.lang.String key,
      /* nullable */
java.lang.String defaultValue) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetSettings().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * map<string, string> settings = 4;
   */
  @java.lang.Override
  public java.lang.String getSettingsOrThrow(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetSettings().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int TRANSFER_MODE_FIELD_NUMBER = 5;
  private int transferMode_ = 0;
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
   * @return The enum numeric value on the wire for transferMode.
   */
  @java.lang.Override public int getTransferModeValue() {
    return transferMode_;
  }
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
   * @return The transferMode.
   */
  @java.lang.Override public com.salesforce.hyperdb.grpc.QueryParam.TransferMode getTransferMode() {
    com.salesforce.hyperdb.grpc.QueryParam.TransferMode result = com.salesforce.hyperdb.grpc.QueryParam.TransferMode.forNumber(transferMode_);
    return result == null ? com.salesforce.hyperdb.grpc.QueryParam.TransferMode.UNRECOGNIZED : result;
  }

  public static final int PARAM_STYLE_FIELD_NUMBER = 6;
  private int paramStyle_ = 0;
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
   * @return The enum numeric value on the wire for paramStyle.
   */
  @java.lang.Override public int getParamStyleValue() {
    return paramStyle_;
  }
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
   * @return The paramStyle.
   */
  @java.lang.Override public com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle getParamStyle() {
    com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle result = com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle.forNumber(paramStyle_);
    return result == null ? com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle.UNRECOGNIZED : result;
  }

  public static final int ARROW_PARAMETERS_FIELD_NUMBER = 7;
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
   * @return Whether the arrowParameters field is set.
   */
  @java.lang.Override
  public boolean hasArrowParameters() {
    return parametersCase_ == 7;
  }
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
   * @return The arrowParameters.
   */
  @java.lang.Override
  public com.salesforce.hyperdb.grpc.QueryParameterArrow getArrowParameters() {
    if (parametersCase_ == 7) {
       return (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_;
    }
    return com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance();
  }
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
   */
  @java.lang.Override
  public com.salesforce.hyperdb.grpc.QueryParameterArrowOrBuilder getArrowParametersOrBuilder() {
    if (parametersCase_ == 7) {
       return (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_;
    }
    return com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance();
  }

  public static final int JSON_PARAMETERS_FIELD_NUMBER = 8;
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
   * @return Whether the jsonParameters field is set.
   */
  @java.lang.Override
  public boolean hasJsonParameters() {
    return parametersCase_ == 8;
  }
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
   * @return The jsonParameters.
   */
  @java.lang.Override
  public com.salesforce.hyperdb.grpc.QueryParameterJson getJsonParameters() {
    if (parametersCase_ == 8) {
       return (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_;
    }
    return com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance();
  }
  /**
   * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
   */
  @java.lang.Override
  public com.salesforce.hyperdb.grpc.QueryParameterJsonOrBuilder getJsonParametersOrBuilder() {
    if (parametersCase_ == 8) {
       return (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_;
    }
    return com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance();
  }

  public static final int MAX_ROWS_FIELD_NUMBER = 9;
  private long maxRows_ = 0L;
  /**
   * uint64 max_rows = 9;
   * @return The maxRows.
   */
  @java.lang.Override
  public long getMaxRows() {
    return maxRows_;
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
    }
    for (int i = 0; i < database_.size(); i++) {
      output.writeMessage(2, database_.get(i));
    }
    if (outputFormat_ != com.salesforce.hyperdb.grpc.OutputFormat.TEXT_DEBUG.getNumber()) {
      output.writeEnum(3, outputFormat_);
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetSettings(),
        SettingsDefaultEntryHolder.defaultEntry,
        4);
    if (transferMode_ != com.salesforce.hyperdb.grpc.QueryParam.TransferMode.ADAPTIVE.getNumber()) {
      output.writeEnum(5, transferMode_);
    }
    if (paramStyle_ != com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle.QUESTION_MARK.getNumber()) {
      output.writeEnum(6, paramStyle_);
    }
    if (parametersCase_ == 7) {
      output.writeMessage(7, (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_);
    }
    if (parametersCase_ == 8) {
      output.writeMessage(8, (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_);
    }
    if (maxRows_ != 0L) {
      output.writeUInt64(9, maxRows_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_);
    }
    for (int i = 0; i < database_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, database_.get(i));
    }
    if (outputFormat_ != com.salesforce.hyperdb.grpc.OutputFormat.TEXT_DEBUG.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(3, outputFormat_);
    }
    for (java.util.Map.Entry entry
         : internalGetSettings().getMap().entrySet()) {
      com.google.protobuf.MapEntry
      settings__ = SettingsDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, settings__);
    }
    if (transferMode_ != com.salesforce.hyperdb.grpc.QueryParam.TransferMode.ADAPTIVE.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(5, transferMode_);
    }
    if (paramStyle_ != com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle.QUESTION_MARK.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(6, paramStyle_);
    }
    if (parametersCase_ == 7) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_);
    }
    if (parametersCase_ == 8) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_);
    }
    if (maxRows_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(9, maxRows_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.salesforce.hyperdb.grpc.QueryParam)) {
      return super.equals(obj);
    }
    com.salesforce.hyperdb.grpc.QueryParam other = (com.salesforce.hyperdb.grpc.QueryParam) obj;

    if (!getQuery()
        .equals(other.getQuery())) return false;
    if (!getDatabaseList()
        .equals(other.getDatabaseList())) return false;
    if (outputFormat_ != other.outputFormat_) return false;
    if (!internalGetSettings().equals(
        other.internalGetSettings())) return false;
    if (transferMode_ != other.transferMode_) return false;
    if (paramStyle_ != other.paramStyle_) return false;
    if (getMaxRows()
        != other.getMaxRows()) return false;
    if (!getParametersCase().equals(other.getParametersCase())) return false;
    switch (parametersCase_) {
      case 7:
        if (!getArrowParameters()
            .equals(other.getArrowParameters())) return false;
        break;
      case 8:
        if (!getJsonParameters()
            .equals(other.getJsonParameters())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + QUERY_FIELD_NUMBER;
    hash = (53 * hash) + getQuery().hashCode();
    if (getDatabaseCount() > 0) {
      hash = (37 * hash) + DATABASE_FIELD_NUMBER;
      hash = (53 * hash) + getDatabaseList().hashCode();
    }
    hash = (37 * hash) + OUTPUT_FORMAT_FIELD_NUMBER;
    hash = (53 * hash) + outputFormat_;
    if (!internalGetSettings().getMap().isEmpty()) {
      hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetSettings().hashCode();
    }
    hash = (37 * hash) + TRANSFER_MODE_FIELD_NUMBER;
    hash = (53 * hash) + transferMode_;
    hash = (37 * hash) + PARAM_STYLE_FIELD_NUMBER;
    hash = (53 * hash) + paramStyle_;
    hash = (37 * hash) + MAX_ROWS_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getMaxRows());
    switch (parametersCase_) {
      case 7:
        hash = (37 * hash) + ARROW_PARAMETERS_FIELD_NUMBER;
        hash = (53 * hash) + getArrowParameters().hashCode();
        break;
      case 8:
        hash = (37 * hash) + JSON_PARAMETERS_FIELD_NUMBER;
        hash = (53 * hash) + getJsonParameters().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public static com.salesforce.hyperdb.grpc.QueryParam parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static com.salesforce.hyperdb.grpc.QueryParam parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.salesforce.hyperdb.grpc.QueryParam parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.salesforce.hyperdb.grpc.QueryParam prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code salesforce.hyperdb.grpc.v1.QueryParam}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:salesforce.hyperdb.grpc.v1.QueryParam)
      com.salesforce.hyperdb.grpc.QueryParamOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryParam_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
        int number) {
      switch (number) {
        case 4:
          return internalGetSettings();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
        int number) {
      switch (number) {
        case 4:
          return internalGetMutableSettings();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryParam_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.salesforce.hyperdb.grpc.QueryParam.class, com.salesforce.hyperdb.grpc.QueryParam.Builder.class);
    }

    // Construct using com.salesforce.hyperdb.grpc.QueryParam.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      query_ = "";
      if (databaseBuilder_ == null) {
        database_ = java.util.Collections.emptyList();
      } else {
        database_ = null;
        databaseBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      outputFormat_ = 0;
      internalGetMutableSettings().clear();
      transferMode_ = 0;
      paramStyle_ = 0;
      if (arrowParametersBuilder_ != null) {
        arrowParametersBuilder_.clear();
      }
      if (jsonParametersBuilder_ != null) {
        jsonParametersBuilder_.clear();
      }
      maxRows_ = 0L;
      parametersCase_ = 0;
      parameters_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryParam_descriptor;
    }

    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParam getDefaultInstanceForType() {
      return com.salesforce.hyperdb.grpc.QueryParam.getDefaultInstance();
    }

    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParam build() {
      com.salesforce.hyperdb.grpc.QueryParam result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParam buildPartial() {
      com.salesforce.hyperdb.grpc.QueryParam result = new com.salesforce.hyperdb.grpc.QueryParam(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.salesforce.hyperdb.grpc.QueryParam result) {
      if (databaseBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          database_ = java.util.Collections.unmodifiableList(database_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.database_ = database_;
      } else {
        result.database_ = databaseBuilder_.build();
      }
    }

    private void buildPartial0(com.salesforce.hyperdb.grpc.QueryParam result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.query_ = query_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.outputFormat_ = outputFormat_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.settings_ = internalGetSettings();
        result.settings_.makeImmutable();
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.transferMode_ = transferMode_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.paramStyle_ = paramStyle_;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.maxRows_ = maxRows_;
      }
    }

    private void buildPartialOneofs(com.salesforce.hyperdb.grpc.QueryParam result) {
      result.parametersCase_ = parametersCase_;
      result.parameters_ = this.parameters_;
      if (parametersCase_ == 7 &&
          arrowParametersBuilder_ != null) {
        result.parameters_ = arrowParametersBuilder_.build();
      }
      if (parametersCase_ == 8 &&
          jsonParametersBuilder_ != null) {
        result.parameters_ = jsonParametersBuilder_.build();
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.salesforce.hyperdb.grpc.QueryParam) {
        return mergeFrom((com.salesforce.hyperdb.grpc.QueryParam)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.salesforce.hyperdb.grpc.QueryParam other) {
      if (other == com.salesforce.hyperdb.grpc.QueryParam.getDefaultInstance()) return this;
      if (!other.getQuery().isEmpty()) {
        query_ = other.query_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (databaseBuilder_ == null) {
        if (!other.database_.isEmpty()) {
          if (database_.isEmpty()) {
            database_ = other.database_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureDatabaseIsMutable();
            database_.addAll(other.database_);
          }
          onChanged();
        }
      } else {
        if (!other.database_.isEmpty()) {
          if (databaseBuilder_.isEmpty()) {
            databaseBuilder_.dispose();
            databaseBuilder_ = null;
            database_ = other.database_;
            bitField0_ = (bitField0_ & ~0x00000002);
            databaseBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDatabaseFieldBuilder() : null;
          } else {
            databaseBuilder_.addAllMessages(other.database_);
          }
        }
      }
      if (other.outputFormat_ != 0) {
        setOutputFormatValue(other.getOutputFormatValue());
      }
      internalGetMutableSettings().mergeFrom(
          other.internalGetSettings());
      bitField0_ |= 0x00000008;
      if (other.transferMode_ != 0) {
        setTransferModeValue(other.getTransferModeValue());
      }
      if (other.paramStyle_ != 0) {
        setParamStyleValue(other.getParamStyleValue());
      }
      if (other.getMaxRows() != 0L) {
        setMaxRows(other.getMaxRows());
      }
      switch (other.getParametersCase()) {
        case ARROW_PARAMETERS: {
          mergeArrowParameters(other.getArrowParameters());
          break;
        }
        case JSON_PARAMETERS: {
          mergeJsonParameters(other.getJsonParameters());
          break;
        }
        case PARAMETERS_NOT_SET: {
          break;
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              query_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              com.salesforce.hyperdb.grpc.AttachedDatabase m =
                  input.readMessage(
                      com.salesforce.hyperdb.grpc.AttachedDatabase.parser(),
                      extensionRegistry);
              if (databaseBuilder_ == null) {
                ensureDatabaseIsMutable();
                database_.add(m);
              } else {
                databaseBuilder_.addMessage(m);
              }
              break;
            } // case 18
            case 24: {
              outputFormat_ = input.readEnum();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              com.google.protobuf.MapEntry
              settings__ = input.readMessage(
                  SettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableSettings().getMutableMap().put(
                  settings__.getKey(), settings__.getValue());
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 40: {
              transferMode_ = input.readEnum();
              bitField0_ |= 0x00000010;
              break;
            } // case 40
            case 48: {
              paramStyle_ = input.readEnum();
              bitField0_ |= 0x00000020;
              break;
            } // case 48
            case 58: {
              input.readMessage(
                  getArrowParametersFieldBuilder().getBuilder(),
                  extensionRegistry);
              parametersCase_ = 7;
              break;
            } // case 58
            case 66: {
              input.readMessage(
                  getJsonParametersFieldBuilder().getBuilder(),
                  extensionRegistry);
              parametersCase_ = 8;
              break;
            } // case 66
            case 72: {
              maxRows_ = input.readUInt64();
              bitField0_ |= 0x00000100;
              break;
            } // case 72
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int parametersCase_ = 0;
    private java.lang.Object parameters_;
    public ParametersCase
        getParametersCase() {
      return ParametersCase.forNumber(
          parametersCase_);
    }

    public Builder clearParameters() {
      parametersCase_ = 0;
      parameters_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private java.lang.Object query_ = "";
    /**
     * string query = 1;
     * @return The query.
     */
    public java.lang.String getQuery() {
      java.lang.Object ref = query_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        query_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string query = 1;
     * @return The bytes for query.
     */
    public com.google.protobuf.ByteString
        getQueryBytes() {
      java.lang.Object ref = query_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        query_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string query = 1;
     * @param value The query to set.
     * @return This builder for chaining.
     */
    public Builder setQuery(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      query_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * string query = 1;
     * @return This builder for chaining.
     */
    public Builder clearQuery() {
      query_ = getDefaultInstance().getQuery();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * string query = 1;
     * @param value The bytes for query to set.
     * @return This builder for chaining.
     */
    public Builder setQueryBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      query_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.util.List database_ =
      java.util.Collections.emptyList();
    private void ensureDatabaseIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        database_ = new java.util.ArrayList(database_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.salesforce.hyperdb.grpc.AttachedDatabase, com.salesforce.hyperdb.grpc.AttachedDatabase.Builder, com.salesforce.hyperdb.grpc.AttachedDatabaseOrBuilder> databaseBuilder_;

    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public java.util.List getDatabaseList() {
      if (databaseBuilder_ == null) {
        return java.util.Collections.unmodifiableList(database_);
      } else {
        return databaseBuilder_.getMessageList();
      }
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public int getDatabaseCount() {
      if (databaseBuilder_ == null) {
        return database_.size();
      } else {
        return databaseBuilder_.getCount();
      }
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public com.salesforce.hyperdb.grpc.AttachedDatabase getDatabase(int index) {
      if (databaseBuilder_ == null) {
        return database_.get(index);
      } else {
        return databaseBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder setDatabase(
        int index, com.salesforce.hyperdb.grpc.AttachedDatabase value) {
      if (databaseBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDatabaseIsMutable();
        database_.set(index, value);
        onChanged();
      } else {
        databaseBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder setDatabase(
        int index, com.salesforce.hyperdb.grpc.AttachedDatabase.Builder builderForValue) {
      if (databaseBuilder_ == null) {
        ensureDatabaseIsMutable();
        database_.set(index, builderForValue.build());
        onChanged();
      } else {
        databaseBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder addDatabase(com.salesforce.hyperdb.grpc.AttachedDatabase value) {
      if (databaseBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDatabaseIsMutable();
        database_.add(value);
        onChanged();
      } else {
        databaseBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder addDatabase(
        int index, com.salesforce.hyperdb.grpc.AttachedDatabase value) {
      if (databaseBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDatabaseIsMutable();
        database_.add(index, value);
        onChanged();
      } else {
        databaseBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder addDatabase(
        com.salesforce.hyperdb.grpc.AttachedDatabase.Builder builderForValue) {
      if (databaseBuilder_ == null) {
        ensureDatabaseIsMutable();
        database_.add(builderForValue.build());
        onChanged();
      } else {
        databaseBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder addDatabase(
        int index, com.salesforce.hyperdb.grpc.AttachedDatabase.Builder builderForValue) {
      if (databaseBuilder_ == null) {
        ensureDatabaseIsMutable();
        database_.add(index, builderForValue.build());
        onChanged();
      } else {
        databaseBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder addAllDatabase(
        java.lang.Iterable values) {
      if (databaseBuilder_ == null) {
        ensureDatabaseIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, database_);
        onChanged();
      } else {
        databaseBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder clearDatabase() {
      if (databaseBuilder_ == null) {
        database_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        databaseBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public Builder removeDatabase(int index) {
      if (databaseBuilder_ == null) {
        ensureDatabaseIsMutable();
        database_.remove(index);
        onChanged();
      } else {
        databaseBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public com.salesforce.hyperdb.grpc.AttachedDatabase.Builder getDatabaseBuilder(
        int index) {
      return getDatabaseFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public com.salesforce.hyperdb.grpc.AttachedDatabaseOrBuilder getDatabaseOrBuilder(
        int index) {
      if (databaseBuilder_ == null) {
        return database_.get(index);  } else {
        return databaseBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public java.util.List 
         getDatabaseOrBuilderList() {
      if (databaseBuilder_ != null) {
        return databaseBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(database_);
      }
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public com.salesforce.hyperdb.grpc.AttachedDatabase.Builder addDatabaseBuilder() {
      return getDatabaseFieldBuilder().addBuilder(
          com.salesforce.hyperdb.grpc.AttachedDatabase.getDefaultInstance());
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public com.salesforce.hyperdb.grpc.AttachedDatabase.Builder addDatabaseBuilder(
        int index) {
      return getDatabaseFieldBuilder().addBuilder(
          index, com.salesforce.hyperdb.grpc.AttachedDatabase.getDefaultInstance());
    }
    /**
     * repeated .salesforce.hyperdb.grpc.v1.AttachedDatabase database = 2;
     */
    public java.util.List 
         getDatabaseBuilderList() {
      return getDatabaseFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.salesforce.hyperdb.grpc.AttachedDatabase, com.salesforce.hyperdb.grpc.AttachedDatabase.Builder, com.salesforce.hyperdb.grpc.AttachedDatabaseOrBuilder> 
        getDatabaseFieldBuilder() {
      if (databaseBuilder_ == null) {
        databaseBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.salesforce.hyperdb.grpc.AttachedDatabase, com.salesforce.hyperdb.grpc.AttachedDatabase.Builder, com.salesforce.hyperdb.grpc.AttachedDatabaseOrBuilder>(
                database_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        database_ = null;
      }
      return databaseBuilder_;
    }

    private int outputFormat_ = 0;
    /**
     * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
     * @return The enum numeric value on the wire for outputFormat.
     */
    @java.lang.Override public int getOutputFormatValue() {
      return outputFormat_;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
     * @param value The enum numeric value on the wire for outputFormat to set.
     * @return This builder for chaining.
     */
    public Builder setOutputFormatValue(int value) {
      outputFormat_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
     * @return The outputFormat.
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.OutputFormat getOutputFormat() {
      com.salesforce.hyperdb.grpc.OutputFormat result = com.salesforce.hyperdb.grpc.OutputFormat.forNumber(outputFormat_);
      return result == null ? com.salesforce.hyperdb.grpc.OutputFormat.UNRECOGNIZED : result;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
     * @param value The outputFormat to set.
     * @return This builder for chaining.
     */
    public Builder setOutputFormat(com.salesforce.hyperdb.grpc.OutputFormat value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000004;
      outputFormat_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.OutputFormat output_format = 3;
     * @return This builder for chaining.
     */
    public Builder clearOutputFormat() {
      bitField0_ = (bitField0_ & ~0x00000004);
      outputFormat_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> settings_;
    private com.google.protobuf.MapField
        internalGetSettings() {
      if (settings_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SettingsDefaultEntryHolder.defaultEntry);
      }
      return settings_;
    }
    private com.google.protobuf.MapField
        internalGetMutableSettings() {
      if (settings_ == null) {
        settings_ = com.google.protobuf.MapField.newMapField(
            SettingsDefaultEntryHolder.defaultEntry);
      }
      if (!settings_.isMutable()) {
        settings_ = settings_.copy();
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return settings_;
    }
    public int getSettingsCount() {
      return internalGetSettings().getMap().size();
    }
    /**
     * map<string, string> settings = 4;
     */
    @java.lang.Override
    public boolean containsSettings(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetSettings().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSettingsMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getSettings() {
      return getSettingsMap();
    }
    /**
     * map<string, string> settings = 4;
     */
    @java.lang.Override
    public java.util.Map getSettingsMap() {
      return internalGetSettings().getMap();
    }
    /**
     * map<string, string> settings = 4;
     */
    @java.lang.Override
    public /* nullable */
java.lang.String getSettingsOrDefault(
        java.lang.String key,
        /* nullable */
java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetSettings().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * map<string, string> settings = 4;
     */
    @java.lang.Override
    public java.lang.String getSettingsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetSettings().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearSettings() {
      bitField0_ = (bitField0_ & ~0x00000008);
      internalGetMutableSettings().getMutableMap()
          .clear();
      return this;
    }
    /**
     * map<string, string> settings = 4;
     */
    public Builder removeSettings(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      internalGetMutableSettings().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map
        getMutableSettings() {
      bitField0_ |= 0x00000008;
      return internalGetMutableSettings().getMutableMap();
    }
    /**
     * map<string, string> settings = 4;
     */
    public Builder putSettings(
        java.lang.String key,
        java.lang.String value) {
      if (key == null) { throw new NullPointerException("map key"); }
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableSettings().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000008;
      return this;
    }
    /**
     * map<string, string> settings = 4;
     */
    public Builder putAllSettings(
        java.util.Map values) {
      internalGetMutableSettings().getMutableMap()
          .putAll(values);
      bitField0_ |= 0x00000008;
      return this;
    }

    private int transferMode_ = 0;
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
     * @return The enum numeric value on the wire for transferMode.
     */
    @java.lang.Override public int getTransferModeValue() {
      return transferMode_;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
     * @param value The enum numeric value on the wire for transferMode to set.
     * @return This builder for chaining.
     */
    public Builder setTransferModeValue(int value) {
      transferMode_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
     * @return The transferMode.
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParam.TransferMode getTransferMode() {
      com.salesforce.hyperdb.grpc.QueryParam.TransferMode result = com.salesforce.hyperdb.grpc.QueryParam.TransferMode.forNumber(transferMode_);
      return result == null ? com.salesforce.hyperdb.grpc.QueryParam.TransferMode.UNRECOGNIZED : result;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
     * @param value The transferMode to set.
     * @return This builder for chaining.
     */
    public Builder setTransferMode(com.salesforce.hyperdb.grpc.QueryParam.TransferMode value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000010;
      transferMode_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.TransferMode transfer_mode = 5;
     * @return This builder for chaining.
     */
    public Builder clearTransferMode() {
      bitField0_ = (bitField0_ & ~0x00000010);
      transferMode_ = 0;
      onChanged();
      return this;
    }

    private int paramStyle_ = 0;
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
     * @return The enum numeric value on the wire for paramStyle.
     */
    @java.lang.Override public int getParamStyleValue() {
      return paramStyle_;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
     * @param value The enum numeric value on the wire for paramStyle to set.
     * @return This builder for chaining.
     */
    public Builder setParamStyleValue(int value) {
      paramStyle_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
     * @return The paramStyle.
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle getParamStyle() {
      com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle result = com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle.forNumber(paramStyle_);
      return result == null ? com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle.UNRECOGNIZED : result;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
     * @param value The paramStyle to set.
     * @return This builder for chaining.
     */
    public Builder setParamStyle(com.salesforce.hyperdb.grpc.QueryParam.ParameterStyle value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000020;
      paramStyle_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParam.ParameterStyle param_style = 6;
     * @return This builder for chaining.
     */
    public Builder clearParamStyle() {
      bitField0_ = (bitField0_ & ~0x00000020);
      paramStyle_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.salesforce.hyperdb.grpc.QueryParameterArrow, com.salesforce.hyperdb.grpc.QueryParameterArrow.Builder, com.salesforce.hyperdb.grpc.QueryParameterArrowOrBuilder> arrowParametersBuilder_;
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     * @return Whether the arrowParameters field is set.
     */
    @java.lang.Override
    public boolean hasArrowParameters() {
      return parametersCase_ == 7;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     * @return The arrowParameters.
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParameterArrow getArrowParameters() {
      if (arrowParametersBuilder_ == null) {
        if (parametersCase_ == 7) {
          return (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_;
        }
        return com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance();
      } else {
        if (parametersCase_ == 7) {
          return arrowParametersBuilder_.getMessage();
        }
        return com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance();
      }
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    public Builder setArrowParameters(com.salesforce.hyperdb.grpc.QueryParameterArrow value) {
      if (arrowParametersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        parameters_ = value;
        onChanged();
      } else {
        arrowParametersBuilder_.setMessage(value);
      }
      parametersCase_ = 7;
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    public Builder setArrowParameters(
        com.salesforce.hyperdb.grpc.QueryParameterArrow.Builder builderForValue) {
      if (arrowParametersBuilder_ == null) {
        parameters_ = builderForValue.build();
        onChanged();
      } else {
        arrowParametersBuilder_.setMessage(builderForValue.build());
      }
      parametersCase_ = 7;
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    public Builder mergeArrowParameters(com.salesforce.hyperdb.grpc.QueryParameterArrow value) {
      if (arrowParametersBuilder_ == null) {
        if (parametersCase_ == 7 &&
            parameters_ != com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance()) {
          parameters_ = com.salesforce.hyperdb.grpc.QueryParameterArrow.newBuilder((com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_)
              .mergeFrom(value).buildPartial();
        } else {
          parameters_ = value;
        }
        onChanged();
      } else {
        if (parametersCase_ == 7) {
          arrowParametersBuilder_.mergeFrom(value);
        } else {
          arrowParametersBuilder_.setMessage(value);
        }
      }
      parametersCase_ = 7;
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    public Builder clearArrowParameters() {
      if (arrowParametersBuilder_ == null) {
        if (parametersCase_ == 7) {
          parametersCase_ = 0;
          parameters_ = null;
          onChanged();
        }
      } else {
        if (parametersCase_ == 7) {
          parametersCase_ = 0;
          parameters_ = null;
        }
        arrowParametersBuilder_.clear();
      }
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    public com.salesforce.hyperdb.grpc.QueryParameterArrow.Builder getArrowParametersBuilder() {
      return getArrowParametersFieldBuilder().getBuilder();
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParameterArrowOrBuilder getArrowParametersOrBuilder() {
      if ((parametersCase_ == 7) && (arrowParametersBuilder_ != null)) {
        return arrowParametersBuilder_.getMessageOrBuilder();
      } else {
        if (parametersCase_ == 7) {
          return (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_;
        }
        return com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance();
      }
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterArrow arrow_parameters = 7;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.salesforce.hyperdb.grpc.QueryParameterArrow, com.salesforce.hyperdb.grpc.QueryParameterArrow.Builder, com.salesforce.hyperdb.grpc.QueryParameterArrowOrBuilder> 
        getArrowParametersFieldBuilder() {
      if (arrowParametersBuilder_ == null) {
        if (!(parametersCase_ == 7)) {
          parameters_ = com.salesforce.hyperdb.grpc.QueryParameterArrow.getDefaultInstance();
        }
        arrowParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.salesforce.hyperdb.grpc.QueryParameterArrow, com.salesforce.hyperdb.grpc.QueryParameterArrow.Builder, com.salesforce.hyperdb.grpc.QueryParameterArrowOrBuilder>(
                (com.salesforce.hyperdb.grpc.QueryParameterArrow) parameters_,
                getParentForChildren(),
                isClean());
        parameters_ = null;
      }
      parametersCase_ = 7;
      onChanged();
      return arrowParametersBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.salesforce.hyperdb.grpc.QueryParameterJson, com.salesforce.hyperdb.grpc.QueryParameterJson.Builder, com.salesforce.hyperdb.grpc.QueryParameterJsonOrBuilder> jsonParametersBuilder_;
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     * @return Whether the jsonParameters field is set.
     */
    @java.lang.Override
    public boolean hasJsonParameters() {
      return parametersCase_ == 8;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     * @return The jsonParameters.
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParameterJson getJsonParameters() {
      if (jsonParametersBuilder_ == null) {
        if (parametersCase_ == 8) {
          return (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_;
        }
        return com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance();
      } else {
        if (parametersCase_ == 8) {
          return jsonParametersBuilder_.getMessage();
        }
        return com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance();
      }
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    public Builder setJsonParameters(com.salesforce.hyperdb.grpc.QueryParameterJson value) {
      if (jsonParametersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        parameters_ = value;
        onChanged();
      } else {
        jsonParametersBuilder_.setMessage(value);
      }
      parametersCase_ = 8;
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    public Builder setJsonParameters(
        com.salesforce.hyperdb.grpc.QueryParameterJson.Builder builderForValue) {
      if (jsonParametersBuilder_ == null) {
        parameters_ = builderForValue.build();
        onChanged();
      } else {
        jsonParametersBuilder_.setMessage(builderForValue.build());
      }
      parametersCase_ = 8;
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    public Builder mergeJsonParameters(com.salesforce.hyperdb.grpc.QueryParameterJson value) {
      if (jsonParametersBuilder_ == null) {
        if (parametersCase_ == 8 &&
            parameters_ != com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance()) {
          parameters_ = com.salesforce.hyperdb.grpc.QueryParameterJson.newBuilder((com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_)
              .mergeFrom(value).buildPartial();
        } else {
          parameters_ = value;
        }
        onChanged();
      } else {
        if (parametersCase_ == 8) {
          jsonParametersBuilder_.mergeFrom(value);
        } else {
          jsonParametersBuilder_.setMessage(value);
        }
      }
      parametersCase_ = 8;
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    public Builder clearJsonParameters() {
      if (jsonParametersBuilder_ == null) {
        if (parametersCase_ == 8) {
          parametersCase_ = 0;
          parameters_ = null;
          onChanged();
        }
      } else {
        if (parametersCase_ == 8) {
          parametersCase_ = 0;
          parameters_ = null;
        }
        jsonParametersBuilder_.clear();
      }
      return this;
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    public com.salesforce.hyperdb.grpc.QueryParameterJson.Builder getJsonParametersBuilder() {
      return getJsonParametersFieldBuilder().getBuilder();
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryParameterJsonOrBuilder getJsonParametersOrBuilder() {
      if ((parametersCase_ == 8) && (jsonParametersBuilder_ != null)) {
        return jsonParametersBuilder_.getMessageOrBuilder();
      } else {
        if (parametersCase_ == 8) {
          return (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_;
        }
        return com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance();
      }
    }
    /**
     * .salesforce.hyperdb.grpc.v1.QueryParameterJson json_parameters = 8;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.salesforce.hyperdb.grpc.QueryParameterJson, com.salesforce.hyperdb.grpc.QueryParameterJson.Builder, com.salesforce.hyperdb.grpc.QueryParameterJsonOrBuilder> 
        getJsonParametersFieldBuilder() {
      if (jsonParametersBuilder_ == null) {
        if (!(parametersCase_ == 8)) {
          parameters_ = com.salesforce.hyperdb.grpc.QueryParameterJson.getDefaultInstance();
        }
        jsonParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.salesforce.hyperdb.grpc.QueryParameterJson, com.salesforce.hyperdb.grpc.QueryParameterJson.Builder, com.salesforce.hyperdb.grpc.QueryParameterJsonOrBuilder>(
                (com.salesforce.hyperdb.grpc.QueryParameterJson) parameters_,
                getParentForChildren(),
                isClean());
        parameters_ = null;
      }
      parametersCase_ = 8;
      onChanged();
      return jsonParametersBuilder_;
    }

    private long maxRows_ ;
    /**
     * uint64 max_rows = 9;
     * @return The maxRows.
     */
    @java.lang.Override
    public long getMaxRows() {
      return maxRows_;
    }
    /**
     * uint64 max_rows = 9;
     * @param value The maxRows to set.
     * @return This builder for chaining.
     */
    public Builder setMaxRows(long value) {

      maxRows_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     * uint64 max_rows = 9;
     * @return This builder for chaining.
     */
    public Builder clearMaxRows() {
      bitField0_ = (bitField0_ & ~0x00000100);
      maxRows_ = 0L;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:salesforce.hyperdb.grpc.v1.QueryParam)
  }

  // @@protoc_insertion_point(class_scope:salesforce.hyperdb.grpc.v1.QueryParam)
  private static final com.salesforce.hyperdb.grpc.QueryParam DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.salesforce.hyperdb.grpc.QueryParam();
  }

  public static com.salesforce.hyperdb.grpc.QueryParam getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public QueryParam parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.salesforce.hyperdb.grpc.QueryParam getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy