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

com.salesforce.hyperdb.grpc.QueryCommandOk 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

package com.salesforce.hyperdb.grpc;

/**
 * Protobuf type {@code salesforce.hyperdb.grpc.v1.QueryCommandOk}
 */
public final class QueryCommandOk extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:salesforce.hyperdb.grpc.v1.QueryCommandOk)
    QueryCommandOkOrBuilder {
private static final long serialVersionUID = 0L;
  // Use QueryCommandOk.newBuilder() to construct.
  private QueryCommandOk(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private QueryCommandOk() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryCommandOk_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryCommandOk_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.salesforce.hyperdb.grpc.QueryCommandOk.class, com.salesforce.hyperdb.grpc.QueryCommandOk.Builder.class);
  }

  private int commandReturnCase_ = 0;
  private java.lang.Object commandReturn_;
  public enum CommandReturnCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    EMPTY(2),
    AFFECTED_ROWS(1),
    COMMANDRETURN_NOT_SET(0);
    private final int value;
    private CommandReturnCase(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 CommandReturnCase valueOf(int value) {
      return forNumber(value);
    }

    public static CommandReturnCase forNumber(int value) {
      switch (value) {
        case 2: return EMPTY;
        case 1: return AFFECTED_ROWS;
        case 0: return COMMANDRETURN_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public CommandReturnCase
  getCommandReturnCase() {
    return CommandReturnCase.forNumber(
        commandReturnCase_);
  }

  public static final int EMPTY_FIELD_NUMBER = 2;
  /**
   * .google.protobuf.Empty empty = 2;
   * @return Whether the empty field is set.
   */
  @java.lang.Override
  public boolean hasEmpty() {
    return commandReturnCase_ == 2;
  }
  /**
   * .google.protobuf.Empty empty = 2;
   * @return The empty.
   */
  @java.lang.Override
  public com.google.protobuf.Empty getEmpty() {
    if (commandReturnCase_ == 2) {
       return (com.google.protobuf.Empty) commandReturn_;
    }
    return com.google.protobuf.Empty.getDefaultInstance();
  }
  /**
   * .google.protobuf.Empty empty = 2;
   */
  @java.lang.Override
  public com.google.protobuf.EmptyOrBuilder getEmptyOrBuilder() {
    if (commandReturnCase_ == 2) {
       return (com.google.protobuf.Empty) commandReturn_;
    }
    return com.google.protobuf.Empty.getDefaultInstance();
  }

  public static final int AFFECTED_ROWS_FIELD_NUMBER = 1;
  /**
   * uint64 affected_rows = 1;
   * @return Whether the affectedRows field is set.
   */
  @java.lang.Override
  public boolean hasAffectedRows() {
    return commandReturnCase_ == 1;
  }
  /**
   * uint64 affected_rows = 1;
   * @return The affectedRows.
   */
  @java.lang.Override
  public long getAffectedRows() {
    if (commandReturnCase_ == 1) {
      return (java.lang.Long) commandReturn_;
    }
    return 0L;
  }

  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 (commandReturnCase_ == 1) {
      output.writeUInt64(
          1, (long)((java.lang.Long) commandReturn_));
    }
    if (commandReturnCase_ == 2) {
      output.writeMessage(2, (com.google.protobuf.Empty) commandReturn_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (commandReturnCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(
            1, (long)((java.lang.Long) commandReturn_));
    }
    if (commandReturnCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (com.google.protobuf.Empty) commandReturn_);
    }
    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.QueryCommandOk)) {
      return super.equals(obj);
    }
    com.salesforce.hyperdb.grpc.QueryCommandOk other = (com.salesforce.hyperdb.grpc.QueryCommandOk) obj;

    if (!getCommandReturnCase().equals(other.getCommandReturnCase())) return false;
    switch (commandReturnCase_) {
      case 2:
        if (!getEmpty()
            .equals(other.getEmpty())) return false;
        break;
      case 1:
        if (getAffectedRows()
            != other.getAffectedRows()) 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();
    switch (commandReturnCase_) {
      case 2:
        hash = (37 * hash) + EMPTY_FIELD_NUMBER;
        hash = (53 * hash) + getEmpty().hashCode();
        break;
      case 1:
        hash = (37 * hash) + AFFECTED_ROWS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAffectedRows());
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.salesforce.hyperdb.grpc.QueryCommandOk parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk 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.QueryCommandOk parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk 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.QueryCommandOk parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk 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.QueryCommandOk parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk 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.QueryCommandOk parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.salesforce.hyperdb.grpc.QueryCommandOk 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.QueryCommandOk 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.QueryCommandOk}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:salesforce.hyperdb.grpc.v1.QueryCommandOk)
      com.salesforce.hyperdb.grpc.QueryCommandOkOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryCommandOk_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.salesforce.hyperdb.grpc.HyperDatabaseServiceProto.internal_static_salesforce_hyperdb_grpc_v1_QueryCommandOk_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.salesforce.hyperdb.grpc.QueryCommandOk.class, com.salesforce.hyperdb.grpc.QueryCommandOk.Builder.class);
    }

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (emptyBuilder_ != null) {
        emptyBuilder_.clear();
      }
      commandReturnCase_ = 0;
      commandReturn_ = 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_QueryCommandOk_descriptor;
    }

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

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

    @java.lang.Override
    public com.salesforce.hyperdb.grpc.QueryCommandOk buildPartial() {
      com.salesforce.hyperdb.grpc.QueryCommandOk result = new com.salesforce.hyperdb.grpc.QueryCommandOk(this);
      if (commandReturnCase_ == 2) {
        if (emptyBuilder_ == null) {
          result.commandReturn_ = commandReturn_;
        } else {
          result.commandReturn_ = emptyBuilder_.build();
        }
      }
      if (commandReturnCase_ == 1) {
        result.commandReturn_ = commandReturn_;
      }
      result.commandReturnCase_ = commandReturnCase_;
      onBuilt();
      return result;
    }

    @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.QueryCommandOk) {
        return mergeFrom((com.salesforce.hyperdb.grpc.QueryCommandOk)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.salesforce.hyperdb.grpc.QueryCommandOk other) {
      if (other == com.salesforce.hyperdb.grpc.QueryCommandOk.getDefaultInstance()) return this;
      switch (other.getCommandReturnCase()) {
        case EMPTY: {
          mergeEmpty(other.getEmpty());
          break;
        }
        case AFFECTED_ROWS: {
          setAffectedRows(other.getAffectedRows());
          break;
        }
        case COMMANDRETURN_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 8: {
              commandReturn_ = input.readUInt64();
              commandReturnCase_ = 1;
              break;
            } // case 8
            case 18: {
              input.readMessage(
                  getEmptyFieldBuilder().getBuilder(),
                  extensionRegistry);
              commandReturnCase_ = 2;
              break;
            } // case 18
            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 commandReturnCase_ = 0;
    private java.lang.Object commandReturn_;
    public CommandReturnCase
        getCommandReturnCase() {
      return CommandReturnCase.forNumber(
          commandReturnCase_);
    }

    public Builder clearCommandReturn() {
      commandReturnCase_ = 0;
      commandReturn_ = null;
      onChanged();
      return this;
    }


    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> emptyBuilder_;
    /**
     * .google.protobuf.Empty empty = 2;
     * @return Whether the empty field is set.
     */
    @java.lang.Override
    public boolean hasEmpty() {
      return commandReturnCase_ == 2;
    }
    /**
     * .google.protobuf.Empty empty = 2;
     * @return The empty.
     */
    @java.lang.Override
    public com.google.protobuf.Empty getEmpty() {
      if (emptyBuilder_ == null) {
        if (commandReturnCase_ == 2) {
          return (com.google.protobuf.Empty) commandReturn_;
        }
        return com.google.protobuf.Empty.getDefaultInstance();
      } else {
        if (commandReturnCase_ == 2) {
          return emptyBuilder_.getMessage();
        }
        return com.google.protobuf.Empty.getDefaultInstance();
      }
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    public Builder setEmpty(com.google.protobuf.Empty value) {
      if (emptyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        commandReturn_ = value;
        onChanged();
      } else {
        emptyBuilder_.setMessage(value);
      }
      commandReturnCase_ = 2;
      return this;
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    public Builder setEmpty(
        com.google.protobuf.Empty.Builder builderForValue) {
      if (emptyBuilder_ == null) {
        commandReturn_ = builderForValue.build();
        onChanged();
      } else {
        emptyBuilder_.setMessage(builderForValue.build());
      }
      commandReturnCase_ = 2;
      return this;
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    public Builder mergeEmpty(com.google.protobuf.Empty value) {
      if (emptyBuilder_ == null) {
        if (commandReturnCase_ == 2 &&
            commandReturn_ != com.google.protobuf.Empty.getDefaultInstance()) {
          commandReturn_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) commandReturn_)
              .mergeFrom(value).buildPartial();
        } else {
          commandReturn_ = value;
        }
        onChanged();
      } else {
        if (commandReturnCase_ == 2) {
          emptyBuilder_.mergeFrom(value);
        }
        emptyBuilder_.setMessage(value);
      }
      commandReturnCase_ = 2;
      return this;
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    public Builder clearEmpty() {
      if (emptyBuilder_ == null) {
        if (commandReturnCase_ == 2) {
          commandReturnCase_ = 0;
          commandReturn_ = null;
          onChanged();
        }
      } else {
        if (commandReturnCase_ == 2) {
          commandReturnCase_ = 0;
          commandReturn_ = null;
        }
        emptyBuilder_.clear();
      }
      return this;
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    public com.google.protobuf.Empty.Builder getEmptyBuilder() {
      return getEmptyFieldBuilder().getBuilder();
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    @java.lang.Override
    public com.google.protobuf.EmptyOrBuilder getEmptyOrBuilder() {
      if ((commandReturnCase_ == 2) && (emptyBuilder_ != null)) {
        return emptyBuilder_.getMessageOrBuilder();
      } else {
        if (commandReturnCase_ == 2) {
          return (com.google.protobuf.Empty) commandReturn_;
        }
        return com.google.protobuf.Empty.getDefaultInstance();
      }
    }
    /**
     * .google.protobuf.Empty empty = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> 
        getEmptyFieldBuilder() {
      if (emptyBuilder_ == null) {
        if (!(commandReturnCase_ == 2)) {
          commandReturn_ = com.google.protobuf.Empty.getDefaultInstance();
        }
        emptyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>(
                (com.google.protobuf.Empty) commandReturn_,
                getParentForChildren(),
                isClean());
        commandReturn_ = null;
      }
      commandReturnCase_ = 2;
      onChanged();;
      return emptyBuilder_;
    }

    /**
     * uint64 affected_rows = 1;
     * @return Whether the affectedRows field is set.
     */
    public boolean hasAffectedRows() {
      return commandReturnCase_ == 1;
    }
    /**
     * uint64 affected_rows = 1;
     * @return The affectedRows.
     */
    public long getAffectedRows() {
      if (commandReturnCase_ == 1) {
        return (java.lang.Long) commandReturn_;
      }
      return 0L;
    }
    /**
     * uint64 affected_rows = 1;
     * @param value The affectedRows to set.
     * @return This builder for chaining.
     */
    public Builder setAffectedRows(long value) {
      commandReturnCase_ = 1;
      commandReturn_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 affected_rows = 1;
     * @return This builder for chaining.
     */
    public Builder clearAffectedRows() {
      if (commandReturnCase_ == 1) {
        commandReturnCase_ = 0;
        commandReturn_ = null;
        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.QueryCommandOk)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public QueryCommandOk 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.QueryCommandOk getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy