java.io.deephaven.proto.backplane.script.grpc.SignatureInformation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-proto-backplane-grpc Show documentation
Show all versions of deephaven-proto-backplane-grpc Show documentation
The Deephaven proto-backplane-grpc
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: deephaven/proto/console.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.script.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.script.grpc.SignatureInformation}
*/
public final class SignatureInformation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.SignatureInformation)
SignatureInformationOrBuilder {
private static final long serialVersionUID = 0L;
// Use SignatureInformation.newBuilder() to construct.
private SignatureInformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SignatureInformation() {
label_ = "";
parameters_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SignatureInformation();
}
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_SignatureInformation_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_SignatureInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.SignatureInformation.class, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder.class);
}
private int bitField0_;
public static final int LABEL_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* string label = 1;
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
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();
label_ = s;
return s;
}
}
/**
* string label = 1;
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOCUMENTATION_FIELD_NUMBER = 2;
private io.deephaven.proto.backplane.script.grpc.MarkupContent documentation_;
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
* @return Whether the documentation field is set.
*/
@java.lang.Override
public boolean hasDocumentation() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
* @return The documentation.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.MarkupContent getDocumentation() {
return documentation_ == null ? io.deephaven.proto.backplane.script.grpc.MarkupContent.getDefaultInstance() : documentation_;
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.MarkupContentOrBuilder getDocumentationOrBuilder() {
return documentation_ == null ? io.deephaven.proto.backplane.script.grpc.MarkupContent.getDefaultInstance() : documentation_;
}
public static final int PARAMETERS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List parameters_;
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
@java.lang.Override
public java.util.List getParametersList() {
return parameters_;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
@java.lang.Override
public java.util.List extends io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder>
getParametersOrBuilderList() {
return parameters_;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
@java.lang.Override
public int getParametersCount() {
return parameters_.size();
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.ParameterInformation getParameters(int index) {
return parameters_.get(index);
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder getParametersOrBuilder(
int index) {
return parameters_.get(index);
}
public static final int ACTIVE_PARAMETER_FIELD_NUMBER = 4;
private int activeParameter_ = 0;
/**
* optional int32 active_parameter = 4;
* @return Whether the activeParameter field is set.
*/
@java.lang.Override
public boolean hasActiveParameter() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 active_parameter = 4;
* @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 {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, label_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getDocumentation());
}
for (int i = 0; i < parameters_.size(); i++) {
output.writeMessage(3, parameters_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(4, activeParameter_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, label_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDocumentation());
}
for (int i = 0; i < parameters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, parameters_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, 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.SignatureInformation)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.SignatureInformation other = (io.deephaven.proto.backplane.script.grpc.SignatureInformation) obj;
if (!getLabel()
.equals(other.getLabel())) return false;
if (hasDocumentation() != other.hasDocumentation()) return false;
if (hasDocumentation()) {
if (!getDocumentation()
.equals(other.getDocumentation())) return false;
}
if (!getParametersList()
.equals(other.getParametersList())) 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();
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
if (hasDocumentation()) {
hash = (37 * hash) + DOCUMENTATION_FIELD_NUMBER;
hash = (53 * hash) + getDocumentation().hashCode();
}
if (getParametersCount() > 0) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParametersList().hashCode();
}
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.SignatureInformation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.SignatureInformation 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.SignatureInformation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.SignatureInformation 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.SignatureInformation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.SignatureInformation 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.SignatureInformation 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.SignatureInformation 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.SignatureInformation 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.SignatureInformation 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.SignatureInformation 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.SignatureInformation 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.SignatureInformation 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.SignatureInformation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.SignatureInformation)
io.deephaven.proto.backplane.script.grpc.SignatureInformationOrBuilder {
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_SignatureInformation_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_SignatureInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.SignatureInformation.class, io.deephaven.proto.backplane.script.grpc.SignatureInformation.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.SignatureInformation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDocumentationFieldBuilder();
getParametersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
label_ = "";
documentation_ = null;
if (documentationBuilder_ != null) {
documentationBuilder_.dispose();
documentationBuilder_ = null;
}
if (parametersBuilder_ == null) {
parameters_ = java.util.Collections.emptyList();
} else {
parameters_ = null;
parametersBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
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_SignatureInformation_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureInformation getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.SignatureInformation.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureInformation build() {
io.deephaven.proto.backplane.script.grpc.SignatureInformation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.SignatureInformation buildPartial() {
io.deephaven.proto.backplane.script.grpc.SignatureInformation result = new io.deephaven.proto.backplane.script.grpc.SignatureInformation(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.deephaven.proto.backplane.script.grpc.SignatureInformation result) {
if (parametersBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
parameters_ = java.util.Collections.unmodifiableList(parameters_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.parameters_ = parameters_;
} else {
result.parameters_ = parametersBuilder_.build();
}
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.SignatureInformation result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.label_ = label_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.documentation_ = documentationBuilder_ == null
? documentation_
: documentationBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 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.SignatureInformation) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.SignatureInformation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.SignatureInformation other) {
if (other == io.deephaven.proto.backplane.script.grpc.SignatureInformation.getDefaultInstance()) return this;
if (!other.getLabel().isEmpty()) {
label_ = other.label_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDocumentation()) {
mergeDocumentation(other.getDocumentation());
}
if (parametersBuilder_ == null) {
if (!other.parameters_.isEmpty()) {
if (parameters_.isEmpty()) {
parameters_ = other.parameters_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureParametersIsMutable();
parameters_.addAll(other.parameters_);
}
onChanged();
}
} else {
if (!other.parameters_.isEmpty()) {
if (parametersBuilder_.isEmpty()) {
parametersBuilder_.dispose();
parametersBuilder_ = null;
parameters_ = other.parameters_;
bitField0_ = (bitField0_ & ~0x00000004);
parametersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getParametersFieldBuilder() : null;
} else {
parametersBuilder_.addAllMessages(other.parameters_);
}
}
}
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: {
label_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getDocumentationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
io.deephaven.proto.backplane.script.grpc.ParameterInformation m =
input.readMessage(
io.deephaven.proto.backplane.script.grpc.ParameterInformation.parser(),
extensionRegistry);
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.add(m);
} else {
parametersBuilder_.addMessage(m);
}
break;
} // case 26
case 32: {
activeParameter_ = input.readInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
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.lang.Object label_ = "";
/**
* string label = 1;
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
label_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string label = 1;
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string label = 1;
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string label = 1;
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string label = 1;
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
label_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private io.deephaven.proto.backplane.script.grpc.MarkupContent documentation_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.MarkupContent, io.deephaven.proto.backplane.script.grpc.MarkupContent.Builder, io.deephaven.proto.backplane.script.grpc.MarkupContentOrBuilder> documentationBuilder_;
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
* @return Whether the documentation field is set.
*/
public boolean hasDocumentation() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
* @return The documentation.
*/
public io.deephaven.proto.backplane.script.grpc.MarkupContent getDocumentation() {
if (documentationBuilder_ == null) {
return documentation_ == null ? io.deephaven.proto.backplane.script.grpc.MarkupContent.getDefaultInstance() : documentation_;
} else {
return documentationBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
public Builder setDocumentation(io.deephaven.proto.backplane.script.grpc.MarkupContent value) {
if (documentationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
documentation_ = value;
} else {
documentationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
public Builder setDocumentation(
io.deephaven.proto.backplane.script.grpc.MarkupContent.Builder builderForValue) {
if (documentationBuilder_ == null) {
documentation_ = builderForValue.build();
} else {
documentationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
public Builder mergeDocumentation(io.deephaven.proto.backplane.script.grpc.MarkupContent value) {
if (documentationBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
documentation_ != null &&
documentation_ != io.deephaven.proto.backplane.script.grpc.MarkupContent.getDefaultInstance()) {
getDocumentationBuilder().mergeFrom(value);
} else {
documentation_ = value;
}
} else {
documentationBuilder_.mergeFrom(value);
}
if (documentation_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
public Builder clearDocumentation() {
bitField0_ = (bitField0_ & ~0x00000002);
documentation_ = null;
if (documentationBuilder_ != null) {
documentationBuilder_.dispose();
documentationBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
public io.deephaven.proto.backplane.script.grpc.MarkupContent.Builder getDocumentationBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getDocumentationFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
public io.deephaven.proto.backplane.script.grpc.MarkupContentOrBuilder getDocumentationOrBuilder() {
if (documentationBuilder_ != null) {
return documentationBuilder_.getMessageOrBuilder();
} else {
return documentation_ == null ?
io.deephaven.proto.backplane.script.grpc.MarkupContent.getDefaultInstance() : documentation_;
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.MarkupContent, io.deephaven.proto.backplane.script.grpc.MarkupContent.Builder, io.deephaven.proto.backplane.script.grpc.MarkupContentOrBuilder>
getDocumentationFieldBuilder() {
if (documentationBuilder_ == null) {
documentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.MarkupContent, io.deephaven.proto.backplane.script.grpc.MarkupContent.Builder, io.deephaven.proto.backplane.script.grpc.MarkupContentOrBuilder>(
getDocumentation(),
getParentForChildren(),
isClean());
documentation_ = null;
}
return documentationBuilder_;
}
private java.util.List parameters_ =
java.util.Collections.emptyList();
private void ensureParametersIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
parameters_ = new java.util.ArrayList(parameters_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.ParameterInformation, io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder, io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder> parametersBuilder_;
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public java.util.List getParametersList() {
if (parametersBuilder_ == null) {
return java.util.Collections.unmodifiableList(parameters_);
} else {
return parametersBuilder_.getMessageList();
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public int getParametersCount() {
if (parametersBuilder_ == null) {
return parameters_.size();
} else {
return parametersBuilder_.getCount();
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public io.deephaven.proto.backplane.script.grpc.ParameterInformation getParameters(int index) {
if (parametersBuilder_ == null) {
return parameters_.get(index);
} else {
return parametersBuilder_.getMessage(index);
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder setParameters(
int index, io.deephaven.proto.backplane.script.grpc.ParameterInformation value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.set(index, value);
onChanged();
} else {
parametersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder setParameters(
int index, io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder builderForValue) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.set(index, builderForValue.build());
onChanged();
} else {
parametersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder addParameters(io.deephaven.proto.backplane.script.grpc.ParameterInformation value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(value);
onChanged();
} else {
parametersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder addParameters(
int index, io.deephaven.proto.backplane.script.grpc.ParameterInformation value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(index, value);
onChanged();
} else {
parametersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder addParameters(
io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder builderForValue) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.add(builderForValue.build());
onChanged();
} else {
parametersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder addParameters(
int index, io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder builderForValue) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.add(index, builderForValue.build());
onChanged();
} else {
parametersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder addAllParameters(
java.lang.Iterable extends io.deephaven.proto.backplane.script.grpc.ParameterInformation> values) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parameters_);
onChanged();
} else {
parametersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder clearParameters() {
if (parametersBuilder_ == null) {
parameters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
parametersBuilder_.clear();
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public Builder removeParameters(int index) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.remove(index);
onChanged();
} else {
parametersBuilder_.remove(index);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder getParametersBuilder(
int index) {
return getParametersFieldBuilder().getBuilder(index);
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder getParametersOrBuilder(
int index) {
if (parametersBuilder_ == null) {
return parameters_.get(index); } else {
return parametersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public java.util.List extends io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder>
getParametersOrBuilderList() {
if (parametersBuilder_ != null) {
return parametersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parameters_);
}
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder addParametersBuilder() {
return getParametersFieldBuilder().addBuilder(
io.deephaven.proto.backplane.script.grpc.ParameterInformation.getDefaultInstance());
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder addParametersBuilder(
int index) {
return getParametersFieldBuilder().addBuilder(
index, io.deephaven.proto.backplane.script.grpc.ParameterInformation.getDefaultInstance());
}
/**
* repeated .io.deephaven.proto.backplane.script.grpc.ParameterInformation parameters = 3;
*/
public java.util.List
getParametersBuilderList() {
return getParametersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.ParameterInformation, io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder, io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder>
getParametersFieldBuilder() {
if (parametersBuilder_ == null) {
parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.ParameterInformation, io.deephaven.proto.backplane.script.grpc.ParameterInformation.Builder, io.deephaven.proto.backplane.script.grpc.ParameterInformationOrBuilder>(
parameters_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
parameters_ = null;
}
return parametersBuilder_;
}
private int activeParameter_ ;
/**
* optional int32 active_parameter = 4;
* @return Whether the activeParameter field is set.
*/
@java.lang.Override
public boolean hasActiveParameter() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 active_parameter = 4;
* @return The activeParameter.
*/
@java.lang.Override
public int getActiveParameter() {
return activeParameter_;
}
/**
* optional int32 active_parameter = 4;
* @param value The activeParameter to set.
* @return This builder for chaining.
*/
public Builder setActiveParameter(int value) {
activeParameter_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional int32 active_parameter = 4;
* @return This builder for chaining.
*/
public Builder clearActiveParameter() {
bitField0_ = (bitField0_ & ~0x00000008);
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.SignatureInformation)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.SignatureInformation)
private static final io.deephaven.proto.backplane.script.grpc.SignatureInformation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.SignatureInformation();
}
public static io.deephaven.proto.backplane.script.grpc.SignatureInformation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SignatureInformation 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.SignatureInformation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}