java.io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest 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.GetDiagnosticRequest}
*/
public final class GetDiagnosticRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest)
GetDiagnosticRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDiagnosticRequest.newBuilder() to construct.
private GetDiagnosticRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetDiagnosticRequest() {
identifier_ = "";
previousResultId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDiagnosticRequest();
}
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_GetDiagnosticRequest_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_GetDiagnosticRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.class, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder.class);
}
private int bitField0_;
public static final int TEXT_DOCUMENT_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier textDocument_;
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
* @return Whether the textDocument field is set.
*/
@java.lang.Override
public boolean hasTextDocument() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
* @return The textDocument.
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier getTextDocument() {
return textDocument_ == null ? io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder getTextDocumentOrBuilder() {
return textDocument_ == null ? io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
}
public static final int IDENTIFIER_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object identifier_ = "";
/**
* optional string identifier = 2;
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string identifier = 2;
* @return The identifier.
*/
@java.lang.Override
public java.lang.String getIdentifier() {
java.lang.Object ref = identifier_;
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();
identifier_ = s;
return s;
}
}
/**
* optional string identifier = 2;
* @return The bytes for identifier.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PREVIOUS_RESULT_ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object previousResultId_ = "";
/**
* optional string previous_result_id = 3;
* @return Whether the previousResultId field is set.
*/
@java.lang.Override
public boolean hasPreviousResultId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string previous_result_id = 3;
* @return The previousResultId.
*/
@java.lang.Override
public java.lang.String getPreviousResultId() {
java.lang.Object ref = previousResultId_;
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();
previousResultId_ = s;
return s;
}
}
/**
* optional string previous_result_id = 3;
* @return The bytes for previousResultId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPreviousResultIdBytes() {
java.lang.Object ref = previousResultId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
previousResultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getTextDocument());
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, identifier_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, previousResultId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTextDocument());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, identifier_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, previousResultId_);
}
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.GetDiagnosticRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest other = (io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest) obj;
if (hasTextDocument() != other.hasTextDocument()) return false;
if (hasTextDocument()) {
if (!getTextDocument()
.equals(other.getTextDocument())) return false;
}
if (hasIdentifier() != other.hasIdentifier()) return false;
if (hasIdentifier()) {
if (!getIdentifier()
.equals(other.getIdentifier())) return false;
}
if (hasPreviousResultId() != other.hasPreviousResultId()) return false;
if (hasPreviousResultId()) {
if (!getPreviousResultId()
.equals(other.getPreviousResultId())) 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 (hasTextDocument()) {
hash = (37 * hash) + TEXT_DOCUMENT_FIELD_NUMBER;
hash = (53 * hash) + getTextDocument().hashCode();
}
if (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
if (hasPreviousResultId()) {
hash = (37 * hash) + PREVIOUS_RESULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPreviousResultId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest 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.GetDiagnosticRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest 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.GetDiagnosticRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest 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.GetDiagnosticRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest)
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequestOrBuilder {
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_GetDiagnosticRequest_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_GetDiagnosticRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.class, io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTextDocumentFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
textDocument_ = null;
if (textDocumentBuilder_ != null) {
textDocumentBuilder_.dispose();
textDocumentBuilder_ = null;
}
identifier_ = "";
previousResultId_ = "";
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_GetDiagnosticRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest build() {
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest buildPartial() {
io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest result = new io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.textDocument_ = textDocumentBuilder_ == null
? textDocument_
: textDocumentBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.identifier_ = identifier_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.previousResultId_ = previousResultId_;
to_bitField0_ |= 0x00000004;
}
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.GetDiagnosticRequest) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest other) {
if (other == io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest.getDefaultInstance()) return this;
if (other.hasTextDocument()) {
mergeTextDocument(other.getTextDocument());
}
if (other.hasIdentifier()) {
identifier_ = other.identifier_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasPreviousResultId()) {
previousResultId_ = other.previousResultId_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getTextDocumentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
identifier_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
previousResultId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier textDocument_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder> textDocumentBuilder_;
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
* @return Whether the textDocument field is set.
*/
public boolean hasTextDocument() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
* @return The textDocument.
*/
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier getTextDocument() {
if (textDocumentBuilder_ == null) {
return textDocument_ == null ? io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
} else {
return textDocumentBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
public Builder setTextDocument(io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier value) {
if (textDocumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
textDocument_ = value;
} else {
textDocumentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
public Builder setTextDocument(
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder builderForValue) {
if (textDocumentBuilder_ == null) {
textDocument_ = builderForValue.build();
} else {
textDocumentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
public Builder mergeTextDocument(io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier value) {
if (textDocumentBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
textDocument_ != null &&
textDocument_ != io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance()) {
getTextDocumentBuilder().mergeFrom(value);
} else {
textDocument_ = value;
}
} else {
textDocumentBuilder_.mergeFrom(value);
}
if (textDocument_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
public Builder clearTextDocument() {
bitField0_ = (bitField0_ & ~0x00000001);
textDocument_ = null;
if (textDocumentBuilder_ != null) {
textDocumentBuilder_.dispose();
textDocumentBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder getTextDocumentBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTextDocumentFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
public io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder getTextDocumentOrBuilder() {
if (textDocumentBuilder_ != null) {
return textDocumentBuilder_.getMessageOrBuilder();
} else {
return textDocument_ == null ?
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.getDefaultInstance() : textDocument_;
}
}
/**
* .io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier text_document = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder>
getTextDocumentFieldBuilder() {
if (textDocumentBuilder_ == null) {
textDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifier.Builder, io.deephaven.proto.backplane.script.grpc.VersionedTextDocumentIdentifierOrBuilder>(
getTextDocument(),
getParentForChildren(),
isClean());
textDocument_ = null;
}
return textDocumentBuilder_;
}
private java.lang.Object identifier_ = "";
/**
* optional string identifier = 2;
* @return Whether the identifier field is set.
*/
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string identifier = 2;
* @return The identifier.
*/
public java.lang.String getIdentifier() {
java.lang.Object ref = identifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
identifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string identifier = 2;
* @return The bytes for identifier.
*/
public com.google.protobuf.ByteString
getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string identifier = 2;
* @param value The identifier to set.
* @return This builder for chaining.
*/
public Builder setIdentifier(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
identifier_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string identifier = 2;
* @return This builder for chaining.
*/
public Builder clearIdentifier() {
identifier_ = getDefaultInstance().getIdentifier();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string identifier = 2;
* @param value The bytes for identifier to set.
* @return This builder for chaining.
*/
public Builder setIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
identifier_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object previousResultId_ = "";
/**
* optional string previous_result_id = 3;
* @return Whether the previousResultId field is set.
*/
public boolean hasPreviousResultId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string previous_result_id = 3;
* @return The previousResultId.
*/
public java.lang.String getPreviousResultId() {
java.lang.Object ref = previousResultId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
previousResultId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string previous_result_id = 3;
* @return The bytes for previousResultId.
*/
public com.google.protobuf.ByteString
getPreviousResultIdBytes() {
java.lang.Object ref = previousResultId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
previousResultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string previous_result_id = 3;
* @param value The previousResultId to set.
* @return This builder for chaining.
*/
public Builder setPreviousResultId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
previousResultId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string previous_result_id = 3;
* @return This builder for chaining.
*/
public Builder clearPreviousResultId() {
previousResultId_ = getDefaultInstance().getPreviousResultId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string previous_result_id = 3;
* @param value The bytes for previousResultId to set.
* @return This builder for chaining.
*/
public Builder setPreviousResultIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
previousResultId_ = value;
bitField0_ |= 0x00000004;
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.GetDiagnosticRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest)
private static final io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest();
}
public static io.deephaven.proto.backplane.script.grpc.GetDiagnosticRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetDiagnosticRequest 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.GetDiagnosticRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}