java.io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest 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
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.GetCompletionItemsRequest}
*/
public final class GetCompletionItemsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest)
GetCompletionItemsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCompletionItemsRequest.newBuilder() to construct.
private GetCompletionItemsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetCompletionItemsRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCompletionItemsRequest();
}
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_GetCompletionItemsRequest_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_GetCompletionItemsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.class, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder.class);
}
private int bitField0_;
public static final int CONSOLE_ID_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket consoleId_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.console_id is deprecated.
* See deephaven/proto/console.proto;l=224
* @return Whether the consoleId field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasConsoleId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.console_id is deprecated.
* See deephaven/proto/console.proto;l=224
* @return The consoleId.
*/
@java.lang.Override
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public io.deephaven.proto.backplane.grpc.TicketOrBuilder getConsoleIdOrBuilder() {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
public static final int CONTEXT_FIELD_NUMBER = 2;
private io.deephaven.proto.backplane.script.grpc.CompletionContext context_;
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
* @return Whether the context field is set.
*/
@java.lang.Override
public boolean hasContext() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
* @return The context.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CompletionContext getContext() {
return context_ == null ? io.deephaven.proto.backplane.script.grpc.CompletionContext.getDefaultInstance() : context_;
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CompletionContextOrBuilder getContextOrBuilder() {
return context_ == null ? io.deephaven.proto.backplane.script.grpc.CompletionContext.getDefaultInstance() : context_;
}
public static final int TEXT_DOCUMENT_FIELD_NUMBER = 3;
private io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier textDocument_;
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
* @return Whether the textDocument field is set.
*/
@java.lang.Override
public boolean hasTextDocument() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
* @return The textDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier getTextDocument() {
return textDocument_ == null ? io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder getTextDocumentOrBuilder() {
return textDocument_ == null ? io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
}
public static final int POSITION_FIELD_NUMBER = 4;
private io.deephaven.proto.backplane.script.grpc.Position position_;
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
* @return Whether the position field is set.
*/
@java.lang.Override
public boolean hasPosition() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
* @return The position.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.Position getPosition() {
return position_ == null ? io.deephaven.proto.backplane.script.grpc.Position.getDefaultInstance() : position_;
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.PositionOrBuilder getPositionOrBuilder() {
return position_ == null ? io.deephaven.proto.backplane.script.grpc.Position.getDefaultInstance() : position_;
}
public static final int REQUEST_ID_FIELD_NUMBER = 5;
private int requestId_ = 0;
/**
* int32 request_id = 5 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.request_id is deprecated.
* See deephaven/proto/console.proto;l=230
* @return The requestId.
*/
@java.lang.Override
@java.lang.Deprecated public int getRequestId() {
return requestId_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getConsoleId());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getContext());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getTextDocument());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getPosition());
}
if (requestId_ != 0) {
output.writeInt32(5, requestId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getConsoleId());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getContext());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTextDocument());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getPosition());
}
if (requestId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, requestId_);
}
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.GetCompletionItemsRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest other = (io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest) obj;
if (hasConsoleId() != other.hasConsoleId()) return false;
if (hasConsoleId()) {
if (!getConsoleId()
.equals(other.getConsoleId())) return false;
}
if (hasContext() != other.hasContext()) return false;
if (hasContext()) {
if (!getContext()
.equals(other.getContext())) return false;
}
if (hasTextDocument() != other.hasTextDocument()) return false;
if (hasTextDocument()) {
if (!getTextDocument()
.equals(other.getTextDocument())) return false;
}
if (hasPosition() != other.hasPosition()) return false;
if (hasPosition()) {
if (!getPosition()
.equals(other.getPosition())) return false;
}
if (getRequestId()
!= other.getRequestId()) return false;
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();
}
if (hasContext()) {
hash = (37 * hash) + CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getContext().hashCode();
}
if (hasTextDocument()) {
hash = (37 * hash) + TEXT_DOCUMENT_FIELD_NUMBER;
hash = (53 * hash) + getTextDocument().hashCode();
}
if (hasPosition()) {
hash = (37 * hash) + POSITION_FIELD_NUMBER;
hash = (53 * hash) + getPosition().hashCode();
}
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest 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.GetCompletionItemsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest 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.GetCompletionItemsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest 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.GetCompletionItemsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest)
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequestOrBuilder {
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_GetCompletionItemsRequest_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_GetCompletionItemsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.class, io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.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();
getContextFieldBuilder();
getTextDocumentFieldBuilder();
getPositionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
consoleId_ = null;
if (consoleIdBuilder_ != null) {
consoleIdBuilder_.dispose();
consoleIdBuilder_ = null;
}
context_ = null;
if (contextBuilder_ != null) {
contextBuilder_.dispose();
contextBuilder_ = null;
}
textDocument_ = null;
if (textDocumentBuilder_ != null) {
textDocumentBuilder_.dispose();
textDocumentBuilder_ = null;
}
position_ = null;
if (positionBuilder_ != null) {
positionBuilder_.dispose();
positionBuilder_ = null;
}
requestId_ = 0;
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_GetCompletionItemsRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest build() {
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest buildPartial() {
io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest result = new io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest 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.context_ = contextBuilder_ == null
? context_
: contextBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.textDocument_ = textDocumentBuilder_ == null
? textDocument_
: textDocumentBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.position_ = positionBuilder_ == null
? position_
: positionBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.requestId_ = requestId_;
}
result.bitField0_ |= to_bitField0_;
}
@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.GetCompletionItemsRequest) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest other) {
if (other == io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.getDefaultInstance()) return this;
if (other.hasConsoleId()) {
mergeConsoleId(other.getConsoleId());
}
if (other.hasContext()) {
mergeContext(other.getContext());
}
if (other.hasTextDocument()) {
mergeTextDocument(other.getTextDocument());
}
if (other.hasPosition()) {
mergePosition(other.getPosition());
}
if (other.getRequestId() != 0) {
setRequestId(other.getRequestId());
}
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(
getConsoleIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getContextFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getTextDocumentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getPositionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
requestId_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
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 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 = 1 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.console_id is deprecated.
* See deephaven/proto/console.proto;l=224
* @return Whether the consoleId field is set.
*/
@java.lang.Deprecated public boolean hasConsoleId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.console_id is deprecated.
* See deephaven/proto/console.proto;l=224
* @return The consoleId.
*/
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
@java.lang.Deprecated public io.deephaven.proto.backplane.grpc.Ticket.Builder getConsoleIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getConsoleIdFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1 [deprecated = true];
*/
@java.lang.Deprecated 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 = 1 [deprecated = true];
*/
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 io.deephaven.proto.backplane.script.grpc.CompletionContext context_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.CompletionContext, io.deephaven.proto.backplane.script.grpc.CompletionContext.Builder, io.deephaven.proto.backplane.script.grpc.CompletionContextOrBuilder> contextBuilder_;
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
* @return Whether the context field is set.
*/
public boolean hasContext() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
* @return The context.
*/
public io.deephaven.proto.backplane.script.grpc.CompletionContext getContext() {
if (contextBuilder_ == null) {
return context_ == null ? io.deephaven.proto.backplane.script.grpc.CompletionContext.getDefaultInstance() : context_;
} else {
return contextBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
public Builder setContext(io.deephaven.proto.backplane.script.grpc.CompletionContext value) {
if (contextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
context_ = value;
} else {
contextBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
public Builder setContext(
io.deephaven.proto.backplane.script.grpc.CompletionContext.Builder builderForValue) {
if (contextBuilder_ == null) {
context_ = builderForValue.build();
} else {
contextBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
public Builder mergeContext(io.deephaven.proto.backplane.script.grpc.CompletionContext value) {
if (contextBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
context_ != null &&
context_ != io.deephaven.proto.backplane.script.grpc.CompletionContext.getDefaultInstance()) {
getContextBuilder().mergeFrom(value);
} else {
context_ = value;
}
} else {
contextBuilder_.mergeFrom(value);
}
if (context_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
public Builder clearContext() {
bitField0_ = (bitField0_ & ~0x00000002);
context_ = null;
if (contextBuilder_ != null) {
contextBuilder_.dispose();
contextBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
public io.deephaven.proto.backplane.script.grpc.CompletionContext.Builder getContextBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getContextFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
public io.deephaven.proto.backplane.script.grpc.CompletionContextOrBuilder getContextOrBuilder() {
if (contextBuilder_ != null) {
return contextBuilder_.getMessageOrBuilder();
} else {
return context_ == null ?
io.deephaven.proto.backplane.script.grpc.CompletionContext.getDefaultInstance() : context_;
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.CompletionContext context = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.CompletionContext, io.deephaven.proto.backplane.script.grpc.CompletionContext.Builder, io.deephaven.proto.backplane.script.grpc.CompletionContextOrBuilder>
getContextFieldBuilder() {
if (contextBuilder_ == null) {
contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.CompletionContext, io.deephaven.proto.backplane.script.grpc.CompletionContext.Builder, io.deephaven.proto.backplane.script.grpc.CompletionContextOrBuilder>(
getContext(),
getParentForChildren(),
isClean());
context_ = null;
}
return contextBuilder_;
}
private io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier textDocument_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder> textDocumentBuilder_;
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
* @return Whether the textDocument field is set.
*/
public boolean hasTextDocument() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
* @return The textDocument.
*/
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier getTextDocument() {
if (textDocumentBuilder_ == null) {
return textDocument_ == null ? io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
} else {
return textDocumentBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
public Builder setTextDocument(io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier value) {
if (textDocumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
textDocument_ = value;
} else {
textDocumentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
public Builder setTextDocument(
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder builderForValue) {
if (textDocumentBuilder_ == null) {
textDocument_ = builderForValue.build();
} else {
textDocumentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
public Builder mergeTextDocument(io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier value) {
if (textDocumentBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
textDocument_ != null &&
textDocument_ != io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance()) {
getTextDocumentBuilder().mergeFrom(value);
} else {
textDocument_ = value;
}
} else {
textDocumentBuilder_.mergeFrom(value);
}
if (textDocument_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
public Builder clearTextDocument() {
bitField0_ = (bitField0_ & ~0x00000004);
textDocument_ = null;
if (textDocumentBuilder_ != null) {
textDocumentBuilder_.dispose();
textDocumentBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder getTextDocumentBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getTextDocumentFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder getTextDocumentOrBuilder() {
if (textDocumentBuilder_ != null) {
return textDocumentBuilder_.getMessageOrBuilder();
} else {
return textDocument_ == null ?
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder>
getTextDocumentFieldBuilder() {
if (textDocumentBuilder_ == null) {
textDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder>(
getTextDocument(),
getParentForChildren(),
isClean());
textDocument_ = null;
}
return textDocumentBuilder_;
}
private io.deephaven.proto.backplane.script.grpc.Position position_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.Position, io.deephaven.proto.backplane.script.grpc.Position.Builder, io.deephaven.proto.backplane.script.grpc.PositionOrBuilder> positionBuilder_;
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
* @return Whether the position field is set.
*/
public boolean hasPosition() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
* @return The position.
*/
public io.deephaven.proto.backplane.script.grpc.Position getPosition() {
if (positionBuilder_ == null) {
return position_ == null ? io.deephaven.proto.backplane.script.grpc.Position.getDefaultInstance() : position_;
} else {
return positionBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
public Builder setPosition(io.deephaven.proto.backplane.script.grpc.Position value) {
if (positionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
position_ = value;
} else {
positionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
public Builder setPosition(
io.deephaven.proto.backplane.script.grpc.Position.Builder builderForValue) {
if (positionBuilder_ == null) {
position_ = builderForValue.build();
} else {
positionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
public Builder mergePosition(io.deephaven.proto.backplane.script.grpc.Position value) {
if (positionBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
position_ != null &&
position_ != io.deephaven.proto.backplane.script.grpc.Position.getDefaultInstance()) {
getPositionBuilder().mergeFrom(value);
} else {
position_ = value;
}
} else {
positionBuilder_.mergeFrom(value);
}
if (position_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
public Builder clearPosition() {
bitField0_ = (bitField0_ & ~0x00000008);
position_ = null;
if (positionBuilder_ != null) {
positionBuilder_.dispose();
positionBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
public io.deephaven.proto.backplane.script.grpc.Position.Builder getPositionBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getPositionFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
public io.deephaven.proto.backplane.script.grpc.PositionOrBuilder getPositionOrBuilder() {
if (positionBuilder_ != null) {
return positionBuilder_.getMessageOrBuilder();
} else {
return position_ == null ?
io.deephaven.proto.backplane.script.grpc.Position.getDefaultInstance() : position_;
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.Position position = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.Position, io.deephaven.proto.backplane.script.grpc.Position.Builder, io.deephaven.proto.backplane.script.grpc.PositionOrBuilder>
getPositionFieldBuilder() {
if (positionBuilder_ == null) {
positionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.Position, io.deephaven.proto.backplane.script.grpc.Position.Builder, io.deephaven.proto.backplane.script.grpc.PositionOrBuilder>(
getPosition(),
getParentForChildren(),
isClean());
position_ = null;
}
return positionBuilder_;
}
private int requestId_ ;
/**
* int32 request_id = 5 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.request_id is deprecated.
* See deephaven/proto/console.proto;l=230
* @return The requestId.
*/
@java.lang.Override
@java.lang.Deprecated public int getRequestId() {
return requestId_;
}
/**
* int32 request_id = 5 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.request_id is deprecated.
* See deephaven/proto/console.proto;l=230
* @param value The requestId to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setRequestId(int value) {
requestId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* int32 request_id = 5 [deprecated = true];
* @deprecated io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest.request_id is deprecated.
* See deephaven/proto/console.proto;l=230
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearRequestId() {
bitField0_ = (bitField0_ & ~0x00000010);
requestId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest)
private static final io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest();
}
public static io.deephaven.proto.backplane.script.grpc.GetCompletionItemsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetCompletionItemsRequest 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.GetCompletionItemsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}