java.io.deephaven.proto.backplane.grpc.RollupRequest 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.RollupRequest}
*/
public final class RollupRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.RollupRequest)
RollupRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RollupRequest.newBuilder() to construct.
private RollupRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RollupRequest() {
aggregations_ = java.util.Collections.emptyList();
groupByColumns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RollupRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_RollupRequest_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_RollupRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.RollupRequest.class, io.deephaven.proto.backplane.grpc.RollupRequest.Builder.class);
}
private int bitField0_;
public static final int RESULT_ROLLUP_TABLE_ID_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Ticket resultRollupTableId_;
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
* @return Whether the resultRollupTableId field is set.
*/
@java.lang.Override
public boolean hasResultRollupTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
* @return The resultRollupTableId.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Ticket getResultRollupTableId() {
return resultRollupTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultRollupTableId_;
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultRollupTableIdOrBuilder() {
return resultRollupTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultRollupTableId_;
}
public static final int SOURCE_TABLE_ID_FIELD_NUMBER = 2;
private io.deephaven.proto.backplane.grpc.Ticket sourceTableId_;
/**
*
* Ticket for the source Table to rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 AGGREGATIONS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List aggregations_;
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
@java.lang.Override
public java.util.List getAggregationsList() {
return aggregations_;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
@java.lang.Override
public java.util.List extends io.deephaven.proto.backplane.grpc.AggregationOrBuilder>
getAggregationsOrBuilderList() {
return aggregations_;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
@java.lang.Override
public int getAggregationsCount() {
return aggregations_.size();
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Aggregation getAggregations(int index) {
return aggregations_.get(index);
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.AggregationOrBuilder getAggregationsOrBuilder(
int index) {
return aggregations_.get(index);
}
public static final int INCLUDE_CONSTITUENTS_FIELD_NUMBER = 4;
private boolean includeConstituents_ = false;
/**
*
* Whether to include the leaf-level constituents in the result
*
*
* bool include_constituents = 4;
* @return The includeConstituents.
*/
@java.lang.Override
public boolean getIncludeConstituents() {
return includeConstituents_;
}
public static final int GROUP_BY_COLUMNS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList groupByColumns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @return A list containing the groupByColumns.
*/
public com.google.protobuf.ProtocolStringList
getGroupByColumnsList() {
return groupByColumns_;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @return The count of groupByColumns.
*/
public int getGroupByColumnsCount() {
return groupByColumns_.size();
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param index The index of the element to return.
* @return The groupByColumns at the given index.
*/
public java.lang.String getGroupByColumns(int index) {
return groupByColumns_.get(index);
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param index The index of the value to return.
* @return The bytes of the groupByColumns at the given index.
*/
public com.google.protobuf.ByteString
getGroupByColumnsBytes(int index) {
return groupByColumns_.getByteString(index);
}
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, getResultRollupTableId());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getSourceTableId());
}
for (int i = 0; i < aggregations_.size(); i++) {
output.writeMessage(3, aggregations_.get(i));
}
if (includeConstituents_ != false) {
output.writeBool(4, includeConstituents_);
}
for (int i = 0; i < groupByColumns_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, groupByColumns_.getRaw(i));
}
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, getResultRollupTableId());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSourceTableId());
}
for (int i = 0; i < aggregations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, aggregations_.get(i));
}
if (includeConstituents_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, includeConstituents_);
}
{
int dataSize = 0;
for (int i = 0; i < groupByColumns_.size(); i++) {
dataSize += computeStringSizeNoTag(groupByColumns_.getRaw(i));
}
size += dataSize;
size += 1 * getGroupByColumnsList().size();
}
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.RollupRequest)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.RollupRequest other = (io.deephaven.proto.backplane.grpc.RollupRequest) obj;
if (hasResultRollupTableId() != other.hasResultRollupTableId()) return false;
if (hasResultRollupTableId()) {
if (!getResultRollupTableId()
.equals(other.getResultRollupTableId())) return false;
}
if (hasSourceTableId() != other.hasSourceTableId()) return false;
if (hasSourceTableId()) {
if (!getSourceTableId()
.equals(other.getSourceTableId())) return false;
}
if (!getAggregationsList()
.equals(other.getAggregationsList())) return false;
if (getIncludeConstituents()
!= other.getIncludeConstituents()) return false;
if (!getGroupByColumnsList()
.equals(other.getGroupByColumnsList())) 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 (hasResultRollupTableId()) {
hash = (37 * hash) + RESULT_ROLLUP_TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getResultRollupTableId().hashCode();
}
if (hasSourceTableId()) {
hash = (37 * hash) + SOURCE_TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSourceTableId().hashCode();
}
if (getAggregationsCount() > 0) {
hash = (37 * hash) + AGGREGATIONS_FIELD_NUMBER;
hash = (53 * hash) + getAggregationsList().hashCode();
}
hash = (37 * hash) + INCLUDE_CONSTITUENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIncludeConstituents());
if (getGroupByColumnsCount() > 0) {
hash = (37 * hash) + GROUP_BY_COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getGroupByColumnsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.RollupRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.RollupRequest 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.RollupRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.RollupRequest 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.RollupRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.RollupRequest 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.RollupRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.RollupRequest 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.RollupRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.RollupRequest 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.RollupRequest 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.RollupRequest 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.RollupRequest 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.RollupRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.RollupRequest)
io.deephaven.proto.backplane.grpc.RollupRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Hierarchicaltable.internal_static_io_deephaven_proto_backplane_grpc_RollupRequest_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_RollupRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.RollupRequest.class, io.deephaven.proto.backplane.grpc.RollupRequest.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.RollupRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultRollupTableIdFieldBuilder();
getSourceTableIdFieldBuilder();
getAggregationsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resultRollupTableId_ = null;
if (resultRollupTableIdBuilder_ != null) {
resultRollupTableIdBuilder_.dispose();
resultRollupTableIdBuilder_ = null;
}
sourceTableId_ = null;
if (sourceTableIdBuilder_ != null) {
sourceTableIdBuilder_.dispose();
sourceTableIdBuilder_ = null;
}
if (aggregationsBuilder_ == null) {
aggregations_ = java.util.Collections.emptyList();
} else {
aggregations_ = null;
aggregationsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
includeConstituents_ = false;
groupByColumns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
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_RollupRequest_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.RollupRequest getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.RollupRequest.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.RollupRequest build() {
io.deephaven.proto.backplane.grpc.RollupRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.RollupRequest buildPartial() {
io.deephaven.proto.backplane.grpc.RollupRequest result = new io.deephaven.proto.backplane.grpc.RollupRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.RollupRequest result) {
if (aggregationsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.aggregations_ = aggregations_;
} else {
result.aggregations_ = aggregationsBuilder_.build();
}
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.RollupRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resultRollupTableId_ = resultRollupTableIdBuilder_ == null
? resultRollupTableId_
: resultRollupTableIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.sourceTableId_ = sourceTableIdBuilder_ == null
? sourceTableId_
: sourceTableIdBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.includeConstituents_ = includeConstituents_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
groupByColumns_.makeImmutable();
result.groupByColumns_ = groupByColumns_;
}
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.RollupRequest) {
return mergeFrom((io.deephaven.proto.backplane.grpc.RollupRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.RollupRequest other) {
if (other == io.deephaven.proto.backplane.grpc.RollupRequest.getDefaultInstance()) return this;
if (other.hasResultRollupTableId()) {
mergeResultRollupTableId(other.getResultRollupTableId());
}
if (other.hasSourceTableId()) {
mergeSourceTableId(other.getSourceTableId());
}
if (aggregationsBuilder_ == null) {
if (!other.aggregations_.isEmpty()) {
if (aggregations_.isEmpty()) {
aggregations_ = other.aggregations_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureAggregationsIsMutable();
aggregations_.addAll(other.aggregations_);
}
onChanged();
}
} else {
if (!other.aggregations_.isEmpty()) {
if (aggregationsBuilder_.isEmpty()) {
aggregationsBuilder_.dispose();
aggregationsBuilder_ = null;
aggregations_ = other.aggregations_;
bitField0_ = (bitField0_ & ~0x00000004);
aggregationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAggregationsFieldBuilder() : null;
} else {
aggregationsBuilder_.addAllMessages(other.aggregations_);
}
}
}
if (other.getIncludeConstituents() != false) {
setIncludeConstituents(other.getIncludeConstituents());
}
if (!other.groupByColumns_.isEmpty()) {
if (groupByColumns_.isEmpty()) {
groupByColumns_ = other.groupByColumns_;
bitField0_ |= 0x00000010;
} else {
ensureGroupByColumnsIsMutable();
groupByColumns_.addAll(other.groupByColumns_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getResultRollupTableIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getSourceTableIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
io.deephaven.proto.backplane.grpc.Aggregation m =
input.readMessage(
io.deephaven.proto.backplane.grpc.Aggregation.parser(),
extensionRegistry);
if (aggregationsBuilder_ == null) {
ensureAggregationsIsMutable();
aggregations_.add(m);
} else {
aggregationsBuilder_.addMessage(m);
}
break;
} // case 26
case 32: {
includeConstituents_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
java.lang.String s = input.readStringRequireUtf8();
ensureGroupByColumnsIsMutable();
groupByColumns_.add(s);
break;
} // case 42
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 resultRollupTableId_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> resultRollupTableIdBuilder_;
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
* @return Whether the resultRollupTableId field is set.
*/
public boolean hasResultRollupTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
* @return The resultRollupTableId.
*/
public io.deephaven.proto.backplane.grpc.Ticket getResultRollupTableId() {
if (resultRollupTableIdBuilder_ == null) {
return resultRollupTableId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultRollupTableId_;
} else {
return resultRollupTableIdBuilder_.getMessage();
}
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
public Builder setResultRollupTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultRollupTableIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
resultRollupTableId_ = value;
} else {
resultRollupTableIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
public Builder setResultRollupTableId(
io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) {
if (resultRollupTableIdBuilder_ == null) {
resultRollupTableId_ = builderForValue.build();
} else {
resultRollupTableIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
public Builder mergeResultRollupTableId(io.deephaven.proto.backplane.grpc.Ticket value) {
if (resultRollupTableIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
resultRollupTableId_ != null &&
resultRollupTableId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) {
getResultRollupTableIdBuilder().mergeFrom(value);
} else {
resultRollupTableId_ = value;
}
} else {
resultRollupTableIdBuilder_.mergeFrom(value);
}
if (resultRollupTableId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
public Builder clearResultRollupTableId() {
bitField0_ = (bitField0_ & ~0x00000001);
resultRollupTableId_ = null;
if (resultRollupTableIdBuilder_ != null) {
resultRollupTableIdBuilder_.dispose();
resultRollupTableIdBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultRollupTableIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getResultRollupTableIdFieldBuilder().getBuilder();
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_table_id = 1;
*/
public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultRollupTableIdOrBuilder() {
if (resultRollupTableIdBuilder_ != null) {
return resultRollupTableIdBuilder_.getMessageOrBuilder();
} else {
return resultRollupTableId_ == null ?
io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultRollupTableId_;
}
}
/**
*
* Ticket to use to hold the result RollupTable from the rollup operation
*
*
* .io.deephaven.proto.backplane.grpc.Ticket result_rollup_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>
getResultRollupTableIdFieldBuilder() {
if (resultRollupTableIdBuilder_ == null) {
resultRollupTableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>(
getResultRollupTableId(),
getParentForChildren(),
isClean());
resultRollupTableId_ = null;
}
return resultRollupTableIdBuilder_;
}
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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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 rollup
*
*
* .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.util.List aggregations_ =
java.util.Collections.emptyList();
private void ensureAggregationsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
aggregations_ = new java.util.ArrayList(aggregations_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Aggregation, io.deephaven.proto.backplane.grpc.Aggregation.Builder, io.deephaven.proto.backplane.grpc.AggregationOrBuilder> aggregationsBuilder_;
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public java.util.List getAggregationsList() {
if (aggregationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(aggregations_);
} else {
return aggregationsBuilder_.getMessageList();
}
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public int getAggregationsCount() {
if (aggregationsBuilder_ == null) {
return aggregations_.size();
} else {
return aggregationsBuilder_.getCount();
}
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public io.deephaven.proto.backplane.grpc.Aggregation getAggregations(int index) {
if (aggregationsBuilder_ == null) {
return aggregations_.get(index);
} else {
return aggregationsBuilder_.getMessage(index);
}
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder setAggregations(
int index, io.deephaven.proto.backplane.grpc.Aggregation value) {
if (aggregationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggregationsIsMutable();
aggregations_.set(index, value);
onChanged();
} else {
aggregationsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder setAggregations(
int index, io.deephaven.proto.backplane.grpc.Aggregation.Builder builderForValue) {
if (aggregationsBuilder_ == null) {
ensureAggregationsIsMutable();
aggregations_.set(index, builderForValue.build());
onChanged();
} else {
aggregationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder addAggregations(io.deephaven.proto.backplane.grpc.Aggregation value) {
if (aggregationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggregationsIsMutable();
aggregations_.add(value);
onChanged();
} else {
aggregationsBuilder_.addMessage(value);
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder addAggregations(
int index, io.deephaven.proto.backplane.grpc.Aggregation value) {
if (aggregationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggregationsIsMutable();
aggregations_.add(index, value);
onChanged();
} else {
aggregationsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder addAggregations(
io.deephaven.proto.backplane.grpc.Aggregation.Builder builderForValue) {
if (aggregationsBuilder_ == null) {
ensureAggregationsIsMutable();
aggregations_.add(builderForValue.build());
onChanged();
} else {
aggregationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder addAggregations(
int index, io.deephaven.proto.backplane.grpc.Aggregation.Builder builderForValue) {
if (aggregationsBuilder_ == null) {
ensureAggregationsIsMutable();
aggregations_.add(index, builderForValue.build());
onChanged();
} else {
aggregationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder addAllAggregations(
java.lang.Iterable extends io.deephaven.proto.backplane.grpc.Aggregation> values) {
if (aggregationsBuilder_ == null) {
ensureAggregationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, aggregations_);
onChanged();
} else {
aggregationsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder clearAggregations() {
if (aggregationsBuilder_ == null) {
aggregations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
aggregationsBuilder_.clear();
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public Builder removeAggregations(int index) {
if (aggregationsBuilder_ == null) {
ensureAggregationsIsMutable();
aggregations_.remove(index);
onChanged();
} else {
aggregationsBuilder_.remove(index);
}
return this;
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public io.deephaven.proto.backplane.grpc.Aggregation.Builder getAggregationsBuilder(
int index) {
return getAggregationsFieldBuilder().getBuilder(index);
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public io.deephaven.proto.backplane.grpc.AggregationOrBuilder getAggregationsOrBuilder(
int index) {
if (aggregationsBuilder_ == null) {
return aggregations_.get(index); } else {
return aggregationsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public java.util.List extends io.deephaven.proto.backplane.grpc.AggregationOrBuilder>
getAggregationsOrBuilderList() {
if (aggregationsBuilder_ != null) {
return aggregationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(aggregations_);
}
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public io.deephaven.proto.backplane.grpc.Aggregation.Builder addAggregationsBuilder() {
return getAggregationsFieldBuilder().addBuilder(
io.deephaven.proto.backplane.grpc.Aggregation.getDefaultInstance());
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public io.deephaven.proto.backplane.grpc.Aggregation.Builder addAggregationsBuilder(
int index) {
return getAggregationsFieldBuilder().addBuilder(
index, io.deephaven.proto.backplane.grpc.Aggregation.getDefaultInstance());
}
/**
*
* The aggregations that should be applied at each level of the rollup
*
*
* repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 3;
*/
public java.util.List
getAggregationsBuilderList() {
return getAggregationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Aggregation, io.deephaven.proto.backplane.grpc.Aggregation.Builder, io.deephaven.proto.backplane.grpc.AggregationOrBuilder>
getAggregationsFieldBuilder() {
if (aggregationsBuilder_ == null) {
aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Aggregation, io.deephaven.proto.backplane.grpc.Aggregation.Builder, io.deephaven.proto.backplane.grpc.AggregationOrBuilder>(
aggregations_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
aggregations_ = null;
}
return aggregationsBuilder_;
}
private boolean includeConstituents_ ;
/**
*
* Whether to include the leaf-level constituents in the result
*
*
* bool include_constituents = 4;
* @return The includeConstituents.
*/
@java.lang.Override
public boolean getIncludeConstituents() {
return includeConstituents_;
}
/**
*
* Whether to include the leaf-level constituents in the result
*
*
* bool include_constituents = 4;
* @param value The includeConstituents to set.
* @return This builder for chaining.
*/
public Builder setIncludeConstituents(boolean value) {
includeConstituents_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Whether to include the leaf-level constituents in the result
*
*
* bool include_constituents = 4;
* @return This builder for chaining.
*/
public Builder clearIncludeConstituents() {
bitField0_ = (bitField0_ & ~0x00000008);
includeConstituents_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList groupByColumns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureGroupByColumnsIsMutable() {
if (!groupByColumns_.isModifiable()) {
groupByColumns_ = new com.google.protobuf.LazyStringArrayList(groupByColumns_);
}
bitField0_ |= 0x00000010;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @return A list containing the groupByColumns.
*/
public com.google.protobuf.ProtocolStringList
getGroupByColumnsList() {
groupByColumns_.makeImmutable();
return groupByColumns_;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @return The count of groupByColumns.
*/
public int getGroupByColumnsCount() {
return groupByColumns_.size();
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param index The index of the element to return.
* @return The groupByColumns at the given index.
*/
public java.lang.String getGroupByColumns(int index) {
return groupByColumns_.get(index);
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param index The index of the value to return.
* @return The bytes of the groupByColumns at the given index.
*/
public com.google.protobuf.ByteString
getGroupByColumnsBytes(int index) {
return groupByColumns_.getByteString(index);
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param index The index to set the value at.
* @param value The groupByColumns to set.
* @return This builder for chaining.
*/
public Builder setGroupByColumns(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureGroupByColumnsIsMutable();
groupByColumns_.set(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param value The groupByColumns to add.
* @return This builder for chaining.
*/
public Builder addGroupByColumns(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureGroupByColumnsIsMutable();
groupByColumns_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param values The groupByColumns to add.
* @return This builder for chaining.
*/
public Builder addAllGroupByColumns(
java.lang.Iterable values) {
ensureGroupByColumnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupByColumns_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @return This builder for chaining.
*/
public Builder clearGroupByColumns() {
groupByColumns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);;
onChanged();
return this;
}
/**
*
* The names of the columns to rollup by
*
*
* repeated string group_by_columns = 5;
* @param value The bytes of the groupByColumns to add.
* @return This builder for chaining.
*/
public Builder addGroupByColumnsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureGroupByColumnsIsMutable();
groupByColumns_.add(value);
bitField0_ |= 0x00000010;
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.RollupRequest)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.RollupRequest)
private static final io.deephaven.proto.backplane.grpc.RollupRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.RollupRequest();
}
public static io.deephaven.proto.backplane.grpc.RollupRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RollupRequest 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.RollupRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}