java.io.deephaven.proto.backplane.script.grpc.CancelCommandRequest 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.CancelCommandRequest}
*/
public final class CancelCommandRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.script.grpc.CancelCommandRequest)
CancelCommandRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CancelCommandRequest.newBuilder() to construct.
private CancelCommandRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CancelCommandRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CancelCommandRequest();
}
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_CancelCommandRequest_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_CancelCommandRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.class, io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.Builder.class);
}
private int bitField0_;
public static final int CONSOLE_ID_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket consoleId_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
* @return Whether the consoleId field is set.
*/
@java.lang.Override
public boolean hasConsoleId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
* @return The consoleId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getConsoleId() {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getConsoleIdOrBuilder() {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
public static final int COMMAND_ID_FIELD_NUMBER = 2;
private io.deephaven.proto.backplane.grpc.Ticket commandId_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
* @return Whether the commandId field is set.
*/
@java.lang.Override
public boolean hasCommandId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
* @return The commandId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getCommandId() {
return commandId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : commandId_;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getCommandIdOrBuilder() {
return commandId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : commandId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getConsoleId());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCommandId());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getConsoleId());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCommandId());
}
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.CancelCommandRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.script.grpc.CancelCommandRequest other = (io.deephaven.proto.backplane.script.grpc.CancelCommandRequest) obj;
if (hasConsoleId() != other.hasConsoleId()) return false;
if (hasConsoleId()) {
if (!getConsoleId()
.equals(other.getConsoleId())) return false;
}
if (hasCommandId() != other.hasCommandId()) return false;
if (hasCommandId()) {
if (!getCommandId()
.equals(other.getCommandId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasConsoleId()) {
hash = (37 * hash) + CONSOLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getConsoleId().hashCode();
}
if (hasCommandId()) {
hash = (37 * hash) + COMMAND_ID_FIELD_NUMBER;
hash = (53 * hash) + getCommandId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.script.grpc.CancelCommandRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.CancelCommandRequest 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.CancelCommandRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.CancelCommandRequest 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.CancelCommandRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.script.grpc.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest 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.CancelCommandRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.script.grpc.CancelCommandRequest)
io.deephaven.proto.backplane.script.grpc.CancelCommandRequestOrBuilder {
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_CancelCommandRequest_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_CancelCommandRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.class, io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getConsoleIdFieldBuilder();
getCommandIdFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
consoleId_ = null;
if (consoleIdBuilder_ != null) {
consoleIdBuilder_.dispose();
consoleIdBuilder_ = null;
}
commandId_ = null;
if (commandIdBuilder_ != null) {
commandIdBuilder_.dispose();
commandIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.script.grpc.Console.internal_static_io_deephaven_proto_backplane_script_grpc_CancelCommandRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CancelCommandRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CancelCommandRequest build() {
io.deephaven.proto.backplane.script.grpc.CancelCommandRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.script.grpc.CancelCommandRequest buildPartial() {
io.deephaven.proto.backplane.script.grpc.CancelCommandRequest result = new io.deephaven.proto.backplane.script.grpc.CancelCommandRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.script.grpc.CancelCommandRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.consoleId_ = consoleIdBuilder_ == null
? consoleId_
: consoleIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.commandId_ = commandIdBuilder_ == null
? commandId_
: commandIdBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.deephaven.proto.backplane.script.grpc.CancelCommandRequest) {
return mergeFrom((io.deephaven.proto.backplane.script.grpc.CancelCommandRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.script.grpc.CancelCommandRequest other) {
if (other == io.deephaven.proto.backplane.script.grpc.CancelCommandRequest.getDefaultInstance()) return this;
if (other.hasConsoleId()) {
mergeConsoleId(other.getConsoleId());
}
if (other.hasCommandId()) {
mergeCommandId(other.getCommandId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getConsoleIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getCommandIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private io.deephaven.proto.backplane.grpc.Ticket consoleId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> consoleIdBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
* @return Whether the consoleId field is set.
*/
public boolean hasConsoleId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
* @return The consoleId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getConsoleId() {
if (consoleIdBuilder_ == null) {
return consoleId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
} else {
return consoleIdBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
public Builder setConsoleId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (consoleIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
consoleId_ = value;
} else {
consoleIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
public Builder setConsoleId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (consoleIdBuilder_ == null) {
consoleId_ = builderForValue.build();
} else {
consoleIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
public Builder mergeConsoleId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (consoleIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
consoleId_ != null &&
consoleId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getConsoleIdBuilder().mergeFrom(value);
} else {
consoleId_ = value;
}
} else {
consoleIdBuilder_.mergeFrom(value);
}
if (consoleId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
public Builder clearConsoleId() {
bitField0_ = (bitField0_ & ~0x00000001);
consoleId_ = null;
if (consoleIdBuilder_ != null) {
consoleIdBuilder_.dispose();
consoleIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getConsoleIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getConsoleIdFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getConsoleIdOrBuilder() {
if (consoleIdBuilder_ != null) {
return consoleIdBuilder_.getMessageOrBuilder();
} else {
return consoleId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : consoleId_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket console_id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>
getConsoleIdFieldBuilder() {
if (consoleIdBuilder_ == null) {
consoleIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getConsoleId(),
getParentForChildren(),
isClean());
consoleId_ = null;
}
return consoleIdBuilder_;
}
private io.deephaven.proto.backplane.grpc.Ticket commandId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> commandIdBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
* @return Whether the commandId field is set.
*/
public boolean hasCommandId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
* @return The commandId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getCommandId() {
if (commandIdBuilder_ == null) {
return commandId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : commandId_;
} else {
return commandIdBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
public Builder setCommandId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (commandIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commandId_ = value;
} else {
commandIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
public Builder setCommandId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (commandIdBuilder_ == null) {
commandId_ = builderForValue.build();
} else {
commandIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
public Builder mergeCommandId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (commandIdBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
commandId_ != null &&
commandId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getCommandIdBuilder().mergeFrom(value);
} else {
commandId_ = value;
}
} else {
commandIdBuilder_.mergeFrom(value);
}
if (commandId_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
public Builder clearCommandId() {
bitField0_ = (bitField0_ & ~0x00000002);
commandId_ = null;
if (commandIdBuilder_ != null) {
commandIdBuilder_.dispose();
commandIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getCommandIdBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCommandIdFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getCommandIdOrBuilder() {
if (commandIdBuilder_ != null) {
return commandIdBuilder_.getMessageOrBuilder();
} else {
return commandId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : commandId_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Ticket command_id = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>
getCommandIdFieldBuilder() {
if (commandIdBuilder_ == null) {
commandIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getCommandId(),
getParentForChildren(),
isClean());
commandId_ = null;
}
return commandIdBuilder_;
}
@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.CancelCommandRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.script.grpc.CancelCommandRequest)
private static final io.deephaven.proto.backplane.script.grpc.CancelCommandRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.script.grpc.CancelCommandRequest();
}
public static io.deephaven.proto.backplane.script.grpc.CancelCommandRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CancelCommandRequest 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.CancelCommandRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}