java.io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-proto-backplane-grpc Show documentation
Show all versions of deephaven-proto-backplane-grpc Show documentation
The Deephaven proto-backplane-grpc
// 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.AutoCompleteRequest}
*/
public final class AutoCompleteRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest)
AutoCompleteRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AutoCompleteRequest.newBuilder() to construct.
private AutoCompleteRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AutoCompleteRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AutoCompleteRequest();
}
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_AutoCompleteRequest_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_AutoCompleteRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.class, io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.Builder.class);
}
private int bitField0_;
private int requestCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object request_;
public enum RequestCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
OPEN_DOCUMENT(1),
CHANGE_DOCUMENT(2),
GET_COMPLETION_ITEMS(3),
GET_SIGNATURE_HELP(7),
GET_HOVER(8),
GET_DIAGNOSTIC(9),
CLOSE_DOCUMENT(4),
REQUEST_NOT_SET(0);
private final int value;
private RequestCase(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 RequestCase valueOf(int value) {
return forNumber(value);
}
public static RequestCase forNumber(int value) {
switch (value) {
case 1: return OPEN_DOCUMENT;
case 2: return CHANGE_DOCUMENT;
case 3: return GET_COMPLETION_ITEMS;
case 7: return GET_SIGNATURE_HELP;
case 8: return GET_HOVER;
case 9: return GET_DIAGNOSTIC;
case 4: return CLOSE_DOCUMENT;
case 0: return REQUEST_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public RequestCase
getRequestCase() {
return RequestCase.forNumber(
requestCase_);
}
public static final int CONSOLE_ID_FIELD_NUMBER = 5;
private io.deephaven.proto.backplane.grpc.Ticket consoleId_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
* @return Whether the consoleId field is set.
*/
@java.lang.Override
public boolean hasConsoleId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
* @return The consoleId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getConsoleId() {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getConsoleIdOrBuilder() {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
public static final int REQUEST_ID_FIELD_NUMBER = 6;
private int requestId_ = 0;
/**
* int32 request_id = 6;
* @return The requestId.
*/
@java.lang.Override
public int getRequestId() {
return requestId_;
}
public static final int OPEN_DOCUMENT_FIELD_NUMBER = 1;
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
* @return Whether the openDocument field is set.
*/
@java.lang.Override
public boolean hasOpenDocument() {
return requestCase_ == 1;
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
* @return The openDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest getOpenDocument() {
if (requestCase_ == 1) {
return (io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance();
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.OpenDocumentRequestOrBuilder getOpenDocumentOrBuilder() {
if (requestCase_ == 1) {
return (io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance();
}
public static final int CHANGE_DOCUMENT_FIELD_NUMBER = 2;
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
* @return Whether the changeDocument field is set.
*/
@java.lang.Override
public boolean hasChangeDocument() {
return requestCase_ == 2;
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
* @return The changeDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest getChangeDocument() {
if (requestCase_ == 2) {
return (io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance();
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequestOrBuilder getChangeDocumentOrBuilder() {
if (requestCase_ == 2) {
return (io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance();
}
public static final int GET_COMPLETION_ITEMS_FIELD_NUMBER = 3;
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
* @return Whether the getCompletionItems field is set.
*/
@java.lang.Override
public boolean hasGetCompletionItems() {
return requestCase_ == 3;
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
* @return The getCompletionItems.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest getGetCompletionItems() {
if (requestCase_ == 3) {
return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequestOrBuilder getGetCompletionItemsOrBuilder() {
if (requestCase_ == 3) {
return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
}
public static final int GET_SIGNATURE_HELP_FIELD_NUMBER = 7;
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
* @return Whether the getSignatureHelp field is set.
*/
@java.lang.Override
public boolean hasGetSignatureHelp() {
return requestCase_ == 7;
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
* @return The getSignatureHelp.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest getGetSignatureHelp() {
if (requestCase_ == 7) {
return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance();
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequestOrBuilder getGetSignatureHelpOrBuilder() {
if (requestCase_ == 7) {
return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance();
}
public static final int GET_HOVER_FIELD_NUMBER = 8;
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
* @return Whether the getHover field is set.
*/
@java.lang.Override
public boolean hasGetHover() {
return requestCase_ == 8;
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
* @return The getHover.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetHoverRequest getGetHover() {
if (requestCase_ == 8) {
return (io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance();
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetHoverRequestOrBuilder getGetHoverOrBuilder() {
if (requestCase_ == 8) {
return (io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance();
}
public static final int GET_DIAGNOSTIC_FIELD_NUMBER = 9;
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
* @return Whether the getDiagnostic field is set.
*/
@java.lang.Override
public boolean hasGetDiagnostic() {
return requestCase_ == 9;
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
* @return The getDiagnostic.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest getGetDiagnostic() {
if (requestCase_ == 9) {
return (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequestOrBuilder getGetDiagnosticOrBuilder() {
if (requestCase_ == 9) {
return (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
}
public static final int CLOSE_DOCUMENT_FIELD_NUMBER = 4;
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
* @return Whether the closeDocument field is set.
*/
@java.lang.Override
public boolean hasCloseDocument() {
return requestCase_ == 4;
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
* @return The closeDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest getCloseDocument() {
if (requestCase_ == 4) {
return (io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.getDefaultInstance();
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CloseDocumentRequestOrBuilder getCloseDocumentOrBuilder() {
if (requestCase_ == 4) {
return (io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.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 (requestCase_ == 1) {
output.writeMessage(1, (io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_);
}
if (requestCase_ == 2) {
output.writeMessage(2, (io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_);
}
if (requestCase_ == 3) {
output.writeMessage(3, (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_);
}
if (requestCase_ == 4) {
output.writeMessage(4, (io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(5, getConsoleId());
}
if (requestId_ != 0) {
output.writeInt32(6, requestId_);
}
if (requestCase_ == 7) {
output.writeMessage(7, (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_);
}
if (requestCase_ == 8) {
output.writeMessage(8, (io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_);
}
if (requestCase_ == 9) {
output.writeMessage(9, (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (requestCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_);
}
if (requestCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_);
}
if (requestCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_);
}
if (requestCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getConsoleId());
}
if (requestId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, requestId_);
}
if (requestCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_);
}
if (requestCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_);
}
if (requestCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_);
}
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.AutoCompleteRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest other = (io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest) obj;
if (hasConsoleId() != other.hasConsoleId()) return false;
if (hasConsoleId()) {
if (!getConsoleId()
.equals(other.getConsoleId())) return false;
}
if (getRequestId()
!= other.getRequestId()) return false;
if (!getRequestCase().equals(other.getRequestCase())) return false;
switch (requestCase_) {
case 1:
if (!getOpenDocument()
.equals(other.getOpenDocument())) return false;
break;
case 2:
if (!getChangeDocument()
.equals(other.getChangeDocument())) return false;
break;
case 3:
if (!getGetCompletionItems()
.equals(other.getGetCompletionItems())) return false;
break;
case 7:
if (!getGetSignatureHelp()
.equals(other.getGetSignatureHelp())) return false;
break;
case 8:
if (!getGetHover()
.equals(other.getGetHover())) return false;
break;
case 9:
if (!getGetDiagnostic()
.equals(other.getGetDiagnostic())) return false;
break;
case 4:
if (!getCloseDocument()
.equals(other.getCloseDocument())) 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();
if (hasConsoleId()) {
hash = (37 * hash) + CONSOLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getConsoleId().hashCode();
}
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId();
switch (requestCase_) {
case 1:
hash = (37 * hash) + OPEN_DOCUMENT_FIELD_NUMBER;
hash = (53 * hash) + getOpenDocument().hashCode();
break;
case 2:
hash = (37 * hash) + CHANGE_DOCUMENT_FIELD_NUMBER;
hash = (53 * hash) + getChangeDocument().hashCode();
break;
case 3:
hash = (37 * hash) + GET_COMPLETION_ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getGetCompletionItems().hashCode();
break;
case 7:
hash = (37 * hash) + GET_SIGNATURE_HELP_FIELD_NUMBER;
hash = (53 * hash) + getGetSignatureHelp().hashCode();
break;
case 8:
hash = (37 * hash) + GET_HOVER_FIELD_NUMBER;
hash = (53 * hash) + getGetHover().hashCode();
break;
case 9:
hash = (37 * hash) + GET_DIAGNOSTIC_FIELD_NUMBER;
hash = (53 * hash) + getGetDiagnostic().hashCode();
break;
case 4:
hash = (37 * hash) + CLOSE_DOCUMENT_FIELD_NUMBER;
hash = (53 * hash) + getCloseDocument().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest 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.AutoCompleteRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest 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.AutoCompleteRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest 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.AutoCompleteRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest)
io.deephaven.proto.backplane.script.grpc.AutoCompleteRequestOrBuilder {
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_AutoCompleteRequest_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_AutoCompleteRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.class, io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getConsoleIdFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
consoleId_ = null;
if (consoleIdBuilder_ != null) {
consoleIdBuilder_.dispose();
consoleIdBuilder_ = null;
}
requestId_ = 0;
if (openDocumentBuilder_ != null) {
openDocumentBuilder_.clear();
}
if (changeDocumentBuilder_ != null) {
changeDocumentBuilder_.clear();
}
if (getCompletionItemsBuilder_ != null) {
getCompletionItemsBuilder_.clear();
}
if (getSignatureHelpBuilder_ != null) {
getSignatureHelpBuilder_.clear();
}
if (getHoverBuilder_ != null) {
getHoverBuilder_.clear();
}
if (getDiagnosticBuilder_ != null) {
getDiagnosticBuilder_.clear();
}
if (closeDocumentBuilder_ != null) {
closeDocumentBuilder_.clear();
}
requestCase_ = 0;
request_ = 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_AutoCompleteRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest build() {
io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest buildPartial() {
io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest result = new io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.consoleId_ = consoleIdBuilder_ == null
? consoleId_
: consoleIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.requestId_ = requestId_;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest result) {
result.requestCase_ = requestCase_;
result.request_ = this.request_;
if (requestCase_ == 1 &&
openDocumentBuilder_ != null) {
result.request_ = openDocumentBuilder_.build();
}
if (requestCase_ == 2 &&
changeDocumentBuilder_ != null) {
result.request_ = changeDocumentBuilder_.build();
}
if (requestCase_ == 3 &&
getCompletionItemsBuilder_ != null) {
result.request_ = getCompletionItemsBuilder_.build();
}
if (requestCase_ == 7 &&
getSignatureHelpBuilder_ != null) {
result.request_ = getSignatureHelpBuilder_.build();
}
if (requestCase_ == 8 &&
getHoverBuilder_ != null) {
result.request_ = getHoverBuilder_.build();
}
if (requestCase_ == 9 &&
getDiagnosticBuilder_ != null) {
result.request_ = getDiagnosticBuilder_.build();
}
if (requestCase_ == 4 &&
closeDocumentBuilder_ != null) {
result.request_ = closeDocumentBuilder_.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.AutoCompleteRequest) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest other) {
if (other == io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest.getDefaultInstance()) return this;
if (other.hasConsoleId()) {
mergeConsoleId(other.getConsoleId());
}
if (other.getRequestId() != 0) {
setRequestId(other.getRequestId());
}
switch (other.getRequestCase()) {
case OPEN_DOCUMENT: {
mergeOpenDocument(other.getOpenDocument());
break;
}
case CHANGE_DOCUMENT: {
mergeChangeDocument(other.getChangeDocument());
break;
}
case GET_COMPLETION_ITEMS: {
mergeGetCompletionItems(other.getGetCompletionItems());
break;
}
case GET_SIGNATURE_HELP: {
mergeGetSignatureHelp(other.getGetSignatureHelp());
break;
}
case GET_HOVER: {
mergeGetHover(other.getGetHover());
break;
}
case GET_DIAGNOSTIC: {
mergeGetDiagnostic(other.getGetDiagnostic());
break;
}
case CLOSE_DOCUMENT: {
mergeCloseDocument(other.getCloseDocument());
break;
}
case REQUEST_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(
getOpenDocumentFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getChangeDocumentFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getGetCompletionItemsFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getCloseDocumentFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 4;
break;
} // case 34
case 42: {
input.readMessage(
getConsoleIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 42
case 48: {
requestId_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 48
case 58: {
input.readMessage(
getGetSignatureHelpFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getGetHoverFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 8;
break;
} // case 66
case 74: {
input.readMessage(
getGetDiagnosticFieldBuilder().getBuilder(),
extensionRegistry);
requestCase_ = 9;
break;
} // case 74
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 requestCase_ = 0;
private java.lang.Object request_;
public RequestCase
getRequestCase() {
return RequestCase.forNumber(
requestCase_);
}
public Builder clearRequest() {
requestCase_ = 0;
request_ = null;
onChanged();
return this;
}
private int bitField0_;
private io.deephaven.proto.backplane.grpc.Ticket consoleId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> consoleIdBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
* @return Whether the consoleId field is set.
*/
public boolean hasConsoleId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
* @return The consoleId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getConsoleId() {
if (consoleIdBuilder_ == null) {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
} else {
return consoleIdBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
public Builder setConsoleId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (consoleIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
consoleId_ = value;
} else {
consoleIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
public Builder setConsoleId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (consoleIdBuilder_ == null) {
consoleId_ = builderForValue.build();
} else {
consoleIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
public Builder mergeConsoleId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (consoleIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
consoleId_ != null &&
consoleId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getConsoleIdBuilder().mergeFrom(value);
} else {
consoleId_ = value;
}
} else {
consoleIdBuilder_.mergeFrom(value);
}
if (consoleId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
public Builder clearConsoleId() {
bitField0_ = (bitField0_ & ~0x00000001);
consoleId_ = null;
if (consoleIdBuilder_ != null) {
consoleIdBuilder_.dispose();
consoleIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getConsoleIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getConsoleIdFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getConsoleIdOrBuilder() {
if (consoleIdBuilder_ != null) {
return consoleIdBuilder_.getMessageOrBuilder();
} else {
return consoleId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>
getConsoleIdFieldBuilder() {
if (consoleIdBuilder_ == null) {
consoleIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getConsoleId(),
getParentForChildren(),
isClean());
consoleId_ = null;
}
return consoleIdBuilder_;
}
private int requestId_ ;
/**
* int32 request_id = 6;
* @return The requestId.
*/
@java.lang.Override
public int getRequestId() {
return requestId_;
}
/**
* int32 request_id = 6;
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(int value) {
requestId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int32 request_id = 6;
* @return This builder for chaining.
*/
public Builder clearRequestId() {
bitField0_ = (bitField0_ & ~0x00000002);
requestId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest, io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.OpenDocumentRequestOrBuilder> openDocumentBuilder_;
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
* @return Whether the openDocument field is set.
*/
@java.lang.Override
public boolean hasOpenDocument() {
return requestCase_ == 1;
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
* @return The openDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest getOpenDocument() {
if (openDocumentBuilder_ == null) {
if (requestCase_ == 1) {
return (io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance();
} else {
if (requestCase_ == 1) {
return openDocumentBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance();
}
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
public Builder setOpenDocument(io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest value) {
if (openDocumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
openDocumentBuilder_.setMessage(value);
}
requestCase_ = 1;
return this;
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
public Builder setOpenDocument(
io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.Builder builderForValue) {
if (openDocumentBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
openDocumentBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 1;
return this;
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
public Builder mergeOpenDocument(io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest value) {
if (openDocumentBuilder_ == null) {
if (requestCase_ == 1 &&
request_ != io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 1) {
openDocumentBuilder_.mergeFrom(value);
} else {
openDocumentBuilder_.setMessage(value);
}
}
requestCase_ = 1;
return this;
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
public Builder clearOpenDocument() {
if (openDocumentBuilder_ == null) {
if (requestCase_ == 1) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 1) {
requestCase_ = 0;
request_ = null;
}
openDocumentBuilder_.clear();
}
return this;
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
public io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.Builder getOpenDocumentBuilder() {
return getOpenDocumentFieldBuilder().getBuilder();
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.OpenDocumentRequestOrBuilder getOpenDocumentOrBuilder() {
if ((requestCase_ == 1) && (openDocumentBuilder_ != null)) {
return openDocumentBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 1) {
return (io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance();
}
}
/**
*
* Starts a document in a given console - to end, just close the stream, the server will hang up right away
*
*
* .io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest open_document = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest, io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.OpenDocumentRequestOrBuilder>
getOpenDocumentFieldBuilder() {
if (openDocumentBuilder_ == null) {
if (!(requestCase_ == 1)) {
request_ = io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.getDefaultInstance();
}
openDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest, io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.OpenDocumentRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.OpenDocumentRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 1;
onChanged();
return openDocumentBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest, io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequestOrBuilder> changeDocumentBuilder_;
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
* @return Whether the changeDocument field is set.
*/
@java.lang.Override
public boolean hasChangeDocument() {
return requestCase_ == 2;
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
* @return The changeDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest getChangeDocument() {
if (changeDocumentBuilder_ == null) {
if (requestCase_ == 2) {
return (io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance();
} else {
if (requestCase_ == 2) {
return changeDocumentBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance();
}
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
public Builder setChangeDocument(io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest value) {
if (changeDocumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
changeDocumentBuilder_.setMessage(value);
}
requestCase_ = 2;
return this;
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
public Builder setChangeDocument(
io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.Builder builderForValue) {
if (changeDocumentBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
changeDocumentBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 2;
return this;
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
public Builder mergeChangeDocument(io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest value) {
if (changeDocumentBuilder_ == null) {
if (requestCase_ == 2 &&
request_ != io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 2) {
changeDocumentBuilder_.mergeFrom(value);
} else {
changeDocumentBuilder_.setMessage(value);
}
}
requestCase_ = 2;
return this;
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
public Builder clearChangeDocument() {
if (changeDocumentBuilder_ == null) {
if (requestCase_ == 2) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 2) {
requestCase_ = 0;
request_ = null;
}
changeDocumentBuilder_.clear();
}
return this;
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
public io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.Builder getChangeDocumentBuilder() {
return getChangeDocumentFieldBuilder().getBuilder();
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequestOrBuilder getChangeDocumentOrBuilder() {
if ((requestCase_ == 2) && (changeDocumentBuilder_ != null)) {
return changeDocumentBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 2) {
return (io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance();
}
}
/**
*
* Modifies the document that autocomplete can be requested on
*
*
* .io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest change_document = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest, io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequestOrBuilder>
getChangeDocumentFieldBuilder() {
if (changeDocumentBuilder_ == null) {
if (!(requestCase_ == 2)) {
request_ = io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.getDefaultInstance();
}
changeDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest, io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 2;
onChanged();
return changeDocumentBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequestOrBuilder> getCompletionItemsBuilder_;
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
* @return Whether the getCompletionItems field is set.
*/
@java.lang.Override
public boolean hasGetCompletionItems() {
return requestCase_ == 3;
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
* @return The getCompletionItems.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest getGetCompletionItems() {
if (getCompletionItemsBuilder_ == null) {
if (requestCase_ == 3) {
return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
} else {
if (requestCase_ == 3) {
return getCompletionItemsBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
}
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
public Builder setGetCompletionItems(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest value) {
if (getCompletionItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
getCompletionItemsBuilder_.setMessage(value);
}
requestCase_ = 3;
return this;
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
public Builder setGetCompletionItems(
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder builderForValue) {
if (getCompletionItemsBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
getCompletionItemsBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 3;
return this;
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
public Builder mergeGetCompletionItems(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest value) {
if (getCompletionItemsBuilder_ == null) {
if (requestCase_ == 3 &&
request_ != io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 3) {
getCompletionItemsBuilder_.mergeFrom(value);
} else {
getCompletionItemsBuilder_.setMessage(value);
}
}
requestCase_ = 3;
return this;
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
public Builder clearGetCompletionItems() {
if (getCompletionItemsBuilder_ == null) {
if (requestCase_ == 3) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 3) {
requestCase_ = 0;
request_ = null;
}
getCompletionItemsBuilder_.clear();
}
return this;
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder getGetCompletionItemsBuilder() {
return getGetCompletionItemsFieldBuilder().getBuilder();
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequestOrBuilder getGetCompletionItemsOrBuilder() {
if ((requestCase_ == 3) && (getCompletionItemsBuilder_ != null)) {
return getCompletionItemsBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 3) {
return (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
}
}
/**
*
* Requests that a response be sent back with completion items
*
*
* .io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest get_completion_items = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequestOrBuilder>
getGetCompletionItemsFieldBuilder() {
if (getCompletionItemsBuilder_ == null) {
if (!(requestCase_ == 3)) {
request_ = io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
}
getCompletionItemsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 3;
onChanged();
return getCompletionItemsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequestOrBuilder> getSignatureHelpBuilder_;
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
* @return Whether the getSignatureHelp field is set.
*/
@java.lang.Override
public boolean hasGetSignatureHelp() {
return requestCase_ == 7;
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
* @return The getSignatureHelp.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest getGetSignatureHelp() {
if (getSignatureHelpBuilder_ == null) {
if (requestCase_ == 7) {
return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance();
} else {
if (requestCase_ == 7) {
return getSignatureHelpBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance();
}
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
public Builder setGetSignatureHelp(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest value) {
if (getSignatureHelpBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
getSignatureHelpBuilder_.setMessage(value);
}
requestCase_ = 7;
return this;
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
public Builder setGetSignatureHelp(
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.Builder builderForValue) {
if (getSignatureHelpBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
getSignatureHelpBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 7;
return this;
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
public Builder mergeGetSignatureHelp(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest value) {
if (getSignatureHelpBuilder_ == null) {
if (requestCase_ == 7 &&
request_ != io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 7) {
getSignatureHelpBuilder_.mergeFrom(value);
} else {
getSignatureHelpBuilder_.setMessage(value);
}
}
requestCase_ = 7;
return this;
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
public Builder clearGetSignatureHelp() {
if (getSignatureHelpBuilder_ == null) {
if (requestCase_ == 7) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 7) {
requestCase_ = 0;
request_ = null;
}
getSignatureHelpBuilder_.clear();
}
return this;
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.Builder getGetSignatureHelpBuilder() {
return getGetSignatureHelpFieldBuilder().getBuilder();
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequestOrBuilder getGetSignatureHelpOrBuilder() {
if ((requestCase_ == 7) && (getSignatureHelpBuilder_ != null)) {
return getSignatureHelpBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 7) {
return (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance();
}
}
/**
*
* Request for help about the method signature at the cursor
*
*
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest get_signature_help = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequestOrBuilder>
getGetSignatureHelpFieldBuilder() {
if (getSignatureHelpBuilder_ == null) {
if (!(requestCase_ == 7)) {
request_ = io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.getDefaultInstance();
}
getSignatureHelpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 7;
onChanged();
return getSignatureHelpBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetHoverRequest, io.deephaven.proto.backplane.script.grpc.GetHoverRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetHoverRequestOrBuilder> getHoverBuilder_;
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
* @return Whether the getHover field is set.
*/
@java.lang.Override
public boolean hasGetHover() {
return requestCase_ == 8;
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
* @return The getHover.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetHoverRequest getGetHover() {
if (getHoverBuilder_ == null) {
if (requestCase_ == 8) {
return (io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance();
} else {
if (requestCase_ == 8) {
return getHoverBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance();
}
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
public Builder setGetHover(io.deephaven.proto.backplane.script.grpc.GetHoverRequest value) {
if (getHoverBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
getHoverBuilder_.setMessage(value);
}
requestCase_ = 8;
return this;
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
public Builder setGetHover(
io.deephaven.proto.backplane.script.grpc.GetHoverRequest.Builder builderForValue) {
if (getHoverBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
getHoverBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 8;
return this;
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
public Builder mergeGetHover(io.deephaven.proto.backplane.script.grpc.GetHoverRequest value) {
if (getHoverBuilder_ == null) {
if (requestCase_ == 8 &&
request_ != io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.GetHoverRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 8) {
getHoverBuilder_.mergeFrom(value);
} else {
getHoverBuilder_.setMessage(value);
}
}
requestCase_ = 8;
return this;
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
public Builder clearGetHover() {
if (getHoverBuilder_ == null) {
if (requestCase_ == 8) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 8) {
requestCase_ = 0;
request_ = null;
}
getHoverBuilder_.clear();
}
return this;
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
public io.deephaven.proto.backplane.script.grpc.GetHoverRequest.Builder getGetHoverBuilder() {
return getGetHoverFieldBuilder().getBuilder();
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetHoverRequestOrBuilder getGetHoverOrBuilder() {
if ((requestCase_ == 8) && (getHoverBuilder_ != null)) {
return getHoverBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 8) {
return (io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance();
}
}
/**
*
* Request for help about what the user is hovering over
*
*
* .io.deephaven.proto.backplane.script.grpc.GetHoverRequest get_hover = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetHoverRequest, io.deephaven.proto.backplane.script.grpc.GetHoverRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetHoverRequestOrBuilder>
getGetHoverFieldBuilder() {
if (getHoverBuilder_ == null) {
if (!(requestCase_ == 8)) {
request_ = io.deephaven.proto.backplane.script.grpc.GetHoverRequest.getDefaultInstance();
}
getHoverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetHoverRequest, io.deephaven.proto.backplane.script.grpc.GetHoverRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetHoverRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.GetHoverRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 8;
onChanged();
return getHoverBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequestOrBuilder> getDiagnosticBuilder_;
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
* @return Whether the getDiagnostic field is set.
*/
@java.lang.Override
public boolean hasGetDiagnostic() {
return requestCase_ == 9;
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
* @return The getDiagnostic.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest getGetDiagnostic() {
if (getDiagnosticBuilder_ == null) {
if (requestCase_ == 9) {
return (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
} else {
if (requestCase_ == 9) {
return getDiagnosticBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
}
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
public Builder setGetDiagnostic(io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest value) {
if (getDiagnosticBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
getDiagnosticBuilder_.setMessage(value);
}
requestCase_ = 9;
return this;
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
public Builder setGetDiagnostic(
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder builderForValue) {
if (getDiagnosticBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
getDiagnosticBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 9;
return this;
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
public Builder mergeGetDiagnostic(io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest value) {
if (getDiagnosticBuilder_ == null) {
if (requestCase_ == 9 &&
request_ != io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 9) {
getDiagnosticBuilder_.mergeFrom(value);
} else {
getDiagnosticBuilder_.setMessage(value);
}
}
requestCase_ = 9;
return this;
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
public Builder clearGetDiagnostic() {
if (getDiagnosticBuilder_ == null) {
if (requestCase_ == 9) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 9) {
requestCase_ = 0;
request_ = null;
}
getDiagnosticBuilder_.clear();
}
return this;
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder getGetDiagnosticBuilder() {
return getGetDiagnosticFieldBuilder().getBuilder();
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequestOrBuilder getGetDiagnosticOrBuilder() {
if ((requestCase_ == 9) && (getDiagnosticBuilder_ != null)) {
return getDiagnosticBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 9) {
return (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
}
}
/**
*
* Request to perform file diagnostics
*
*
* .io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest get_diagnostic = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequestOrBuilder>
getGetDiagnosticFieldBuilder() {
if (getDiagnosticBuilder_ == null) {
if (!(requestCase_ == 9)) {
request_ = io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
}
getDiagnosticBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 9;
onChanged();
return getDiagnosticBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest, io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.CloseDocumentRequestOrBuilder> closeDocumentBuilder_;
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
* @return Whether the closeDocument field is set.
*/
@java.lang.Override
public boolean hasCloseDocument() {
return requestCase_ == 4;
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
* @return The closeDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest getCloseDocument() {
if (closeDocumentBuilder_ == null) {
if (requestCase_ == 4) {
return (io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.getDefaultInstance();
} else {
if (requestCase_ == 4) {
return closeDocumentBuilder_.getMessage();
}
return io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.getDefaultInstance();
}
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
public Builder setCloseDocument(io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest value) {
if (closeDocumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
closeDocumentBuilder_.setMessage(value);
}
requestCase_ = 4;
return this;
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
public Builder setCloseDocument(
io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.Builder builderForValue) {
if (closeDocumentBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
closeDocumentBuilder_.setMessage(builderForValue.build());
}
requestCase_ = 4;
return this;
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
public Builder mergeCloseDocument(io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest value) {
if (closeDocumentBuilder_ == null) {
if (requestCase_ == 4 &&
request_ != io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.getDefaultInstance()) {
request_ = io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.newBuilder((io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_)
.mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
if (requestCase_ == 4) {
closeDocumentBuilder_.mergeFrom(value);
} else {
closeDocumentBuilder_.setMessage(value);
}
}
requestCase_ = 4;
return this;
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
public Builder clearCloseDocument() {
if (closeDocumentBuilder_ == null) {
if (requestCase_ == 4) {
requestCase_ = 0;
request_ = null;
onChanged();
}
} else {
if (requestCase_ == 4) {
requestCase_ = 0;
request_ = null;
}
closeDocumentBuilder_.clear();
}
return this;
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
public io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.Builder getCloseDocumentBuilder() {
return getCloseDocumentFieldBuilder().getBuilder();
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CloseDocumentRequestOrBuilder getCloseDocumentOrBuilder() {
if ((requestCase_ == 4) && (closeDocumentBuilder_ != null)) {
return closeDocumentBuilder_.getMessageOrBuilder();
} else {
if (requestCase_ == 4) {
return (io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_;
}
return io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.getDefaultInstance();
}
}
/**
*
* Closes the document, indicating that it will not be referenced again
*
*
* .io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest close_document = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest, io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.CloseDocumentRequestOrBuilder>
getCloseDocumentFieldBuilder() {
if (closeDocumentBuilder_ == null) {
if (!(requestCase_ == 4)) {
request_ = io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.getDefaultInstance();
}
closeDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest, io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest.Builder, io.deephaven.proto.backplane.script.grpc.CloseDocumentRequestOrBuilder>(
(io.deephaven.proto.backplane.script.grpc.CloseDocumentRequest) request_,
getParentForChildren(),
isClean());
request_ = null;
}
requestCase_ = 4;
onChanged();
return closeDocumentBuilder_;
}
@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.AutoCompleteRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest)
private static final io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest();
}
public static io.deephaven.proto.backplane.script.grpc.AutoCompleteRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AutoCompleteRequest 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.AutoCompleteRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}