java.io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest 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/hierarchicaltable.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest}
*/
public final class HierarchicalTableViewRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest)
HierarchicalTableViewRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use HierarchicalTableViewRequest.newBuilder() to construct.
private HierarchicalTableViewRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HierarchicalTableViewRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HierarchicalTableViewRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_HierarchicalTableViewRequest_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_HierarchicalTableViewRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.class, io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.Builder.class);
}
private int bitField0_;
private int targetCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object target_;
public enum TargetCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
HIERARCHICAL_TABLE_ID(2),
EXISTING_VIEW_ID(3),
TARGET_NOT_SET(0);
private final int value;
private TargetCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TargetCase valueOf(int value) {
return forNumber(value);
}
public static TargetCase forNumber(int value) {
switch (value) {
case 2: return HIERARCHICAL_TABLE_ID;
case 3: return EXISTING_VIEW_ID;
case 0: return TARGET_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public TargetCase
getTargetCase() {
return TargetCase.forNumber(
targetCase_);
}
public static final int RESULT_VIEW_ID_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket resultViewId_;
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
* @return Whether the resultViewId field is set.
*/
@java.lang.Override
public boolean hasResultViewId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
* @return The resultViewId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getResultViewId() {
return resultViewId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultViewId_;
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultViewIdOrBuilder() {
return resultViewId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultViewId_;
}
public static final int HIERARCHICAL_TABLE_ID_FIELD_NUMBER = 2;
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
* @return Whether the hierarchicalTableId field is set.
*/
@java.lang.Override
public boolean hasHierarchicalTableId() {
return targetCase_ == 2;
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
* @return The hierarchicalTableId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getHierarchicalTableId() {
if (targetCase_ == 2) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getHierarchicalTableIdOrBuilder() {
if (targetCase_ == 2) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
public static final int EXISTING_VIEW_ID_FIELD_NUMBER = 3;
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
* @return Whether the existingViewId field is set.
*/
@java.lang.Override
public boolean hasExistingViewId() {
return targetCase_ == 3;
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
* @return The existingViewId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getExistingViewId() {
if (targetCase_ == 3) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getExistingViewIdOrBuilder() {
if (targetCase_ == 3) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
public static final int EXPANSIONS_FIELD_NUMBER = 4;
private io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions_;
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
* @return Whether the expansions field is set.
*/
@java.lang.Override
public boolean hasExpansions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
* @return The expansions.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor getExpansions() {
return expansions_ == null ? io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.getDefaultInstance() : expansions_;
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptorOrBuilder getExpansionsOrBuilder() {
return expansions_ == null ? io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.getDefaultInstance() : expansions_;
}
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, getResultViewId());
}
if (targetCase_ == 2) {
output.writeMessage(2, (io.deephaven.proto.backplane.grpc.Ticket) target_);
}
if (targetCase_ == 3) {
output.writeMessage(3, (io.deephaven.proto.backplane.grpc.Ticket) target_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(4, getExpansions());
}
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, getResultViewId());
}
if (targetCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (io.deephaven.proto.backplane.grpc.Ticket) target_);
}
if (targetCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (io.deephaven.proto.backplane.grpc.Ticket) target_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getExpansions());
}
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.HierarchicalTableViewRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest other = (io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest) obj;
if (hasResultViewId() != other.hasResultViewId()) return false;
if (hasResultViewId()) {
if (!getResultViewId()
.equals(other.getResultViewId())) return false;
}
if (hasExpansions() != other.hasExpansions()) return false;
if (hasExpansions()) {
if (!getExpansions()
.equals(other.getExpansions())) return false;
}
if (!getTargetCase().equals(other.getTargetCase())) return false;
switch (targetCase_) {
case 2:
if (!getHierarchicalTableId()
.equals(other.getHierarchicalTableId())) return false;
break;
case 3:
if (!getExistingViewId()
.equals(other.getExistingViewId())) return false;
break;
case 0:
default:
}
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 (hasResultViewId()) {
hash = (37 * hash) + RESULT_VIEW_ID_FIELD_NUMBER;
hash = (53 * hash) + getResultViewId().hashCode();
}
if (hasExpansions()) {
hash = (37 * hash) + EXPANSIONS_FIELD_NUMBER;
hash = (53 * hash) + getExpansions().hashCode();
}
switch (targetCase_) {
case 2:
hash = (37 * hash) + HIERARCHICAL_TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getHierarchicalTableId().hashCode();
break;
case 3:
hash = (37 * hash) + EXISTING_VIEW_ID_FIELD_NUMBER;
hash = (53 * hash) + getExistingViewId().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest 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.HierarchicalTableViewRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest)
io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_HierarchicalTableViewRequest_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_HierarchicalTableViewRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.class, io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultViewIdFieldBuilder();
getExpansionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resultViewId_ = null;
if (resultViewIdBuilder_ != null) {
resultViewIdBuilder_.dispose();
resultViewIdBuilder_ = null;
}
if (hierarchicalTableIdBuilder_ != null) {
hierarchicalTableIdBuilder_.clear();
}
if (existingViewIdBuilder_ != null) {
existingViewIdBuilder_.clear();
}
expansions_ = null;
if (expansionsBuilder_ != null) {
expansionsBuilder_.dispose();
expansionsBuilder_ = null;
}
targetCase_ = 0;
target_ = null;
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_HierarchicalTableViewRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest build() {
io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest buildPartial() {
io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest result = new io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resultViewId_ = resultViewIdBuilder_ == null
? resultViewId_
: resultViewIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.expansions_ = expansionsBuilder_ == null
? expansions_
: expansionsBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest result) {
result.targetCase_ = targetCase_;
result.target_ = this.target_;
if (targetCase_ == 2 &&
hierarchicalTableIdBuilder_ != null) {
result.target_ = hierarchicalTableIdBuilder_.build();
}
if (targetCase_ == 3 &&
existingViewIdBuilder_ != null) {
result.target_ = existingViewIdBuilder_.build();
}
}
@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.HierarchicalTableViewRequest) {
return mergeFrom((io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest other) {
if (other == io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest.getDefaultInstance()) return this;
if (other.hasResultViewId()) {
mergeResultViewId(other.getResultViewId());
}
if (other.hasExpansions()) {
mergeExpansions(other.getExpansions());
}
switch (other.getTargetCase()) {
case HIERARCHICAL_TABLE_ID: {
mergeHierarchicalTableId(other.getHierarchicalTableId());
break;
}
case EXISTING_VIEW_ID: {
mergeExistingViewId(other.getExistingViewId());
break;
}
case TARGET_NOT_SET: {
break;
}
}
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(
getResultViewIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getHierarchicalTableIdFieldBuilder().getBuilder(),
extensionRegistry);
targetCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getExistingViewIdFieldBuilder().getBuilder(),
extensionRegistry);
targetCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getExpansionsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
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 targetCase_ = 0;
private java.lang.Object target_;
public TargetCase
getTargetCase() {
return TargetCase.forNumber(
targetCase_);
}
public Builder clearTarget() {
targetCase_ = 0;
target_ = null;
onChanged();
return this;
}
private int bitField0_;
private io.deephaven.proto.backplane.grpc.Ticket resultViewId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> resultViewIdBuilder_;
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
* @return Whether the resultViewId field is set.
*/
public boolean hasResultViewId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
* @return The resultViewId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getResultViewId() {
if (resultViewIdBuilder_ == null) {
return resultViewId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultViewId_;
} else {
return resultViewIdBuilder_.getMessage();
}
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
public Builder setResultViewId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultViewIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
resultViewId_ = value;
} else {
resultViewIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
public Builder setResultViewId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (resultViewIdBuilder_ == null) {
resultViewId_ = builderForValue.build();
} else {
resultViewIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
public Builder mergeResultViewId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultViewIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
resultViewId_ != null &&
resultViewId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getResultViewIdBuilder().mergeFrom(value);
} else {
resultViewId_ = value;
}
} else {
resultViewIdBuilder_.mergeFrom(value);
}
if (resultViewId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
public Builder clearResultViewId() {
bitField0_ = (bitField0_ & ~0x00000001);
resultViewId_ = null;
if (resultViewIdBuilder_ != null) {
resultViewIdBuilder_.dispose();
resultViewIdBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultViewIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getResultViewIdFieldBuilder().getBuilder();
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_id = 1;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultViewIdOrBuilder() {
if (resultViewIdBuilder_ != null) {
return resultViewIdBuilder_.getMessageOrBuilder();
} else {
return resultViewId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultViewId_;
}
}
/**
*
* Ticket to use to hold the result HierarchicalTableView
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_view_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>
getResultViewIdFieldBuilder() {
if (resultViewIdBuilder_ == null) {
resultViewIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getResultViewId(),
getParentForChildren(),
isClean());
resultViewId_ = null;
}
return resultViewIdBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> hierarchicalTableIdBuilder_;
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
* @return Whether the hierarchicalTableId field is set.
*/
@java.lang.Override
public boolean hasHierarchicalTableId() {
return targetCase_ == 2;
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
* @return The hierarchicalTableId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getHierarchicalTableId() {
if (hierarchicalTableIdBuilder_ == null) {
if (targetCase_ == 2) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
} else {
if (targetCase_ == 2) {
return hierarchicalTableIdBuilder_.getMessage();
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
public Builder setHierarchicalTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (hierarchicalTableIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
target_ = value;
onChanged();
} else {
hierarchicalTableIdBuilder_.setMessage(value);
}
targetCase_ = 2;
return this;
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
public Builder setHierarchicalTableId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (hierarchicalTableIdBuilder_ == null) {
target_ = builderForValue.build();
onChanged();
} else {
hierarchicalTableIdBuilder_.setMessage(builderForValue.build());
}
targetCase_ = 2;
return this;
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
public Builder mergeHierarchicalTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (hierarchicalTableIdBuilder_ == null) {
if (targetCase_ == 2 &&
target_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
target_ = io.deephaven.proto.backplane.grpc.Ticket.newBuilder((io.deephaven.proto.backplane.grpc.Ticket) target_)
.mergeFrom(value).buildPartial();
} else {
target_ = value;
}
onChanged();
} else {
if (targetCase_ == 2) {
hierarchicalTableIdBuilder_.mergeFrom(value);
} else {
hierarchicalTableIdBuilder_.setMessage(value);
}
}
targetCase_ = 2;
return this;
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
public Builder clearHierarchicalTableId() {
if (hierarchicalTableIdBuilder_ == null) {
if (targetCase_ == 2) {
targetCase_ = 0;
target_ = null;
onChanged();
}
} else {
if (targetCase_ == 2) {
targetCase_ = 0;
target_ = null;
}
hierarchicalTableIdBuilder_.clear();
}
return this;
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getHierarchicalTableIdBuilder() {
return getHierarchicalTableIdFieldBuilder().getBuilder();
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_table_id = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getHierarchicalTableIdOrBuilder() {
if ((targetCase_ == 2) && (hierarchicalTableIdBuilder_ != null)) {
return hierarchicalTableIdBuilder_.getMessageOrBuilder();
} else {
if (targetCase_ == 2) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
}
/**
*
* Ticket for the HierarchicalTable (RollupTable or TreeTable) to expand
*
*
* .io.deephaven.proto.backplane.grpc.Ticket hierarchical_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>
getHierarchicalTableIdFieldBuilder() {
if (hierarchicalTableIdBuilder_ == null) {
if (!(targetCase_ == 2)) {
target_ = io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
hierarchicalTableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
(io.deephaven.proto.backplane.grpc.Ticket) target_,
getParentForChildren(),
isClean());
target_ = null;
}
targetCase_ = 2;
onChanged();
return hierarchicalTableIdBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> existingViewIdBuilder_;
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
* @return Whether the existingViewId field is set.
*/
@java.lang.Override
public boolean hasExistingViewId() {
return targetCase_ == 3;
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
* @return The existingViewId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getExistingViewId() {
if (existingViewIdBuilder_ == null) {
if (targetCase_ == 3) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
} else {
if (targetCase_ == 3) {
return existingViewIdBuilder_.getMessage();
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
public Builder setExistingViewId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (existingViewIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
target_ = value;
onChanged();
} else {
existingViewIdBuilder_.setMessage(value);
}
targetCase_ = 3;
return this;
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
public Builder setExistingViewId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (existingViewIdBuilder_ == null) {
target_ = builderForValue.build();
onChanged();
} else {
existingViewIdBuilder_.setMessage(builderForValue.build());
}
targetCase_ = 3;
return this;
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
public Builder mergeExistingViewId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (existingViewIdBuilder_ == null) {
if (targetCase_ == 3 &&
target_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
target_ = io.deephaven.proto.backplane.grpc.Ticket.newBuilder((io.deephaven.proto.backplane.grpc.Ticket) target_)
.mergeFrom(value).buildPartial();
} else {
target_ = value;
}
onChanged();
} else {
if (targetCase_ == 3) {
existingViewIdBuilder_.mergeFrom(value);
} else {
existingViewIdBuilder_.setMessage(value);
}
}
targetCase_ = 3;
return this;
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
public Builder clearExistingViewId() {
if (existingViewIdBuilder_ == null) {
if (targetCase_ == 3) {
targetCase_ = 0;
target_ = null;
onChanged();
}
} else {
if (targetCase_ == 3) {
targetCase_ = 0;
target_ = null;
}
existingViewIdBuilder_.clear();
}
return this;
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getExistingViewIdBuilder() {
return getExistingViewIdFieldBuilder().getBuilder();
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getExistingViewIdOrBuilder() {
if ((targetCase_ == 3) && (existingViewIdBuilder_ != null)) {
return existingViewIdBuilder_.getMessageOrBuilder();
} else {
if (targetCase_ == 3) {
return (io.deephaven.proto.backplane.grpc.Ticket) target_;
}
return io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
}
/**
*
* Ticket for an existing HierarchicalTableView. The result view will inherit the HierarchicalTable from the
* existing view. The two views will share state used for caching snapshot data, but the server implementation may
* limit parallelism when performing snapshots for either view.
* Use this field when you intend to stop using the existing view and instead begin to use the result view.
*
*
* .io.deephaven.proto.backplane.grpc.Ticket existing_view_id = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>
getExistingViewIdFieldBuilder() {
if (existingViewIdBuilder_ == null) {
if (!(targetCase_ == 3)) {
target_ = io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance();
}
existingViewIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
(io.deephaven.proto.backplane.grpc.Ticket) target_,
getParentForChildren(),
isClean());
target_ = null;
}
targetCase_ = 3;
onChanged();
return existingViewIdBuilder_;
}
private io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor, io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.Builder, io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptorOrBuilder> expansionsBuilder_;
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
* @return Whether the expansions field is set.
*/
public boolean hasExpansions() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
* @return The expansions.
*/
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor getExpansions() {
if (expansionsBuilder_ == null) {
return expansions_ == null ? io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.getDefaultInstance() : expansions_;
} else {
return expansionsBuilder_.getMessage();
}
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
public Builder setExpansions(io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor value) {
if (expansionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expansions_ = value;
} else {
expansionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
public Builder setExpansions(
io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.Builder builderForValue) {
if (expansionsBuilder_ == null) {
expansions_ = builderForValue.build();
} else {
expansionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
public Builder mergeExpansions(io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor value) {
if (expansionsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
expansions_ != null &&
expansions_ != io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.getDefaultInstance()) {
getExpansionsBuilder().mergeFrom(value);
} else {
expansions_ = value;
}
} else {
expansionsBuilder_.mergeFrom(value);
}
if (expansions_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
public Builder clearExpansions() {
bitField0_ = (bitField0_ & ~0x00000008);
expansions_ = null;
if (expansionsBuilder_ != null) {
expansionsBuilder_.dispose();
expansionsBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.Builder getExpansionsBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getExpansionsFieldBuilder().getBuilder();
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
public io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptorOrBuilder getExpansionsOrBuilder() {
if (expansionsBuilder_ != null) {
return expansionsBuilder_.getMessageOrBuilder();
} else {
return expansions_ == null ?
io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.getDefaultInstance() : expansions_;
}
}
/**
*
* Description for the expansions that define this view of the HierarchicalTable. If not present, the result will
* have default expansions, For RollupTables this will be the root (single row, top-level aggregation) and the next
* level if one exists (that is, if there are one or more group-by columns, or constituents are included). For
* TreeTables, this will be the root (one row for each child of the "null" parent identifier).
*
*
* .io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor expansions = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor, io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.Builder, io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptorOrBuilder>
getExpansionsFieldBuilder() {
if (expansionsBuilder_ == null) {
expansionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor, io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptor.Builder, io.deephaven.proto.backplane.grpc.HierarchicalTableViewKeyTableDescriptorOrBuilder>(
getExpansions(),
getParentForChildren(),
isClean());
expansions_ = null;
}
return expansionsBuilder_;
}
@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.HierarchicalTableViewRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest)
private static final io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest();
}
public static io.deephaven.proto.backplane.grpc.HierarchicalTableViewRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HierarchicalTableViewRequest 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.HierarchicalTableViewRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}