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

java.io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deephaven/proto/console.proto

// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.script.grpc;

/**
 * Protobuf type {@code io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse}
 */
public final class AutoCompleteResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse)
    AutoCompleteResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use AutoCompleteResponse.newBuilder() to construct.
  private AutoCompleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private AutoCompleteResponse() {
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.deephaven.proto.backplane.script.grpc.Console.internal_static_io_deephaven_proto_backplane_script_grpc_AutoCompleteResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.deephaven.proto.backplane.script.grpc.Console.internal_static_io_deephaven_proto_backplane_script_grpc_AutoCompleteResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.class, io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.Builder.class);
  }

  private int responseCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object response_;
  public enum ResponseCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    COMPLETION_ITEMS(1),
    SIGNATURES(4),
    HOVER(5),
    DIAGNOSTIC(6),
    DIAGNOSTIC_PUBLISH(7),
    RESPONSE_NOT_SET(0);
    private final int value;
    private ResponseCase(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 ResponseCase valueOf(int value) {
      return forNumber(value);
    }

    public static ResponseCase forNumber(int value) {
      switch (value) {
        case 1: return COMPLETION_ITEMS;
        case 4: return SIGNATURES;
        case 5: return HOVER;
        case 6: return DIAGNOSTIC;
        case 7: return DIAGNOSTIC_PUBLISH;
        case 0: return RESPONSE_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public ResponseCase
  getResponseCase() {
    return ResponseCase.forNumber(
        responseCase_);
  }

  public static final int REQUEST_ID_FIELD_NUMBER = 2;
  private int requestId_ = 0;
  /**
   * int32 request_id = 2;
   * @return The requestId.
   */
  @java.lang.Override
  public int getRequestId() {
    return requestId_;
  }

  public static final int SUCCESS_FIELD_NUMBER = 3;
  private boolean success_ = false;
  /**
   * bool success = 3;
   * @return The success.
   */
  @java.lang.Override
  public boolean getSuccess() {
    return success_;
  }

  public static final int COMPLETION_ITEMS_FIELD_NUMBER = 1;
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
   * @return Whether the completionItems field is set.
   */
  @java.lang.Override
  public boolean hasCompletionItems() {
    return responseCase_ == 1;
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
   * @return The completionItems.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse getCompletionItems() {
    if (responseCase_ == 1) {
       return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance();
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponseOrBuilder getCompletionItemsOrBuilder() {
    if (responseCase_ == 1) {
       return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance();
  }

  public static final int SIGNATURES_FIELD_NUMBER = 4;
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
   * @return Whether the signatures field is set.
   */
  @java.lang.Override
  public boolean hasSignatures() {
    return responseCase_ == 4;
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
   * @return The signatures.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse getSignatures() {
    if (responseCase_ == 4) {
       return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder getSignaturesOrBuilder() {
    if (responseCase_ == 4) {
       return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
  }

  public static final int HOVER_FIELD_NUMBER = 5;
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
   * @return Whether the hover field is set.
   */
  @java.lang.Override
  public boolean hasHover() {
    return responseCase_ == 5;
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
   * @return The hover.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetHoverResponse getHover() {
    if (responseCase_ == 5) {
       return (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance();
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetHoverResponseOrBuilder getHoverOrBuilder() {
    if (responseCase_ == 5) {
       return (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance();
  }

  public static final int DIAGNOSTIC_FIELD_NUMBER = 6;
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
   * @return Whether the diagnostic field is set.
   */
  @java.lang.Override
  public boolean hasDiagnostic() {
    return responseCase_ == 6;
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
   * @return The diagnostic.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse getDiagnostic() {
    if (responseCase_ == 6) {
       return (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance();
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponseOrBuilder getDiagnosticOrBuilder() {
    if (responseCase_ == 6) {
       return (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance();
  }

  public static final int DIAGNOSTIC_PUBLISH_FIELD_NUMBER = 7;
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
   * @return Whether the diagnosticPublish field is set.
   */
  @java.lang.Override
  public boolean hasDiagnosticPublish() {
    return responseCase_ == 7;
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
   * @return The diagnosticPublish.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse getDiagnosticPublish() {
    if (responseCase_ == 7) {
       return (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance();
  }
  /**
   * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponseOrBuilder getDiagnosticPublishOrBuilder() {
    if (responseCase_ == 7) {
       return (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_;
    }
    return io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance();
  }

  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 (responseCase_ == 1) {
      output.writeMessage(1, (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_);
    }
    if (requestId_ != 0) {
      output.writeInt32(2, requestId_);
    }
    if (success_ != false) {
      output.writeBool(3, success_);
    }
    if (responseCase_ == 4) {
      output.writeMessage(4, (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_);
    }
    if (responseCase_ == 5) {
      output.writeMessage(5, (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_);
    }
    if (responseCase_ == 6) {
      output.writeMessage(6, (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_);
    }
    if (responseCase_ == 7) {
      output.writeMessage(7, (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (responseCase_ == 1) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_);
    }
    if (requestId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, requestId_);
    }
    if (success_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(3, success_);
    }
    if (responseCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_);
    }
    if (responseCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_);
    }
    if (responseCase_ == 6) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_);
    }
    if (responseCase_ == 7) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_);
    }
    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 io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse)) {
      return super.equals(obj);
    }
    io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse other = (io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse) obj;

    if (getRequestId()
        != other.getRequestId()) return false;
    if (getSuccess()
        != other.getSuccess()) return false;
    if (!getResponseCase().equals(other.getResponseCase())) return false;
    switch (responseCase_) {
      case 1:
        if (!getCompletionItems()
            .equals(other.getCompletionItems())) return false;
        break;
      case 4:
        if (!getSignatures()
            .equals(other.getSignatures())) return false;
        break;
      case 5:
        if (!getHover()
            .equals(other.getHover())) return false;
        break;
      case 6:
        if (!getDiagnostic()
            .equals(other.getDiagnostic())) return false;
        break;
      case 7:
        if (!getDiagnosticPublish()
            .equals(other.getDiagnosticPublish())) 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) + REQUEST_ID_FIELD_NUMBER;
    hash = (53 * hash) + getRequestId();
    hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getSuccess());
    switch (responseCase_) {
      case 1:
        hash = (37 * hash) + COMPLETION_ITEMS_FIELD_NUMBER;
        hash = (53 * hash) + getCompletionItems().hashCode();
        break;
      case 4:
        hash = (37 * hash) + SIGNATURES_FIELD_NUMBER;
        hash = (53 * hash) + getSignatures().hashCode();
        break;
      case 5:
        hash = (37 * hash) + HOVER_FIELD_NUMBER;
        hash = (53 * hash) + getHover().hashCode();
        break;
      case 6:
        hash = (37 * hash) + DIAGNOSTIC_FIELD_NUMBER;
        hash = (53 * hash) + getDiagnostic().hashCode();
        break;
      case 7:
        hash = (37 * hash) + DIAGNOSTIC_PUBLISH_FIELD_NUMBER;
        hash = (53 * hash) + getDiagnosticPublish().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse 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 io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse 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 io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse 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(io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse 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 io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse)
      io.deephaven.proto.backplane.script.grpc.AutoCompleteResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.deephaven.proto.backplane.script.grpc.Console.internal_static_io_deephaven_proto_backplane_script_grpc_AutoCompleteResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.deephaven.proto.backplane.script.grpc.Console.internal_static_io_deephaven_proto_backplane_script_grpc_AutoCompleteResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.class, io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.Builder.class);
    }

    // Construct using io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.newBuilder()
    private Builder() {

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      requestId_ = 0;
      success_ = false;
      if (completionItemsBuilder_ != null) {
        completionItemsBuilder_.clear();
      }
      if (signaturesBuilder_ != null) {
        signaturesBuilder_.clear();
      }
      if (hoverBuilder_ != null) {
        hoverBuilder_.clear();
      }
      if (diagnosticBuilder_ != null) {
        diagnosticBuilder_.clear();
      }
      if (diagnosticPublishBuilder_ != null) {
        diagnosticPublishBuilder_.clear();
      }
      responseCase_ = 0;
      response_ = null;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.deephaven.proto.backplane.script.grpc.Console.internal_static_io_deephaven_proto_backplane_script_grpc_AutoCompleteResponse_descriptor;
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse getDefaultInstanceForType() {
      return io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.getDefaultInstance();
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse build() {
      io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse buildPartial() {
      io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse result = new io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      buildPartialOneofs(result);
      onBuilt();
      return result;
    }

    private void buildPartial0(io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.requestId_ = requestId_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.success_ = success_;
      }
    }

    private void buildPartialOneofs(io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse result) {
      result.responseCase_ = responseCase_;
      result.response_ = this.response_;
      if (responseCase_ == 1 &&
          completionItemsBuilder_ != null) {
        result.response_ = completionItemsBuilder_.build();
      }
      if (responseCase_ == 4 &&
          signaturesBuilder_ != null) {
        result.response_ = signaturesBuilder_.build();
      }
      if (responseCase_ == 5 &&
          hoverBuilder_ != null) {
        result.response_ = hoverBuilder_.build();
      }
      if (responseCase_ == 6 &&
          diagnosticBuilder_ != null) {
        result.response_ = diagnosticBuilder_.build();
      }
      if (responseCase_ == 7 &&
          diagnosticPublishBuilder_ != null) {
        result.response_ = diagnosticPublishBuilder_.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 io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse) {
        return mergeFrom((io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse other) {
      if (other == io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse.getDefaultInstance()) return this;
      if (other.getRequestId() != 0) {
        setRequestId(other.getRequestId());
      }
      if (other.getSuccess() != false) {
        setSuccess(other.getSuccess());
      }
      switch (other.getResponseCase()) {
        case COMPLETION_ITEMS: {
          mergeCompletionItems(other.getCompletionItems());
          break;
        }
        case SIGNATURES: {
          mergeSignatures(other.getSignatures());
          break;
        }
        case HOVER: {
          mergeHover(other.getHover());
          break;
        }
        case DIAGNOSTIC: {
          mergeDiagnostic(other.getDiagnostic());
          break;
        }
        case DIAGNOSTIC_PUBLISH: {
          mergeDiagnosticPublish(other.getDiagnosticPublish());
          break;
        }
        case RESPONSE_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: {
              input.readMessage(
                  getCompletionItemsFieldBuilder().getBuilder(),
                  extensionRegistry);
              responseCase_ = 1;
              break;
            } // case 10
            case 16: {
              requestId_ = input.readInt32();
              bitField0_ |= 0x00000001;
              break;
            } // case 16
            case 24: {
              success_ = input.readBool();
              bitField0_ |= 0x00000002;
              break;
            } // case 24
            case 34: {
              input.readMessage(
                  getSignaturesFieldBuilder().getBuilder(),
                  extensionRegistry);
              responseCase_ = 4;
              break;
            } // case 34
            case 42: {
              input.readMessage(
                  getHoverFieldBuilder().getBuilder(),
                  extensionRegistry);
              responseCase_ = 5;
              break;
            } // case 42
            case 50: {
              input.readMessage(
                  getDiagnosticFieldBuilder().getBuilder(),
                  extensionRegistry);
              responseCase_ = 6;
              break;
            } // case 50
            case 58: {
              input.readMessage(
                  getDiagnosticPublishFieldBuilder().getBuilder(),
                  extensionRegistry);
              responseCase_ = 7;
              break;
            } // case 58
            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 responseCase_ = 0;
    private java.lang.Object response_;
    public ResponseCase
        getResponseCase() {
      return ResponseCase.forNumber(
          responseCase_);
    }

    public Builder clearResponse() {
      responseCase_ = 0;
      response_ = null;
      onChanged();
      return this;
    }

    private int bitField0_;

    private int requestId_ ;
    /**
     * int32 request_id = 2;
     * @return The requestId.
     */
    @java.lang.Override
    public int getRequestId() {
      return requestId_;
    }
    /**
     * int32 request_id = 2;
     * @param value The requestId to set.
     * @return This builder for chaining.
     */
    public Builder setRequestId(int value) {

      requestId_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * int32 request_id = 2;
     * @return This builder for chaining.
     */
    public Builder clearRequestId() {
      bitField0_ = (bitField0_ & ~0x00000001);
      requestId_ = 0;
      onChanged();
      return this;
    }

    private boolean success_ ;
    /**
     * bool success = 3;
     * @return The success.
     */
    @java.lang.Override
    public boolean getSuccess() {
      return success_;
    }
    /**
     * bool success = 3;
     * @param value The success to set.
     * @return This builder for chaining.
     */
    public Builder setSuccess(boolean value) {

      success_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * bool success = 3;
     * @return This builder for chaining.
     */
    public Builder clearSuccess() {
      bitField0_ = (bitField0_ & ~0x00000002);
      success_ = false;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponseOrBuilder> completionItemsBuilder_;
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     * @return Whether the completionItems field is set.
     */
    @java.lang.Override
    public boolean hasCompletionItems() {
      return responseCase_ == 1;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     * @return The completionItems.
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse getCompletionItems() {
      if (completionItemsBuilder_ == null) {
        if (responseCase_ == 1) {
          return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 1) {
          return completionItemsBuilder_.getMessage();
        }
        return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    public Builder setCompletionItems(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse value) {
      if (completionItemsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        completionItemsBuilder_.setMessage(value);
      }
      responseCase_ = 1;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    public Builder setCompletionItems(
        io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.Builder builderForValue) {
      if (completionItemsBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        completionItemsBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 1;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    public Builder mergeCompletionItems(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse value) {
      if (completionItemsBuilder_ == null) {
        if (responseCase_ == 1 &&
            response_ != io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance()) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.newBuilder((io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 1) {
          completionItemsBuilder_.mergeFrom(value);
        } else {
          completionItemsBuilder_.setMessage(value);
        }
      }
      responseCase_ = 1;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    public Builder clearCompletionItems() {
      if (completionItemsBuilder_ == null) {
        if (responseCase_ == 1) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 1) {
          responseCase_ = 0;
          response_ = null;
        }
        completionItemsBuilder_.clear();
      }
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.Builder getCompletionItemsBuilder() {
      return getCompletionItemsFieldBuilder().getBuilder();
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponseOrBuilder getCompletionItemsOrBuilder() {
      if ((responseCase_ == 1) && (completionItemsBuilder_ != null)) {
        return completionItemsBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 1) {
          return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse completion_items = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponseOrBuilder> 
        getCompletionItemsFieldBuilder() {
      if (completionItemsBuilder_ == null) {
        if (!(responseCase_ == 1)) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.getDefaultInstance();
        }
        completionItemsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponseOrBuilder>(
                (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 1;
      onChanged();
      return completionItemsBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder> signaturesBuilder_;
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     * @return Whether the signatures field is set.
     */
    @java.lang.Override
    public boolean hasSignatures() {
      return responseCase_ == 4;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     * @return The signatures.
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse getSignatures() {
      if (signaturesBuilder_ == null) {
        if (responseCase_ == 4) {
          return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 4) {
          return signaturesBuilder_.getMessage();
        }
        return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    public Builder setSignatures(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse value) {
      if (signaturesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        signaturesBuilder_.setMessage(value);
      }
      responseCase_ = 4;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    public Builder setSignatures(
        io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder builderForValue) {
      if (signaturesBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        signaturesBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 4;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    public Builder mergeSignatures(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse value) {
      if (signaturesBuilder_ == null) {
        if (responseCase_ == 4 &&
            response_ != io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance()) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.newBuilder((io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 4) {
          signaturesBuilder_.mergeFrom(value);
        } else {
          signaturesBuilder_.setMessage(value);
        }
      }
      responseCase_ = 4;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    public Builder clearSignatures() {
      if (signaturesBuilder_ == null) {
        if (responseCase_ == 4) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 4) {
          responseCase_ = 0;
          response_ = null;
        }
        signaturesBuilder_.clear();
      }
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder getSignaturesBuilder() {
      return getSignaturesFieldBuilder().getBuilder();
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder getSignaturesOrBuilder() {
      if ((responseCase_ == 4) && (signaturesBuilder_ != null)) {
        return signaturesBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 4) {
          return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse signatures = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder> 
        getSignaturesFieldBuilder() {
      if (signaturesBuilder_ == null) {
        if (!(responseCase_ == 4)) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
        }
        signaturesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder>(
                (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 4;
      onChanged();
      return signaturesBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetHoverResponse, io.deephaven.proto.backplane.script.grpc.GetHoverResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetHoverResponseOrBuilder> hoverBuilder_;
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     * @return Whether the hover field is set.
     */
    @java.lang.Override
    public boolean hasHover() {
      return responseCase_ == 5;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     * @return The hover.
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetHoverResponse getHover() {
      if (hoverBuilder_ == null) {
        if (responseCase_ == 5) {
          return (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 5) {
          return hoverBuilder_.getMessage();
        }
        return io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    public Builder setHover(io.deephaven.proto.backplane.script.grpc.GetHoverResponse value) {
      if (hoverBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        hoverBuilder_.setMessage(value);
      }
      responseCase_ = 5;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    public Builder setHover(
        io.deephaven.proto.backplane.script.grpc.GetHoverResponse.Builder builderForValue) {
      if (hoverBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        hoverBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 5;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    public Builder mergeHover(io.deephaven.proto.backplane.script.grpc.GetHoverResponse value) {
      if (hoverBuilder_ == null) {
        if (responseCase_ == 5 &&
            response_ != io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance()) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetHoverResponse.newBuilder((io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 5) {
          hoverBuilder_.mergeFrom(value);
        } else {
          hoverBuilder_.setMessage(value);
        }
      }
      responseCase_ = 5;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    public Builder clearHover() {
      if (hoverBuilder_ == null) {
        if (responseCase_ == 5) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 5) {
          responseCase_ = 0;
          response_ = null;
        }
        hoverBuilder_.clear();
      }
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    public io.deephaven.proto.backplane.script.grpc.GetHoverResponse.Builder getHoverBuilder() {
      return getHoverFieldBuilder().getBuilder();
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetHoverResponseOrBuilder getHoverOrBuilder() {
      if ((responseCase_ == 5) && (hoverBuilder_ != null)) {
        return hoverBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 5) {
          return (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetHoverResponse hover = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetHoverResponse, io.deephaven.proto.backplane.script.grpc.GetHoverResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetHoverResponseOrBuilder> 
        getHoverFieldBuilder() {
      if (hoverBuilder_ == null) {
        if (!(responseCase_ == 5)) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetHoverResponse.getDefaultInstance();
        }
        hoverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.deephaven.proto.backplane.script.grpc.GetHoverResponse, io.deephaven.proto.backplane.script.grpc.GetHoverResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetHoverResponseOrBuilder>(
                (io.deephaven.proto.backplane.script.grpc.GetHoverResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 5;
      onChanged();
      return hoverBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse, io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponseOrBuilder> diagnosticBuilder_;
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     * @return Whether the diagnostic field is set.
     */
    @java.lang.Override
    public boolean hasDiagnostic() {
      return responseCase_ == 6;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     * @return The diagnostic.
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse getDiagnostic() {
      if (diagnosticBuilder_ == null) {
        if (responseCase_ == 6) {
          return (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 6) {
          return diagnosticBuilder_.getMessage();
        }
        return io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    public Builder setDiagnostic(io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse value) {
      if (diagnosticBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        diagnosticBuilder_.setMessage(value);
      }
      responseCase_ = 6;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    public Builder setDiagnostic(
        io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.Builder builderForValue) {
      if (diagnosticBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        diagnosticBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 6;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    public Builder mergeDiagnostic(io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse value) {
      if (diagnosticBuilder_ == null) {
        if (responseCase_ == 6 &&
            response_ != io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance()) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.newBuilder((io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 6) {
          diagnosticBuilder_.mergeFrom(value);
        } else {
          diagnosticBuilder_.setMessage(value);
        }
      }
      responseCase_ = 6;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    public Builder clearDiagnostic() {
      if (diagnosticBuilder_ == null) {
        if (responseCase_ == 6) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 6) {
          responseCase_ = 0;
          response_ = null;
        }
        diagnosticBuilder_.clear();
      }
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    public io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.Builder getDiagnosticBuilder() {
      return getDiagnosticFieldBuilder().getBuilder();
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponseOrBuilder getDiagnosticOrBuilder() {
      if ((responseCase_ == 6) && (diagnosticBuilder_ != null)) {
        return diagnosticBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 6) {
          return (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse diagnostic = 6;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse, io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponseOrBuilder> 
        getDiagnosticFieldBuilder() {
      if (diagnosticBuilder_ == null) {
        if (!(responseCase_ == 6)) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.getDefaultInstance();
        }
        diagnosticBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse, io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponseOrBuilder>(
                (io.deephaven.proto.backplane.script.grpc.GetPullDiagnosticResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 6;
      onChanged();
      return diagnosticBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse, io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponseOrBuilder> diagnosticPublishBuilder_;
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     * @return Whether the diagnosticPublish field is set.
     */
    @java.lang.Override
    public boolean hasDiagnosticPublish() {
      return responseCase_ == 7;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     * @return The diagnosticPublish.
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse getDiagnosticPublish() {
      if (diagnosticPublishBuilder_ == null) {
        if (responseCase_ == 7) {
          return (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance();
      } else {
        if (responseCase_ == 7) {
          return diagnosticPublishBuilder_.getMessage();
        }
        return io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    public Builder setDiagnosticPublish(io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse value) {
      if (diagnosticPublishBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        response_ = value;
        onChanged();
      } else {
        diagnosticPublishBuilder_.setMessage(value);
      }
      responseCase_ = 7;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    public Builder setDiagnosticPublish(
        io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.Builder builderForValue) {
      if (diagnosticPublishBuilder_ == null) {
        response_ = builderForValue.build();
        onChanged();
      } else {
        diagnosticPublishBuilder_.setMessage(builderForValue.build());
      }
      responseCase_ = 7;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    public Builder mergeDiagnosticPublish(io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse value) {
      if (diagnosticPublishBuilder_ == null) {
        if (responseCase_ == 7 &&
            response_ != io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance()) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.newBuilder((io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_)
              .mergeFrom(value).buildPartial();
        } else {
          response_ = value;
        }
        onChanged();
      } else {
        if (responseCase_ == 7) {
          diagnosticPublishBuilder_.mergeFrom(value);
        } else {
          diagnosticPublishBuilder_.setMessage(value);
        }
      }
      responseCase_ = 7;
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    public Builder clearDiagnosticPublish() {
      if (diagnosticPublishBuilder_ == null) {
        if (responseCase_ == 7) {
          responseCase_ = 0;
          response_ = null;
          onChanged();
        }
      } else {
        if (responseCase_ == 7) {
          responseCase_ = 0;
          response_ = null;
        }
        diagnosticPublishBuilder_.clear();
      }
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    public io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.Builder getDiagnosticPublishBuilder() {
      return getDiagnosticPublishFieldBuilder().getBuilder();
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponseOrBuilder getDiagnosticPublishOrBuilder() {
      if ((responseCase_ == 7) && (diagnosticPublishBuilder_ != null)) {
        return diagnosticPublishBuilder_.getMessageOrBuilder();
      } else {
        if (responseCase_ == 7) {
          return (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_;
        }
        return io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance();
      }
    }
    /**
     * .io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse diagnostic_publish = 7;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse, io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponseOrBuilder> 
        getDiagnosticPublishFieldBuilder() {
      if (diagnosticPublishBuilder_ == null) {
        if (!(responseCase_ == 7)) {
          response_ = io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.getDefaultInstance();
        }
        diagnosticPublishBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse, io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponseOrBuilder>(
                (io.deephaven.proto.backplane.script.grpc.GetPublishDiagnosticResponse) response_,
                getParentForChildren(),
                isClean());
        response_ = null;
      }
      responseCase_ = 7;
      onChanged();
      return diagnosticPublishBuilder_;
    }
    @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:io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse)
  }

  // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse)
  private static final io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse();
  }

  public static io.deephaven.proto.backplane.script.grpc.AutoCompleteResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy