java.io.deephaven.proto.backplane.grpc.TreeRequest 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/hierarchicaltable.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.TreeRequest}
*/
public final class TreeRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.TreeRequest)
TreeRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use TreeRequest.newBuilder() to construct.
private TreeRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TreeRequest() {
identifierColumn_ = "";
parentIdentifierColumn_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TreeRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_TreeRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_TreeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TreeRequest.class, io.deephaven.proto.backplane.grpc.TreeRequest.Builder.class);
}
private int bitField0_;
public static final int RESULT_TREE_TABLE_ID_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket resultTreeTableId_;
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
* @return Whether the resultTreeTableId field is set.
*/
@java.lang.Override
public boolean hasResultTreeTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
* @return The resultTreeTableId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getResultTreeTableId() {
return resultTreeTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultTreeTableId_;
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultTreeTableIdOrBuilder() {
return resultTreeTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultTreeTableId_;
}
public static final int SOURCE_TABLE_ID_FIELD_NUMBER = 2;
private io.deephaven.proto.backplane.grpc.Ticket sourceTableId_;
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
* @return Whether the sourceTableId field is set.
*/
@java.lang.Override
public boolean hasSourceTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
* @return The sourceTableId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getSourceTableId() {
return sourceTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : sourceTableId_;
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getSourceTableIdOrBuilder() {
return sourceTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : sourceTableId_;
}
public static final int IDENTIFIER_COLUMN_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object identifierColumn_ = "";
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @return The identifierColumn.
*/
@java.lang.Override
public java.lang.String getIdentifierColumn() {
java.lang.Object ref = identifierColumn_;
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();
identifierColumn_ = s;
return s;
}
}
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @return The bytes for identifierColumn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdentifierColumnBytes() {
java.lang.Object ref = identifierColumn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifierColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARENT_IDENTIFIER_COLUMN_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object parentIdentifierColumn_ = "";
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @return The parentIdentifierColumn.
*/
@java.lang.Override
public java.lang.String getParentIdentifierColumn() {
java.lang.Object ref = parentIdentifierColumn_;
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();
parentIdentifierColumn_ = s;
return s;
}
}
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @return The bytes for parentIdentifierColumn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getParentIdentifierColumnBytes() {
java.lang.Object ref = parentIdentifierColumn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
parentIdentifierColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROMOTE_ORPHANS_FIELD_NUMBER = 5;
private boolean promoteOrphans_ = false;
/**
*
* Whether to promote "orphaned" nodes to be children of the root node. Orphans are nodes whose parent identifiers do
* not occur as identifiers for any row in the source Table.
*
*
* bool promote_orphans = 5;
* @return The promoteOrphans.
*/
@java.lang.Override
public boolean getPromoteOrphans() {
return promoteOrphans_;
}
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, getResultTreeTableId());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getSourceTableId());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identifierColumn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, identifierColumn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentIdentifierColumn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, parentIdentifierColumn_);
}
if (promoteOrphans_ != false) {
output.writeBool(5, promoteOrphans_);
}
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, getResultTreeTableId());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSourceTableId());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identifierColumn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, identifierColumn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentIdentifierColumn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parentIdentifierColumn_);
}
if (promoteOrphans_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, promoteOrphans_);
}
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.grpc.TreeRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.TreeRequest other = (io.deephaven.proto.backplane.grpc.TreeRequest) obj;
if (hasResultTreeTableId() != other.hasResultTreeTableId()) return false;
if (hasResultTreeTableId()) {
if (!getResultTreeTableId()
.equals(other.getResultTreeTableId())) return false;
}
if (hasSourceTableId() != other.hasSourceTableId()) return false;
if (hasSourceTableId()) {
if (!getSourceTableId()
.equals(other.getSourceTableId())) return false;
}
if (!getIdentifierColumn()
.equals(other.getIdentifierColumn())) return false;
if (!getParentIdentifierColumn()
.equals(other.getParentIdentifierColumn())) return false;
if (getPromoteOrphans()
!= other.getPromoteOrphans()) 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 (hasResultTreeTableId()) {
hash = (37 * hash) + RESULT_TREE_TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getResultTreeTableId().hashCode();
}
if (hasSourceTableId()) {
hash = (37 * hash) + SOURCE_TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSourceTableId().hashCode();
}
hash = (37 * hash) + IDENTIFIER_COLUMN_FIELD_NUMBER;
hash = (53 * hash) + getIdentifierColumn().hashCode();
hash = (37 * hash) + PARENT_IDENTIFIER_COLUMN_FIELD_NUMBER;
hash = (53 * hash) + getParentIdentifierColumn().hashCode();
hash = (37 * hash) + PROMOTE_ORPHANS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPromoteOrphans());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.TreeRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest 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.grpc.TreeRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest 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.grpc.TreeRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest 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.grpc.TreeRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest 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.grpc.TreeRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TreeRequest 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.grpc.TreeRequest 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.grpc.TreeRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.TreeRequest)
io.deephaven.proto.backplane.grpc.TreeRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_TreeRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_TreeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TreeRequest.class, io.deephaven.proto.backplane.grpc.TreeRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.TreeRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultTreeTableIdFieldBuilder();
getSourceTableIdFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resultTreeTableId_ = null;
if (resultTreeTableIdBuilder_ != null) {
resultTreeTableIdBuilder_.dispose();
resultTreeTableIdBuilder_ = null;
}
sourceTableId_ = null;
if (sourceTableIdBuilder_ != null) {
sourceTableIdBuilder_.dispose();
sourceTableIdBuilder_ = null;
}
identifierColumn_ = "";
parentIdentifierColumn_ = "";
promoteOrphans_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_TreeRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TreeRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.TreeRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TreeRequest build() {
io.deephaven.proto.backplane.grpc.TreeRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TreeRequest buildPartial() {
io.deephaven.proto.backplane.grpc.TreeRequest result = new io.deephaven.proto.backplane.grpc.TreeRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.TreeRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resultTreeTableId_ = resultTreeTableIdBuilder_ == null
? resultTreeTableId_
: resultTreeTableIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.sourceTableId_ = sourceTableIdBuilder_ == null
? sourceTableId_
: sourceTableIdBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.identifierColumn_ = identifierColumn_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.parentIdentifierColumn_ = parentIdentifierColumn_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.promoteOrphans_ = promoteOrphans_;
}
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.grpc.TreeRequest) {
return mergeFrom((io.deephaven.proto.backplane.grpc.TreeRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.TreeRequest other) {
if (other == io.deephaven.proto.backplane.grpc.TreeRequest.getDefaultInstance()) return this;
if (other.hasResultTreeTableId()) {
mergeResultTreeTableId(other.getResultTreeTableId());
}
if (other.hasSourceTableId()) {
mergeSourceTableId(other.getSourceTableId());
}
if (!other.getIdentifierColumn().isEmpty()) {
identifierColumn_ = other.identifierColumn_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getParentIdentifierColumn().isEmpty()) {
parentIdentifierColumn_ = other.parentIdentifierColumn_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.getPromoteOrphans() != false) {
setPromoteOrphans(other.getPromoteOrphans());
}
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(
getResultTreeTableIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getSourceTableIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
identifierColumn_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
parentIdentifierColumn_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
promoteOrphans_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
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 resultTreeTableId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> resultTreeTableIdBuilder_;
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
* @return Whether the resultTreeTableId field is set.
*/
public boolean hasResultTreeTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
* @return The resultTreeTableId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getResultTreeTableId() {
if (resultTreeTableIdBuilder_ == null) {
return resultTreeTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultTreeTableId_;
} else {
return resultTreeTableIdBuilder_.getMessage();
}
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
public Builder setResultTreeTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultTreeTableIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
resultTreeTableId_ = value;
} else {
resultTreeTableIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
public Builder setResultTreeTableId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (resultTreeTableIdBuilder_ == null) {
resultTreeTableId_ = builderForValue.build();
} else {
resultTreeTableIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
public Builder mergeResultTreeTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultTreeTableIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
resultTreeTableId_ != null &&
resultTreeTableId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getResultTreeTableIdBuilder().mergeFrom(value);
} else {
resultTreeTableId_ = value;
}
} else {
resultTreeTableIdBuilder_.mergeFrom(value);
}
if (resultTreeTableId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
public Builder clearResultTreeTableId() {
bitField0_ = (bitField0_ & ~0x00000001);
resultTreeTableId_ = null;
if (resultTreeTableIdBuilder_ != null) {
resultTreeTableIdBuilder_.dispose();
resultTreeTableIdBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultTreeTableIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getResultTreeTableIdFieldBuilder().getBuilder();
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_id = 1;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultTreeTableIdOrBuilder() {
if (resultTreeTableIdBuilder_ != null) {
return resultTreeTableIdBuilder_.getMessageOrBuilder();
} else {
return resultTreeTableId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultTreeTableId_;
}
}
/**
*
* Ticket to use to hold the result TreeTable from the tree operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_tree_table_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>
getResultTreeTableIdFieldBuilder() {
if (resultTreeTableIdBuilder_ == null) {
resultTreeTableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getResultTreeTableId(),
getParentForChildren(),
isClean());
resultTreeTableId_ = null;
}
return resultTreeTableIdBuilder_;
}
private io.deephaven.proto.backplane.grpc.Ticket sourceTableId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> sourceTableIdBuilder_;
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
* @return Whether the sourceTableId field is set.
*/
public boolean hasSourceTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
* @return The sourceTableId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getSourceTableId() {
if (sourceTableIdBuilder_ == null) {
return sourceTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : sourceTableId_;
} else {
return sourceTableIdBuilder_.getMessage();
}
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
public Builder setSourceTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (sourceTableIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceTableId_ = value;
} else {
sourceTableIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
public Builder setSourceTableId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (sourceTableIdBuilder_ == null) {
sourceTableId_ = builderForValue.build();
} else {
sourceTableIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
public Builder mergeSourceTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (sourceTableIdBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
sourceTableId_ != null &&
sourceTableId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getSourceTableIdBuilder().mergeFrom(value);
} else {
sourceTableId_ = value;
}
} else {
sourceTableIdBuilder_.mergeFrom(value);
}
if (sourceTableId_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
public Builder clearSourceTableId() {
bitField0_ = (bitField0_ & ~0x00000002);
sourceTableId_ = null;
if (sourceTableIdBuilder_ != null) {
sourceTableIdBuilder_.dispose();
sourceTableIdBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getSourceTableIdBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSourceTableIdFieldBuilder().getBuilder();
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_id = 2;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getSourceTableIdOrBuilder() {
if (sourceTableIdBuilder_ != null) {
return sourceTableIdBuilder_.getMessageOrBuilder();
} else {
return sourceTableId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : sourceTableId_;
}
}
/**
*
* Ticket for the source Table to tree
*
*
* .io.deephaven.proto.backplane.grpc.Ticket source_table_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>
getSourceTableIdFieldBuilder() {
if (sourceTableIdBuilder_ == null) {
sourceTableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getSourceTableId(),
getParentForChildren(),
isClean());
sourceTableId_ = null;
}
return sourceTableIdBuilder_;
}
private java.lang.Object identifierColumn_ = "";
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @return The identifierColumn.
*/
public java.lang.String getIdentifierColumn() {
java.lang.Object ref = identifierColumn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
identifierColumn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @return The bytes for identifierColumn.
*/
public com.google.protobuf.ByteString
getIdentifierColumnBytes() {
java.lang.Object ref = identifierColumn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifierColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @param value The identifierColumn to set.
* @return This builder for chaining.
*/
public Builder setIdentifierColumn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
identifierColumn_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @return This builder for chaining.
*/
public Builder clearIdentifierColumn() {
identifierColumn_ = getDefaultInstance().getIdentifierColumn();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* The name of the column containing the unique identifier for each row in the source table
*
*
* string identifier_column = 3;
* @param value The bytes for identifierColumn to set.
* @return This builder for chaining.
*/
public Builder setIdentifierColumnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
identifierColumn_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object parentIdentifierColumn_ = "";
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @return The parentIdentifierColumn.
*/
public java.lang.String getParentIdentifierColumn() {
java.lang.Object ref = parentIdentifierColumn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
parentIdentifierColumn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @return The bytes for parentIdentifierColumn.
*/
public com.google.protobuf.ByteString
getParentIdentifierColumnBytes() {
java.lang.Object ref = parentIdentifierColumn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
parentIdentifierColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @param value The parentIdentifierColumn to set.
* @return This builder for chaining.
*/
public Builder setParentIdentifierColumn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
parentIdentifierColumn_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @return This builder for chaining.
*/
public Builder clearParentIdentifierColumn() {
parentIdentifierColumn_ = getDefaultInstance().getParentIdentifierColumn();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* The name of the column containing the parent row's unique identifier for each row in the source table
*
*
* string parent_identifier_column = 4;
* @param value The bytes for parentIdentifierColumn to set.
* @return This builder for chaining.
*/
public Builder setParentIdentifierColumnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
parentIdentifierColumn_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private boolean promoteOrphans_ ;
/**
*
* Whether to promote "orphaned" nodes to be children of the root node. Orphans are nodes whose parent identifiers do
* not occur as identifiers for any row in the source Table.
*
*
* bool promote_orphans = 5;
* @return The promoteOrphans.
*/
@java.lang.Override
public boolean getPromoteOrphans() {
return promoteOrphans_;
}
/**
*
* Whether to promote "orphaned" nodes to be children of the root node. Orphans are nodes whose parent identifiers do
* not occur as identifiers for any row in the source Table.
*
*
* bool promote_orphans = 5;
* @param value The promoteOrphans to set.
* @return This builder for chaining.
*/
public Builder setPromoteOrphans(boolean value) {
promoteOrphans_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Whether to promote "orphaned" nodes to be children of the root node. Orphans are nodes whose parent identifiers do
* not occur as identifiers for any row in the source Table.
*
*
* bool promote_orphans = 5;
* @return This builder for chaining.
*/
public Builder clearPromoteOrphans() {
bitField0_ = (bitField0_ & ~0x00000010);
promoteOrphans_ = false;
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.grpc.TreeRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.TreeRequest)
private static final io.deephaven.proto.backplane.grpc.TreeRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.TreeRequest();
}
public static io.deephaven.proto.backplane.grpc.TreeRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TreeRequest 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.grpc.TreeRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}