java.io.deephaven.proto.backplane.script.grpc.SignatureHelpContext 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.SignatureHelpContext}
*/
public final class SignatureHelpContext extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.SignatureHelpContext)
SignatureHelpContextOrBuilder {
private static final long serialVersionUID = 0L;
// Use SignatureHelpContext.newBuilder() to construct.
private SignatureHelpContext(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SignatureHelpContext() {
triggerCharacter_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SignatureHelpContext();
}
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_SignatureHelpContext_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_SignatureHelpContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.class, io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.Builder.class);
}
private int bitField0_;
public static final int TRIGGER_KIND_FIELD_NUMBER = 1;
private int triggerKind_ = 0;
/**
* int32 trigger_kind = 1;
* @return The triggerKind.
*/
@java.lang.Override
public int getTriggerKind() {
return triggerKind_;
}
public static final int TRIGGER_CHARACTER_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object triggerCharacter_ = "";
/**
* optional string trigger_character = 2;
* @return Whether the triggerCharacter field is set.
*/
@java.lang.Override
public boolean hasTriggerCharacter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string trigger_character = 2;
* @return The triggerCharacter.
*/
@java.lang.Override
public java.lang.String getTriggerCharacter() {
java.lang.Object ref = triggerCharacter_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
triggerCharacter_ = s;
return s;
}
}
/**
* optional string trigger_character = 2;
* @return The bytes for triggerCharacter.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTriggerCharacterBytes() {
java.lang.Object ref = triggerCharacter_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
triggerCharacter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_RETRIGGER_FIELD_NUMBER = 3;
private boolean isRetrigger_ = false;
/**
* bool is_retrigger = 3;
* @return The isRetrigger.
*/
@java.lang.Override
public boolean getIsRetrigger() {
return isRetrigger_;
}
public static final int ACTIVE_SIGNATURE_HELP_FIELD_NUMBER = 4;
private io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse activeSignatureHelp_;
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
* @return Whether the activeSignatureHelp field is set.
*/
@java.lang.Override
public boolean hasActiveSignatureHelp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
* @return The activeSignatureHelp.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse getActiveSignatureHelp() {
return activeSignatureHelp_ == null ? io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance() : activeSignatureHelp_;
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder getActiveSignatureHelpOrBuilder() {
return activeSignatureHelp_ == null ? io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance() : activeSignatureHelp_;
}
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 (triggerKind_ != 0) {
output.writeInt32(1, triggerKind_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, triggerCharacter_);
}
if (isRetrigger_ != false) {
output.writeBool(3, isRetrigger_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(4, getActiveSignatureHelp());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (triggerKind_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, triggerKind_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, triggerCharacter_);
}
if (isRetrigger_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isRetrigger_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getActiveSignatureHelp());
}
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.SignatureHelpContext)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.SignatureHelpContext other = (io.deephaven.proto.backplane.script.grpc.SignatureHelpContext) obj;
if (getTriggerKind()
!= other.getTriggerKind()) return false;
if (hasTriggerCharacter() != other.hasTriggerCharacter()) return false;
if (hasTriggerCharacter()) {
if (!getTriggerCharacter()
.equals(other.getTriggerCharacter())) return false;
}
if (getIsRetrigger()
!= other.getIsRetrigger()) return false;
if (hasActiveSignatureHelp() != other.hasActiveSignatureHelp()) return false;
if (hasActiveSignatureHelp()) {
if (!getActiveSignatureHelp()
.equals(other.getActiveSignatureHelp())) 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();
hash = (37 * hash) + TRIGGER_KIND_FIELD_NUMBER;
hash = (53 * hash) + getTriggerKind();
if (hasTriggerCharacter()) {
hash = (37 * hash) + TRIGGER_CHARACTER_FIELD_NUMBER;
hash = (53 * hash) + getTriggerCharacter().hashCode();
}
hash = (37 * hash) + IS_RETRIGGER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsRetrigger());
if (hasActiveSignatureHelp()) {
hash = (37 * hash) + ACTIVE_SIGNATURE_HELP_FIELD_NUMBER;
hash = (53 * hash) + getActiveSignatureHelp().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.script.grpc.SignatureHelpContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.SignatureHelpContext 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.SignatureHelpContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.SignatureHelpContext 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.SignatureHelpContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext 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.SignatureHelpContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.SignatureHelpContext)
io.deephaven.proto.backplane.script.grpc.SignatureHelpContextOrBuilder {
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_SignatureHelpContext_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_SignatureHelpContext_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.class, io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getActiveSignatureHelpFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
triggerKind_ = 0;
triggerCharacter_ = "";
isRetrigger_ = false;
activeSignatureHelp_ = null;
if (activeSignatureHelpBuilder_ != null) {
activeSignatureHelpBuilder_.dispose();
activeSignatureHelpBuilder_ = 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_SignatureHelpContext_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureHelpContext getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureHelpContext build() {
io.deephaven.proto.backplane.script.grpc.SignatureHelpContext result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureHelpContext buildPartial() {
io.deephaven.proto.backplane.script.grpc.SignatureHelpContext result = new io.deephaven.proto.backplane.script.grpc.SignatureHelpContext(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.SignatureHelpContext result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.triggerKind_ = triggerKind_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.triggerCharacter_ = triggerCharacter_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isRetrigger_ = isRetrigger_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.activeSignatureHelp_ = activeSignatureHelpBuilder_ == null
? activeSignatureHelp_
: activeSignatureHelpBuilder_.build();
to_bitField0_ |= 0x00000002;
}
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.SignatureHelpContext) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.SignatureHelpContext)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.SignatureHelpContext other) {
if (other == io.deephaven.proto.backplane.script.grpc.SignatureHelpContext.getDefaultInstance()) return this;
if (other.getTriggerKind() != 0) {
setTriggerKind(other.getTriggerKind());
}
if (other.hasTriggerCharacter()) {
triggerCharacter_ = other.triggerCharacter_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsRetrigger() != false) {
setIsRetrigger(other.getIsRetrigger());
}
if (other.hasActiveSignatureHelp()) {
mergeActiveSignatureHelp(other.getActiveSignatureHelp());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
triggerKind_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
triggerCharacter_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isRetrigger_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getActiveSignatureHelpFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
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 int triggerKind_ ;
/**
* int32 trigger_kind = 1;
* @return The triggerKind.
*/
@java.lang.Override
public int getTriggerKind() {
return triggerKind_;
}
/**
* int32 trigger_kind = 1;
* @param value The triggerKind to set.
* @return This builder for chaining.
*/
public Builder setTriggerKind(int value) {
triggerKind_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int32 trigger_kind = 1;
* @return This builder for chaining.
*/
public Builder clearTriggerKind() {
bitField0_ = (bitField0_ & ~0x00000001);
triggerKind_ = 0;
onChanged();
return this;
}
private java.lang.Object triggerCharacter_ = "";
/**
* optional string trigger_character = 2;
* @return Whether the triggerCharacter field is set.
*/
public boolean hasTriggerCharacter() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string trigger_character = 2;
* @return The triggerCharacter.
*/
public java.lang.String getTriggerCharacter() {
java.lang.Object ref = triggerCharacter_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
triggerCharacter_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string trigger_character = 2;
* @return The bytes for triggerCharacter.
*/
public com.google.protobuf.ByteString
getTriggerCharacterBytes() {
java.lang.Object ref = triggerCharacter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
triggerCharacter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string trigger_character = 2;
* @param value The triggerCharacter to set.
* @return This builder for chaining.
*/
public Builder setTriggerCharacter(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
triggerCharacter_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string trigger_character = 2;
* @return This builder for chaining.
*/
public Builder clearTriggerCharacter() {
triggerCharacter_ = getDefaultInstance().getTriggerCharacter();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string trigger_character = 2;
* @param value The bytes for triggerCharacter to set.
* @return This builder for chaining.
*/
public Builder setTriggerCharacterBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
triggerCharacter_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private boolean isRetrigger_ ;
/**
* bool is_retrigger = 3;
* @return The isRetrigger.
*/
@java.lang.Override
public boolean getIsRetrigger() {
return isRetrigger_;
}
/**
* bool is_retrigger = 3;
* @param value The isRetrigger to set.
* @return This builder for chaining.
*/
public Builder setIsRetrigger(boolean value) {
isRetrigger_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* bool is_retrigger = 3;
* @return This builder for chaining.
*/
public Builder clearIsRetrigger() {
bitField0_ = (bitField0_ & ~0x00000004);
isRetrigger_ = false;
onChanged();
return this;
}
private io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse activeSignatureHelp_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder> activeSignatureHelpBuilder_;
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
* @return Whether the activeSignatureHelp field is set.
*/
public boolean hasActiveSignatureHelp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
* @return The activeSignatureHelp.
*/
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse getActiveSignatureHelp() {
if (activeSignatureHelpBuilder_ == null) {
return activeSignatureHelp_ == null ? io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance() : activeSignatureHelp_;
} else {
return activeSignatureHelpBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
public Builder setActiveSignatureHelp(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse value) {
if (activeSignatureHelpBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
activeSignatureHelp_ = value;
} else {
activeSignatureHelpBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
public Builder setActiveSignatureHelp(
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder builderForValue) {
if (activeSignatureHelpBuilder_ == null) {
activeSignatureHelp_ = builderForValue.build();
} else {
activeSignatureHelpBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
public Builder mergeActiveSignatureHelp(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse value) {
if (activeSignatureHelpBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
activeSignatureHelp_ != null &&
activeSignatureHelp_ != io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance()) {
getActiveSignatureHelpBuilder().mergeFrom(value);
} else {
activeSignatureHelp_ = value;
}
} else {
activeSignatureHelpBuilder_.mergeFrom(value);
}
if (activeSignatureHelp_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
public Builder clearActiveSignatureHelp() {
bitField0_ = (bitField0_ & ~0x00000008);
activeSignatureHelp_ = null;
if (activeSignatureHelpBuilder_ != null) {
activeSignatureHelpBuilder_.dispose();
activeSignatureHelpBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder getActiveSignatureHelpBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getActiveSignatureHelpFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder getActiveSignatureHelpOrBuilder() {
if (activeSignatureHelpBuilder_ != null) {
return activeSignatureHelpBuilder_.getMessageOrBuilder();
} else {
return activeSignatureHelp_ == null ?
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance() : activeSignatureHelp_;
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse active_signature_help = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder>
getActiveSignatureHelpFieldBuilder() {
if (activeSignatureHelpBuilder_ == null) {
activeSignatureHelpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder>(
getActiveSignatureHelp(),
getParentForChildren(),
isClean());
activeSignatureHelp_ = null;
}
return activeSignatureHelpBuilder_;
}
@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.SignatureHelpContext)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.SignatureHelpContext)
private static final io.deephaven.proto.backplane.script.grpc.SignatureHelpContext DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.SignatureHelpContext();
}
public static io.deephaven.proto.backplane.script.grpc.SignatureHelpContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SignatureHelpContext 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.SignatureHelpContext getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}