cz.proto.TableScan Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: operator.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.TableScan}
*/
public final class TableScan extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.TableScan)
TableScanOrBuilder {
private static final long serialVersionUID = 0L;
// Use TableScan.newBuilder() to construct.
private TableScan(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TableScan() {
cols_ = emptyLongList();
orders_ = java.util.Collections.emptyList();
rangeKeys_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TableScan();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TableScan(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cz.proto.Table.Builder subBuilder = null;
if (table_ != null) {
subBuilder = table_.toBuilder();
}
table_ = input.readMessage(cz.proto.Table.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(table_);
table_ = subBuilder.buildPartial();
}
break;
}
case 16: {
dataSourceInfoId_ = input.readInt32();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
cols_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
cols_.addLong(input.readUInt64());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
cols_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
cols_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
}
case 34: {
cz.proto.Expression.ScalarExpression.Builder subBuilder = null;
if (filter_ != null) {
subBuilder = filter_.toBuilder();
}
filter_ = input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(filter_);
filter_ = subBuilder.buildPartial();
}
break;
}
case 42: {
cz.proto.Expression.ScalarExpression.Builder subBuilder = null;
if (ensuredFilter_ != null) {
subBuilder = ensuredFilter_.toBuilder();
}
ensuredFilter_ = input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ensuredFilter_);
ensuredFilter_ = subBuilder.buildPartial();
}
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
props_ = com.google.protobuf.MapField.newMapField(
PropsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry
props__ = input.readMessage(
PropsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
props_.getMutableMap().put(
props__.getKey(), props__.getValue());
break;
}
case 56: {
align_ = input.readBool();
break;
}
case 64: {
alignDop_ = input.readUInt64();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
orders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
orders_.add(
input.readMessage(cz.proto.SortKeyDesc.parser(), extensionRegistry));
break;
}
case 80: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
rangeKeys_ = newIntList();
mutable_bitField0_ |= 0x00000008;
}
rangeKeys_.addInt(input.readUInt32());
break;
}
case 82: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) {
rangeKeys_ = newIntList();
mutable_bitField0_ |= 0x00000008;
}
while (input.getBytesUntilLimit() > 0) {
rangeKeys_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 88: {
rangeDistributionId_ = input.readUInt32();
break;
}
case 98: {
cz.proto.IncrementalTableProperty.Builder subBuilder = null;
if (incrementalTableProperty_ != null) {
subBuilder = incrementalTableProperty_.toBuilder();
}
incrementalTableProperty_ = input.readMessage(cz.proto.IncrementalTableProperty.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(incrementalTableProperty_);
incrementalTableProperty_ = subBuilder.buildPartial();
}
break;
}
case 106: {
cz.proto.Expression.ScalarExpression.Builder subBuilder = null;
if (filter4Meta_ != null) {
subBuilder = filter4Meta_.toBuilder();
}
filter4Meta_ = input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(filter4Meta_);
filter4Meta_ = subBuilder.buildPartial();
}
break;
}
case 114: {
cz.proto.Expression.SubFieldsPruning.Builder subBuilder = null;
if (subfields_ != null) {
subBuilder = subfields_.toBuilder();
}
subfields_ = input.readMessage(cz.proto.Expression.SubFieldsPruning.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(subfields_);
subfields_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
cols_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
orders_ = java.util.Collections.unmodifiableList(orders_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
rangeKeys_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScan_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetProps();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScan_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.TableScan.class, cz.proto.TableScan.Builder.class);
}
public static final int TABLE_FIELD_NUMBER = 1;
private cz.proto.Table table_;
/**
* .cz.proto.Table table = 1;
* @return Whether the table field is set.
*/
@java.lang.Override
public boolean hasTable() {
return table_ != null;
}
/**
* .cz.proto.Table table = 1;
* @return The table.
*/
@java.lang.Override
public cz.proto.Table getTable() {
return table_ == null ? cz.proto.Table.getDefaultInstance() : table_;
}
/**
* .cz.proto.Table table = 1;
*/
@java.lang.Override
public cz.proto.TableOrBuilder getTableOrBuilder() {
return getTable();
}
public static final int DATA_SOURCE_INFO_ID_FIELD_NUMBER = 2;
private int dataSourceInfoId_;
/**
* int32 data_source_info_id = 2;
* @return The dataSourceInfoId.
*/
@java.lang.Override
public int getDataSourceInfoId() {
return dataSourceInfoId_;
}
public static final int COLS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.LongList cols_;
/**
* repeated uint64 cols = 3;
* @return A list containing the cols.
*/
@java.lang.Override
public java.util.List
getColsList() {
return cols_;
}
/**
* repeated uint64 cols = 3;
* @return The count of cols.
*/
public int getColsCount() {
return cols_.size();
}
/**
* repeated uint64 cols = 3;
* @param index The index of the element to return.
* @return The cols at the given index.
*/
public long getCols(int index) {
return cols_.getLong(index);
}
private int colsMemoizedSerializedSize = -1;
public static final int FILTER_FIELD_NUMBER = 4;
private cz.proto.Expression.ScalarExpression filter_;
/**
* .cz.proto.ScalarExpression filter = 4;
* @return Whether the filter field is set.
*/
@java.lang.Override
public boolean hasFilter() {
return filter_ != null;
}
/**
* .cz.proto.ScalarExpression filter = 4;
* @return The filter.
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpression getFilter() {
return filter_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : filter_;
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpressionOrBuilder getFilterOrBuilder() {
return getFilter();
}
public static final int ENSUREDFILTER_FIELD_NUMBER = 5;
private cz.proto.Expression.ScalarExpression ensuredFilter_;
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
* @return Whether the ensuredFilter field is set.
*/
@java.lang.Override
public boolean hasEnsuredFilter() {
return ensuredFilter_ != null;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
* @return The ensuredFilter.
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpression getEnsuredFilter() {
return ensuredFilter_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : ensuredFilter_;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpressionOrBuilder getEnsuredFilterOrBuilder() {
return getEnsuredFilter();
}
public static final int PROPS_FIELD_NUMBER = 6;
private static final class PropsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
cz.proto.OperatorProto.internal_static_cz_proto_TableScan_PropsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> props_;
private com.google.protobuf.MapField
internalGetProps() {
if (props_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PropsDefaultEntryHolder.defaultEntry);
}
return props_;
}
public int getPropsCount() {
return internalGetProps().getMap().size();
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public boolean containsProps(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetProps().getMap().containsKey(key);
}
/**
* Use {@link #getPropsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getProps() {
return getPropsMap();
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public java.util.Map getPropsMap() {
return internalGetProps().getMap();
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public java.lang.String getPropsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetProps().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public java.lang.String getPropsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetProps().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ALIGN_FIELD_NUMBER = 7;
private boolean align_;
/**
* bool align = 7;
* @return The align.
*/
@java.lang.Override
public boolean getAlign() {
return align_;
}
public static final int ALIGNDOP_FIELD_NUMBER = 8;
private long alignDop_;
/**
* uint64 alignDop = 8;
* @return The alignDop.
*/
@java.lang.Override
public long getAlignDop() {
return alignDop_;
}
public static final int ORDERS_FIELD_NUMBER = 9;
private java.util.List orders_;
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
@java.lang.Override
public java.util.List getOrdersList() {
return orders_;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
@java.lang.Override
public java.util.List extends cz.proto.SortKeyDescOrBuilder>
getOrdersOrBuilderList() {
return orders_;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
@java.lang.Override
public int getOrdersCount() {
return orders_.size();
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
@java.lang.Override
public cz.proto.SortKeyDesc getOrders(int index) {
return orders_.get(index);
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
@java.lang.Override
public cz.proto.SortKeyDescOrBuilder getOrdersOrBuilder(
int index) {
return orders_.get(index);
}
public static final int RANGE_KEYS_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList rangeKeys_;
/**
* repeated uint32 range_keys = 10;
* @return A list containing the rangeKeys.
*/
@java.lang.Override
public java.util.List
getRangeKeysList() {
return rangeKeys_;
}
/**
* repeated uint32 range_keys = 10;
* @return The count of rangeKeys.
*/
public int getRangeKeysCount() {
return rangeKeys_.size();
}
/**
* repeated uint32 range_keys = 10;
* @param index The index of the element to return.
* @return The rangeKeys at the given index.
*/
public int getRangeKeys(int index) {
return rangeKeys_.getInt(index);
}
private int rangeKeysMemoizedSerializedSize = -1;
public static final int RANGE_DISTRIBUTION_ID_FIELD_NUMBER = 11;
private int rangeDistributionId_;
/**
* uint32 range_distribution_id = 11;
* @return The rangeDistributionId.
*/
@java.lang.Override
public int getRangeDistributionId() {
return rangeDistributionId_;
}
public static final int INCREMENTAL_TABLE_PROPERTY_FIELD_NUMBER = 12;
private cz.proto.IncrementalTableProperty incrementalTableProperty_;
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
* @return Whether the incrementalTableProperty field is set.
*/
@java.lang.Override
public boolean hasIncrementalTableProperty() {
return incrementalTableProperty_ != null;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
* @return The incrementalTableProperty.
*/
@java.lang.Override
public cz.proto.IncrementalTableProperty getIncrementalTableProperty() {
return incrementalTableProperty_ == null ? cz.proto.IncrementalTableProperty.getDefaultInstance() : incrementalTableProperty_;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
@java.lang.Override
public cz.proto.IncrementalTablePropertyOrBuilder getIncrementalTablePropertyOrBuilder() {
return getIncrementalTableProperty();
}
public static final int FILTER4META_FIELD_NUMBER = 13;
private cz.proto.Expression.ScalarExpression filter4Meta_;
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
* @return Whether the filter4Meta field is set.
*/
@java.lang.Override
public boolean hasFilter4Meta() {
return filter4Meta_ != null;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
* @return The filter4Meta.
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpression getFilter4Meta() {
return filter4Meta_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : filter4Meta_;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpressionOrBuilder getFilter4MetaOrBuilder() {
return getFilter4Meta();
}
public static final int SUBFIELDS_FIELD_NUMBER = 14;
private cz.proto.Expression.SubFieldsPruning subfields_;
/**
* .cz.proto.SubFieldsPruning subfields = 14;
* @return Whether the subfields field is set.
*/
@java.lang.Override
public boolean hasSubfields() {
return subfields_ != null;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
* @return The subfields.
*/
@java.lang.Override
public cz.proto.Expression.SubFieldsPruning getSubfields() {
return subfields_ == null ? cz.proto.Expression.SubFieldsPruning.getDefaultInstance() : subfields_;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
@java.lang.Override
public cz.proto.Expression.SubFieldsPruningOrBuilder getSubfieldsOrBuilder() {
return getSubfields();
}
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 {
getSerializedSize();
if (table_ != null) {
output.writeMessage(1, getTable());
}
if (dataSourceInfoId_ != 0) {
output.writeInt32(2, dataSourceInfoId_);
}
if (getColsList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(colsMemoizedSerializedSize);
}
for (int i = 0; i < cols_.size(); i++) {
output.writeUInt64NoTag(cols_.getLong(i));
}
if (filter_ != null) {
output.writeMessage(4, getFilter());
}
if (ensuredFilter_ != null) {
output.writeMessage(5, getEnsuredFilter());
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetProps(),
PropsDefaultEntryHolder.defaultEntry,
6);
if (align_ != false) {
output.writeBool(7, align_);
}
if (alignDop_ != 0L) {
output.writeUInt64(8, alignDop_);
}
for (int i = 0; i < orders_.size(); i++) {
output.writeMessage(9, orders_.get(i));
}
if (getRangeKeysList().size() > 0) {
output.writeUInt32NoTag(82);
output.writeUInt32NoTag(rangeKeysMemoizedSerializedSize);
}
for (int i = 0; i < rangeKeys_.size(); i++) {
output.writeUInt32NoTag(rangeKeys_.getInt(i));
}
if (rangeDistributionId_ != 0) {
output.writeUInt32(11, rangeDistributionId_);
}
if (incrementalTableProperty_ != null) {
output.writeMessage(12, getIncrementalTableProperty());
}
if (filter4Meta_ != null) {
output.writeMessage(13, getFilter4Meta());
}
if (subfields_ != null) {
output.writeMessage(14, getSubfields());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (table_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTable());
}
if (dataSourceInfoId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, dataSourceInfoId_);
}
{
int dataSize = 0;
for (int i = 0; i < cols_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(cols_.getLong(i));
}
size += dataSize;
if (!getColsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
colsMemoizedSerializedSize = dataSize;
}
if (filter_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getFilter());
}
if (ensuredFilter_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getEnsuredFilter());
}
for (java.util.Map.Entry entry
: internalGetProps().getMap().entrySet()) {
com.google.protobuf.MapEntry
props__ = PropsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, props__);
}
if (align_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, align_);
}
if (alignDop_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, alignDop_);
}
for (int i = 0; i < orders_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, orders_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < rangeKeys_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(rangeKeys_.getInt(i));
}
size += dataSize;
if (!getRangeKeysList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
rangeKeysMemoizedSerializedSize = dataSize;
}
if (rangeDistributionId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, rangeDistributionId_);
}
if (incrementalTableProperty_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getIncrementalTableProperty());
}
if (filter4Meta_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getFilter4Meta());
}
if (subfields_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getSubfields());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.TableScan)) {
return super.equals(obj);
}
cz.proto.TableScan other = (cz.proto.TableScan) obj;
if (hasTable() != other.hasTable()) return false;
if (hasTable()) {
if (!getTable()
.equals(other.getTable())) return false;
}
if (getDataSourceInfoId()
!= other.getDataSourceInfoId()) return false;
if (!getColsList()
.equals(other.getColsList())) return false;
if (hasFilter() != other.hasFilter()) return false;
if (hasFilter()) {
if (!getFilter()
.equals(other.getFilter())) return false;
}
if (hasEnsuredFilter() != other.hasEnsuredFilter()) return false;
if (hasEnsuredFilter()) {
if (!getEnsuredFilter()
.equals(other.getEnsuredFilter())) return false;
}
if (!internalGetProps().equals(
other.internalGetProps())) return false;
if (getAlign()
!= other.getAlign()) return false;
if (getAlignDop()
!= other.getAlignDop()) return false;
if (!getOrdersList()
.equals(other.getOrdersList())) return false;
if (!getRangeKeysList()
.equals(other.getRangeKeysList())) return false;
if (getRangeDistributionId()
!= other.getRangeDistributionId()) return false;
if (hasIncrementalTableProperty() != other.hasIncrementalTableProperty()) return false;
if (hasIncrementalTableProperty()) {
if (!getIncrementalTableProperty()
.equals(other.getIncrementalTableProperty())) return false;
}
if (hasFilter4Meta() != other.hasFilter4Meta()) return false;
if (hasFilter4Meta()) {
if (!getFilter4Meta()
.equals(other.getFilter4Meta())) return false;
}
if (hasSubfields() != other.hasSubfields()) return false;
if (hasSubfields()) {
if (!getSubfields()
.equals(other.getSubfields())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTable()) {
hash = (37 * hash) + TABLE_FIELD_NUMBER;
hash = (53 * hash) + getTable().hashCode();
}
hash = (37 * hash) + DATA_SOURCE_INFO_ID_FIELD_NUMBER;
hash = (53 * hash) + getDataSourceInfoId();
if (getColsCount() > 0) {
hash = (37 * hash) + COLS_FIELD_NUMBER;
hash = (53 * hash) + getColsList().hashCode();
}
if (hasFilter()) {
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode();
}
if (hasEnsuredFilter()) {
hash = (37 * hash) + ENSUREDFILTER_FIELD_NUMBER;
hash = (53 * hash) + getEnsuredFilter().hashCode();
}
if (!internalGetProps().getMap().isEmpty()) {
hash = (37 * hash) + PROPS_FIELD_NUMBER;
hash = (53 * hash) + internalGetProps().hashCode();
}
hash = (37 * hash) + ALIGN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAlign());
hash = (37 * hash) + ALIGNDOP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAlignDop());
if (getOrdersCount() > 0) {
hash = (37 * hash) + ORDERS_FIELD_NUMBER;
hash = (53 * hash) + getOrdersList().hashCode();
}
if (getRangeKeysCount() > 0) {
hash = (37 * hash) + RANGE_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getRangeKeysList().hashCode();
}
hash = (37 * hash) + RANGE_DISTRIBUTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getRangeDistributionId();
if (hasIncrementalTableProperty()) {
hash = (37 * hash) + INCREMENTAL_TABLE_PROPERTY_FIELD_NUMBER;
hash = (53 * hash) + getIncrementalTableProperty().hashCode();
}
if (hasFilter4Meta()) {
hash = (37 * hash) + FILTER4META_FIELD_NUMBER;
hash = (53 * hash) + getFilter4Meta().hashCode();
}
if (hasSubfields()) {
hash = (37 * hash) + SUBFIELDS_FIELD_NUMBER;
hash = (53 * hash) + getSubfields().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.TableScan parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.TableScan parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.TableScan parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.TableScan parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.TableScan parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.TableScan parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.TableScan parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.TableScan 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 cz.proto.TableScan parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.TableScan 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 cz.proto.TableScan parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.TableScan 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(cz.proto.TableScan 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 cz.proto.TableScan}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.TableScan)
cz.proto.TableScanOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScan_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetProps();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 6:
return internalGetMutableProps();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScan_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.TableScan.class, cz.proto.TableScan.Builder.class);
}
// Construct using cz.proto.TableScan.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOrdersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (tableBuilder_ == null) {
table_ = null;
} else {
table_ = null;
tableBuilder_ = null;
}
dataSourceInfoId_ = 0;
cols_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
if (filterBuilder_ == null) {
filter_ = null;
} else {
filter_ = null;
filterBuilder_ = null;
}
if (ensuredFilterBuilder_ == null) {
ensuredFilter_ = null;
} else {
ensuredFilter_ = null;
ensuredFilterBuilder_ = null;
}
internalGetMutableProps().clear();
align_ = false;
alignDop_ = 0L;
if (ordersBuilder_ == null) {
orders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ordersBuilder_.clear();
}
rangeKeys_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000008);
rangeDistributionId_ = 0;
if (incrementalTablePropertyBuilder_ == null) {
incrementalTableProperty_ = null;
} else {
incrementalTableProperty_ = null;
incrementalTablePropertyBuilder_ = null;
}
if (filter4MetaBuilder_ == null) {
filter4Meta_ = null;
} else {
filter4Meta_ = null;
filter4MetaBuilder_ = null;
}
if (subfieldsBuilder_ == null) {
subfields_ = null;
} else {
subfields_ = null;
subfieldsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScan_descriptor;
}
@java.lang.Override
public cz.proto.TableScan getDefaultInstanceForType() {
return cz.proto.TableScan.getDefaultInstance();
}
@java.lang.Override
public cz.proto.TableScan build() {
cz.proto.TableScan result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.TableScan buildPartial() {
cz.proto.TableScan result = new cz.proto.TableScan(this);
int from_bitField0_ = bitField0_;
if (tableBuilder_ == null) {
result.table_ = table_;
} else {
result.table_ = tableBuilder_.build();
}
result.dataSourceInfoId_ = dataSourceInfoId_;
if (((bitField0_ & 0x00000001) != 0)) {
cols_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.cols_ = cols_;
if (filterBuilder_ == null) {
result.filter_ = filter_;
} else {
result.filter_ = filterBuilder_.build();
}
if (ensuredFilterBuilder_ == null) {
result.ensuredFilter_ = ensuredFilter_;
} else {
result.ensuredFilter_ = ensuredFilterBuilder_.build();
}
result.props_ = internalGetProps();
result.props_.makeImmutable();
result.align_ = align_;
result.alignDop_ = alignDop_;
if (ordersBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
orders_ = java.util.Collections.unmodifiableList(orders_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.orders_ = orders_;
} else {
result.orders_ = ordersBuilder_.build();
}
if (((bitField0_ & 0x00000008) != 0)) {
rangeKeys_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.rangeKeys_ = rangeKeys_;
result.rangeDistributionId_ = rangeDistributionId_;
if (incrementalTablePropertyBuilder_ == null) {
result.incrementalTableProperty_ = incrementalTableProperty_;
} else {
result.incrementalTableProperty_ = incrementalTablePropertyBuilder_.build();
}
if (filter4MetaBuilder_ == null) {
result.filter4Meta_ = filter4Meta_;
} else {
result.filter4Meta_ = filter4MetaBuilder_.build();
}
if (subfieldsBuilder_ == null) {
result.subfields_ = subfields_;
} else {
result.subfields_ = subfieldsBuilder_.build();
}
onBuilt();
return result;
}
@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 cz.proto.TableScan) {
return mergeFrom((cz.proto.TableScan)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.TableScan other) {
if (other == cz.proto.TableScan.getDefaultInstance()) return this;
if (other.hasTable()) {
mergeTable(other.getTable());
}
if (other.getDataSourceInfoId() != 0) {
setDataSourceInfoId(other.getDataSourceInfoId());
}
if (!other.cols_.isEmpty()) {
if (cols_.isEmpty()) {
cols_ = other.cols_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureColsIsMutable();
cols_.addAll(other.cols_);
}
onChanged();
}
if (other.hasFilter()) {
mergeFilter(other.getFilter());
}
if (other.hasEnsuredFilter()) {
mergeEnsuredFilter(other.getEnsuredFilter());
}
internalGetMutableProps().mergeFrom(
other.internalGetProps());
if (other.getAlign() != false) {
setAlign(other.getAlign());
}
if (other.getAlignDop() != 0L) {
setAlignDop(other.getAlignDop());
}
if (ordersBuilder_ == null) {
if (!other.orders_.isEmpty()) {
if (orders_.isEmpty()) {
orders_ = other.orders_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOrdersIsMutable();
orders_.addAll(other.orders_);
}
onChanged();
}
} else {
if (!other.orders_.isEmpty()) {
if (ordersBuilder_.isEmpty()) {
ordersBuilder_.dispose();
ordersBuilder_ = null;
orders_ = other.orders_;
bitField0_ = (bitField0_ & ~0x00000004);
ordersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOrdersFieldBuilder() : null;
} else {
ordersBuilder_.addAllMessages(other.orders_);
}
}
}
if (!other.rangeKeys_.isEmpty()) {
if (rangeKeys_.isEmpty()) {
rangeKeys_ = other.rangeKeys_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureRangeKeysIsMutable();
rangeKeys_.addAll(other.rangeKeys_);
}
onChanged();
}
if (other.getRangeDistributionId() != 0) {
setRangeDistributionId(other.getRangeDistributionId());
}
if (other.hasIncrementalTableProperty()) {
mergeIncrementalTableProperty(other.getIncrementalTableProperty());
}
if (other.hasFilter4Meta()) {
mergeFilter4Meta(other.getFilter4Meta());
}
if (other.hasSubfields()) {
mergeSubfields(other.getSubfields());
}
this.mergeUnknownFields(other.unknownFields);
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 {
cz.proto.TableScan parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.TableScan) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private cz.proto.Table table_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Table, cz.proto.Table.Builder, cz.proto.TableOrBuilder> tableBuilder_;
/**
* .cz.proto.Table table = 1;
* @return Whether the table field is set.
*/
public boolean hasTable() {
return tableBuilder_ != null || table_ != null;
}
/**
* .cz.proto.Table table = 1;
* @return The table.
*/
public cz.proto.Table getTable() {
if (tableBuilder_ == null) {
return table_ == null ? cz.proto.Table.getDefaultInstance() : table_;
} else {
return tableBuilder_.getMessage();
}
}
/**
* .cz.proto.Table table = 1;
*/
public Builder setTable(cz.proto.Table value) {
if (tableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
table_ = value;
onChanged();
} else {
tableBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Table table = 1;
*/
public Builder setTable(
cz.proto.Table.Builder builderForValue) {
if (tableBuilder_ == null) {
table_ = builderForValue.build();
onChanged();
} else {
tableBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Table table = 1;
*/
public Builder mergeTable(cz.proto.Table value) {
if (tableBuilder_ == null) {
if (table_ != null) {
table_ =
cz.proto.Table.newBuilder(table_).mergeFrom(value).buildPartial();
} else {
table_ = value;
}
onChanged();
} else {
tableBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Table table = 1;
*/
public Builder clearTable() {
if (tableBuilder_ == null) {
table_ = null;
onChanged();
} else {
table_ = null;
tableBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Table table = 1;
*/
public cz.proto.Table.Builder getTableBuilder() {
onChanged();
return getTableFieldBuilder().getBuilder();
}
/**
* .cz.proto.Table table = 1;
*/
public cz.proto.TableOrBuilder getTableOrBuilder() {
if (tableBuilder_ != null) {
return tableBuilder_.getMessageOrBuilder();
} else {
return table_ == null ?
cz.proto.Table.getDefaultInstance() : table_;
}
}
/**
* .cz.proto.Table table = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Table, cz.proto.Table.Builder, cz.proto.TableOrBuilder>
getTableFieldBuilder() {
if (tableBuilder_ == null) {
tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Table, cz.proto.Table.Builder, cz.proto.TableOrBuilder>(
getTable(),
getParentForChildren(),
isClean());
table_ = null;
}
return tableBuilder_;
}
private int dataSourceInfoId_ ;
/**
* int32 data_source_info_id = 2;
* @return The dataSourceInfoId.
*/
@java.lang.Override
public int getDataSourceInfoId() {
return dataSourceInfoId_;
}
/**
* int32 data_source_info_id = 2;
* @param value The dataSourceInfoId to set.
* @return This builder for chaining.
*/
public Builder setDataSourceInfoId(int value) {
dataSourceInfoId_ = value;
onChanged();
return this;
}
/**
* int32 data_source_info_id = 2;
* @return This builder for chaining.
*/
public Builder clearDataSourceInfoId() {
dataSourceInfoId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList cols_ = emptyLongList();
private void ensureColsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
cols_ = mutableCopy(cols_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint64 cols = 3;
* @return A list containing the cols.
*/
public java.util.List
getColsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(cols_) : cols_;
}
/**
* repeated uint64 cols = 3;
* @return The count of cols.
*/
public int getColsCount() {
return cols_.size();
}
/**
* repeated uint64 cols = 3;
* @param index The index of the element to return.
* @return The cols at the given index.
*/
public long getCols(int index) {
return cols_.getLong(index);
}
/**
* repeated uint64 cols = 3;
* @param index The index to set the value at.
* @param value The cols to set.
* @return This builder for chaining.
*/
public Builder setCols(
int index, long value) {
ensureColsIsMutable();
cols_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated uint64 cols = 3;
* @param value The cols to add.
* @return This builder for chaining.
*/
public Builder addCols(long value) {
ensureColsIsMutable();
cols_.addLong(value);
onChanged();
return this;
}
/**
* repeated uint64 cols = 3;
* @param values The cols to add.
* @return This builder for chaining.
*/
public Builder addAllCols(
java.lang.Iterable extends java.lang.Long> values) {
ensureColsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cols_);
onChanged();
return this;
}
/**
* repeated uint64 cols = 3;
* @return This builder for chaining.
*/
public Builder clearCols() {
cols_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private cz.proto.Expression.ScalarExpression filter_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> filterBuilder_;
/**
* .cz.proto.ScalarExpression filter = 4;
* @return Whether the filter field is set.
*/
public boolean hasFilter() {
return filterBuilder_ != null || filter_ != null;
}
/**
* .cz.proto.ScalarExpression filter = 4;
* @return The filter.
*/
public cz.proto.Expression.ScalarExpression getFilter() {
if (filterBuilder_ == null) {
return filter_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : filter_;
} else {
return filterBuilder_.getMessage();
}
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
public Builder setFilter(cz.proto.Expression.ScalarExpression value) {
if (filterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filter_ = value;
onChanged();
} else {
filterBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
public Builder setFilter(
cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (filterBuilder_ == null) {
filter_ = builderForValue.build();
onChanged();
} else {
filterBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
public Builder mergeFilter(cz.proto.Expression.ScalarExpression value) {
if (filterBuilder_ == null) {
if (filter_ != null) {
filter_ =
cz.proto.Expression.ScalarExpression.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
onChanged();
} else {
filterBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
public Builder clearFilter() {
if (filterBuilder_ == null) {
filter_ = null;
onChanged();
} else {
filter_ = null;
filterBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
public cz.proto.Expression.ScalarExpression.Builder getFilterBuilder() {
onChanged();
return getFilterFieldBuilder().getBuilder();
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
public cz.proto.Expression.ScalarExpressionOrBuilder getFilterOrBuilder() {
if (filterBuilder_ != null) {
return filterBuilder_.getMessageOrBuilder();
} else {
return filter_ == null ?
cz.proto.Expression.ScalarExpression.getDefaultInstance() : filter_;
}
}
/**
* .cz.proto.ScalarExpression filter = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>
getFilterFieldBuilder() {
if (filterBuilder_ == null) {
filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>(
getFilter(),
getParentForChildren(),
isClean());
filter_ = null;
}
return filterBuilder_;
}
private cz.proto.Expression.ScalarExpression ensuredFilter_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> ensuredFilterBuilder_;
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
* @return Whether the ensuredFilter field is set.
*/
public boolean hasEnsuredFilter() {
return ensuredFilterBuilder_ != null || ensuredFilter_ != null;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
* @return The ensuredFilter.
*/
public cz.proto.Expression.ScalarExpression getEnsuredFilter() {
if (ensuredFilterBuilder_ == null) {
return ensuredFilter_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : ensuredFilter_;
} else {
return ensuredFilterBuilder_.getMessage();
}
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
public Builder setEnsuredFilter(cz.proto.Expression.ScalarExpression value) {
if (ensuredFilterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensuredFilter_ = value;
onChanged();
} else {
ensuredFilterBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
public Builder setEnsuredFilter(
cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (ensuredFilterBuilder_ == null) {
ensuredFilter_ = builderForValue.build();
onChanged();
} else {
ensuredFilterBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
public Builder mergeEnsuredFilter(cz.proto.Expression.ScalarExpression value) {
if (ensuredFilterBuilder_ == null) {
if (ensuredFilter_ != null) {
ensuredFilter_ =
cz.proto.Expression.ScalarExpression.newBuilder(ensuredFilter_).mergeFrom(value).buildPartial();
} else {
ensuredFilter_ = value;
}
onChanged();
} else {
ensuredFilterBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
public Builder clearEnsuredFilter() {
if (ensuredFilterBuilder_ == null) {
ensuredFilter_ = null;
onChanged();
} else {
ensuredFilter_ = null;
ensuredFilterBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
public cz.proto.Expression.ScalarExpression.Builder getEnsuredFilterBuilder() {
onChanged();
return getEnsuredFilterFieldBuilder().getBuilder();
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
public cz.proto.Expression.ScalarExpressionOrBuilder getEnsuredFilterOrBuilder() {
if (ensuredFilterBuilder_ != null) {
return ensuredFilterBuilder_.getMessageOrBuilder();
} else {
return ensuredFilter_ == null ?
cz.proto.Expression.ScalarExpression.getDefaultInstance() : ensuredFilter_;
}
}
/**
* .cz.proto.ScalarExpression ensuredFilter = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>
getEnsuredFilterFieldBuilder() {
if (ensuredFilterBuilder_ == null) {
ensuredFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>(
getEnsuredFilter(),
getParentForChildren(),
isClean());
ensuredFilter_ = null;
}
return ensuredFilterBuilder_;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> props_;
private com.google.protobuf.MapField
internalGetProps() {
if (props_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PropsDefaultEntryHolder.defaultEntry);
}
return props_;
}
private com.google.protobuf.MapField
internalGetMutableProps() {
onChanged();;
if (props_ == null) {
props_ = com.google.protobuf.MapField.newMapField(
PropsDefaultEntryHolder.defaultEntry);
}
if (!props_.isMutable()) {
props_ = props_.copy();
}
return props_;
}
public int getPropsCount() {
return internalGetProps().getMap().size();
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public boolean containsProps(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetProps().getMap().containsKey(key);
}
/**
* Use {@link #getPropsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getProps() {
return getPropsMap();
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public java.util.Map getPropsMap() {
return internalGetProps().getMap();
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public java.lang.String getPropsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetProps().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> props = 6;
*/
@java.lang.Override
public java.lang.String getPropsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetProps().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearProps() {
internalGetMutableProps().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> props = 6;
*/
public Builder removeProps(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableProps().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableProps() {
return internalGetMutableProps().getMutableMap();
}
/**
* map<string, string> props = 6;
*/
public Builder putProps(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableProps().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, string> props = 6;
*/
public Builder putAllProps(
java.util.Map values) {
internalGetMutableProps().getMutableMap()
.putAll(values);
return this;
}
private boolean align_ ;
/**
* bool align = 7;
* @return The align.
*/
@java.lang.Override
public boolean getAlign() {
return align_;
}
/**
* bool align = 7;
* @param value The align to set.
* @return This builder for chaining.
*/
public Builder setAlign(boolean value) {
align_ = value;
onChanged();
return this;
}
/**
* bool align = 7;
* @return This builder for chaining.
*/
public Builder clearAlign() {
align_ = false;
onChanged();
return this;
}
private long alignDop_ ;
/**
* uint64 alignDop = 8;
* @return The alignDop.
*/
@java.lang.Override
public long getAlignDop() {
return alignDop_;
}
/**
* uint64 alignDop = 8;
* @param value The alignDop to set.
* @return This builder for chaining.
*/
public Builder setAlignDop(long value) {
alignDop_ = value;
onChanged();
return this;
}
/**
* uint64 alignDop = 8;
* @return This builder for chaining.
*/
public Builder clearAlignDop() {
alignDop_ = 0L;
onChanged();
return this;
}
private java.util.List orders_ =
java.util.Collections.emptyList();
private void ensureOrdersIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
orders_ = new java.util.ArrayList(orders_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.SortKeyDesc, cz.proto.SortKeyDesc.Builder, cz.proto.SortKeyDescOrBuilder> ordersBuilder_;
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public java.util.List getOrdersList() {
if (ordersBuilder_ == null) {
return java.util.Collections.unmodifiableList(orders_);
} else {
return ordersBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public int getOrdersCount() {
if (ordersBuilder_ == null) {
return orders_.size();
} else {
return ordersBuilder_.getCount();
}
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public cz.proto.SortKeyDesc getOrders(int index) {
if (ordersBuilder_ == null) {
return orders_.get(index);
} else {
return ordersBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder setOrders(
int index, cz.proto.SortKeyDesc value) {
if (ordersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrdersIsMutable();
orders_.set(index, value);
onChanged();
} else {
ordersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder setOrders(
int index, cz.proto.SortKeyDesc.Builder builderForValue) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.set(index, builderForValue.build());
onChanged();
} else {
ordersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder addOrders(cz.proto.SortKeyDesc value) {
if (ordersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrdersIsMutable();
orders_.add(value);
onChanged();
} else {
ordersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder addOrders(
int index, cz.proto.SortKeyDesc value) {
if (ordersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrdersIsMutable();
orders_.add(index, value);
onChanged();
} else {
ordersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder addOrders(
cz.proto.SortKeyDesc.Builder builderForValue) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.add(builderForValue.build());
onChanged();
} else {
ordersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder addOrders(
int index, cz.proto.SortKeyDesc.Builder builderForValue) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.add(index, builderForValue.build());
onChanged();
} else {
ordersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder addAllOrders(
java.lang.Iterable extends cz.proto.SortKeyDesc> values) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, orders_);
onChanged();
} else {
ordersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder clearOrders() {
if (ordersBuilder_ == null) {
orders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
ordersBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public Builder removeOrders(int index) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.remove(index);
onChanged();
} else {
ordersBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public cz.proto.SortKeyDesc.Builder getOrdersBuilder(
int index) {
return getOrdersFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public cz.proto.SortKeyDescOrBuilder getOrdersOrBuilder(
int index) {
if (ordersBuilder_ == null) {
return orders_.get(index); } else {
return ordersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public java.util.List extends cz.proto.SortKeyDescOrBuilder>
getOrdersOrBuilderList() {
if (ordersBuilder_ != null) {
return ordersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(orders_);
}
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public cz.proto.SortKeyDesc.Builder addOrdersBuilder() {
return getOrdersFieldBuilder().addBuilder(
cz.proto.SortKeyDesc.getDefaultInstance());
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public cz.proto.SortKeyDesc.Builder addOrdersBuilder(
int index) {
return getOrdersFieldBuilder().addBuilder(
index, cz.proto.SortKeyDesc.getDefaultInstance());
}
/**
* repeated .cz.proto.SortKeyDesc orders = 9;
*/
public java.util.List
getOrdersBuilderList() {
return getOrdersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.SortKeyDesc, cz.proto.SortKeyDesc.Builder, cz.proto.SortKeyDescOrBuilder>
getOrdersFieldBuilder() {
if (ordersBuilder_ == null) {
ordersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.SortKeyDesc, cz.proto.SortKeyDesc.Builder, cz.proto.SortKeyDescOrBuilder>(
orders_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
orders_ = null;
}
return ordersBuilder_;
}
private com.google.protobuf.Internal.IntList rangeKeys_ = emptyIntList();
private void ensureRangeKeysIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
rangeKeys_ = mutableCopy(rangeKeys_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated uint32 range_keys = 10;
* @return A list containing the rangeKeys.
*/
public java.util.List
getRangeKeysList() {
return ((bitField0_ & 0x00000008) != 0) ?
java.util.Collections.unmodifiableList(rangeKeys_) : rangeKeys_;
}
/**
* repeated uint32 range_keys = 10;
* @return The count of rangeKeys.
*/
public int getRangeKeysCount() {
return rangeKeys_.size();
}
/**
* repeated uint32 range_keys = 10;
* @param index The index of the element to return.
* @return The rangeKeys at the given index.
*/
public int getRangeKeys(int index) {
return rangeKeys_.getInt(index);
}
/**
* repeated uint32 range_keys = 10;
* @param index The index to set the value at.
* @param value The rangeKeys to set.
* @return This builder for chaining.
*/
public Builder setRangeKeys(
int index, int value) {
ensureRangeKeysIsMutable();
rangeKeys_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 range_keys = 10;
* @param value The rangeKeys to add.
* @return This builder for chaining.
*/
public Builder addRangeKeys(int value) {
ensureRangeKeysIsMutable();
rangeKeys_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 range_keys = 10;
* @param values The rangeKeys to add.
* @return This builder for chaining.
*/
public Builder addAllRangeKeys(
java.lang.Iterable extends java.lang.Integer> values) {
ensureRangeKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rangeKeys_);
onChanged();
return this;
}
/**
* repeated uint32 range_keys = 10;
* @return This builder for chaining.
*/
public Builder clearRangeKeys() {
rangeKeys_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private int rangeDistributionId_ ;
/**
* uint32 range_distribution_id = 11;
* @return The rangeDistributionId.
*/
@java.lang.Override
public int getRangeDistributionId() {
return rangeDistributionId_;
}
/**
* uint32 range_distribution_id = 11;
* @param value The rangeDistributionId to set.
* @return This builder for chaining.
*/
public Builder setRangeDistributionId(int value) {
rangeDistributionId_ = value;
onChanged();
return this;
}
/**
* uint32 range_distribution_id = 11;
* @return This builder for chaining.
*/
public Builder clearRangeDistributionId() {
rangeDistributionId_ = 0;
onChanged();
return this;
}
private cz.proto.IncrementalTableProperty incrementalTableProperty_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IncrementalTableProperty, cz.proto.IncrementalTableProperty.Builder, cz.proto.IncrementalTablePropertyOrBuilder> incrementalTablePropertyBuilder_;
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
* @return Whether the incrementalTableProperty field is set.
*/
public boolean hasIncrementalTableProperty() {
return incrementalTablePropertyBuilder_ != null || incrementalTableProperty_ != null;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
* @return The incrementalTableProperty.
*/
public cz.proto.IncrementalTableProperty getIncrementalTableProperty() {
if (incrementalTablePropertyBuilder_ == null) {
return incrementalTableProperty_ == null ? cz.proto.IncrementalTableProperty.getDefaultInstance() : incrementalTableProperty_;
} else {
return incrementalTablePropertyBuilder_.getMessage();
}
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
public Builder setIncrementalTableProperty(cz.proto.IncrementalTableProperty value) {
if (incrementalTablePropertyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
incrementalTableProperty_ = value;
onChanged();
} else {
incrementalTablePropertyBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
public Builder setIncrementalTableProperty(
cz.proto.IncrementalTableProperty.Builder builderForValue) {
if (incrementalTablePropertyBuilder_ == null) {
incrementalTableProperty_ = builderForValue.build();
onChanged();
} else {
incrementalTablePropertyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
public Builder mergeIncrementalTableProperty(cz.proto.IncrementalTableProperty value) {
if (incrementalTablePropertyBuilder_ == null) {
if (incrementalTableProperty_ != null) {
incrementalTableProperty_ =
cz.proto.IncrementalTableProperty.newBuilder(incrementalTableProperty_).mergeFrom(value).buildPartial();
} else {
incrementalTableProperty_ = value;
}
onChanged();
} else {
incrementalTablePropertyBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
public Builder clearIncrementalTableProperty() {
if (incrementalTablePropertyBuilder_ == null) {
incrementalTableProperty_ = null;
onChanged();
} else {
incrementalTableProperty_ = null;
incrementalTablePropertyBuilder_ = null;
}
return this;
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
public cz.proto.IncrementalTableProperty.Builder getIncrementalTablePropertyBuilder() {
onChanged();
return getIncrementalTablePropertyFieldBuilder().getBuilder();
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
public cz.proto.IncrementalTablePropertyOrBuilder getIncrementalTablePropertyOrBuilder() {
if (incrementalTablePropertyBuilder_ != null) {
return incrementalTablePropertyBuilder_.getMessageOrBuilder();
} else {
return incrementalTableProperty_ == null ?
cz.proto.IncrementalTableProperty.getDefaultInstance() : incrementalTableProperty_;
}
}
/**
* .cz.proto.IncrementalTableProperty incremental_table_property = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IncrementalTableProperty, cz.proto.IncrementalTableProperty.Builder, cz.proto.IncrementalTablePropertyOrBuilder>
getIncrementalTablePropertyFieldBuilder() {
if (incrementalTablePropertyBuilder_ == null) {
incrementalTablePropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.IncrementalTableProperty, cz.proto.IncrementalTableProperty.Builder, cz.proto.IncrementalTablePropertyOrBuilder>(
getIncrementalTableProperty(),
getParentForChildren(),
isClean());
incrementalTableProperty_ = null;
}
return incrementalTablePropertyBuilder_;
}
private cz.proto.Expression.ScalarExpression filter4Meta_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> filter4MetaBuilder_;
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
* @return Whether the filter4Meta field is set.
*/
public boolean hasFilter4Meta() {
return filter4MetaBuilder_ != null || filter4Meta_ != null;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
* @return The filter4Meta.
*/
public cz.proto.Expression.ScalarExpression getFilter4Meta() {
if (filter4MetaBuilder_ == null) {
return filter4Meta_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : filter4Meta_;
} else {
return filter4MetaBuilder_.getMessage();
}
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
public Builder setFilter4Meta(cz.proto.Expression.ScalarExpression value) {
if (filter4MetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filter4Meta_ = value;
onChanged();
} else {
filter4MetaBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
public Builder setFilter4Meta(
cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (filter4MetaBuilder_ == null) {
filter4Meta_ = builderForValue.build();
onChanged();
} else {
filter4MetaBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
public Builder mergeFilter4Meta(cz.proto.Expression.ScalarExpression value) {
if (filter4MetaBuilder_ == null) {
if (filter4Meta_ != null) {
filter4Meta_ =
cz.proto.Expression.ScalarExpression.newBuilder(filter4Meta_).mergeFrom(value).buildPartial();
} else {
filter4Meta_ = value;
}
onChanged();
} else {
filter4MetaBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
public Builder clearFilter4Meta() {
if (filter4MetaBuilder_ == null) {
filter4Meta_ = null;
onChanged();
} else {
filter4Meta_ = null;
filter4MetaBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
public cz.proto.Expression.ScalarExpression.Builder getFilter4MetaBuilder() {
onChanged();
return getFilter4MetaFieldBuilder().getBuilder();
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
public cz.proto.Expression.ScalarExpressionOrBuilder getFilter4MetaOrBuilder() {
if (filter4MetaBuilder_ != null) {
return filter4MetaBuilder_.getMessageOrBuilder();
} else {
return filter4Meta_ == null ?
cz.proto.Expression.ScalarExpression.getDefaultInstance() : filter4Meta_;
}
}
/**
* .cz.proto.ScalarExpression filter4Meta = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>
getFilter4MetaFieldBuilder() {
if (filter4MetaBuilder_ == null) {
filter4MetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>(
getFilter4Meta(),
getParentForChildren(),
isClean());
filter4Meta_ = null;
}
return filter4MetaBuilder_;
}
private cz.proto.Expression.SubFieldsPruning subfields_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.SubFieldsPruning, cz.proto.Expression.SubFieldsPruning.Builder, cz.proto.Expression.SubFieldsPruningOrBuilder> subfieldsBuilder_;
/**
* .cz.proto.SubFieldsPruning subfields = 14;
* @return Whether the subfields field is set.
*/
public boolean hasSubfields() {
return subfieldsBuilder_ != null || subfields_ != null;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
* @return The subfields.
*/
public cz.proto.Expression.SubFieldsPruning getSubfields() {
if (subfieldsBuilder_ == null) {
return subfields_ == null ? cz.proto.Expression.SubFieldsPruning.getDefaultInstance() : subfields_;
} else {
return subfieldsBuilder_.getMessage();
}
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
public Builder setSubfields(cz.proto.Expression.SubFieldsPruning value) {
if (subfieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
subfields_ = value;
onChanged();
} else {
subfieldsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
public Builder setSubfields(
cz.proto.Expression.SubFieldsPruning.Builder builderForValue) {
if (subfieldsBuilder_ == null) {
subfields_ = builderForValue.build();
onChanged();
} else {
subfieldsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
public Builder mergeSubfields(cz.proto.Expression.SubFieldsPruning value) {
if (subfieldsBuilder_ == null) {
if (subfields_ != null) {
subfields_ =
cz.proto.Expression.SubFieldsPruning.newBuilder(subfields_).mergeFrom(value).buildPartial();
} else {
subfields_ = value;
}
onChanged();
} else {
subfieldsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
public Builder clearSubfields() {
if (subfieldsBuilder_ == null) {
subfields_ = null;
onChanged();
} else {
subfields_ = null;
subfieldsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
public cz.proto.Expression.SubFieldsPruning.Builder getSubfieldsBuilder() {
onChanged();
return getSubfieldsFieldBuilder().getBuilder();
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
public cz.proto.Expression.SubFieldsPruningOrBuilder getSubfieldsOrBuilder() {
if (subfieldsBuilder_ != null) {
return subfieldsBuilder_.getMessageOrBuilder();
} else {
return subfields_ == null ?
cz.proto.Expression.SubFieldsPruning.getDefaultInstance() : subfields_;
}
}
/**
* .cz.proto.SubFieldsPruning subfields = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.SubFieldsPruning, cz.proto.Expression.SubFieldsPruning.Builder, cz.proto.Expression.SubFieldsPruningOrBuilder>
getSubfieldsFieldBuilder() {
if (subfieldsBuilder_ == null) {
subfieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.SubFieldsPruning, cz.proto.Expression.SubFieldsPruning.Builder, cz.proto.Expression.SubFieldsPruningOrBuilder>(
getSubfields(),
getParentForChildren(),
isClean());
subfields_ = null;
}
return subfieldsBuilder_;
}
@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:cz.proto.TableScan)
}
// @@protoc_insertion_point(class_scope:cz.proto.TableScan)
private static final cz.proto.TableScan DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.TableScan();
}
public static cz.proto.TableScan getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TableScan parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TableScan(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.TableScan getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy