java.io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse 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.GetSignatureHelpResponse}
*/
public final class GetSignatureHelpResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse)
GetSignatureHelpResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetSignatureHelpResponse.newBuilder() to construct.
private GetSignatureHelpResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetSignatureHelpResponse() {
signatures_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetSignatureHelpResponse();
}
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_GetSignatureHelpResponse_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_GetSignatureHelpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.class, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder.class);
}
private int bitField0_;
public static final int SIGNATURES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List signatures_;
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
@java.lang.Override
public java.util.List getSignaturesList() {
return signatures_;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
@java.lang.Override
public java.util.List extends io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder>
getSignaturesOrBuilderList() {
return signatures_;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
@java.lang.Override
public int getSignaturesCount() {
return signatures_.size();
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureInformation getSignatures(int index) {
return signatures_.get(index);
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder getSignaturesOrBuilder(
int index) {
return signatures_.get(index);
}
public static final int ACTIVE_SIGNATURE_FIELD_NUMBER = 2;
private int activeSignature_ = 0;
/**
* optional int32 active_signature = 2;
* @return Whether the activeSignature field is set.
*/
@java.lang.Override
public boolean hasActiveSignature() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 active_signature = 2;
* @return The activeSignature.
*/
@java.lang.Override
public int getActiveSignature() {
return activeSignature_;
}
public static final int ACTIVE_PARAMETER_FIELD_NUMBER = 3;
private int activeParameter_ = 0;
/**
* optional int32 active_parameter = 3;
* @return Whether the activeParameter field is set.
*/
@java.lang.Override
public boolean hasActiveParameter() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 active_parameter = 3;
* @return The activeParameter.
*/
@java.lang.Override
public int getActiveParameter() {
return activeParameter_;
}
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 {
for (int i = 0; i < signatures_.size(); i++) {
output.writeMessage(1, signatures_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(2, activeSignature_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(3, activeParameter_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < signatures_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, signatures_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, activeSignature_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, activeParameter_);
}
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.GetSignatureHelpResponse)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse other = (io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse) obj;
if (!getSignaturesList()
.equals(other.getSignaturesList())) return false;
if (hasActiveSignature() != other.hasActiveSignature()) return false;
if (hasActiveSignature()) {
if (getActiveSignature()
!= other.getActiveSignature()) return false;
}
if (hasActiveParameter() != other.hasActiveParameter()) return false;
if (hasActiveParameter()) {
if (getActiveParameter()
!= other.getActiveParameter()) 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 (getSignaturesCount() > 0) {
hash = (37 * hash) + SIGNATURES_FIELD_NUMBER;
hash = (53 * hash) + getSignaturesList().hashCode();
}
if (hasActiveSignature()) {
hash = (37 * hash) + ACTIVE_SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getActiveSignature();
}
if (hasActiveParameter()) {
hash = (37 * hash) + ACTIVE_PARAMETER_FIELD_NUMBER;
hash = (53 * hash) + getActiveParameter();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse 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.GetSignatureHelpResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse 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.GetSignatureHelpResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse 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.GetSignatureHelpResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse)
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponseOrBuilder {
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_GetSignatureHelpResponse_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_GetSignatureHelpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.class, io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (signaturesBuilder_ == null) {
signatures_ = java.util.Collections.emptyList();
} else {
signatures_ = null;
signaturesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
activeSignature_ = 0;
activeParameter_ = 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_GetSignatureHelpResponse_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse build() {
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse buildPartial() {
io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse result = new io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse result) {
if (signaturesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
signatures_ = java.util.Collections.unmodifiableList(signatures_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.signatures_ = signatures_;
} else {
result.signatures_ = signaturesBuilder_.build();
}
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.activeSignature_ = activeSignature_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.activeParameter_ = activeParameter_;
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.GetSignatureHelpResponse) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse other) {
if (other == io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse.getDefaultInstance()) return this;
if (signaturesBuilder_ == null) {
if (!other.signatures_.isEmpty()) {
if (signatures_.isEmpty()) {
signatures_ = other.signatures_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSignaturesIsMutable();
signatures_.addAll(other.signatures_);
}
onChanged();
}
} else {
if (!other.signatures_.isEmpty()) {
if (signaturesBuilder_.isEmpty()) {
signaturesBuilder_.dispose();
signaturesBuilder_ = null;
signatures_ = other.signatures_;
bitField0_ = (bitField0_ & ~0x00000001);
signaturesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSignaturesFieldBuilder() : null;
} else {
signaturesBuilder_.addAllMessages(other.signatures_);
}
}
}
if (other.hasActiveSignature()) {
setActiveSignature(other.getActiveSignature());
}
if (other.hasActiveParameter()) {
setActiveParameter(other.getActiveParameter());
}
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: {
io.deephaven.proto.backplane.script.grpc.SignatureInformation m =
input.readMessage(
io.deephaven.proto.backplane.script.grpc.SignatureInformation.parser(),
extensionRegistry);
if (signaturesBuilder_ == null) {
ensureSignaturesIsMutable();
signatures_.add(m);
} else {
signaturesBuilder_.addMessage(m);
}
break;
} // case 10
case 16: {
activeSignature_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
activeParameter_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
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 java.util.List signatures_ =
java.util.Collections.emptyList();
private void ensureSignaturesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
signatures_ = new java.util.ArrayList(signatures_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.SignatureInformation, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder, io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder> signaturesBuilder_;
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public java.util.List getSignaturesList() {
if (signaturesBuilder_ == null) {
return java.util.Collections.unmodifiableList(signatures_);
} else {
return signaturesBuilder_.getMessageList();
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public int getSignaturesCount() {
if (signaturesBuilder_ == null) {
return signatures_.size();
} else {
return signaturesBuilder_.getCount();
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public io.deephaven.proto.backplane.script.grpc.SignatureInformation getSignatures(int index) {
if (signaturesBuilder_ == null) {
return signatures_.get(index);
} else {
return signaturesBuilder_.getMessage(index);
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder setSignatures(
int index, io.deephaven.proto.backplane.script.grpc.SignatureInformation value) {
if (signaturesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSignaturesIsMutable();
signatures_.set(index, value);
onChanged();
} else {
signaturesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder setSignatures(
int index, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder builderForValue) {
if (signaturesBuilder_ == null) {
ensureSignaturesIsMutable();
signatures_.set(index, builderForValue.build());
onChanged();
} else {
signaturesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder addSignatures(io.deephaven.proto.backplane.script.grpc.SignatureInformation value) {
if (signaturesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSignaturesIsMutable();
signatures_.add(value);
onChanged();
} else {
signaturesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder addSignatures(
int index, io.deephaven.proto.backplane.script.grpc.SignatureInformation value) {
if (signaturesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSignaturesIsMutable();
signatures_.add(index, value);
onChanged();
} else {
signaturesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder addSignatures(
io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder builderForValue) {
if (signaturesBuilder_ == null) {
ensureSignaturesIsMutable();
signatures_.add(builderForValue.build());
onChanged();
} else {
signaturesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder addSignatures(
int index, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder builderForValue) {
if (signaturesBuilder_ == null) {
ensureSignaturesIsMutable();
signatures_.add(index, builderForValue.build());
onChanged();
} else {
signaturesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder addAllSignatures(
java.lang.Iterable extends io.deephaven.proto.backplane.script.grpc.SignatureInformation> values) {
if (signaturesBuilder_ == null) {
ensureSignaturesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, signatures_);
onChanged();
} else {
signaturesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder clearSignatures() {
if (signaturesBuilder_ == null) {
signatures_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
signaturesBuilder_.clear();
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public Builder removeSignatures(int index) {
if (signaturesBuilder_ == null) {
ensureSignaturesIsMutable();
signatures_.remove(index);
onChanged();
} else {
signaturesBuilder_.remove(index);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder getSignaturesBuilder(
int index) {
return getSignaturesFieldBuilder().getBuilder(index);
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder getSignaturesOrBuilder(
int index) {
if (signaturesBuilder_ == null) {
return signatures_.get(index); } else {
return signaturesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public java.util.List extends io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder>
getSignaturesOrBuilderList() {
if (signaturesBuilder_ != null) {
return signaturesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(signatures_);
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder addSignaturesBuilder() {
return getSignaturesFieldBuilder().addBuilder(
io.deephaven.proto.backplane.script.grpc.SignatureInformation.getDefaultInstance());
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder addSignaturesBuilder(
int index) {
return getSignaturesFieldBuilder().addBuilder(
index, io.deephaven.proto.backplane.script.grpc.SignatureInformation.getDefaultInstance());
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.SignatureInformation signatures = 1;
*/
public java.util.List
getSignaturesBuilderList() {
return getSignaturesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.SignatureInformation, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder, io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder>
getSignaturesFieldBuilder() {
if (signaturesBuilder_ == null) {
signaturesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.SignatureInformation, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder, io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder>(
signatures_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
signatures_ = null;
}
return signaturesBuilder_;
}
private int activeSignature_ ;
/**
* optional int32 active_signature = 2;
* @return Whether the activeSignature field is set.
*/
@java.lang.Override
public boolean hasActiveSignature() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 active_signature = 2;
* @return The activeSignature.
*/
@java.lang.Override
public int getActiveSignature() {
return activeSignature_;
}
/**
* optional int32 active_signature = 2;
* @param value The activeSignature to set.
* @return This builder for chaining.
*/
public Builder setActiveSignature(int value) {
activeSignature_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional int32 active_signature = 2;
* @return This builder for chaining.
*/
public Builder clearActiveSignature() {
bitField0_ = (bitField0_ & ~0x00000002);
activeSignature_ = 0;
onChanged();
return this;
}
private int activeParameter_ ;
/**
* optional int32 active_parameter = 3;
* @return Whether the activeParameter field is set.
*/
@java.lang.Override
public boolean hasActiveParameter() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 active_parameter = 3;
* @return The activeParameter.
*/
@java.lang.Override
public int getActiveParameter() {
return activeParameter_;
}
/**
* optional int32 active_parameter = 3;
* @param value The activeParameter to set.
* @return This builder for chaining.
*/
public Builder setActiveParameter(int value) {
activeParameter_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional int32 active_parameter = 3;
* @return This builder for chaining.
*/
public Builder clearActiveParameter() {
bitField0_ = (bitField0_ & ~0x00000004);
activeParameter_ = 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.GetSignatureHelpResponse)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse)
private static final io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse();
}
public static io.deephaven.proto.backplane.script.grpc.GetSignatureHelpResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetSignatureHelpResponse 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.GetSignatureHelpResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}